@media (max-width: 540px)
{

    header {
        width: 100%;
        height: calc(100vw * 1.25);
        background: url(../img/Mobile_Block1_background.webp);
        background-size: 100%;
    }

    section.section2 {
        height: calc(100vw * 1.25);
        background: url(../img/Mobile_Block3_background.webp);
        background-size: 100%;
        background-position: bottom;
        background-repeat: no-repeat;
        height: auto;
        padding: 12% 0;
        
    }

   

    .footer-bottom {
        flex-wrap: wrap;
        margin: 20px 40px;
        justify-content: center;
    }

    .footer-bottom img {
        height: 28px;
        width: auto;
        margin: 5px;
    }
    .modal .logo {
        width: 114px;
        margin-bottom: 30px;
    }

    .modal .logo img {
        width: 100%;
        height: auto;
    }

    .modal-head {
        font-size: 30px;
    }

    .modal-content p {
        margin-top: 20px;
    }

    .modal-content p span {
        font-size: 20px;
        line-height: 25px;
    }
    .h-logo {
        width:115px;
        height:22px;
        margin-bottom: 10px;
    }


    #thanks .body .thanks-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    
    #thanks .body .thanks-text {
        
        font-size: 18px;
    }
    
    
    .footer-top img {
        width: 114px;
        height: 22px;
        margin-bottom: 5px;
    }
    
}
