#exit-intent {
    width: 100%;
    height: auto;
}

.exit-intent-popup {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10000;
    background: rgba(33, 33, 33, 0.8);
    transform: translateY(60%) scale(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.exit-intent-popup.visible {
    transform: translateY(0) scale(1);
}

.exit-popup-hero-img {
    width: 100%;
    height: auto;
}

.newsletter {
    position: absolute;
    border-radius: 0.02em;
    box-shadow: 0 4px 10px 0 rgb(33 33 33 / 50%);
    /* padding: 20px; */
    /* background: #FCC700; */
    
    background: #FEAC5E;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #4BC0C8, #C779D0, #FEAC5E);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #4BC0C8, #C779D0, #FEAC5E); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    color: white;

    max-width: 500px;
    min-width: 400px;
    top: 50%;
    left: 50%;
    width: 40%;
    min-height: 300px;
    transform: translate(-50%, -50%) scale(0.8);
}

.newsletter-theme-xmas {
    background: #2F7336;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #AA3A38, #2F7336);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #AA3A38, #2F7336); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */    
}

.newsletter-theme-superpurple {
    background: #03001e;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #fdeff9, #ec38bc, #7303c0, #03001e);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #fdeff9, #ec38bc, #7303c0, #03001e); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */    
}

.newsletter-theme-whiteout {
    background: #E0EAFC;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #CFDEF3, #E0EAFC);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #CFDEF3, #E0EAFC); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.newsletter-theme-whiteout .exit-popup-header, .newsletter-theme-whiteout .exit-popup-content {
    color: black !important;
}

.newsletter-theme-red {
    background: #cb2d3e;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ef473a, #cb2d3e);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ef473a, #cb2d3e); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */    
}

/* Popup-specific styles */
.newsletter {
    /* background: #FFF; */
    height: auto;
    /* padding: 0.2em 1em 1em 1em; */
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.exit-popup-content-container {
    padding: 20px;
}

.exit-popup-header,
.exit-popup-content {
    font-size: 170%;
    color: white;
    display: block;
    /* margin-bottom: 1.3em; */
    line-height: 1.6em;
    text-align: left;
    width: 100%;
}

.exit-popup-content {
    font-size: 140%;
    font-weight: 500;
}

.exit-popup-content-link {
    cursor: pointer;
    transition: all 1s ease-in-out;
}
.exit-popup-content-link:hover {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
}
.exit-popup-content-bold {
    font-weight:700;
}

#exit-popup-cta-btn {
    text-decoration: none;
    border: 0;
}
    #exit-popup-cta-btn button {
        font-size: 170%;
        width: 100%;
        margin-top: 10px;
        background: #221f22;
        color: white;
        text-align: left;
        line-height: 1.3em;
        font-size: 16px;
        border-radius: 0.3em;
        padding: 10px;
        border: 0;
        transition: all 0.43s ease-in-out;
    }

    #exit-popup-cta-btn button:hover {
        
        /* C185F7 */
        color: #EC67A0;
        
    }

.close {
    font-size: 16px;
    font-weight: 500;
    border-radius: 50%;
    box-shadow: 0 4px 10px 0 rgb(33 33 33 / 50%);

    position: absolute;
    top: -12px;
    right: -12px;
    padding: 10px;

    background: white;
    color: black;

    line-height: 9px;
    text-align: center;
    cursor: pointer;

    width: 33px;
    height: 33px;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 480px) {
    .newsletter {
        min-width: 300px;
    }   
}

@media only screen and (max-width: 280px) {
    .newsletter {
        min-width: 230px;
    }

    .exit-popup-header {
        font-size: 140%;
    }
    .exit-popup-content {
        font-size: 110%;
    }
}