@media screen and (max-width: 1260px) {
  .header,
  .cover,
  .footer,
  article {
    padding-left: 32px;
    padding-right: 32px;
  }

  .header__logo {
    margin-right: 32px;
  }
}

@media screen and (max-width: 1024px) {
  .button {
    padding: 16px 24px;
  }

  .prime__wrap {
    padding: 16px;
    border-radius: 12px;
  }

  .list-three {
    gap: 32px;
  }

  .list-three .list__item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc((100% - 32px * 2) / 3);
    -ms-flex: 0 0 calc((100% - 32px * 2) / 3);
    flex: 0 0 calc((100% - 32px * 2) / 3);
  }

  .nav a {
    padding: 8px;
  }

  .header__logo {
    margin-right: 20px;
  }
}

@media screen and (min-width: 851px) {
  .header__dropdown {
    display: none;
  }
}

@media screen and (max-width: 850px) {
  .header__logo {
    margin-right: auto;
  }

  .header nav {
    padding: 90px 20px 0px;
    position: absolute;
    -webkit-transform: translateY(-200vh);
    -ms-transform: translateY(-200vh);
    transform: translateY(-200vh);
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--second-background);
    left: 0;
    top: 0;
    z-index: -1;
  }

  .header nav.active {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    position: fixed;
  }

  .header__nav > ul {
    padding-top: 32px;
    padding-bottom: 64px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    max-height: 100%;
    overflow-y: scroll;
    border-top: var(--underline);
  }

  .header__nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
  }

  .header__nav .nav__item {
    width: 100%;
  }

  .header__nav .nav__item + .nav__item {
    margin: 16px 0 0;
  }

  .header__nav a {
    width: 100%;
  }

  .header-dropdown__button svg {
    display: block;
    margin: 0px;
    fill: var(--main-background);
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
  }

  .header-dropdown__button svg rect {
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
  }

  .header-dropdown__button.active,
  .header-dropdown__button:hover {
    border-color: var(--main-background);
    background: var(--accent-color);
  }

  .header-dropdown__button.active ~ .menu {
    top: 100%;
    opacity: 1;
  }

  .header-dropdown__button:hover {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .header-dropdown__button.active svg rect:nth-child(1) {
    x: -2px;
    y: 6px;
    width: 20px;
    -webkit-transform: rotate(225deg);
    -ms-transform: rotate(225deg);
    transform: rotate(225deg);
  }

  .header-dropdown__button.active svg rect:nth-child(2) {
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transform: scale(0, 2);
    -ms-transform: scale(0, 2);
    transform: scale(0, 2);
  }

  .header-dropdown__button.active svg rect:nth-child(3) {
    x: -2px;
    y: 6px;
    width: 20px;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .cover,
  .cover__top,
  .cover__bottom {
    gap: 0 32px;
  }

  .cover__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 calc(50% - 32px / 2);
    -ms-flex: 0 0 calc(50% - 32px / 2);
    flex: 0 0 calc(50% - 32px / 2);
  }

  .contact .cover__wrap-text {
    padding: 32px 20px 32px 0;
  }

  .cover.info {
    gap: 20px;
  }

  .info__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .info__wrap-image {
    margin-left: auto;
    margin-right: auto;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }
}

@media screen and (max-width: 768px) {
  .cover {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 32px;
  }

  .cover__top {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
  }

  .cover__top > .cover__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .list-three {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .list-three .list__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 calc((100% - 32px) / 2);
    -ms-flex: 1 1 calc((100% - 32px) / 2);
    flex: 1 1 calc((100% - 32px) / 2);
  }

  .cover__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .cover__wrap:nth-child(even) .button {
    margin-right: auto;
    margin-left: 0;
  }

  .contact .cover__wrap {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .contact .cover__wrap-text {
    padding: 32px 0;
  }

  .contact__image {
    margin-right: -32px;
    margin-left: -32px;
    width: calc(100% + 32px * 2);
  }
}

@media screen and (max-width: 605px) {
  :root {
    --main-font-size: 14px;
    --desc-font-size: 16px;
    --main-font-weight: 400;
    --h1-title-size: 38px;
    --h2-title-size: 24px;
    --h3-title-size: 20px;
    --h4-title-size: 18px;
  }

  .header,
  .cover,
  .footer,
  article {
    padding-left: 16px;
    padding-right: 16px;
  }

  .button {
    padding: 16px 32px;
  }

  .header__buttons {
    padding: 16px 12px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    bottom: 0;
    left: 0;
    background-color: var(--accent-background);
  }

  .article ul > li:before,
  article ul > li:before {
    top: 8px;
  }

  .cover {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .cover,
  .cover__top,
  .cover__bottom {
    gap: 32px;
  }

  .cover__top {
    padding-bottom: 32px;
  }

  .prime {
    min-height: 320px;
  }

  .reviews > * {
    margin-bottom: 0;
  }

  .offerings > * {
    margin-bottom: 0;
  }

  .info__wrap-image {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .contact__image {
    margin-right: -16px;
    margin-left: -16px;
    width: calc(100% + 16px * 2);
  }

  .footer {
    padding-bottom: 90px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer__nav,
  .footer__copy {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .footer__nav ul {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .footer__copy {
    margin: 0;
    text-align: center;
  }
}

@media screen and (max-width: 550px) {
  .list-three .list__item,
  .list-two .list__item {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 425px) {
}
