/* Section About */
.about {
  margin-bottom: 180px;
}

.about__box,
.reviews__box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.about__title {
  padding-top: 160px;
}

.about__box-img,
.reviews__img {
  flex-basis: 530px;
  height: 560px;
  object-fit: cover;
  background-color: rgb(242, 242, 242);
}

.about__descr-text {
  font-size: 22px;
  padding-bottom: 85px;
}

.about__btn {
  margin: 0;
  display: inline-flex;
}

.about__descr {
  align-self: flex-end;
  max-width: 485px;
}

.about__box-text{
  font-size: 30px;
  font-weight: 500;
  text-align: right;
  min-width: 240px;
}

/* Section Reviews */
.reviews {
  margin-bottom: 150px;
}

.reviews__box {
  display: flex;
  justify-content: space-between;
}

.reviews__box:first-child {
  margin-bottom: 180px;
}

.reviews__box-descr {
  max-width: 600px;
  background-image: url(/images/reviews-bg.jpg);
  background-repeat: no-repeat;
  background-size: initial;
  background-position: initial;
}

.reviews__title,
.reviews__textbottom {
  font-size: 30px;
  font-weight: 500;
  text-align: end;
}

.reviews__text {
  font-size: 22px;
  margin-left: 80px;
}

@media (max-width: 1010px) {
  .about__descr {
    max-width: 400px;
  }
  .reviews__box-descr {
    max-width: 450px;
  }
  .reviews__text  {
    margin-left: 50px;
  }
  .about__box-img, 
  .reviews__img {
    flex-basis: 450px;
    height: 450px;
  }
}

@media (max-width: 890px) {
  .about__box,
  .reviews__box {
    flex-wrap: wrap;
    justify-content: center;
  }
  .about__descr,
  .reviews__box-descr {
    max-width: 100%;
    text-align: center;
  }
  .about__descr-text {
    padding-bottom: 40px;
  }
  .reviews__textbottom {
    margin-top: 50px;
  }
  .reviews__img {
    order: 2;
  }
  .reviews__box:first-child {
    margin-bottom: 50px;
  }
}

@media (max-width: 460px) {
  .about__descr-text,
  .reviews__text {
    font-size: 18px;
 }
 .reviews__title {
  font-size: 20px;
 }
 .about,
 .reviews {
  margin-bottom: 50px;
  } 
}
