: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,
body {
    overflow-x: hidden;
} */

/* .scolllock-on {
    overflow: auto!important;
} */

#popup-june {
    --blue: #2a3b74;
}


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

#popup-june .popup-default,
#popup-june .popup-thanks {
    background-position: bottom 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-june .popup-close {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    padding: var(--close-y) var(--close-x);
}

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

#popup-june .button {
    width: 10.5em;
    height: 2.2em;
    border-radius: 1.1em;
    font-size: 1.1em;
    line-height: 1;
    padding: 0;
    padding-top: 0.1em;
    color: black !important;
}

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

#popup-june .popup-thanks .button {
    margin-top: 1em;
    width: 11em;
}

#popup-june .pig {
    z-index: 1;
    bottom: -50px;
    right: -39px;
}

#popup-june .form-text-top {
    font-size: 27px;
    line-height: 27px;
    font-weight: 800;
}

#popup-june .form-text-bottom {
    font-kerning: none;
    top: -64px;
    display: block;
    height: 70px;
    font-size: 66px;
    color: #ed1c24;
    filter: drop-shadow(4.184px 5.581px 0px rgba(0, 0, 0, 0.4));
    -webkit-text-stroke: 2px #ffffff;
    font-variant-ligatures: no-contextual;
}

#popup-june .middle-text1 {
    height: 45px;
    font-size: 92px;
    color: #ed1c24;
    filter: drop-shadow(3.184px 6.581px 0px rgba(0, 0, 0, 0.4));
    -webkit-text-stroke: 3px #ffffff;
    display: block;
    line-height: 0;
    font-variant-ligatures: no-contextual;
}

#popup-june .middle-text2 {
    height: 265px;
    font-size: 227px;
    color: #ed1c24;
    filter: drop-shadow(6.217px 10.042px 0px rgba(0, 0, 0, 0.4));
    -webkit-text-stroke: 5px #ffffff;
    display: block;
    line-height: 0;
    font-kerning: none;
    font-variant-ligatures: no-contextual;
}

#popup-june .thanks-text {
    line-height: 0;
    gap: 0em;
}

#popup-june .top-text {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 0;
}

#popup-june .bottom-text {
    margin-top: 4px;
}


#popup-june .bottom-text p {
    font-size: 19px;
    line-height: 34px;
    text-transform: uppercase;
}

#popup-june .red-box {
    background-color: #ed1c24;
    padding: 2px 15px 0px 15px;
    border-radius: 25px;
}

/* Safari Only */
@supports (background: -webkit-named-image(i)) {
    #popup-june .button {
        padding-top: 2px;
    }

    #popup-june .popup-thanks .button {
        padding-top: 0.1em;
    }

    #popup-june .middle-text1 {
        height: 43px;
        font-size: 91px;
    }
}

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

@media screen and (max-width: 567px) {

    html,
    body {
        overflow-x: hidden;
    }

    :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-june .popup-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
    }

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

    #popup-june .popup-default,
    #popup-june .popup-thanks {
        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-june .popup-close {
        width: 47px;
    }

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

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

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

    #popup-june .button {
        font-size: 1.1em;
    }

    #popup-june .thanks {
        width: 94%;
    }

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

    #popup-june .pig {
        z-index: 3;
        bottom: 3%;
        right: 0;
        width: 39%;
    }

    #popup-june .form-text-top {
        font-size: 19px;
        line-height: 19px;
    }

    #popup-june .form-text-bottom {
        font-size: 42px;
        filter: drop-shadow(2.785px 3.894px 0px rgba(0, 0, 0, 0.4));
        -webkit-text-stroke: 2px #ffffff;
        top: -41px;
        height: 27px;
    }

    #popup-june .middle-text1 {
        font-size: 67px;
        height: 27px;
        filter: drop-shadow(2.428px 3.66px 0px rgba(0, 0, 0, 0.4));
        -webkit-text-stroke: 2px #ffffff;
    }

    #popup-june .middle-text2 {
        height: 196px;
        font-size: 168px;
        filter: drop-shadow(3.999px 4.725px 0px rgba(0, 0, 0, 0.4));
        -webkit-text-stroke: 2px #ffffff;
    }

    #popup-june .bottom-text p {
        font-size: 15px;
    }

    #popup-june .top-text {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 0;
    }

    /* Safari Only */
    @supports (background: -webkit-named-image(i)) {
        #popup-june .middle-text1 {
            font-size: 67px;
            height: 25px;
        }
    }

}