@media (max-width: 1250px) {
  #offer .offer-content .offer-box {
    flex: 0 0 calc(50% - 59px);
    max-width: 50%;
  }
}

@media (max-width: 1200px) {
  #slider .slider-content {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 25px 0;
  }

  #slider .slider-content .boxes {
    order: 2;
    flex-direction: row;
    flex: unset;
    width: 100%;
    max-width: unset;
    align-items: end;
    gap: 0 20px;
  }

  #slider .slider-content .boxes .box {
    width: calc(100% / 4);
    height: 125px;
  }

  #slider .slider-content .text-slider {
    order: 1;
    flex: unset;
    max-width: unset;
    width: 100%;
  }
}

@media (max-width: 1100px) {
  #slider .slider-content .boxes .box .title-box h2 {
    font-size: 16px;
  }

  #gallery-page .gallery-content ul > li {
    display: flex;
    flex: 0 0 calc(33% - 12px);
    max-width: 33.33%;
  }
}

@media (max-width: 1050px) {
  #header {
    justify-content: unset;
  }

  #header .left-site-header {
    gap: unset;
  }

  #header .left-site-header .phone-number {
    display: none;
  }

  #header .center-header {
    position: relative;
    width: calc(100% - 100px);
    justify-content: center;
  }

  #header .right-side-header {
    display: none;
  }

  #menu-list .contact {
    display: flex;
  }
}

@media (max-width: 1000px) {
  #footer .top {
    flex-wrap: wrap;
  }

  #footer .top .column {
    flex: 0 0 calc(50% - 50px);
    max-width: 50%;
  }
}

@media (max-width: 1000px) {
  #contact .contact-content {
    gap: 0 20px;
  }

  #contact .contact-content .left-contact {
    width: 35%;
  }

  #contact .contact-content .right-contact {
    width: calc(65% - 50px);
    padding: 25px;
    justify-content: space-around;
  }
}

@media (max-width: 950px) {
  #for-who .boxes {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 25px 0;
  }

  #for-who .boxes .box {
    flex: 0 0 100%;
    max-width: 100%;
    justify-content: center;
  }

  #why-us .advantages {
    flex-wrap: wrap;
    align-items: center;
    gap: 50px 40px;
  }

  #why-us .advantages .advantage {
    flex: 0 0 calc(50% - 20px);
    max-width: 50%;
  }
}

@media (max-width: 900px) {
  #slider .slider-content .boxes {
    flex-wrap: wrap;
    gap: 20px;
  }

  #slider .slider-content .boxes .box {
    flex: 0 0 33%;
    max-width: 33.33%;
  }

  #about-company .photos {
    flex-direction: column;
    gap: 50px 0;
    justify-content: center;
    align-items: center;
  }

  #about-company .photos .photo {
    flex: unset;
    width: 50%;
    max-width: 50%;
  }

  #about-company .photos .photo#middle {
    top: unset;
  }

  #about-company .button {
    margin: 50px 0 25px;
  }

  #opinions .opinions-content .opinion {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 775px) {
  #contact .contact-content {
    flex-direction: column;
    gap: 20px 0;
  }

  #contact .contact-content .left-contact {
    width: 100%;
    align-items: center;
    gap: 25px 0;
  }

  #contact .contact-content .left-contact .company-data {
    align-items: center;
  }

  #contact .contact-content .right-contact {
    width: calc(100% - 50px);
    gap: 25px 0;
  }
}

@media (max-width: 750px) {
  #menu-list .menu ul {
    flex-direction: column;
    gap: 20px 0;
  }

  #gallery-page .gallery-content ul > li {
    display: flex;
    flex: 0 0 calc(50% - 12px);
    max-width: 50%;
  }
}

@media (max-width: 650px) {
  #about-company .photos .photo {
    flex: unset;
    width: 100%;
    max-width: 100%;
  }

  #why-us .advantages .advantage {
    flex: unset;
    width: 100%;
    max-width: 100%;
  }

  #opinions .opinions-content .opinion {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #offer .offer-content .offer-box {
    flex: unset;
    max-width: 100%;
  }

  #contact .contact-content {
    flex-direction: column;
  }

  #contact .contact-content .company-data {
    width: calc(100% - 50px);
    gap: 50px 0;
  }

  #contact .contact-content .company-data .top-data {
    align-items: center;
  }

  #contact .contact-content .company-data .bottom-data {
    align-items: center;
  }

  #contact .contact-content .company-map {
    width: calc(100% - 2px);
    height: 250px;
  }

  #footer .top .column {
    flex: 0 0 calc(100% - 50px);
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }

  #footer .top .column#adress .social-buttons {
    justify-content: center;
  }

  #footer .top .column#buttons .company-contact .phone-number,
  #footer .top .column#buttons .company-contact .email-adress {
    justify-content: center;
  }

  #footer .top .column#menu-1 {
    order: 1;
  }

  #footer .top .column#menu-2 {
    order: 2;
  }

  #footer .top .column#buttons {
    order: 3;
  }

  #footer .top .column#adress {
    order: 4;
  }
}

@media (max-width: 600px) {
  #header .center-header {
    width: 100%;
    justify-content: end;
  }

  #header .center-header .logo,
  #header .center-header .logo svg {
    width: 200px;
  }
}

@media (max-width: 550px) {
  #contact .contact-content .right-contact .bottom-contact-form {
    flex-direction: column;
    gap: 15px 0;
    align-items: center;
  }

  #contact .contact-content .right-contact .bottom-contact-form .accept {
    width: 100%;
  }

  #contact .contact-content .right-contact .bottom-contact-form .send {
    width: 100%;
  }

  #contact
    .contact-content
    .right-contact
    .top-contact-form
    .customer-data
    input {
    flex: unset;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 500px) {
  #slider .slider-content .boxes .box .title-box h2 {
    font-size: 12px;
    line-height: 20px;
  }

  #slider .slider-content .boxes .box .button svg {
    width: 30px;
    height: 30px;
  }

  #footer .bottom .info {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 450px) {
  .container {
    width: calc(100% - 30px);
    padding: 15px;
  }

  #slider .slider-content {
    width: calc(100% - 30px);
    height: calc(800px - 30px);
    padding: 15px;
  }

  #slider .slider-content .boxes {
    gap: 10px;
  }

  #slider .slider-content .text-slider .title h1 {
    font-size: 36px;
  }

  #slider .slider-content .text-slider .description p {
    font-size: 12px;
  }

  #gallery-page .gallery-content ul > li {
    display: flex;
    flex: 0 0 calc(100% - 12px);
    max-width: 100%;
  }
}

@media (max-width: 325px) {
  .container {
    width: calc(100% - 20px);
    padding: 10px;
  }

  #slider .slider-content {
    width: calc(100% - 20px);
    height: calc(800px - 20px);
    padding: 10px;
  }
}
