@font-face {
    font-family: 'Segoe UI This Bold';
    src: url('SegoeUIThis-Bold.woff2') format('woff2'),
        url('SegoeUIThis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Segoe UI This';
    src: url('SegoeUIThis.woff2') format('woff2'),
        url('SegoeUIThis.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Publica Sans light';
    src: url('PublicaSans-Light.woff2') format('woff2'),
        url('PublicaSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Publica Sans Regular';
    src: url('PublicaSans-Regular.woff2') format('woff2'),
        url('PublicaSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FONTSPRING DEMO - Kiosk Script P';
    src: url('FONTSPRINGDEMO-KioskScriptPRegular.woff2') format('woff2'),
        url('FONTSPRINGDEMO-KioskScriptPRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.theme-popup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
}

.theme-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.theme-popup-inner {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.theme-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    color: #fff;
    background-color: #00B9FE;
    text-decoration: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    display: block;
    font-family: none;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.theme-popup-close:hover {
    color: #fff;
    background-color: #00B9FE;
}

.theme-popup-content {
    display: flex;
    flex-direction: row;
}

.popup-left {
    flex: 1;
}

.popup-right {
    flex: 1;
    background: #031730;
}

.popup-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* aspect-ratio: 470/650;
    max-height: 650px; */
}

/* Typography */
.popup-leftinner {
    background-color: #031730;
    padding: 0 26px 40px;
    height: calc(100% - 65px);
    text-align: center;
}

.popup-subtitle {
    margin: 0;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #00B8FF;
    padding: 10px 26px;
    font-family: 'Segoe UI This Bold';
    text-align: center;
}

.popup-congrats {
    font-size: 77px;
    margin: 10px 0;
    color: #CD9C36;
    text-transform: capitalize;
    font-family: 'FONTSPRING DEMO - Kiosk Script P';
    text-align: center;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.popup-winner {
    font-size: 20px;
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Publica Sans light';
    letter-spacing: 0.4px;
}

.textblue {
    color: #00B8FF;
    text-transform: uppercase;
    font-family: 'Publica Sans light';
    font-size: 22px;
}

.normalfont {
    font-family: 'Publica Sans Regular';
    font-weight: 200;
}

.price {
    color: #00B8FF;
    font-size: 30px;
    font-weight: bold;

}

.popup-winner .highlight {
    display: inline-block;
    font-size: 30px;
    font-weight: bold;
    color: #CD9C36;
}

.popup-message {
    font-size: 16px;
    color: #fff;
    font-family: 'Segoe UI This';
    margin: 0;
}

/* ========================= */
/* RESPONSIVE STYLES */
/* ========================= */

@media (max-width: 1600px) {
    .theme-popup-inner {
        max-width: 930px;
    }

    .popup-subtitle {
        font-size: 20px;
    }

    .popup-congrats {
        font-size: 58px;
    }

    .popup-congrats img {
        width: 36px;
    }

    .popup-winner {
        font-size: 18px;
    }

    .popup-message {
        font-size: 15px;
    }

}

@media (max-width: 1199px) {
    .popup-winner .highlight {
        font-size: 26px;
    }

    .popup-winner {
        font-size: 16px;
        margin: 0 0 8px;
    }

    .popup-message {
        font-size: 14px;
    }

    .theme-popup-inner {
        max-width: 860px;
    }
}

@media (max-width: 991px) {
    .theme-popup-inner {
        max-width: 100%;
        width: 100%;
        margin: 0 50px;
        background: #031730;
    }

    .popup-subtitle {
        font-size: 18px;
    }

    .popup-congrats {
        font-size: 50px;
        gap: 16px;
    }

    .popup-congrats img {
        width: 28px;
    }

    .price,
    .popup-winner .highlight {
        font-size: 24px;
    }

    .textblue {
        font-size: 18px;
    }

    .popup-winner {
        font-size: 15px;
    }

    .popup-leftinner {
        height: fit-content;
    }

    .popup-message {
        font-size: 13px;
    }

    .theme-popup-close {
        font-size: 25px;
        height: 36px;
        width: 36px;
    }
}

@media (max-width: 768px) {
    .theme-popup-content {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .popup-left {
        order: 2;
    }

    .popup-right img {
        height: 400px;
        object-position: center 15%;
    }

    .popup-right {
        overflow: hidden;
        max-height: 400px;
    }

    .theme-popup-inner {
        margin: 0 20px;
    }

    .popup-subtitle {
        font-size: 14px;
        padding: 10px 20px;
    }

    .popup-leftinner {
        padding: 0 20px 30px;
    }
}

@media (max-width: 575px) {
    .popup-right img {
        height: 250px;
    }

    .popup-right {
        max-height: 250px;
    }

    .popup-subtitle {
        font-size: 13px;
        padding: 10px 16px;
    }

    .popup-congrats {
        font-size: 40px;
    }

    .textblue {
        font-size: 14px;
    }

    .popup-winner {
        font-size: 14px;
    }

    .price, .popup-winner .highlight {
        font-size: 20px;
    }

    .popup-message {
        font-size: 12px;
    }

    .theme-popup-overlay {
        overflow: hidden;
    }

    .theme-popup-inner {
        overflow: visible;
    }

    .theme-popup-close {
        top: -15px;
        right: 0;
    }
}

@media (max-width: 380px) {
    .popup-right img {
        height: 200px;
    }

    .popup-right {
        max-height: 200px;
    }
}