* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Seasons';
  src: url(fonts/The\ Seasons\ Regular.ttf);
}

:root {
  --color-primary: #dc4b82;
  --color-secondary: #e7e7e7;
  --color-text: #000000;
}

section {
  scroll-margin-top: 80px;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Seasons', sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image: url('images/background.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

nav {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

nav.scrolled {
  background-color: rgba(255, 255, 255, 0.356);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-links {
  width: 100%;
  padding: 2rem 4.5rem;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-links a {
  color: var(--color-text);
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  text-decoration: none;
  font-weight: 600;

  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.nav-links a:first-child {
  justify-self: start;
}

.nav-logo {
  justify-self: center;
}

.nav-links a:nth-child(3) {
  justify-self: end;
}

.nav-links .nav-link {
  transition:
    color 0.3s ease,
    transform 0.5s ease;
}

.nav-links .nav-link.active {
  color: var(--color-primary);
  transform: scale(1.3);
}

.side-bar-btn {
  display: none;
}

.side-bar {
  display: none;
}

.side-bar-links a {
  color: var(--color-text);
  transition: 0.3s ease;
}

.side-bar-links a:hover {
  text-decoration: underline;
  color: var(--color-primary);
}

.home {
  position: relative;

  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 5vw, 5.5rem)
    clamp(2rem, 5vw, 4rem);
}

.home__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.home__title {
  margin: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: var(--color-primary);

  font-family: 'Seasons', serif;
  font-size: clamp(3.2rem, 10vw, 9rem);
  font-weight: 400;
  line-height: 0.82;

  text-shadow: 0.18rem 0.25rem 0 rgba(0, 0, 0, 0.15);
}

.home__line {
  display: block;
}

/* I design */
.home__line--design {
  transform: translateX(-43%);
}

/* I craft */
.home__line--craft {
  position: relative;

  transform: translateX(50%);
}

/* creative */
.home__creative {
  position: absolute;

  top: -1.2em;
  right: -1.5em;

  color: var(--color-text);

  font-size: 0.42em;
  font-weight: 400;

  line-height: 1;
  white-space: nowrap;

  text-shadow: none;
}

.home__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: clamp(10rem, 20vw, 17.25rem);

  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding: clamp(0.8rem, 1.5vw, 1.1rem) 2rem;

  border-radius: 999px;

  background-color: #000000;

  color: var(--color-secondary);

  font-family: 'Playfair Display', serif;
  font-size: clamp(0.7rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home__button:hover {
  transform: translateY(-0.25rem);
  background-color: #df86a6;
  color: black;

  box-shadow: 0 0.75rem 1.5rem rgba(216, 56, 220, 0.2);
}

.home__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0.3rem;
}

.home__details {
  position: absolute;

  bottom: clamp(1.5rem, 5vw, 4rem);
  left: clamp(1.5rem, 5vw, 5.5rem);

  color: #000000;

  font-family: 'Seasons', sans-serif;
  font-size: clamp(0.8rem, 1vw, 1.2rem);
  font-weight: 600;
  line-height: 1.35;
}

.home__details p {
  margin: 0;
}

.about {
  position: relative;

  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;

  padding: clamp(6rem, 10vw, 9rem) clamp(1.5rem, 5vw, 5.5rem);
}

.about__container {
  width: min(100%, 75rem);
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.about__content {
  color: var(--color-text);
}

.about__title {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);

  font-family: 'Seasons', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.about__intro {
  margin: 0;

  font-family: 'Seasons', serif;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
}

.about__intro span {
  color: var(--color-primary);
  font-weight: 600;
}

.about__description {
  max-width: 28rem;
  margin: clamp(0.3rem, 1vw, 0.7rem) 0 0;

  font-family: 'Seasons', serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: bold;
  line-height: 1.5;
}

.about__details {
  margin-top: clamp(3rem, 8vw, 6rem);

  font-family: 'Seasons', serif;
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.35;
}

.about__details p {
  margin: 0;
  font-weight: 600;
}

.about__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__image-wrapper {
  width: min(100%, 27rem);
  aspect-ratio: 1 / 1;

  overflow: hidden;

  border-radius: clamp(3rem, 7vw, 8rem) clamp(3rem, 7vw, 8rem)
    clamp(3rem, 7vw, 8rem) clamp(3rem, 7vw, 8rem);
}

.about__image {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.about__socials {
  width: 100%;

  margin-top: clamp(1rem, 2vw, 1.5rem);

  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: clamp(1rem, 2.5vw, 2rem);
}

.about__social-link {
  display: inline-flex;
  align-items: center;

  gap: 0.4rem;

  color: var(--color-text);

  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.7rem, 0.9vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.about__social-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
  transform: translateY(-0.15rem);
}

.about__social-link:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0.3rem;
}

.about__social-link img {
  width: clamp(1rem, 1.3vw, 1.25rem);
  height: clamp(1rem, 1.3vw, 1.25rem);

  object-fit: contain;
}

.experience {
  min-height: 100vh;
  min-height: 100svh;

  padding: clamp(7rem, 10vw, 9rem) clamp(1.5rem, 7vw, 6.5rem);
}

.experience__container {
  width: min(100%, 75rem);
  min-height: calc(100vh - clamp(14rem, 20vw, 18rem));
  margin-inline: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 10vw, 9rem);

  align-items: start;
}

.experience__group + .experience__group {
  margin-top: clamp(3rem, 7vw, 6rem);
}

.experience__heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);

  color: var(--color-text);

  font-family: 'Seasons', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  text-shadow: 0.15rem 0.2rem 0 rgba(0, 0, 0, 0.15);
  line-height: 1;
}

.experience__list {
  display: flex;
  flex-direction: column;

  gap: clamp(1.5rem, 3vw, 2rem);
}

.experience__item {
  display: flex;
  align-items: flex-start;

  gap: clamp(1rem, 2vw, 1.5rem);
}

.experience__icon {
  flex-shrink: 0;

  width: clamp(4.5rem, 6vw, 5.5rem);
  aspect-ratio: 1;

  overflow: hidden;

  border-radius: 50%;
}

.experience__icon img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.experience__item-content {
  min-width: 0;
  color: var(--color-text);
  font-weight: bold;
}

.experience__item h3 {
  margin: 0;

  color: var(--color-text);

  font-family: 'Seasons', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: bold;
  line-height: 1.3;
}

.experience__date,
.experience__tool-description {
  margin: 0.25rem 0 0;

  color: var(--color-text);

  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.experience__tags {
  display: flex;
  flex-wrap: wrap;

  gap: 0.6rem;

  margin-top: 0.4rem;
}

.experience__tag {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  padding: 0.2rem clamp(0.7rem, 1vw, 1rem);

  border-radius: 999px;

  background-color: var(--color-primary);

  color: #ffffff;

  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.65rem, 0.8vw, 0.8rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
  font-weight: 300;
}

.experience__tags .experience__tag::before {
  content: '';

  width: 0.35rem;
  height: 0.35rem;

  margin-right: 0.45rem;

  border-radius: 50%;

  background-color: var(--color-text);
}

.experience__item-content > .experience__tag {
  margin-top: 0.4rem;
}

.experience__intro {
  max-width: 31rem;
  margin-top: clamp(8rem, 12vw, 8rem);
  margin-left: auto;

  color: var(--color-text);

  text-align: right;
}

.experience__intro p {
  margin: 0;

  font-family: 'Seasons', serif;
  font-size: clamp(1rem, 1.7vw, 1.5rem);
  color: var(--color-text);
  font-weight: bold;
  line-height: 1.5;
}

.contact {
  min-height: 100vh;
  min-height: 100svh;

  display: flex;
  align-items: center;

  padding: clamp(7rem, 10vw, 9rem) clamp(1.5rem, 7vw, 6.5rem);
}

.contact__container {
  width: min(100%, 75rem);
  margin-inline: auto;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(4rem, 10vw, 9rem);
}

.contact__content {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.contact__title {
  margin: 0;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: var(--color-text);

  font-family: 'Seasons', serif;
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: 0.85;

  text-align: center;
}

.contact__title > span:first-child {
  color: var(--color-primary);
}

.contact__title em {
  color: var(--color-text);
  font-style: normal;
}

.contact__email {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);

  color: var(--color-text);

  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  text-shadow: 0.11rem 0.11rem 0 rgba(0, 0, 0, 0.15);

  transition: opacity 0.3s ease;
}

.contact__email:hover {
  color: var(--color-primary);
}

.contact__email:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0.3rem;
}

.contact__intro {
  max-width: 31rem;

  color: var(--color-text);
}

.contact__intro p {
  margin: 0;

  font-family: 'Seasons', serif;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: var(--color-text);
  font-weight: bold;
  line-height: 1.5;
}

.footer {
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3.5rem);
}

.footer__container {
  width: min(50%, 78rem);
  margin-inline: auto;

  padding-top: clamp(2rem, 4vw, 3rem);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__socials {
  display: flex;
  gap: clamp(1.25rem, 3vw, 3rem);
}

.footer__socials a {
  color: var(--color-text);

  font-family: 'Seasons', sans-serif;
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  font-weight: bold;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0.11rem 0 0 rgba(0, 0, 0, 0.15);

  transition: 0.3s ease;
}

.footer__socials a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer__socials a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 0.3rem;
}

.footer__copyright {
  margin: 0;

  color: var(--color-text);

  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  letter-spacing: 0.05em;
  text-shadow: 0.11rem 0 0 rgba(0, 0, 0, 0.15);
}

.animate-item {
  opacity: 0;

  transform: translateY(50px) scale(0.95);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.animate-item.show {
  opacity: 1;

  transform: translateY(0) scale(1);
}

.delay-1 {
  transition-delay: 0s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.4s;
}

@media (max-width: 768px) {
  .contact {
    padding-top: clamp(6rem, 15vw, 8rem);
    padding-bottom: clamp(5rem, 12vw, 7rem);
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: clamp(3rem, 10vw, 5rem);
  }

  .contact__intro {
    max-width: 35rem;
    margin-inline: auto;

    text-align: center;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;

    text-align: center;
  }

  .footer__socials {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact {
    padding-inline: 1.25rem;
  }

  .contact__title {
    font-size: clamp(3.5rem, 17vw, 5rem);
  }

  .footer__socials {
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    padding: 2rem 2rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Hide About & Experience */
  .nav-links a:first-child {
    display: none;
  }

  /* Hide Contacts */
  .nav-links a:nth-child(3) {
    display: none;
  }

  .nav-logo {
    display: block;
    font-size: clamp(1.2rem, 5vw, 1.7rem);
  }

  .side-bar-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 2.75rem;
    height: 2.75rem;

    border: none;
    background: transparent;
    cursor: pointer;
  }

  .side-bar-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .side-bar {
    position: fixed;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100vh;

    background-image: url('images/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);

    transition:
      transform 0.5s ease,
      opacity 0.4s ease,
      visibility 0.5s;
  }

  .side-bar.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .close-side-bar {
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;

    width: 2.75rem;
    height: 2.75rem;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;
    cursor: pointer;
  }

  .close-side-bar img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
  }

  .side-bar-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .side-bar-links a {
    color: var(--color-text);
    font-size: clamp(1.5rem, 7vw, 2.25rem);
    text-decoration: none;

    opacity: 0;
    transform: translateY(20px);

    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  .side-bar.active .side-bar-links a {
    opacity: 1;
    transform: translateY(0);
  }

  .side-bar.active .side-bar-links a:nth-child(1) {
    transition-delay: 0.15s;
  }

  .side-bar.active .side-bar-links a:nth-child(2) {
    transition-delay: 0.25s;
  }

  .side-bar.active .side-bar-links a:nth-child(3) {
    transition-delay: 0.35s;
  }

  .about {
    padding-block: clamp(7rem, 12vw, 9rem);
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: clamp(4rem, 8vw, 6rem);
  }

  .about__content {
    text-align: center;
  }

  .about__description {
    margin-inline: auto;
  }

  .about__details {
    margin-top: clamp(2.5rem, 6vw, 4rem);
  }

  .about__image-wrapper {
    width: min(100%, 24rem);
  }

  .experience__container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .experience__right {
    display: flex;
    flex-direction: column;
  }

  .experience__intro {
    margin-top: clamp(4rem, 10vw, 6rem);
    margin-left: 0;

    text-align: left;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: clamp(3rem, 10vw, 5rem);
  }

  .contact__intro {
    max-width: 35rem;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
  }

  .footer__socials {
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .footer__copyright {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-links {
    padding: 1.5rem;
  }

  .nav-links .nav-link {
    transition:
      color 0.3s ease,
      transform 0.5s ease;
  }

  .nav-links .nav-link.active {
    color: var(--color-primary);
    transform: scale(1.1);
  }

  .close-side-bar {
    top: 2.5rem;
    right: 2.5rem;
  }

  .about__socials {
    gap: 0.8rem 1.2rem;
  }

  .about__image-wrapper {
    width: min(100%, 20rem);
  }

  .experience {
    padding-inline: 1.25rem;
  }

  .experience__item {
    gap: 0.8rem;
  }

  .experience__icon {
    width: 3.75rem;
  }

  .experience__tags {
    gap: 0.4rem;
  }

  .contact {
    padding-inline: 1.5rem;
  }

  .footer__socials {
    gap: 1rem 1.5rem;
  }
}
