.newsletter-lead-popup-container {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: auto;
    background-color: rgb(0, 153, 255);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    z-index: 10000;
}

.newsletter-lead-popup-header {
    display: flex;
    flex-direction: row;
    justify-content: end;
    padding: 16px;
}

.newsletter-lead-X {
    width: 21px;
    cursor: pointer;
}

.newsletter-lead-popup-content {
    padding: 31px 70px 30px 50px;
    color: white;
}

.newsletter-lead-popup-heading {
    font-size: 36px;
    color: white;
}

.newsletter-lead-popup-text {
    font-size: 17px;
    color: white;
}

.newsletter-lead-popup-footer {
    width: 100%;
    padding-bottom: 50px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.newsletter-lead-popup-button {
    border: 2px solid white;
}

/* ------------------------------------------------ */

.newsletter-lead-container {
    margin-top: 70px;
    position: relative;
    width: 100%;
    height: auto;
}

.newsletter-lead-background {
    position: absolute;
    height: 100%;
    width: 200vw;
    margin-left: -50vw;
    background-color: rgb(244, 244, 244);
    z-index: -1;
}

.newsletter-lead-content {
    padding-top: 50px;
    padding-bottom: 50px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 25px;
}

.newsletter-lead-paperplane {
    width: 60px;
    flex-grow: 0;
    flex-shrink: 0;
}

.newsletter-lead-text-container {
    width: 100%;
}

.newsletter-lead-heading {
    color: black;
    margin-top: 0 !important;
}

.newsletter-lead-text {
    font-size: 17px;
}

.newsletter-lead-button {
    margin-top: 32px;
}

@media screen and (min-width: 769px) {
    .newsletter-lead-text {
        width: 85%;
    }
}

/* ------------------------------------------------ */

/* Show and hide the different versions */

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.nl-popup-shown {
    display: none;
    animation: fade-in 350ms;
}

.nl-popup-fade-out {
    display: none;
    animation: fade-out 350ms;
    animation-fill-mode: forwards;
}

.nl-popup-hidden {
    display: none;
}

@media screen and (min-width: 1715px) {
    .nl-hide-large {
        display: none;
    }

    .nl-popup-shown {
        display: block;
    }

    .nl-popup-fade-out {
        display: block;
    }
}
