/* About Styles */

.about {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: space-between;
  position: relative;
  padding-top: 48px;
  margin-bottom: 80px;
  max-width: 1376px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 70px;
}

@media (min-width: 768px) {
  .about {
    margin-bottom: 100px;
    flex-wrap: wrap;
    flex-direction: row;
    padding-top: 0;
    margin-top: 40px;
    width: 620px;
  }
}

@media (min-width: 1024px) {
  .about {
    flex-direction: row;
    margin-bottom: 120px;
    padding-top: 0;
    margin-top: 50px;
    width: 940px;

  }
}

@media (min-width: 1280px) {
  .about {
    flex-direction: row;
    margin-bottom: 161px;
    padding-top: 0;
    margin-top: 50px;
    width: 1160px;
  }
}

@media (min-width: 1440px) {
  .about {
    flex-direction: row;
    margin-bottom: 160px;
    padding-top: 0;
    margin-top: 50px;
    width: 1376px;
  }
}

.about__img-first {
  display: none;
  z-index: 2;
}

@media (min-width: 768px) {
  .about__img-first {
    display: block;
    max-width: 220px;
    max-height: 259px;
    order: 1;
  }
}

@media (min-width: 1024px) {
  .about__img-first {
    display: block;
    max-width: 140px;
    max-height: 165px;
  }
}

@media (min-width: 1280px) {
  .about__img-first {
    display: block;
    max-width: 225px;
    max-height: 265px;
  }
}

@media (min-width: 1440px) {
  .about__img-first {
    display: block;
    max-width: 225px;
    max-height: 265px;
  }
}

.about__img-second {
  max-width: 345px;
  order: 1;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .about__img-second {
    max-width: 300px;
    order: 2;
    margin-bottom: 40px;
  }
}

@media (min-width: 1024px) {
  .about__img-second {
    max-width: 300px;
    order: 3;
    margin-bottom: 0;
  }
}

@media (min-width: 1280px) {
  .about__img-second {
    max-width: 360px;
    order: 3;
    margin-bottom: 0;
  }
}

@media (min-width: 1440px) {
  .about__img-second {
    max-width: 360px;
    order: 3;
    margin-bottom: 0;
  }
}

.about__top-about {
  position: absolute;
  top: 0;
  padding-left: 13px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  color: #865e4f;
  left: 0;
}

.about__top-about::before {
  content: "";
  position: absolute;
  transform: translateY(123%);
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #865e4f;
}


@media (min-width: 768px) {
  .about-bottom {
    max-width: 370px;
    margin-left: 61px;
  }
}

@media (min-width: 1024px) {
  .about-bottom {
    margin-left: 61px;
    max-width: 340px;
  }
}

@media (min-width: 1280px) {
  .about-bottom {
    margin-left: 156px;
    max-width: 350px;
  }
}

@media (min-width: 1440px) {
  .about-bottom {
    margin: 0 0 0 150px;
    max-width: 350px;
  }
}

.about__description {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  order: 2;
  max-width: 350px;
}

@media (min-width: 768px) {
  .about__description {
    max-width: 402px;
    order: 3;
    margin: 0 auto;
  }
}

@media (min-width: 1024px) {
  .about__description {
    max-width: 402px;
  }
}

@media (min-width: 1280px) {
  .about__description {
    max-width: 504px;
  }
}

@media (min-width: 1440px) {
  .about__description {
    max-width: 504px;
  }
}

@media (min-width: 768px) {
  .about__description::before {
    content: "";
    background-image: url("../images/line-guide.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    transform: translateX(-78%);
    bottom: 0;
    width: 140px;
    height: 75px;
    z-index: -1;
  }
}

@media (min-width: 1024px) {
  .about__description::before {
    content: "";
    background-image: url("../images/line-guide.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    transform: translateX(-70%);
    bottom: 0;
    width: 172px;
    height: 92px;
    z-index: -1;
  }
}

@media (min-width: 1280px) {
  .about__description::before {
    content: "";
    background-image: url("../images/line-guide.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    transform: translateX(-30%);
    bottom: 0;
    width: 172px;
    height: 92px;
    z-index: -1;
  }
}

@media (min-width: 1440px) {
  .about__description::before {
    content: "";
    background-image: url("../images/line-guide.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    transform: translateX(-100%);
    bottom: 0;
    width: 172px;
    height: 92px;
    z-index: -1;
  }
}

.about__title {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.6px;
  color: #2C2C2C;
  margin-bottom: 25px;
  line-height: 1.5;
  text-align: center;
  margin-left: auto;
  width: 100%;
}

@media (min-width: 768px) {
  .about__title {
    font-size: 40px;
    margin-bottom: 30px;
    line-height: 110%;
    letter-spacing: -0.8px;
  }
}

@media (min-width: 1024px) {
  .about__title {
    font-size: 40px;
    margin-bottom: 45px;
    text-align: right;
    line-height: 1.5;
    letter-spacing: -0.8px;
  }
}

@media (min-width: 1280px) {
  .about__title {
    font-size: 50px;
    margin-bottom: 96px;
    text-align: right;
    line-height: 1.5;
    letter-spacing: -1px;
  }
}

@media (min-width: 1440px) {
  .about__title {
    font-size: 50px;
    margin-bottom: 97px;
    text-align: right;
    line-height: 1.5;
    letter-spacing: -1px;
  }
}

.about__title-italic {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.6px;
  color: #2C2C2C;
}

@media (min-width: 768px) {
  .about__title-italic {
    font-size: 40px;
  }
}

@media (min-width: 1024px) {
  .about__title-italic {
    font-size: 40px;
  }
}

@media (min-width: 1280px) {
  .about__title-italic {
    font-size: 50px;
  }
}

@media (min-width: 1440px) {
  .about__title-italic {
    font-size: 50px;
  }
}

.about__text-first {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  color: #2C2C2C;
  max-width: 350px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .about__text-first {
    margin-bottom: 20px;
    max-width: 370px;
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .about__text-first {
    margin: 0 0 20px 32px;
    max-width: 350px;
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .about__text-first {
    margin: 0 0 30px 55px;
    max-width: 350px;
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  .about__text-first {
    margin: 0 0 30px 50px;
    max-width: 350px;
    font-size: 16px;
  }
}

.about__text-second {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  color: #2C2C2C;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .about__text-second {
    margin-bottom: 20px;
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .about__text-second {
    margin-bottom: 20px;
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  .about__text-second {
    margin-bottom: 30px;
    font-size: 16px;
  }
}

@media (min-width: 1440px) {
  .about__text-second {
    margin-bottom: 30px;
    font-size: 16px;
  }
}
