/* Общие стили... */

@media (max-width: 1500px) {
    .wrapper {
      width: 1200px;
    }
        
    h1 {
        font-size: 52px;
      }      
      h1 span {
        font-size: 58px;
      }
    .logo {
        margin-right: 20px;
    }
    .price {
        font-size: 18px;
        margin-right: 20px;
    }
    #header {
        padding: 170px 0 70px;
    }
    p.dop svg {
      left: -331px;
      height: 65px;
    }
    #top .button {
         width: 266px;
        font-size: 15px;
    }
    .phone p {
        font-weight: 600;
        font-size: 19px;
    }

    .phone span {
        margin-top: -9px;

    }
    
    p.dop {
        line-height: 65px;
        margin-top: 25px;
    }
    .bonus > p {
        margin-right: 10px;
        width: 132px;
    }
    .bonus div p {
        font-size: 17px;
    }
    #plus {
        padding: 35px 0 70px;
    }
    #plus .plus div:first-child , #plus .plus div {
        padding: 20px;
        width: 385px;
        height: 115px;
    }
    #plus .plus p {
        font-size: 23px;
    }
    h2 {
        font-size: 40px;
    }
    #quiz {
        padding: 70px 0 0;
    }
    #quiz h2 + p {
        font-size: 25px;
           margin-bottom: 20px;
    }
    .steps-block {
        width: 100%;
        padding-bottom: 70px;
    }
    .quiz-block .quiz-title .line {
        width: 990px;
    }
    .quiz-steps .step .answers .item {
        width: 280px;
        height: 280px;
    }
    .quiz-steps .step .answers .item label span {
        top: 85px;

    }

    .quiz-steps .step .answers .item label:before {
            width: 55px;
        height: 55px;
         bottom: -25px;
        background-size: cover;
    }
    .quiz-steps .step .answers .item input:checked + label:before, .quiz-steps .step .answers .item label:hover:before {
         background-size: cover;
    }
    .quiz-final .title {
        margin: 0px 0 20px;
         line-height: 100%;
    }
    .quiz-final .form-phone {
        width: 628px;
        margin: 30px 0 20px;
    }
    footer p {
        font-size: 16px;
    }
  }
  
  @media (max-width: 1240px) {
    .wrapper {
      width: 990px;
    }

        
    h1 {
        font-size: 37px;
      }
      
      h1 span {
        font-size: 40px;
      }

      #top .price:nth-child(3) {
        display: none;
    }
    .logo {
        margin-right: 40px;
        width: 150px;
    }
    .logo img{
        width: 100%;
    }
    .price {
        font-size: 18px;
        margin-right: 35px;
    }
    #header {
        padding: 150px 0 50px;
    }
    .promo-header p {
        font-size: 34px;
        margin-top: 10px;

    }
    p.dop svg {
      left: -596px;
      height: 52px;
    }
    #top .button {
         width: 266px;
        font-size: 15px;
    }
    .phone p {
        font-weight: 600;
        font-size: 19px;
    }

    .phone span {
        margin-top: -9px;

    }
    .left {
        width: 600px;
    }
    .right img{
        width: 100%;
    }
    p.dop {
        line-height: 66px;
        margin-top: 15px;
        font-size: 28px;
    }
      .action {
    font-size: 21px;
    line-height: 150%;
    margin-top: 20px;
}
      #header .button {
     margin-top: 20px;
}
    .bonus > p {
        margin-right: 10px;
        width: 110px;
        font-size: 19px;
    }
    .bonus div p {
        font-size: 16px;
    }
      .doc-info {
    
    top: 315px;
    left: 40px;
}
    #plus {
        padding: 35px 0 70px;
    }
    #plus .plus div:first-child , #plus .plus div {
        padding: 23px 45px;
        width: 100%;
        height: 100px;
        margin-bottom: 20px;
    }
      #plus .plus div img{
          width:60px;
      }
    #plus .plus p {
        font-size: 18px;
    }
    h2 {
        font-size: 33px;
    }
    #quiz {
        padding: 70px 0 0;
    }
    #quiz h2 + p {
        font-size: 23px;
        margin-bottom: 20px;
    }
    .steps-block {
        width: 100%;
        padding-bottom: 70px;
    }
    .quiz-block .quiz-title .line {
        width: 800px;
    }
      .quiz-block .quiz-title .nums {
    font-size: 22px;
}
      .quiz-steps .step .step-question {
    margin: 0px 0 30px;
    font-size: 25px;
    line-height: 100%;
}
    .quiz-steps .step .answers .item {
        width: 235px;
        height: 235px;
    }
      .quiz-steps .step .answers .item label {

font-size: 20px;

}
    .quiz-steps .step .answers .item label span {
        top: 68px;
    }

    .quiz-steps .step .answers .item label:before {
            width: 55px;
        height: 55px;
         bottom: -25px;
        background-size: cover;
    }
    .quiz-steps .step .answers .item input:checked + label:before, .quiz-steps .step .answers .item label:hover:before {
         background-size: cover;
    }
    .quiz-final .title {
        margin: 0px 0 20px;
         line-height: 100%;
    }
    .quiz-final .form-phone {
        width: 628px;
        margin: 30px 0 20px;
    }
    footer p {
        font-size: 16px;
    }

  }
  
  @media (max-width: 992px) {
    .wrapper {
      width: 760px;
    }
    

    .doc-info {
      padding: 15px;
      width: 200px;
      top: 350px;
      left: 30px;
    }

  }
  
  @media (max-width: 768px) {
    .wrapper {
      width: 100%;
    }
    

    .bonus > p, .bonus div p, .quiz-steps .step .answers .item label {
      font-size: 18px; 
    }
    
    .quiz-steps .step .answers .item {
      width: 45%; 
    }


  }
  

  @media (max-width: 576px) {

    .flex {
    flex-wrap: wrap;
    align-items: start;
    }
      .bonus {
    justify-content:center;
}
      #header {
    padding: 160px 0 50px;
    overflow: hidden;
}
      .bonus div {
   width:214px;
    margin-right: 0;
          margin-top:10px;
}
      .bonus > p {
    margin-right: 0px;
    width: 100%;
    font-size: 16px;
          text-align:center;
}
      #header .button {
    width:100%;
    font-size: 18px;
    padding: 12px 20px;
    width: 100%;
    height: 62px;
}
    .left {
    width: 100%;
}
      p.dop {
    line-height: 53px;
    margin-top: 15px;
    font-size: 16px;
}
      p.dop span {
    font-weight: 600;
    font-size: 16px;
}
      .right {
    position: relative;
    top: -485px;
}

    h1 {
      font-size: 35px;
    }
    
    h1 span {
      font-size: 35px;
    }
    

  }
  @media (max-width: 475px) {
    .wrapper{
        width: 335px;
        flex-direction: column;
        position: relative;
    }
      h1{
          font-size:27px;
      }
      h1 span {
    font-size: 35px;
}
      .promo-header p {
    font-size: 18px;
    margin-top: 10px;
}
      p.dop {
    margin-top: 12px;
}
      .right {
    position: absolute;
    top: 202px;
}

      #plus .plus {
    justify-content: center;
}
      #plus .plus p {
    font-size: 16px;
}
#plus .plus div img {
    width: 51px;
}
      #plus {
    padding: 35px 0 20px;
}
      #quiz {
    padding: 10px 0 0;
    background: #fff;
}
      h2 {
    font-size: 22px;
}
      #quiz h2 + p {
    font-size: 16px;
    margin-bottom: 20px;
    background: linear-gradient(176deg, #990038 0%, #f6667f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
      .quiz-block .quiz-title {flex-direction: column-reverse;align-items: baseline;}
      .action {
    font-size: 16px;
    line-height: 155%;
    margin-top: 370px;
    text-align: center;
}
      .quiz-block .quiz-title .line {
    width: 100%;
    height: 20px;
    margin-top: 10px;
}
      .quiz-block .quiz-title .nums {
    font-size: 16px;
}
      .quiz-steps .step .step-question {
    font-size: 16px;
    line-height: 156%;
}
      .quiz-steps .step .answers-block .answers {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
      .quiz-steps .step .answers .item {
    width: 49%;
    height: 190px;
    margin-bottom: 25px;
    padding: 4px;
    border-radius: 6px;
}.quiz-steps {
    margin: 0 0 20px;
}
      .quiz-controls {
    flex-direction: column-reverse;
}
      .btn {
width: 295px;
height: 74px;
      }
      .quiz-controls .btn-border {width: 295px;height: 74px;margin-right: 0;margin-top: 20px;}



      .quiz-final .title {
    margin: 0px 0 20px;
    line-height: 100%;
    font-size: 22px;
}
      .quiz-final .descr {
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    background: linear-gradient(176deg, #990038 0%, #f6667f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 157px;
}
      .quiz-final .form-phone {
    width: 100%;
    margin: 32px 0 20px;
}
      .quiz-final .form-text {width: 100%;margin-bottom: 20px;text-align: center;font-size: 14px;}
      .mobile{
          position:absolute;
          width:50%;
          right: 0px;
      }
      .mobile img{
          width:100%;
      }

      footer p {
    font-size: 14px;
}
      .quiz-final .form-phone input {
      width: 100%;
      height: 74px;
      padding: 10px;
      }

      .quiz-final .form-phone button {
width:100%;
      }
      .quiz-steps .step .answers .item label span {
    top: 46px;
    font-weight: 400;
}
      .quiz-steps .step .answers .item label:before {
    width: 40px;
    height: 40px;
    bottom: -18px;
    background-size: cover;
}
      .doc-info {
    padding: 14px;
    width: 176px;
    top: 249px;
    left: 20px;
    height: 87px;
}
      .doc-info .years {
    font-weight: 700;
    font-size: 27px;
    line-height: 87%;
    text-align: center;
    background: linear-gradient(176deg, #990038 0%, #f6667f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
      .doc-info .spec {
    font-weight: 400;
    font-size: 14px;
    line-height: 129%;
    text-align: center;
    color: #323232;
}
    .logo {
        margin-right: 0;
        width: 134px;
        order:0;
    }
    .phone{
        order:1;
        margin-left: auto;
    }
      .phone span {
    margin-top: 5px;
}
       .phone svg{
           display:none;
       }
      .phone p {
    font-size: 18px;
    line-height: 100%;
}
    .price {
       display:none;
    }

    #top .button{
        order:3;
        width:100%;
        margin-top:10px;
    }

    
/* Стиль модального окна */
.modal {

    z-index: 1111; /* Над другими элементами */

  }
  
  /* Стиль контента модального окна */
  .modal-content {
    background-color: #fefefe;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding: 20px;
    border: 1px solid #888;
    width: 95%;
    /*Можетеизменитьнанужнуюширину*/:;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}
  .modal-content p{
font-size: 22px;
  }

  

  .modal .form-phone {
    width: 100%;
    margin: 30px 0 20px;
  }
  
  .modal .form-phone input {
    padding: 15px ;
    width: 100%;
    height: 75px;
    font-size: 16px;
  }
  
  .modal .form-phone button {
    padding: 12px;
    width: 100%;
    height: 74px;
    font-size: 18px;
  }

  }