@media (min-width: 575.98px) {
  .container {
    max-width: 550px;
    margin: auto;
    padding: 0;
  }
}

@media (min-width: 650px) {
  .container {
    max-width: 600px;
  }
}

@media (min-width: 767.98px) {
  .container {
    max-width: 740px;
  }
}

@media (min-width: 900px) {
  .container {
    max-width: 850px;
  }
}

@media (min-width: 991.98px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 1199.98px) {
  .container {
    max-width: 1149px;
  }
}

@media (min-width: 1300px) {
  .container {
    max-width: 1250px;
  }
}

@media (min-width: 1500px) {
  .container {
    max-width: 1400px;
  }
}

@media (max-width: 1500px) {
}

@media (max-width: 1300px) {
  .header__btn {
    margin: 0 30px;
  }
}

@media (max-width: 1199.98px) {
  .header__works {
    display: none;
  }

  .header__btn {
    margin: 0 50px;
  }

  .page-header__img {
    opacity: 0.3;
  }

  .footer__block:nth-child(2) {
    margin-left: 50px;
  }
}

@media (max-width: 991.98px) {
  .header__nav-btn {
    display: block;
    width: 40px;
    height: 28px;
    position: relative;
    margin-left: auto;
    transition: 0.3s;
  }

  .header__nav-btn span {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 10px;
    transition: 0.3s;
  }

  .header__nav-btn span:nth-child(1) {
    top: 0;
  }

  .header__nav-btn span:nth-child(2) {
    top: calc(50% - 2px);
  }

  .header__nav-btn span:nth-child(3) {
    bottom: 0;
  }

  #header .header__nav-btn.active {
    opacity: 0;
  }

  .header__nav-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
  }

  .header__nav-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .header__nav-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 12px;
  }

  .header__nav {
    display: none;
  }

  .nav__mobile {
    position: fixed;
    top: 0;
    left: -350px;
    width: 100%;
    height: 100%;
    max-width: 350px;
    background-color: var(--main-black-color);
    z-index: 999;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    transition: 0.3s;
  }

  .nav__mobile.active {
    left: 0;
  }

  .nav__mobile__nav {
    margin-top: 50px;
  }

  .nav__mobile__link {
    display: block;
    margin-top: 10px;
    font-size: 20px;
    color: white;
  }

  .nav__mobile__works {
    margin-top: 70px;
    position: relative;
  }

  .nav__mobile__works::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--main-primary-color1);
    border-radius: 100px;
    left: -10px;
    top: 0px;
  }

  .nav__mobile__days {
    margin-top: 5px;
    font-size: 14px;
  }

  .nav__mobile__contacts {
    margin-top: 50px;
  }

  .nav__mobile__phone {
    color: white;
    font-size: 25px;
    font-weight: 700;
    position: relative;
  }

  .nav__mobile__phone::before {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: lime;
    border-radius: 100px;
    left: -10px;
    top: 0px;
  }

  .nav__mobile__city {
    margin-top: 5px;
    font-size: 14px;
    color: var(--main-light-gray-color);
  }

  .nav__mobile__btn {
    margin-top: 40px;
  }

  .nav__mobile__logo {
    margin: auto auto 0 auto;
  }
}

@media (max-width: 900px) {
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 30px;
  }

  .section-title span::before {
    height: 10px;
    bottom: 7px;
  }

  .header__btn,
  .header__contacts {
    display: none;
  }

  .page-header {
    padding: 70px 0;
  }

  .page-header__title {
    font-size: 35px;
  }

  .footer__content {
    flex-direction: column-reverse;
  }

  .footer__block:nth-child(2) {
    margin: 40px 0;
  }
}

@media (max-width: 650px) {
}

@media (max-width: 575.98px) {
  .section-title {
    font-size: 25px;
  }
}
