/* About */
#about {
  width: 100%;
  max-width: 1500px;
  margin: auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

#about .about-text {
  width: 560px;
}

#about .about-text .about-wrapper {
  display: flex;
  align-items: center;
}

#about .about-text .about-wrapper h2 {
  color: var(--dark-grey);
  font-size: calc(32 / 16 * 1rem);
  font-weight: 600;
  margin-bottom: 10px;
}

#about .about-text .about-wrapper h2 .primary-text {
  font-weight: 500;
}

#about .about-text .about-wrapper .line {
  height: 1px;
  width: 100%;
  max-width: 343px;
  margin-left: 10px;
  background: rgba(216, 216, 216, 0.933);
}

#about .about-text p {
  font-weight: 500;
}

img {
  width: 400px;
}

@media screen and (max-width: 1040px) {
  #about {
    flex-direction: column-reverse;
    justify-content: center;
    margin-bottom: 100px;
  }

  #about .about-text {
    width: 560px;
  }

  #about .about-text .about-wrapper .line {
    max-width: 320px;
  }

  #about .about-text p {
    font-weight: 500;
  }

  img {
    width: 300px;
  }
}

@media screen and (max-width: 830px) {
  #about .about-text {
    width: 450px;
  }

  #about .about-text .about-wrapper .line {
    max-width: 270px;
  }

  #about .about-text .about-wrapper h2 {
    font-size: calc(26 / 16 * 1rem);
  }

  #about .about-text p {
    font-size: calc(16 / 16 * 1rem);
  }

  img {
    width: 280px;
  }
}

@media screen and (max-width: 680px) {
  #about .about-text {
    width: 400px;
  }

  #about .about-text .about-wrapper .line {
    max-width: 220px;
  }

  #about .about-text .about-wrapper h2 {
    font-size: calc(26 / 16 * 1rem);
  }

  #about .about-text p {
    font-size: calc(16 / 16 * 1rem);
  }

  img {
    width: 250px;
  }
}

@media screen and (max-width: 575px) {
  #about .about-text {
    width: 370px;
  }

  #about .about-text .about-wrapper .line {
    max-width: 180px;
  }

  #about .about-text .about-wrapper h2 {
    font-size: calc(24 / 16 * 1rem);
  }

  #about .about-text p {
    font-size: 0.95rem;
  }

  img {
    width: 230px;
  }
}

@media screen and (max-width: 450px) {
  #about .about-text {
    width: 300px;
  }

  #about .about-text .about-wrapper .line {
    max-width: 130px;
  }

  #about .about-text .about-wrapper h2 {
    font-size: calc(24 / 16 * 1rem);
  }

  #about .about-text p {
    font-size: 0.95rem;
  }

  img {
    width: 220px;
  }
}

@media screen and (max-width: 375px) {
  #about .about-text {
    width: 320px;
  }

  #about .about-text .about-wrapper .line {
    max-width: 130px;
  }

  #about .about-text .about-wrapper h2 {
    font-size: calc(24 / 16 * 1rem);
  }

  #about .about-text p {
    font-size: 0.95rem;
  }

  img {
    display: none;
  }
}

/* HEIGHT CONTACT NAV */

@media screen and (max-height: 799px) {
  #about {
    margin-bottom: 100px;
  }
}
