/* =========================================================
   Variables
========================================================= */
/* =========================================================
   Base
========================================================= */
.body {
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  overflow-x: hidden;
}
.body.no-scroll {
  overflow: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background-color: #1a1a2e;
}
::-webkit-scrollbar-thumb {
  background-color: #9b4dff;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #6a3cb4;
}

/* =========================================================
   Layout Helpers
========================================================= */
.header__container,
.hero__container,
.about__container,
.project__container,
.contact__container,
.footer__container {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 20px;
}

/* =========================================================
   Buttons
========================================================= */
.btn {
  background-color: #9b4dff;
  border: none;
  border-radius: 8px;
  display: inline-block;
  font-weight: var(--fw-600);
  padding: 10px 30px;
  transition: all 0.3s ease-in-out;
}
.btn--primary:hover, .btn--primary:focus {
  background-color: #8a42e6;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}
.btn--secondary {
  background-color: transparent;
  border: 3px solid #9b4dff;
}
.btn--secondary:hover, .btn--secondary:focus {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

/* =========================================================
   Header
========================================================= */
.header {
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(155, 77, 255, 0.5);
  left: 0;
  position: fixed;
  top: 0;
  transition: all 0.3s ease-in-out;
  width: 100%;
  z-index: 1000;
}
.header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 10px;
}
.header__logo {
  font-size: 2rem;
  font-weight: 700;
  transition: color 0.3s ease-in-out;
}
.header__logo:hover, .header__logo:focus {
  color: #9b4dff;
}
.header__nav-list {
  display: flex;
  gap: 30px;
}
.header__nav-link {
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease-in-out;
}
.header__nav-link::after {
  background: #9b4dff;
  border-radius: 8px;
  bottom: -5px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transition: width 0.3s ease-in-out;
  width: 0;
}
.header__nav-link:hover, .header__nav-link:focus {
  color: #9b4dff;
}
.header__nav-link:hover::after, .header__nav-link:focus::after {
  width: 100%;
}
.header__toggle {
  background: none;
  border: none;
  color: var(--txt-clr);
  cursor: pointer;
  display: none;
  font-size: 1.5rem;
}

/* =========================================================
   Hero
========================================================= */
.hero {
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  height: 100vh;
  position: relative;
}
.hero__content {
  max-width: 600px;
  z-index: 1;
}
.hero__title {
  font-size: 3.75rem;
  margin-bottom: 30px;
}
.hero__text {
  margin-bottom: 30px;
}
.hero__buttons {
  align-items: center;
  display: flex;
  gap: 16px;
}
.hero__background {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 Z" fill="%238A2BE2" opacity="0.1"/></svg>') no-repeat;
  height: 100%;
  position: absolute;
  right: 0;
  width: 50%;
}

/* =========================================================
   Section
========================================================= */
.section {
  padding: 100px 0;
}
.section__title {
  font-size: 2.25rem;
  margin-bottom: 70px;
  position: relative;
  text-align: center;
}
.section__title::after {
  background-color: #9b4dff;
  border-radius: 8px;
  bottom: -10px;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 80px;
}

/* =========================================================
   About
========================================================= */
.about__headline {
  font-size: 1.75rem;
  margin-bottom: 30px;
}
.about__text {
  margin-bottom: 30px;
}
.about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.about__skills-item {
  background-color: #2d3748;
  border-radius: 30px;
  font-weight: 600;
  padding: 5px 10px;
}

/* =========================================================
   Projects
========================================================= */
.projects__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 30px;
}
.projects__filter {
  background-color: #16213e;
  border: 1px solid #4a5568;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  padding: 10px 30px;
  transition: all 0.3s ease-in-out;
}
.projects__filter.active, .projects__filter:hover, .projects__filter:focus {
  background-color: #9b4dff;
  border-color: #9b4dff;
}
.projects-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.project-card {
  background: #16213e;
  border-radius: 16px;
  overflow: hidden;
  padding: 32px;
  transition: transform 0.3s ease-in-out;
}
.project-card:hover, .project-card:focus {
  transform: translateY(-10px);
}
.project-card__image {
  border-radius: 8px;
  display: none;
  margin-bottom: 30px;
}
.project-card__image.active {
  display: block;
}
.project-card__designs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.project-card__design-btn {
  background: #2d3748;
  border: none;
  border-radius: 8px;
  color: #9b4dff;
  padding: 5px 10px;
  transition: all 0.3s ease-in-out;
}
.project-card__design-btn.active, .project-card__design-btn:hover, .project-card__design-btn:focus {
  background: #9b4dff;
  color: #fff;
}
.project-card__design-btn:hover {
  transform: translateY(-5px);
}
.project-card__title {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.project-card__tags {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.project-card__tag {
  border-radius: 8px;
  color: #9b4dff;
}
.project-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.project-card__link {
  align-items: center;
  background-color: #9b4dff;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 5px 10px;
  transition: background-color, transform 0.3s ease-in-out;
}
.project-card__link:hover, .project-card__link:focus {
  background-color: #8a42e6;
  transform: translateY(-5px);
}

/* =========================================================
   Contact
========================================================= */
.contact {
  display: flex;
  gap: 30px;
}
.contact__item {
  align-items: center;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  padding-right: 10px;
  transition: all 0.3s ease-in-out;
}
.contact__item:hover, .contact__item:focus-within {
  background-color: #9b4dff;
  transform: translateY(-5px);
}
.contact__item:hover .contact__icon, .contact__item:focus-within .contact__icon {
  border-radius: 0 50% 50% 0;
  color: #9b4dff;
}
.contact__icon {
  align-items: center;
  background: #2d3748;
  border-radius: 50%;
  display: flex;
  gap: 16px;
  height: 50px;
  justify-content: center;
  margin-right: 16px;
  width: 50px;
}

/* =========================================================
   Footer
========================================================= */
.footer {
  background-color: #9b4dff;
  padding-top: 16px;
  width: 100%;
}
.footer__container {
  display: grid;
  gap: 16px;
  place-items: center;
}
.footer__title {
  margin-bottom: 16px;
  text-align: center;
}
.footer__to-top {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  height: 50px;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  width: 50px;
}
.footer__to-top:hover, .footer__to-top:focus {
  transform: translateY(-5px);
}
.footer__socials {
  display: flex;
  gap: 16px;
}
.footer__social-link {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  height: 50px;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  width: 50px;
}
.footer__social-link:hover, .footer__social-link:focus {
  transform: translateY(-5px);
}
.footer__copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  padding-top: 30px;
  text-align: center;
  width: 100%;
}

.codewars,
.cssbattle {
  border-radius: 50%;
  width: 30px;
}

/* =========================================================
   Responsive
========================================================= */
/* ===== Large tablets / small laptops ===== */
@media (max-width: 992px) {
  .hero__title {
    font-size: 3rem;
  }
  .contact {
    flex-direction: column;
  }
}
/* ===== Tablets ===== */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  /* Header / Navigation */
  .header__nav-list {
    align-items: center;
    background-color: #16213e;
    flex-direction: column;
    height: calc(100vh - 20px);
    justify-content: center;
    left: -100%;
    position: fixed;
    top: 101%;
    transition: left 0.3s ease-in-out;
    width: 100%;
    z-index: 999;
  }
  .header__nav-list.active {
    left: 0;
  }
  .header__toggle {
    display: block;
  }
  /* Hero */
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__buttons {
    align-items: stretch;
    flex-direction: column;
  }
  .hero__buttons .btn {
    width: 100%;
  }
  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card__links {
    flex-direction: column;
  }
  .project-card__link {
    justify-content: center;
    width: 100%;
  }
  /* Footer */
  .footer__container {
    gap: 30px;
  }
}
/* ===== Mobile ===== */
@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  .section__title {
    font-size: 1.75rem;
  }
  .btn {
    padding: 10px 20px;
  }
  .projects__filters {
    align-items: stretch;
    flex-direction: column;
  }
  .projects__filter {
    text-align: center;
    width: 100%;
  }
}/*# sourceMappingURL=styles.css.map */