@import url("https://fonts.googleapis.com/css2?family=Alata&family=Poppins:ital,wght@0,200;0,400;0,700;0,800;1,500&display=swap");

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Alata", sans-serif;
}

/*Custom ScrollBar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #1f2531;
}
::-webkit-scrollbar-thumb {
  background: rgb(250, 250, 250);
  border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(180, 180, 180);
  cursor: pointer;
}

html,
body,
.horizontal {
  overflow-x: hidden;
  scroll-behavior: smooth;
  cursor: url("./assets/circle-fill.svg"), auto;
}

.section {
  width: 100%;
  height: 100%;
  color: rgb(250, 250, 250);
  background: rgb(8, 7, 11);
  overflow-y: hidden;
}

.title__gradient {
  background: linear-gradient(
    90deg,
    rgb(255, 224, 234) 20%,
    rgb(255, 255, 255) 40%,
    rgb(206, 255, 224) 90%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.__content-wrap {
  max-width: 1220px;
  min-height: 100vh;
  margin: auto;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

/* Hero section */
.hero {
  background: linear-gradient(rgb(8, 7, 11), rgb(23, 28, 35));
  overflow-x: hidden;
  position: relative;
  padding-top: 2rem;
}

.nav {
  width: 100%;
  max-width: 1220px;
  margin: auto;
  padding: 2rem 4rem;
  position: absolute;
  top: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  right: 50%;
  transform: translateX(50%);
  margin-top: 2rem;
}

.nav__items {
  display: flex;
  gap: 2rem;
}

.nav__item a {
  text-decoration: none;
  color: white;
  font-size: 0.8rem;
}

.nav__item a:hover {
  color: #79ffb1;
  border-bottom: 2px solid #79ffb1;
}

.hero__content {
  flex: 1.5;
}

.hero__content__title {
  font-size: 2.5rem;
  display: inline-block;
}

.hero__content__title--accent {
  -webkit-text-fill-color: #79ffb1;
}

.hero__content__title--small {
  margin-bottom: 0.5rem;
  font-size: 1.7rem;
  -webkit-text-fill-color: #ffffff;
  display: block;
}

.hero__content__paragraph {
  margin: 1.2rem 0;
  color: rgb(180, 180, 180);
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.hero__content__link {
  margin-top: 1rem;
  text-decoration: none;
  border-bottom: 2px solid rgb(180, 180, 180);
  color: rgb(180, 180, 180);
  font-size: 0.8rem;
}

.hero__content__link:hover {
  color: #79ffb1;
  border-bottom: 2px solid #79ffb1;
}

.hero__illustration {
  flex: 1;
  position: relative;
}

.hero__illustration__img {
  width: 100%;
}

.hero__illustration__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 30px;
  overflow: hidden;
  font-size: 20px;
}

.hero__illustration__text {
  margin: 5px 0;
}

/* Projects section */

.horizontal__animation-wrap {
  display: flex;
  z-index: 1;
  height: 100vh;
}

.animation__content__wrap {
  margin: auto;
  max-width: 1220px;
  padding: 2rem;
  display: flex;
  gap: 5rem;
}

.animation__title {
  font-size: 2rem;
  flex: 0 0 250px;
}

.project {
  flex: 0 0 400px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  background-color: rgb(23, 28, 35);
}

.project__content {
  padding: 1.2rem;
}

.project__img img {
  width: 100%;
  border-radius: 15px 15px 0 0;
}

.project__title {
  font-size: 1rem;
}

.project__description {
  color: rgb(180, 180, 180);
  line-height: 1.5;
  margin: 0.5rem 0;
  font-size: 0.75rem;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

.project__links {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.project__links a {
  display: flex;
  text-decoration: none;
  gap: 7px;
  align-items: center;
  color: rgb(180, 180, 180);
  font-size: 0.8rem;
}

.project__links span {
  margin-bottom: 2px;
}

.project__links a:hover {
  color: #79ffb1;
}

/* About Section */
.about {
  background: rgb(8, 8, 22);
}

.about .__content-wrap {
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.about__content-area {
  display: flex;
  gap: 4rem;
}

.about__title {
  font-size: 2rem;
}

.about__profile {
  box-shadow: 0px 10px 15px -3px rgb(34, 34, 79);
  padding: 1.5rem;
  border-radius: 15px;
  color: rgb(250, 250, 250);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 450px;
}

.profile__img img {
  height: 128px;
  width: 128px;
  object-fit: cover;
  border-radius: 50%;
}

.profile__bio {
  margin: 0.7rem 0;
}

.profile__stats {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-bottom: 1rem;
  font-weight: 400;
}

.profile__stats span {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

.profile__tags {
  font-size: 0.7rem;
  margin-bottom: 1rem;
}

.profile__tags span {
  display: inline-block;
  background: rgb(34, 34, 79);
  padding: 4px 10px;
  border-radius: 15px;
  margin: 4px;
}

.profile__links a {
  color: rgb(250, 250, 250);
  margin-right: 20px;
}

.profile__links a:hover {
  color: #79ffb1;
}

.about__hello--wave {
  display: inline-block;
  animation: wave 3s infinite;
  transform-origin: 70% 70%;
}

@keyframes wave {
  0% {
    transform: rotate(0);
  }
  10% {
    transform: rotate(14deg);
  }
  20% {
    transform: rotate(-8deg);
  }
  30% {
    transform: rotate(14deg);
  }
  40% {
    transform: rotate(-4deg);
  }
  50% {
    transform: rotate(10deg);
  }
  60% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(0);
  }
}

.about__content p:first-child {
  margin-bottom: 1.5rem;
}

.about__content p {
  margin: 15px;
  line-height: 28px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.about__hello {
  font-size: 2rem;
}

.about__content a {
  color: rgb(250, 250, 250);
}

.about__content a:hover {
  color: #79ffb1;
}

/* Resume */
.resume__content {
  margin-left: 1rem;
}

.resume__title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.resume__item {
  padding-left: 70px;
  position: relative;
  padding-bottom: 50px;
}

.resume__item::after {
  content: "";
  position: absolute;
  background: rgb(180, 180, 180);
  width: 1px;
  height: 100%;
  left: 0;
  top: 15px;
  z-index: 0;
}

.resume__item:hover .resume__year {
  color: #79ffb1;
}

.resume__item:hover .resume__year::before {
  background-color: #79ffb1;
}

.resume__year,
.resume__place {
  position: relative;
  font-size: 0.8rem;
  color: rgb(180, 180, 180);
}

.resume__year::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgb(180, 180, 180);
  border-radius: 50%;
  left: -75.5px;
  top: 6px;
  z-index: 1;
}

.resume__activity {
  font-size: 1.3rem;
  margin: 5px 0;
}

.resume__body {
  flex: 1;
}

.resume__illustration {
  flex: 1;
}

.resume__illustration img {
  width: 100%;
}

/* Services Section */
.services {
  background: rgb(8, 8, 22);
  position: relative;
  overflow-x: hidden;
}

.services .__content-wrap {
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.services__title {
  font-size: 2rem;
}
.work-interest {
  line-height: 28px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.service-items-container {
  position: absolute;
  height: 100%;
  width: 100%;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 4rem;
}

.gsap-service-item-1 {
  background: #14b8a6;
}
.gsap-service-item-2 {
  background: #eab308;
}
.gsap-service-item-3 {
  background: #0ea5e9;
}
.gsap-service-item-4 {
  background: #f97316;
}

.service-card {
  max-width: 700px;
  background: rgb(23, 28, 35);
  padding: 40px;
  border-radius: 7px;
  display: flex;
}

.service-card__icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
}

.service__icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgb(240, 247, 255);
  height: 70px;
  width: 70px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.service__icon-wrapper img {
  width: 40%;
}

.service-card__content {
  flex: 5;
  padding-left: 30px;
  border-left: 1px solid rgb(54, 64, 77);
}

.service-card__paragraph {
  color: rgb(180, 180, 180);
  line-height: 1.5;
  margin: 0.8rem 0;
  font-size: 0.85rem;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
}

/* Tech Section */
.tech {
  min-height: 100vh;
  padding: 2rem 0;
}

.tech .__content-wrap {
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 5rem;
}

.tech__title {
  font-size: 2rem;
}

.tech__items-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
}

.tech__item {
  background-color: rgb(23, 28, 35);
  border-radius: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 170px;
  height: 170px;
  gap: 0.7rem;
}

.tech__item__img {
  height: 70px;
}

.tech__item__text {
  font-size: 0.8rem;
  font-family: "Alata", sans-serif;
}

.next-js {
  background-color: white;
  border-radius: 50%;
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Section */
.contact {
  background: rgb(8, 8, 22);
  position: relative;
}

.contact__title {
  font-size: 2rem;
}

.contact__body {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 3rem;
}

.contact__content {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
}

.contact__email {
  font-size: 1.2rem;
}

.footer-nav {
  width: 100%;
  max-width: 1220px;
  margin: auto;
  padding: 2rem 4rem;
  position: absolute;
  bottom: 0;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  right: 50%;
  transform: translateX(50%);
  margin-bottom: 4rem;
}

.footer-nav__items {
  display: flex;
  gap: 2rem;
}

.footer-nav__item a {
  text-decoration: none;
  color: white;
}

.footer-nav__item a:hover {
  color: #79ffb1;
  border-bottom: 2px solid #79ffb1;
}

/* Responsive */
@media (min-width: 1920px) {
  :root {
    font-size: 20px;
  }

  .nav {
    margin-top: 2rem;
  }

  .hero__content__title {
    font-size: 3rem;
  }
}

@media (max-width: 1000px) {
  .__content-wrap {
    padding: 4rem 2rem;
    gap: 2rem;
  }

  .title__gradient {
    font-size: 1.5rem;
  }

  .hero__content__title--small {
    font-size: 1.2rem;
  }

  .hero .__content-wrap {
    flex-direction: column;
    justify-content: start;
    gap: 4rem;
  }
  .hero {
    padding-top: 0;
  }
  .nav {
    padding: 2rem;
    margin-top: 0;
  }
  .nav__logo {
    font-size: 0.85rem;
  }
  .nav__items {
    gap: 1rem;
  }
  .hero__content {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    text-align: start;
    align-items: start;
    flex: none;
  }
  .hero__illustration {
    display: flex;
    justify-content: center;
    flex: none;
  }
  .hero__illustration__img {
    max-height: 400px;
    width: 70%;
  }
  .hero__content__link {
    font-size: 1rem;
  }

  /* Responsive projects */

  .animation__content__wrap {
    gap: 2rem;
  }

  .animation__title {
    max-width: 170px;
  }
  .project {
    flex: 0 0 300px;
    border-radius: 7px;
  }
  .project__img img {
    border-radius: 7px 7px 0 0;
  }
  .project__content {
    padding: 0.8rem;
  }

  /* Responsive about */
  .about__content-area {
    flex-direction: column;
  }
  .about__profile {
    text-align: center;
    max-width: 500px;
  }
  .about__hello {
    font-size: 1.5rem;
  }

  /* Responsive resume */
  .resume .__content-wrap {
    flex-direction: column;
    align-items: start;
  }
  .resume__title {
    width: 100%;
  }
  .resume__item {
    padding-left: 40px;
  }
  .resume__year::before {
    left: -45.5px;
  }
  .resume__illustration img {
    max-width: 400px;
  }

  /* Responsive services */
  .service-items-container {
    padding: 1rem;
  }
  .service-card {
    padding: 15px;
  }
  .service-card__icon {
    margin-right: 15px;
  }
  .service-card__content {
    padding-left: 15px;
  }

  /* Responsive technologies */
  .tech__items-container {
    gap: 1.5rem;
  }
  .tech__item {
    border-radius: 1rem;
    flex: 0 0 87px;
    height: 87px;
    gap: 0.3rem;
  }
  .tech__item__img {
    height: 35px;
  }
  .next-js {
    width: 32px;
    height: 32px;
  }

  /* Contact */
  .footer-nav__items {
    gap: 1rem;
  }
  .footer-nav {
    padding: 2rem;
    font-size: 0.85rem;
    gap: 1.5rem;
    margin-bottom: 0;
  }
}
