.frames {
  background-image: url(../img/frames/frame_big.jpg);
}

.frames_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding: 50px 100px;
  margin-bottom: 80px;
  box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.11);
}

.frames_content .buttons {
  width: 30%;
}

.frames_content__title h2 {
  font-size: 26px;
}

.frames_content__text {
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
  text-align: center;
}

.frames_wrap {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.frames_wrap__img {
  width: 50%;
}

.frames_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.frames_wrap__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 50%;
}

.frames_wrap__text {
  font-size: 20px;
  font-weight: 400;
}

.frames_wrap__benefits {
  border: 3px solid #80e5da;
  border-radius: 20px;
  padding: 30px;
}

.frames_benefits__title {
  text-align: center;
  padding-bottom: 10px;
}

.balcony-material p {
  text-transform: none;
  font-size: 20px;
  line-height: 1.3;
}

.frames_benefit {
  box-shadow: 0px 0px 44px rgba(0, 0, 0, 0);
}

@media (max-width: 1250px) {
  .frames_wrap {
    flex-direction: column;
    gap: 40px;
  }

  .frames_wrap__img {
    width: 100%;
  }

  .frames_wrap__content {
    gap: 40px;
    width: 100%;
  }

  .frames_wrap__text {
    font-size: 16px;
    text-align: justify;
  }

  .frames_wrap__benefits {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .frames_content {
    gap: 40px;
    padding: 30px 15px;
    margin-bottom: 40px;
  }

  .frames_content__title h2{
    font-size: 22px;
    padding: 6px 20px;
  }

  .frames_benefits__title {
    font-size: 22px;
  }

  .frames_content__text {
    font-size: 14px;
    line-height: 1.5;
    text-align: start;
  }

  .frames_wrap__text {
    font-size: 14px;
    text-align: start;
  }

  .context_opis_price h2 {
    font-size: 20px;
    line-height: 1.5;
    padding: 6px 20px;
    margin: auto;
  }

  .balcony-material p {
    font-size: 14px;
    line-height: 1.3;
  }

  .frames_content .buttons {
    width: 100%;
    max-width: 336px;
  }
}
