@media screen and (max-width: 1200px){
    .site-container{
        float:left;
        width:100%;
        padding:0 10px;
        box-sizing:border-box;
    }
    .two-buttons .btn{
        width:48%;
    }
    .nav{
        display:none;
    }
    .nav.active{
        display:block;
        position:absolute;
        top:130px;
        background:#fff;
        z-index:999;
        width:100%;
        left:0;
        padding-bottom:20px;
        box-sizing:border-box;
        height: 100vh;
    }
    .nav.active .nav-link.subscribe-link{
        float:left;

    }
    .nav.active .nav-item{
        float:left;
        width:100%;
        padding-left:20px;
        box-sizing:border-box;
        height: 60px;
    }
    .nav-icon {
    display: block;
    top: 100px;
    right: 20px;
    width: 55px;
    position: absolute;
}
.nav-icon:after, .nav-icon:before, .nav-icon div {
    background-color: #753aa6;
    border-radius: 3px;
    content: "";
    display: block;
    height: 3px;
    margin: 7px;
    transition: all 0.2s ease-in-out;
}
.nav-icon:after, .nav-icon:before, .nav-icon div {
    background-color: #753aa6;
    border-radius: 3px;
    content: "";
    display: block;
    height: 3px;
    margin: 7px;
    transition: all 0.2s ease-in-out;
}
.nav-icon.closed:before {
    transform: translateY(3px) translateX(-2px) rotate(135deg);
    width: 20px;
}
.nav-icon.closed:after {
    transform: translateY(-3px) translateX(-2px) rotate(-135deg);
    width: 20px;
}
}
@media screen and (max-width: 1100px){
    /*.subscr-btn{
        bottom:-55px
    }*/
  /* .box-pay, .box-pay.plus-icon{
       height: 725px;
   }
   .box-pay:before, .box-pay.plus-icon:before{
       height: 725px;
   }*/
   #digital, #matura{
       padding: 20px 40px;
       box-sizing:border-box;
   }
}
@media screen and (max-width: 1024px){
    .pay-wrap{
        height: auto;
    }
    .box-pay{
        width:98%;
        margin-top:20px;
    }
    .box-pay.plus-icon{
        width:98%;
         margin-top:120px;
    }
    .blue-top:before{
        left:44%;
    }
    .subscr-btn.green, .subscr-btn.lila{
        left:39%;
    }
    .box-pay ul li{
        margin:10px 0px;
    }
}

@media screen and (max-width: 1000px){
    .two-buttons.intro .btn{
        width:40%;
        height: 45px;
        line-height: 45px;
    }
    .right-part{
        margin-top:25px;
    }
    .top-head{
        font-size:30px;
    }
    .top-head-info{
        margin-top:40px;
    }
    .l-head{
        font-size:35px;
    }
    .sub-txt{
        font-size:20px;
    }
    .blue-top, .blue-top.plus{
        font-size:20px;
    }

    #digital{
        margin-top:30px;
    }
    .box-head{
        margin-top:35px;
        margin-bottom:50px;
        font-size:30px;
    }
}
@media screen and (max-width: 950px){
    .two-buttons{

    }

}
@media screen and (max-width: 900px){
    .intro-page .top-img{
        top:160px;
    }
    .top-img{
        margin-top:100px;
    }
    .sub-text-top{
        width:100%;
        padding: 0 20px;
        box-sizing:border-box;
    }
    .sub-text-top p{
        font-size:17px;
    }
    .image-wrap{
        width:180px;
        height: 180px;
    }
    .image-wrap img.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
    .play-btn{
        top:95px;
        right:118px;
    }
    .name{
        font-size:23px;
    }
    .job{
        font-size:18px;
    }
    #digital{
        padding:15px;
    }
}
@media screen and (max-width: 850px){

}
@media screen and (max-width: 800px){
    .top-info a{
        left:40%;
    }
    .center-logos{
        left:31%;
    }
    .popup-lector.active, .popup-subscribe.active{
        width:90% !important;
        float:left;
    }
    .popup.popup-subscribe .pop-title {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 10px;
}
    .popup .inp-hld{
        margin-bottom:20px;
    }
    .popup .inp-hld label{
        font-size:16px;
    }
    .popup .inp-hld input{
        height: 35px;
        line-height: 35px;
    }
}
@media screen and (max-width: 730px){
    .two-buttons .btn{
        font-size:20px;
    }
    .modal__container{
        width:calc(100% - 6px);
        left:3px;
        right:3px;
        max-width:100% important;
    }
    .declare-inner{
        right:0px !important;
    }
    .img-box {
    width: 150px !important;
    float: left;
}
.name-part {
    float: right;
    width: calc(100% - 180px) !important;
    margin-top: 20px !important;
}
.pop-title{
    font-size:30px !important;
}
.img-box img {
    float: left;
    width: 150px !important;
    height: 150px !important;
    border-radius: 50%;
    object-fit: COVER;
}
    .box-pay-content{
        padding-right:15px;
        box-sizing:border-box;
    }
    .popup .img-box{
        width:150px;
    }
    .popup .img-box img.img{
        width:100%;
        float:left;
        height: 150px;
        object-fit:cover;
    }
    .popup .name-part{
        float:right;
        width:calc(100% - 170px);
        margin-top:25px;
    }
    .popup .pop-title{
        font-size:30px;
    }
}
@media screen and (max-width: 700px){
    .two-buttons.top-btns{
        left:0;
        width:100%;
    }
    .intro-page .top-img{
        padding-bottom:50px;
        box-sizing:border-box;
    }
    .two-buttons .btn{
        width:46%;
    }
    .two-buttons .btn{
        font-size:22px;
    }
}
@media screen and (max-width: 650px){
    .two-buttons.intro{
        left:3%;
        width:70%;
        top:60%;
    }
    .two-buttons.intro .btn{
        width:100%;
        margin-bottom:10px;
    }
    .pl40{
        padding-left:0px;
    }
    .right-part{
        margin-top:0px;
    }
    .left-part{
        float:left;
        width:100%;
    }
    .for-desctop{
        display:none;
    }
    .for-mobile{
        display:block;
    }
    .right-part{
        float:left;
        width:100%;
    }
    .lector-box{
        width:90%;
        float:left;
    }
    .image-wrap{
        width:230px;
        height: 230px;
    }
    .play-btn {
    top: 120px;
    right: 170px;
}
    .pay-wrap{
        background:#efefef;
        height: auto;
    }
    .box-pay{
        width:98%;
        float:left;
    }
    .box-pay.plus-icon{
        width:98%;
        float:left;
        margin-top:60px;
    }
    .subscr-btn.green, .subscr-btn.lila{
        left:32%;
        bottom:15px;
    }
    .blue-top:before {
    left: 40%;
}
}
@media screen and (max-width: 550px){
    .yellow-page .sub-text-top, .lila-page .sub-text-top {
    top: 160px;
}
}

@media screen and (max-width: 500px){
    .two-buttons.inn-page .btn{
        font-size:14px;
    }
    .two-buttons.inn-page .btn span{
        font-size:20px !important;
    }
    .intro-page .top-img{
        padding-bottom:90px;
    }
    .two-buttons .btn {
    font-size: 17px;
}
    .top-img img {
        width: 100%;
    }
    .pop-title {
    font-size: 25px !important;
    margin-top:20px !important;
}
    .img-box {
    width: 100% !important;
    float: left;
}
.name-part {
    float: left;
    width: 100% !important;
    margin-top: 0px !important;
}
    .head-maxtura-plus{
        font-size:32px;
    }
    .box-pay, .box-pay:before{
        height: 600px;
    }
    .box-pay .price-box{
        top:-20px;
    }
    .box-pay.plus-icon, .box-pay.plus-icon:before{
        height: 890px;
    }

    .book{
        width:48%;
        float:left;
        height: 80px;
        overflow:hidden;
        border:1px solid #ccc;
    }
    .lector-box{
        margin-bottom:30px;
    }
    .mt50{
        margin-top:15px;
    }
    .box-head{
        margin-top:20px;
        margin-bottom:15px;
    }
    .subscr-btn.in-box{
        margin-top:25px;
        width:100%;
    }
    .popup-lector.active, .popup-subscribe.active{
        padding:10px !important;
        box-sizing:border-box;
    }
    .nav.active{
        top:130px;
    }
    .box-pay ul li{
        font-size:16px;
    }
    .blue-top:before{
        left:38%;
    }
    .logo{
        width:110px;
    }
    .nav-icon{
        top:90px;
    }
    
    .subscr-btn{
        left:18px !important;
        right:25px;
        width:90%;
        text-align:center;
    }
    .pl40{
        padding-left:0px;
        box-sizing:border-box;
    }
    .top-info a {
    left: 33%;
}
.center-logos {
    left: 21%;
}

    .top-info span{
        width:calc(100% - 110px);
        float:left;
        line-height: 30px;
    }
    .middle-info{
        margin-bottom:15px;
    }
    .bottom-info{
        margin-bottom:15px;
    }
    .logos-wrap a{
        width:100px;
        float:left;
        margin:0 20px;
    }
    .popup .close-pop {
    position: absolute;
    top: -35px;
    right: -25px;
    background: url(../img/close.png) no-repeat center;
    width: 70px;
    height: 70px;
    background-size: 55px;
    cursor: pointer;
    transition: all .2s ease-in-out;
    z-index: 999;
}
}
@media screen and (max-width: 440px){
    .sub-text-top p {
        font-size: 14px;
    }
    .blue-top.plus:before{
        background-size:120px;
    }
.popup .img-box {
    width: 125px;
}
.box-pay.plus-icon{
    margin-top:70px;
}
.popup .name-part {
    float: right;
    width: calc(100% - 143px);
    margin-top: 10px;
}
.popup .pop-title {
    font-size: 26px;
}
    .popup .inp-hld-small{
        width:100%;
    }
    #digital, #matura{
        padding:20px;
        box-sizing:border-box;
    }
    #for-you .right-part{
        margin-top:30px;
    }
    .top-head {
    font-size: 25px;
}
    .name-wrap{
        width:90%;
    }
}
@media screen and (max-width: 420px){
    .head-maxtura{
        margin-top:95px;
    }
    .head-maxtura-plus{
        margin-top:100px;
    }
    .head-maxtura-plus, .head-maxtura{
        font-size:23px;
    }
    .box-pay ul li{
        font-size:16px;
    }
    .subscr-btn{
        bottom:60px;
    }
    .box-pay.plus-icon{
        margin-top:50px;
    }
    .blue-top.plus:before{
        background-size:120px;
    }
    .blue-top.plus:before {
    left: 35%;
}
    .box-head {
        margin-top: 10px;
        margin-bottom: 30px;
        font-size: 24px;
    }
    .subscr-btn.in-box, .subscr-btn.in-box.lila{
        margin-top:25px;
    }
    .subscr-btn{
        font-size:16px;
    }
}
@media screen and (max-width: 390px){
    .two-buttons .btn {
        font-size: 14px;
    }
}
@media screen and (max-width: 380px){
    .price-box{
        top:145px;
    }
    .logos-wrap a{
        width:70px;
    }
    .l-head {
    font-size: 29px;
}
}
@media screen and (max-width: 300px){
.two-buttons {
    position: absolute;
    width: 100%;
    top: 55%;
    left: 10%;
}
.two-buttons .btn{
    font-size:18px;
}
}
