/* CSS for Popup After Party */
section.popup-after-party {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 9999999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: ease 0.6s !important;
    backdrop-filter: blur(10px) !important;
}

section.popup-after-party.active {
    pointer-events: all !important;
    opacity: 1 !important;
}

section.popup-after-party .wrap {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
}

section.popup-after-party .popup-after-party-content {
    margin: auto !important;
    display: grid !important;
    max-width: 800px !important;
    width: calc(90% - 160px) !important;
    align-items: center !important;
    padding: 40px 60px 60px !important;
    background: var(--black) !important;
    max-height: calc(90% - 120px) !important;
    border-radius: 6px !important;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.45)) !important;
    border: 1px solid #FF8D5D !important;
    position: relative !important;
}

section.popup-after-party .popup-after-party-image-side img {
    position: absolute !important;
    object-fit: cover !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
}

section.popup-after-party .popup-after-party-content-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    overflow-y: scroll;
    max-height: 100% !important;
}

section.popup-after-party button.close-popup {
    /* margin-left: auto !important; */
    background: none !important;
    border: none !important;
    padding: 10px !important;
    /* margin-right: -30px !important; */
    cursor: pointer !important;
    position: absolute !important;
    top:20px;
    right:20px !important;
}

section.popup-after-party .popup-after-party-text-side p span {
    color: #FDE3D7 !important;
    font-family: 'Afacad' !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 120% !important;
    text-transform: uppercase !important;
}

section.popup-after-party .popup-after-party-content h2 {
    background: linear-gradient(81deg, #FDE3D7 0%, #FF8D5D 100%) !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    text-transform: uppercase !important;
    font-size: clamp(25px, 5vw, 59px) !important;
    font-weight: 500 !important;
    line-height: 90% !important;
    font-style: normal !important;
    font-family: 'Afacad' !important;
    margin: 0 !important;
}

section.popup-after-party p {
    color: #FFF !important;
    font-family: 'Afacad' !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 120% !important;
    margin-block: 21px !important;
}

#popup-privacy {
    display: flex !important;
    width: fit-content !important;
    color: rgba(255, 255, 255, 0.60) !important;
    font-family: Figtree !important;
    font-size: 12px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: none !important;
    text-decoration-thickness: auto !important;
    text-underline-offset: auto !important;
    text-underline-position: from-font !important;
}

section.popup-after-party .gform_footer.top_label input#gform_submit_button_33 {
    width: 100% !important;
    box-shadow: 1px 1px 4px 0px rgba(0, 0, 0, 0.25) !important;
    padding: 14px !important;
    border-radius: 6px !important;
    background: linear-gradient(90deg, #862C95 0%, #FF7132 100%) !important;
    color: #FFF !important;
    text-align: center !important;
    font-family: 'Figtree' !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    overflow: hidden !important;
    border: none !important;
    margin: 0!important;
}

section.popup-after-party .gform_footer.top_label {
    width: 100% !important;
    margin: 0 !important;
}

section.popup-after-party form#gform_33 input {
    background: 
    linear-gradient(#000, #000) padding-box,
        linear-gradient(81deg, #FDE3D7 0%, #FF8D5D 100%) border-box;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    color: var(--white) !important;
    font-family: 'Figtree' !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    height: auto !important;
    padding: 14px!important;
}

.ginput_container.ginput_container_email {
    border-radius: 3px !important;
    overflow: hidden !important;
}

section.popup-after-party form#gform_33 input::placeholder {
    color: rgba(255, 255, 255, 0.60) !important;
}

section.popup-after-party form#gform_33 {
    display: flex !important;
    flex-direction: column !important;
    gap: 11px !important;
}

section.popup-after-party .gform_fields {
    gap: 11px !important;
}

section.popup-after-party .popup-after-party-text-side {
    height: 100% !important;
    grid-column: 2 !important;
}

.popup-after-party-image-side {
    position: absolute !important;
    object-fit: cover !important;
    height: 100% !important;
    left: 0 !important;
    top: 0 !important;
    width:45% !important;
}

.popup-after-party-image-side:after {
    background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.00) 100%) !important;
    content: '' !important;
    z-index: 1 !important;
    position: absolute !important;
    right: 0 !important;
    width: 45% !important;
    height: 100% !important;
}

section.popup-after-party div#gform_wrapper_33 .gform_heading {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

section.popup-after-party div#gform_wrapper_33 {
    display: flex !important;
    flex-direction: column !important;
}

section.popup-after-party div#gform_confirmation_message_33 h2 {
    font-size: 36px !important;
    margin: 0 !important;
    margin-bottom: 20px !important;
    font-family: 'Schnyder MLight', serif !important;
    max-width: 351px !important;
}

section.popup-after-party div#gform_confirmation_message_33 p {
    margin: 0 !important;
}

section.popup-after-party div#gform_confirmation_message_33 {
    font-family: 'Untitled Sans Regular', serif !important;
}

section.popup-after-party div#gform_confirmation_message_33 a {
    color: var(--black) !important;
}

/* @media (max-height: 600px) {
    section.popup-after-party .popup-after-party-content-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    section.popup-after-party .popup-after-party-image-side {
        display: none !important;
    }
} */

@media (max-width: 900px) {
    section.popup-after-party .popup-after-party-content-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    section.popup-after-party button.close-popup {
        top:10px;
        right:10px !important;
    }
    
    section.popup-after-party .popup-after-party-image-side img {
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        position: absolute !important;
    }
    
    section.popup-after-party .popup-after-party-image-side {
        position: relative !important;
    }

    section.popup-after-party .popup-after-party-image-side {
        display: none !important;
    }

    section.popup-after-party p.gform_description {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }
    
    section.popup-after-party h2.gform_title {
        font-size: 28px !important;
    }
    
    section.popup-after-party .popup-after-party-content {
        padding: 20px 30px 40px !important;
        width: calc(90% - 60px) !important;
    }

    section.popup-after-party .gform_footer.top_label {
        margin: 0 !important;
    }
}
