@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
    --popup-width: 759px;
    --popup-height: 532px;
    --close-x: 41px;
    --close-y: 29px;
    --text-dist: 23px;
    --submit-width: 224px;
    --submit-height: 40px;
    --submit-radius: 20px;
    --submit-fontsize: 1.0625em;
    --submit-dist: 8px;
    --thanks-button-dist: 22px;
}

#popup-aug .popup-content {
    width: var(--popup-width);
    height: var(--popup-height);
    padding: 0 15px;
    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);
    background-image: image-set(url("../images/hero/popup-back.jpg") type("image/jpg") 1x,
            url("../images/hero/popup-back@2x.jpg") type("image/jpg") 2x);
}

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

#popup-aug .popup-form {
    margin-top: 15px;
    width: 100%;
}

#popup-aug form {
    margin-top: var(--text-dist);
}

#popup-aug .button {
    width: 10em;
    height: 2.2em;
    border-radius: 1.1em;
    font-size: 1.2em;
    padding: 0;
    background-color: #FFCB05;
    color: black !important;
    margin-top: 0;
}

#popup-aug .popup-thanks .button {
    width: 11em;
    margin-top: 10px;
}

#popup-aug p {
    margin: 0;
}

#popup-aug .form-text {
    color: #FFF;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 112%;
    font-family: "aaux-next";
}

#popup-aug .thanks-top {
    color: #FFF;
    text-align: center;
    font-size: 45px;
    font-style: normal;
    font-weight: 700;
    line-height: 117%;
    font-family: "aaux-next";
}

#popup-aug .form-action {
    text-align: center;
}

#popup-aug .thanks-mid-box {
    transform: skewX(-4deg);
}

#popup-aug .mid-1,
#popup-aug .mid-2 {
    rotate: -4deg;
}

#popup-aug .mid-1 {
    margin-top: -40px;
    margin-bottom: -84px;
    text-wrap-mode: nowrap;
}

#popup-aug .mid-1 span:nth-child(1),
#popup-aug .mid-1 span:nth-child(4) {
    color: #FFF;
    text-align: center;
    font-family: "Bebas Neue";
    font-size: 114.707px;
    font-style: normal;
    font-weight: 700;
    line-height: 117%;
    text-transform: uppercase;
}

#popup-aug .mid-1 span:nth-child(4) {
    padding-left: 15px;
}

#popup-aug .mid-1 span:nth-child(3),
#popup-aug .mid-1 span:nth-child(2) {
    color: #FFF;
    text-align: center;
    text-shadow: 4.093px 0 52.728px #FFCB08;
    -webkit-text-stroke-width: 3.49px;
    -webkit-text-stroke-color: #FFCB08;
    font-size: 205.271px;
    font-style: normal;
    font-weight: 700;
    line-height: 283.886px;
    letter-spacing: -20.527px;
    text-transform: uppercase;
    font-family: "aaux-next";
}

#popup-aug .mid-1 span:nth-child(2) {
    font-size: 130.271px;
    top: -61px;
    position: relative;
    padding-right: 3px;
}

#popup-aug .mid-2 {
    color: #FFCB05;
    text-align: center;
    font-family: "Bebas Neue";
    font-size: 54.637px;
    font-style: normal;
    font-weight: 400;
    line-height: 117%;
    text-transform: uppercase;
}

#popup-aug .thanks-note {
    color: #FFF;
    text-align: center;
    font-size: 25px;
    font-style: normal;
    font-weight: 500;
    line-height: 117%;
    margin-bottom: 20px;
    margin-top: 20px;
}

@supports (background: -webkit-named-image(i)) {

    #popup-aug .button {
        padding-top: 2px;
    }

    #popup-aug .mid-1 span:nth-child(3),
    #popup-aug .mid-1 span:nth-child(2) {
        text-shadow: 4.093px 0 42.728px #FFCB08;
    }
}

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

@media screen and (max-width: 567px) {
    :root {
        --popup-width: 100%;
        --popup-height: 100%;
        --close-x: 10px;
        --close-y: 18px;
        --text-dist: 14px;
        --submit-width: 190px;
        --submit-height: 32px;
        --submit-radius: 16px;
        --submit-fontsize: 0.9375em;
        --submit-dist: 4px;
        --thanks-button-dist: 22px;
    }

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

    #popup-aug .form-text {
        color: #FFF;
        text-align: center;
        font-size: 35px;
        font-style: normal;
        line-height: 112%;
        /* 39.2px */
    }

    #popup-aug .thanks-top {
        color: #FFF;
        text-align: center;
        font-size: 29px;
        font-style: normal;
        line-height: 117%;
        /* 33.93px */
    }

    #popup-aug .mid-1 span:nth-child(1),
    #popup-aug .mid-1 span:nth-child(4) {
        color: #FFF;
        text-align: center;
        font-family: "Bebas Neue";
        font-size: 81.152px;
        font-style: normal;
        line-height: 117%;
        /* 97.287px */
        text-transform: uppercase;
    }

    #popup-aug .mid-1 span:nth-child(3),
    #popup-aug .mid-1 span:nth-child(2) {
        color: #FFF;
        text-align: center;
        -webkit-text-stroke-width: 2.53px;
        -webkit-text-stroke-color: #FFCB08;
        font-size: 145.803px;
        font-style: normal;
        line-height: 205.791px;
        /* 138.298% */
        letter-spacing: -14.88px;
        text-transform: uppercase;
    }

    #popup-aug .mid-1 span:nth-child(2) {
        font-size: 88.803px;
        position: relative;
        top: -50px;
    }

    #popup-aug .mid-2 {
        color: #FFCB05;
        text-align: center;
        font-family: "Bebas Neue";
        font-size: 47.153px;
        font-style: normal;
        line-height: 117%;
        /* 55.169px */
        text-transform: uppercase;
    }

    #popup-aug .thanks-note {
        color: #FFF;
        text-align: center;
        font-size: 23px;
        font-style: normal;
        line-height: 117%;
        /* 26.91px */
        margin-bottom: 20px;
        max-width: 239px;
    }

    #popup-aug .mid-1 {
        margin-top: -12px;
        margin-bottom: -51px;
    }

    @supports (background: -webkit-named-image(i)) {

        #popup-aug .mid-1 span:nth-child(3),
        #popup-aug .mid-1 span:nth-child(2) {
            text-shadow: 2.09px 0 32.73px rgb(255, 203, 8, 0.3);
        }
    }

}