@media (min-width:1200px) {
    .header.active {

        background: #F9F6FF;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1)
    }

    .menu {
        display: inline-flex;
    }

    .menu :not(:first-child) {
        margin-left: 1.2em;


    }

    .menu a {
        color: #5D585F;
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
        line-height: 1;
        transition: 0.5s all
    }

    .menu a:hover {
        color: #9166CF;
    }

    a.tel {
        font-size: 20px;
        line-height: 1.2;
        font-weight: 500;
        color: #9166CF;
        padding-left: 1.5em;
        background: url(../img/icons/telephone.svg) 0 50% no-repeat;
        background-size: 1.1em;
    }


}

@media(max-width:1199px) {
    .header {

        background: #F9F6FF;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1)
    }


    .logo img {
        height: 30px;
    }

    a.tel {
        font-size: 0;
        width: 24px;
        height: 24px;
        background: url(../img/icons/telephone.svg) 50% no-repeat;
        background-size: 100%
    }

    .menu-icon {
        width: 24px;
        height: 24px;
        position: relative;
        margin-right: 10px;
    }

    .menu-icon:after,
    .menu-icon:before {
        position: absolute;
        content: "";
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        border-top: 2px solid #9166CF;
        border-bottom: 2px solid #9166CF;
        height: 100%;
    }

    .menu-icon:before {
        height: 40%;
    }

    .menu {
        position: fixed;
        left: 0;
        top: 0;

        background: #F6F0FC;
        padding: 15px;
        padding-top: 50px;
        width: 100%;
        max-width: 480px;
        min-height: 100vh;
        transform: translate(-100%);
        transition: 0.5s all
    }

    .menu.active {
        transform: translate(0)
    }

    .menu a {
        display: inline-block;
        width: 100%;
        padding: 15px 0;
        color: #5D585F;
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
        line-height: 1;
        transition: 0.5s all
    }

    .menu-close {
        left: 15px;
        top: 15px;
        width: 24px;
        height: 24px;
        position: absolute;
    }

    .menu-close:after,
    .menu-close:before {
        position: absolute;
        content: "";
        left: 0;
        right: 0;
        top: 50%;

        border-top: 2px solid #9166CF;

    }

    .menu-close:after {
        transform: translateY(-50%) rotate(45deg);
    }

    .menu-close:before {
        transform: translateY(-50%) rotate(-45deg);
    }

}

@media(min-width:992px) {

    .s4p.rr {
        text-align: right;
        padding-right: 2em;
        background-position: 100% 0.2em;
        background-size: 1.3em
    }


    .logo1 {
        width: 100%;
        position: relative;
        height: 40px;
    }

    .logo1 img {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0)
    }

    .mask2 {
        width: 100%;
        position: relative;

    }

    .mask2 img {
        left: 50%;
        width: 400px;
        position: absolute;
        transform: translate(-40%, -110%);
    }

}

@media (min-width:992px) and (max-width:1199px) {
    .cta .h1 {
        font-size: 36px;
    }

    .digit big {
        font-size: 4em;
    }

    .mask2 img {
        width: 250px;
    }

    .logo1 img {
        height: 30px;
    }

    .s7p {
        padding: 10px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    .sec0 {
        text-align: center;
        background-position: 50% 0;
    }

    .girl img {
        max-width: 380px;
    }

    .digits {
        justify-content: space-between;
    }

    .formname {
        text-align: center;
    }

    .sec2,
    .sec4 {
        background-size: cover;
    }

    .formname br {
        display: none;
    }

    .mask1,
    .mask2,
    .logo1 {
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .mask2 img {
        width: 100%;
    }

    .s4p.rr {
        text-align: left;
        padding-left: 2em;
        background-position: 0 0.2em;

    }

    .s4p br {
        display: none;
    }

    .quiz .size span {
        height: 100px;
    }
}

@media (max-width:767px) {
    body {
        font-size: 15px;
    }

    .sec0 {
        text-align: center;
        background-position: 50% 0;
        background-size: cover;
    }

    .girl img {
        max-width: 250px;
    }

    .sec0 .h1 {
        font-size: 20px;
    }

    .sec0 .h2 {
        font-size: 16px;
    }

    .digits {
        font-size: 14px;
    }

    .sec .title {
        font-size: 24px;
    }

    .s1p img {
        width: 60px;
    }

    .s1p .name,
    .s2p .name {
        font-size: 20px;
    }

    .formname {
        text-align: center;
    }

    .formname br {
        display: none;
    }

    .formfields {
        width: 100%;
        flex-direction: column;
    }

    .formfields input {
        margin-right: 0;
    }

    .sec2,
    .sec4 {
        background-size: cover;
    }

    .mask1 {
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        padding: 20px 30px;
    }

    .form2 fieldset legend {
        font-size: 16px;
        padding: 0;
    }

    .quiz .name {
        font-size: 22px;
    }

    .sec2,
    .sec4 {
        background-size: cover;
    }

    .formname br {
        display: none;
    }

    .mask1,
    .mask2,
    .logo1 {
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .mask2 img {
        width: 100%;
    }

    .s4p.rr {
        text-align: left;
        padding-left: 2em;
        background-position: 0 0.2em;

    }

    .s4p br {
        display: none;
    }

    .quiz {
        text-align: center;
    }

    .quiz .size span {
        height: 90px;
    }

    .quiz .color figure {
        width: 50px;
    }

    .copy {
        text-align: center;
    }

    .pol {
        float: none;
    }



}
