/* ===

Theme Name: SLE
Version: 1.2.0
Description: The Template is created for TemplateMonster
Author: Koval Web

*=== */
.popup-open .popup {
    transform: none;
}

.popup-open .popup.popup-transition {
    transition-delay: 0s;
}

.popup {
    position: fixed;
    left: 0;
    top: calc(var(--gutter-y) * -1);
    width: 100%;
    height: 100%;
    background-color: var(--base);
    overflow: hidden;
    overflow-y: auto;
    transform: translateY(100%);
    z-index: 1111;
}

.popup.popup-transition {
    transition: all 0.3s 0.3s;
}

.popup-container {
    position: relative;
    overflow: hidden;
}

.popup-container .container {
    position: relative;
    z-index: 1;
}

.popup-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 4rem 0 3rem;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.popup-body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.popup-header {
    font-family: var(--heading-font-family), sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.1;
    width: 100%;
    padding-top: 1rem;
    border-top: 1px solid var(--text);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.popup-header.popup-header-min {
    margin-bottom: 2rem;
}

.popup-heading {
    font-family: var(--heading-font-family), sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 2.75rem;
    margin-bottom: 2.5rem;
}

.popup-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11;
    color: var(--accent);
    transition: all 0.2s;
}

.popup-close::before, .popup-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1.5rem;
    height: 2px;
    margin-top: -1.5px;
    margin-left: -0.75rem;
    background-color: #B3B3B3;
    transition: all 0.2s;
}

.popup-close::before {
    transform: rotate(-45deg);
}

.popup-close::after {
    transform: rotate(45deg);
}

.popup-close:hover::after, .popup-close:hover::before {
    background-color: var(--text);
}

.popup-marquee-outer {
    position: absolute;
    left: 0;
    top: 0;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.popup-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    min-width: 100vh;
    height: 100%;
    width: 100%;
    transform-origin: center top;
    transform: translateX(-50%) rotate(-90deg);
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

@media (min-width: 768px) {
    .popup-content {
        padding: 3rem 2rem 4rem 0;
    }

    .popup-heading {
        font-size: 4rem;
        margin-bottom: 3rem;
    }

    .popup-close {
        top: 2rem;
    }
}

@media (min-width: 1024px) {
    .popup-heading {
        font-size: 4.75rem;
    }
}

@media (min-width: 1200px) {
    .popup-heading {
        font-size: 5.5rem;
    }

    .popup-content {
        padding: 3rem 0 4rem;
    }
}

@media only screen and (min-width: 1550px) {
    .popup-heading {
        font-size: 6.25rem;
    }
}