@media screen and (max-width: 1260px) {
  h1 {
    font-size: 54px;
  }

  .cover {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 1260px) and (orientation: landscape) {
  .prime {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .prime__wrap {
    max-width: 60vw;
  }

  .prime__image {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: absolute;
    right: 0;
    top: 0;
    height: 75vh;
  }

  .prime__image img {
    width: unset;
    height: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .header__nav {
    margin-right: 0;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
  }

  .prime {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
  }

  .prime__wrap {
    margin-top: 20px;
  }

  .prime__desc {
    font-size: 20px;
  }

  .prime__image {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: absolute;
    right: 2vh;
    bottom: -30px;
    height: 55vh;
  }

  .prime__image img {
    width: unset;
    height: 100%;
  }
}

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

@media screen and (max-width: 768px) {
  h1,
  h1.text__title,
  h2.text__title.high {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  .header {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .header__logo {
    margin-right: auto;
  }

  .header nav {
    padding: 0 30px;
    padding-top: 78px;
    position: absolute;
    height: 0;
    width: 300px;
    overflow: hidden;
    right: 0;
    top: 0;
    z-index: -1;
  }

  .header nav.active {
    padding-bottom: 48px;
    height: auto;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    overflow-y: scroll;
  }

  .header__nav > ul {
    -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: -webkit-calc(100vh - 78px - 48px);
    max-height: calc(100vh - 78px - 48px);
    overflow-y: scroll;
    background-color: rgb(255, 255, 255);
    border: 2px solid #203459;
    color: #fff;
  }

  .header__nav::-webkit-scrollbar-track {
    background-color: #7587c7;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

  .header__nav::-webkit-scrollbar {
    display: block;
    width: 3px;
  }
  .header__nav::-webkit-scrollbar-thumb {
    background-color: #fff;
    -webkit-border-radius: 10px;
    border-radius: 10px;
  }

  .header-dropdown__button svg {
    display: block;
    margin: 0px;
    fill: #ffffff;
    -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: #fff;
  }

  .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);
  }

  .header-nav__item {
    width: 100%;
  }

  .header__nav a {
    text-align: right;
  }

  .prime::before {
    height: 100%;
    width: 100%;
  }

  .text__list ol {
    padding-left: 4px;
  }

  ol.text__list > li::before {
    font-size: 24px;
  }

  .cookies > h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 605px) {
  .cover,
  .header nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main {
    padding-bottom: 20px;
  }

  .prime {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    gap: 12px 0;
  }

  .prime__wrap {
    margin-top: 0;
  }

  .prime__image {
    margin-left: auto;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    position: static;
    height: unset;
    width: 55vw;
    margin-top: -16px;
  }

  .prime__image img {
    height: unset;
    width: 100%;
  }
}

@media screen and (max-width: 415px) {
  body {
    font-size: 14px;
  }

  .header nav {
    width: 100vw;
  }

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

  h1,
  h1.text__title,
  h2.text__title.high {
    font-size: 30px;
  }
  .prime__desc {
    font-size: 16px;
  }

  .text__list ol ol > li::before {
    width: 40px;
    letter-spacing: -0.02em;
  }

  .text__list ol ol > li {
    padding-left: 44px;
  }

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

@media screen and (max-height: 650px) and (orientation: landscape) {
  h1 {
    font-size: 34px;
  }

  .header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .prime__image {
    height: 75vh;
  }

  .prime__image img {
    width: unset;
    height: 100%;
    max-height: unset;
  }

  .prime::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 80%;
  }
}
