﻿.zoom-animation.is-visible {
    /*    transform-origin: 0% 0%;
*/
}


.splat.zoom-animation.is-visible {
    transform-origin: 50% 80%;
    opacity: 0;
    animation: splat_anim 2s 1s ease-in-out forwards;

}

.zoom-animation.show-on-scroll.is-visible .splat_2 {
    transform-origin: 50% 50%;
    opacity: 0;
    animation: splat_anim_2 2s 1s ease-in-out forwards;
}


.img_1 {
    height: 120%;
    position: absolute;
    max-height: 800px;
    transition: 1.5s ease-in-out;
    transform-origin: 50% 100%;
}


.img_1.zoom-animation.show-on-scroll {
    transform: scale(0.85);
}


.img_1.zoom-animation.show-on-scroll.is-visible {
    transform: scale(1);
}


@keyframes splat_anim {
    0% {
        filter: blur(10px);
        transform: scale(0.5, 0.5) rotate(10deg);
        opacity: 0;
    }



    100% {
        transform: scale(1, 1) rotate(-0deg);
        filter: blur(0);
        opacity: 0.85;
    }



}





@keyframes splat_anim_2 {
    0% {
        filter: blur(10px);
        transform: scale(0.5, 0.5) rotate(310deg);
        opacity: 0;
    }



    100% {
        transform: scale(1, 1) rotate(310deg);
        filter: blur(0);
        opacity: 0.85;
    }
}


.header_secrion {
    background: linear-gradient(135deg, #A069FF 10%, #6600BF 85%);
    position: relative;
    height: 100vh;
    display: grid;
    width: 100%;
    justify-items: center;
    min-height: 700px;
    padding-left: 40px;
    padding-top: 30px;
    padding-right: 40px;
    z-index: 2;
}


.light {
    width: 100%;
    height: 100%;
    transition: 1.5s ease-in-out;
    position: absolute;
    background: radial-gradient(50% 50% at 35% 80%, rgba(0, 255, 195, 1) -20%, rgba(0, 255, 212, 0.00) 120%)
}

.light.zoom-animation.show-on-scroll {
    opacity: 0;
}



.light.zoom-animation.show-on-scroll.is-visible {
    opacity: 1;
}




.splat {
    position: absolute;
    top: -50px;
    left: -390px;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-image: url('//uploads.cdn.miyklas.com.ua/upload/CustomLandingPageFiles/id-28248/ver-17/images/splat_3.webp');

    background-repeat: no-repeat;
    transform: scale(0.5) rotate(90);
    background-size: 1100px;
    opacity: 1;
}



.header_secrion .grid_section {
    position: relative;
    padding: 60px 0;
    width: 100%;
    margin: auto;
    max-width: 1100px;
    text-align: center;
    align-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
}


.grid_item_1 {
    height: 100%;
    position: relative;
    display: inline-grid;
    align-items: center;
    justify-items: center;
}



.header_secrion .grid_item_2 {
    text-align: left;
    padding-left: 72px;
    color: white;
    z-index: 1;
}

.header_secrion .corse_title {
    font-size: 23px;
    text-transform: uppercase;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 0px;
}


.header_secrion .pre_header {
    font-size: 40px;
    font-weight: 500;
}

.header_secrion .header {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 8px 0 28px 0px;
    line-height: 1.3;
}

.header_secrion .sub_header {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 20px 0;
}


.header_secrion .header_text {
    line-height: 1.4;
    font-size: 18px;
    font-weight: 500;
    max-width: 450px;
    margin: 20px 0 20px 0;
}

.thumb-wrap iframe {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 100.5%;
    height: 100.5%;
    transition: 0.5s;
}



.thumb-wrap {
    width: 425px;
    height: 110%;
    margin-top: -5%;
    overflow: hidden;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    border-radius: 30px;
    transition: 0.5s;
    box-shadow: 0 0 0 6px rgb(255, 255, 255), 0 6px 0 6px rgb(180, 197, 200), 0 6px 10px 8px rgba(27, 2, 79, 0.50);
}

/*@media (max-height: 880px) {
  

    

    .header_secrion .sub_header {
        font-size: 20px;
        margin: 25px 0 15px 0;
    }

    .header_secrion .header_text {
        line-height: 1.4;
        font-size: 16px;
        margin: 0 0 10px 0;
    }

    .thumb-wrap {
        width: 353px;
        height: 100%;
        margin-top: 0;
        transition: 0.5s ;
     
    }

    .header_secrion {
        min-height: 600px;
    }
}
*/

@media (max-width: 1200px) {
    .thumb-wrap {
        width: 353px;
        height: 100%;
        margin-top: 0;
        transition: 0.5s;
    }

    .header_secrion .header {
        font-size: 55px;
        margin: 8px 0 10px 0;
    }

    .header_secrion .pre_header {
        font-size: 30px;
        font-weight: 500;
    }

    .header_secrion .corse_title {
        font-size: 40px;

    }

    .header_secrion {

        padding-left: 30px;
        padding-right: 30px;
    }


}


@media (max-width: 950px) {
    .header_secrion .header {
        font-size: 50px;
        font-weight: 900;
        margin: 5px 0 20px 0;
        line-height: 0.9;
    }

    .header_secrion .corse_title {
        font-size: 30px;
    }
}

@media (max-width: 850px) {
    .header_secrion .header {
        font-size: 45px;
        font-weight: 900;
        margin: 5px 0 20px 0;
        line-height: 1.3;
    }

    .Button_pedal {

        padding: 30px 30px;

    }
}



@media (max-width: 767px) {
    .header_secrion .grid_section {
        display: inline-block;
        max-width: 380px;
        grid-column-gap: 20px;
        padding: 0;
    }



    .header_secrion .grid_item_1 {
        height: 250px;
        margin-top: -150px;
        position: relative;
        display: block;
    }



    .Button_pedal {
        padding: 20px 30px;
    }

    .light {
        width: 100%;
        height: 100%;
        transition: 1.5s ease-in-out;
        position: absolute;
        background: radial-gradient(800px 500px at 0% 0%, rgba(0, 255, 195, 1) 0%, rgba(0, 255, 212, 0.00) 120%);
    }

    .header_secrion {
        height: 120vh;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 75px;
        min-height: 700px;
    }

    .Button_pedal .text {
        font-size: 18px;
    }



    .header_secrion .header {
        font-size: 30px;
        margin: 5px 0 20px 0;
    }

    .header_secrion .grid_item_2 {
        text-align: center;
        padding-left: 0;
        margin-top: 184px;
    }

    .header_secrion .pre_header {
        font-size: 24px;
        line-height: 1;
        margin-bottom: 10px;
    }

    .header_secrion .grid_item_1 .thumb-wrap {
        display: block;
        width: 279.9px;
        height: 500px;
        margin-top: 25px;
        margin-bottom: 40px;
        transition: 0.5s;
    }

    .header_secrion .sub_header {
        font-size: 18px;
        margin: 25px 0 15px 0;
    }

    .header_secrion .corse_title {
        padding: 0;
        margin-top: 5px;
        margin-bottom: 20px;
        font-size: 22px;
    }

    .header_secrion .header_text {
        line-height: 1.4;
        font-size: 15px;
        font-weight: 400;
        margin: 0px 0 15px 0;

    }

    .splat {
        position: absolute;
        top: -140px;
        left: -180px;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-image: url(../images/splat_3.webp);
        background-repeat: no-repeat;
        transform: scale(0.5) rotate(90);
        background-size: 750px;
        opacity: 1;
    }


    @keyframes splat_anim {
        0% {
            filter: blur(10px);
            transform: scale(0.5, 0.5) rotate(20deg);
            opacity: 0;
        }

        100% {
            transform: scale(1, 1) rotate(33deg);
            filter: blur(0);
            opacity: 0.85;
        }
    }

    .img_1 {
        height: auto;
        position: relative;
        width: 450px;
        margin-top: 110px;
        left: 10px;
        transition: 1.5s ease-in-out;
        transform-origin: 50% 100%;
    }
}