/* ==========================================================
   SECTION 1 / SOBRE MÍ
========================================================== */

.about-section {
  position: relative;
  width: 100%;
  min-height: 800px;

  background-color: #f7f3ef;

  overflow: hidden;
}


/* ----------------------------------------------------------
   BACKGROUND
---------------------------------------------------------- */

.about-background {
  position: absolute;
  inset: 0;

  background-image: url("../images/section1.jpg");

  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;

  z-index: 0;
}


/* ----------------------------------------------------------
   CONTAINER
---------------------------------------------------------- */

.about-container {
  position: relative;

  min-height: 800px;

  display: flex;
  align-items: center;

  z-index: 2;
}


/* ----------------------------------------------------------
   TEXT CONTENT
---------------------------------------------------------- */

.about-content {
  width: 58%;
  max-width: 850px;

  padding-top: 20px;
  padding-bottom: 30px;
}


/* ----------------------------------------------------------
   EYEBROW
---------------------------------------------------------- */

.about-eyebrow {
  display: block;

  margin-bottom: 28px;

  font-family: var(--font-primary);

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 0.22em;

  color: #976f6b;

  text-transform: uppercase;
}


/* ----------------------------------------------------------
   TITLE
---------------------------------------------------------- */

.about-title {
  margin: 0 0 40px;

  font-family: var(--font-serif);

  font-size: clamp(56px, 4.4vw, 84px);

  font-weight: 400;

  line-height: 0.98;

  letter-spacing: -0.025em;

  color: #111111;
}


/* ----------------------------------------------------------
   INTRO
---------------------------------------------------------- */

.about-intro {
  max-width: 800px;

  margin-bottom: 28px;

  font-family: var(--font-serif);

  font-size: clamp(19px, 1.35vw, 26px);

  font-weight: 400;

  line-height: 1.42;

  color: #181818;
}


/* ----------------------------------------------------------
   SECONDARY TEXT
---------------------------------------------------------- */

.about-description {
  max-width: 720px;

  color: #79746f;
}

.about-description p {
  margin-bottom: 18px;

  font-family: var(--font-primary);

  font-size: 15px;

  line-height: 1.8;
}

.about-description p:last-child {
  margin-bottom: 0;
}


/* ----------------------------------------------------------
   CTA
---------------------------------------------------------- */

.about-link {
  position: relative;

  display: inline-flex;
  align-items: center;

  gap: 14px;

  margin-top: 35px;
  padding-bottom: 8px;

  font-family: var(--font-primary);

  font-size: 12px;
  font-weight: 600;

  letter-spacing: 0.08em;

  color: #111111;

  text-transform: uppercase;

  transition:
    color 0.3s ease,
    gap 0.3s ease;
}

.about-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;
  height: 1px;

  background: #111111;

  transform-origin: left center;

  transition: transform 0.3s ease;
}


.about-link-arrow {
  font-size: 18px;

  line-height: 1;

  transition: transform 0.3s ease;
}


/* HOVER */

.about-link:hover {
  gap: 20px;

  color: #976f6b;
}

.about-link:hover::after {
  transform: scaleX(0.65);
}

.about-link:hover .about-link-arrow {
  transform: translateX(4px);
}


/* ==========================================================
   RESPONSIVE
========================================================== */

/* ------------------------
   NOTEBOOK / SMALL DESKTOP
------------------------- */

@media (max-width: 1440px) {

  .about-section,
  .about-container {
    min-height: 720px;
  }

  .about-content {
    width: 56%;
  }

  .about-title {
    font-size: clamp(50px, 4.5vw, 70px);
  }

}


/* ------------------------
   TABLET
------------------------- */

@media (max-width: 1024px) {

  .about-section {
    min-height: 760px;
  }

  .about-container {
    min-height: 760px;

    align-items: flex-start;
  }

  .about-content {
    width: 60%;

    padding-top: 80px;
    padding-bottom: 80px;
  }

  .about-title {
    font-size: clamp(44px, 5.8vw, 62px);
  }

  .about-intro {
    font-size: 19px;
  }

  .about-description p {
    font-size: 14px;
  }

  .about-background {
    background-position: 58% center;
  }

}


/* ------------------------
   MOBILE
------------------------- */

@media (max-width: 768px) {

  .about-section {
    min-height: auto;

    padding-bottom: 0;

    background-color: #f7f3ef;
  }

  .about-container {
    min-height: auto;

    display: block;
  }

  .about-content {
    width: 100%;
    max-width: none;

    padding-top: 65px;
    padding-bottom: 500px;
  }

  .about-background {
    background-size: auto 520px;

    background-position: right bottom;
  }

  .about-title {
    margin-bottom: 30px;

    font-size: clamp(42px, 11vw, 60px);

    line-height: 1;
  }

  .about-intro {
    max-width: 100%;

    font-size: 19px;

    line-height: 1.5;
  }

  .about-description {
    max-width: 100%;
  }

}


/* ------------------------
   SMALL MOBILE
------------------------- */

@media (max-width: 480px) {

  .about-content {
    padding-top: 50px;
    padding-bottom: 430px;
    padding: 2em;
  }

  .about-eyebrow {
    margin-bottom: 20px;
  }

  .about-title {
    font-size: 43px;
  }

  .about-intro {
    font-size: 17px;
  }

  .about-description p {
    font-size: 14px;

    line-height: 1.7;
  }

  .about-background {
    background-size: auto 440px;

    background-position: 64% bottom;

    opacity: 20%;
  }

}