@media screen and (max-width: 1680px) {
  .background img {
    max-width: 650px;
  }
}

@media screen and (max-width: 1200px) {
  .background img {
    max-width: 500px;
  }
}

@media screen and (max-width: 1024px) {
  h1.title {
    font-size: 52px;
  }

  .terms-modal {
    max-width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

  .footer__general li {
    margin: 7px 5px;
  }
}

@media screen and (max-width: 850px) {
  .background {
    display: none;
  }

  .header {
    padding: 32px 40px 0;
  }

  .terms-modal {
    padding: 48px 16px 32px;
  }

  .terms-modal__button {
    padding: 8px;
  }
}

@media screen and (max-width: 768px) {
  body::after {
    background-image: url(../images/mob-background.jpg);
    background-position: center bottom;
  }

  h1.title {
    font-size: 56px;
    line-height: 1.2;
  }

  .title br {
    display: none;
  }

  .prime__title span + span {
    margin-top: 0;
  }

  h2.title {
    font-size: 32px;
  }

  .prime__wrap .bold-text {
    padding: 16px;
    font-size: 20px;
  }

  .prime__date {
    -webkit-box-ordinal-group: 0;
    -webkit-order: -1;
    -ms-flex-order: -1;
    order: -1;
  }

  .footer {
    padding: 0 10px 10px;
  }

  .footer__general {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .footer__general ul {
    width: 100%;
  }
}

@media screen and (max-width: 605px) {
  .prime {
    padding: 12px 16px 80px;
  }

  .prime__wrap {
    margin: 0 auto;
  }

  h1.title {
    margin-bottom: 240px;
    font-size: 8.5vw;
  }

  h2.title {
    font-size: 8vw;
  }

  .prime__image {
    display: block;
    position: absolute;
    bottom: -45px;
    left: 50%;
    width: 245px;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: -1;
  }

  .prime__wrap p {
    font-size: 20px;
  }

  .terms-modal .title {
    font-size: 24px;
  }
}
