:root {
    --popup-width: 704px;
    --popup-height: 498px;
    --close-x: 32px;
    --close-y: 34px;
    --text-dist: 38px;
    --submit-width: 206px;
    --submit-height: 40px;
    --submit-radius: 20px;
    --submit-fontsize: 1.125em;
    --submit-dist: 6.5px;
    --thanks-button-dist: 35px;
}

html {
    overflow-x: hidden;
}

.body.scrolllock-on,
body.scrolllock-on {
    top: unset !important;
}

#popup-may {
    --blue: #2a3b74;

}


#popup-may .popup-content {
    width: 700px;
    height: 500px;
    max-height: 100%;
}

#popup-may .popup-default,
#popup-may .popup-thanks {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/hero/popup-back.jpg);
    background-image: -webkit-image-set(url("../images/hero/popup-back.jpg") 1x,
            url("../images/hero/popup-back@2x.jpg") 2x);
}

#popup-may .popup-game {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(../images/hero/game-back.jpg);
    background-image: -webkit-image-set(url("../images/hero/game-back.jpg") 1x,
            url("../images/hero/game-back@2x.jpg") 2x);
}

#popup-may .popup-close {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    padding: var(--close-y) var(--close-x);
}

#popup-may form {
    margin-top: 10px;
}

#popup-may .button {
    width: 11em;
    height: 2.2em;
    border-radius: 1.1em;
    margin-top: 6px;
    font-size: 1.25em;
    padding: 0;
    background-color: #f7d517;
}

#popup-may .form-action {
    justify-content: center;
    display: flex;
}

#popup-may .popup-thanks .button {
    width: 10.5em;
    margin-top: 20px;
}

#popup-may .thanks {
    left: -2%;
}

#popup-may .close2 {
    filter: invert(1);
}

@media screen and (min-width: 568px) {}

@media screen and (max-width: 567px) {
    :root {
        --popup-width: 100%;
        --popup-height: 100%;
        --close-x: 16px;
        --close-y: 20px;
        --text-dist: 21px;
        --submit-width: 150px;
        --submit-height: 33px;
        --submit-radius: 17px;
        --submit-fontsize: 0.8125em;
        --submit-dist: 10px;
        --thanks-button-dist: 24px;
    }

    #popup-may .popup-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        border: none;
    }

    #popup-may .popup-default,
    #popup-may .popup-thanks {
        width: 100%;
        max-width: 100%;
        height: 100%;
        background-image: url(../images/hero/popup-back-m.jpg);
        background-image: -webkit-image-set(url("../images/hero/popup-back-m.jpg") 1x,
                url("../images/hero/popup-back-m@2x.jpg") 2x);
    }

    #popup-may .popup-game {
        width: 100%;
        max-width: 100%;
        height: 100%;
        background-image: url(../images/hero/game-back-m.jpg);
        background-image: -webkit-image-set(url("../images/hero/game-back-m.jpg") 1x,
                url("../images/hero/game-back-m@2x.jpg") 2x);
    }

    #popup-may form {
        margin-top: 21px;
        width: calc(100% - 50px);
    }

    #popup-may .popup-close {
        width: 47px;
    }

    #popup-may .thanks {
        width: 100%;
        ;
    }

    #popup-may .popup-form,
    #popup-may .popup-inner {
        width: 100%;
    }

    #popup-may .form-text {
        width: 77%;
    }

    #popup-may .button {
        font-size: 1.15em;
    }

    #popup-may .thanks {
        left: -1%;
        width: 95%;
    }

    #popup-may .popup-thanks.popup-inner {
        padding: 0 !important;
    }

    #popup-may .slot-box {
        width: 100%;
    }

    dotlottie-wc.slot-popup {
        width: 100% !important;

    }

    #popup-may .close2,
    #popup-may .close1 {
        filter: invert(1);
    }
}