.popup-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 18, 0.25);
    z-index: 4000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-modal-close-btn {
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 14px;
    top: 14px;
    border-radius: 62px;
    background: var(--Background-White, #FFF);
    box-shadow: 0px 1px 2px 0px rgba(164, 172, 185, 0.24), 0px 0px 0px 1px rgba(18, 55, 105, 0.08);
    width: 30px;
    height: 30px;
    border: none;
    color: #0D0D12;
    font-size: 16px;
    z-index: 5005;
    transition: 0.3s;
}

.popup-modal-close-btn:hover{
    background: #ECEFF3;
}

.popup-modal-3-close-btn {
    display: flex;
    padding: 4px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 14px;
    top: 10px;
    border: none;
    color: #fff;
    font-size: 16px;
    background: transparent;
    font-weight: 600;
    z-index: 5005;
}

.popup-modal-2-square-container {
    padding: 8px;
    border-radius: 12px;
    background: #FFF;
    display: none;
    position: fixed;
    z-index: 5000;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    max-width: 90%;
    max-height: 90vw;
    cursor: pointer;
}

.popup-modal-2-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
}

.popup-modal-2-vertical-container {
    padding: 8px;
    border-radius: 12px;
    background: #FFF;
    display: none;
    position: fixed;
    z-index: 5000;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 500px;
    cursor: pointer;
    aspect-ratio: 2/3;
}

@media (max-width: 480px) {
    .popup-modal-2-square-container {
        width: 90vw;
        height: 90vw;
        max-width: 300px;
        max-height: 300px;
    }
    .popup-modal-2-vertical-container {
        width: 82vw;
        height: auto;
        max-width: 300px;
        max-height: 400px;
    }
}


.popup-modal-3-square-container {
    border-radius: 12px!important;
    position: fixed;
    z-index: 5000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-between;
    background: #030326;
    max-width: 760px;
    width: min(90vw, 760px);
    min-height: 400px;
    height: auto;
    max-height: none;
    align-items: stretch;
    transition: all 0.3s ease;
}

.popup-modal-3-vertical-500-container {
    min-height: 500px;
}

.popup-modal-3-vertical-700-container {
    min-height: 710px;
}

.popup-modal-3-square-img {
    width: 50%;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.popup-modal-3-square-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.popup-modal-3-vertical-500-img {
    min-height: 500px;
}

.popup-modal-3-vertical-700-img {
    min-height: 710px;
}

.popup-modal-3-square-text-container {
    display: flex;
    padding: 24px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    width: 50%;
    gap: 25px;
    min-height: 400px;
}

.popup-modal-3-vertical-500-text-container {
    min-height: 500px;
    justify-content: center;
}

.popup-modal-3-vertical-700-text-container {
    min-height: 710px;
    justify-content: center;
}

.popup-modal-3-square-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.popup-modal-3-square-text span {
    color: #FFF;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px; /* 120% */
    font-family: 'ClashGrotesk-Medium';
}



.popup-modal-3-horizontal-container {
    border-radius: 12px!important;
    position: fixed;
    z-index: 5000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: #030326;
    max-width: 600px;
    width: min(90vw, 600px);
    min-height: 630px;
    height: auto;
    max-height: none;
    transition: all 0.3s ease;
}

.alternative-popup-modal-fade {
    animation: fadeInFromTop 0.5s ease forwards;
}

@keyframes fadeInFromTop {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.popup-modal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 4999;
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.alternative-popup-modal-fade .popup-modal-3-horizontal-text-container {
    animation: fadeInContent 0.6s ease forwards;
    animation-delay: 0.1s;
}

@keyframes fadeInContent {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.alternative-popup-modal-fade .popup-modal-close-btn {
    transition: opacity 0.2s ease;
}

.popup-modal-3-horizontal-img {
    width: 100%;
    min-height: 315px;
    position: relative;
    overflow: hidden;
}

.popup-modal-3-horizontal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.popup-modal-3-horizontal-text-container {
    display: flex;
    padding: 20px 48px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;
    align-self: stretch;
    width: 100%;
    min-height: 315px;
}

.popup-modal-3-horizontal-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.popup-modal-3-horizontal-text-header {
    color: #FFF;
    text-align: center;
    font-family: 'ClashGrotesk-Medium';
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 48px; /* 120% */
}

.popup-modal-3-horizontal-text-paragraph {
    color: #FFF;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

.popup-modal-3-horizontal-text-paragraph ul {
    display: flex;
    justify-content: center;
}

.popup-modal-3-vertical-squre-text-paragraph {
    color: #FFF;
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
}

.popup-modal-3-vertical-squre-text-paragraph ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.popup-modal-3-horizontal-text-paragraph p {
    margin: 0;
}


.popup-modal-3-vertical-squre-text-paragraph p {
    margin: 0;
}


.popup-modal-3-vertical-squre-text-paragraph ul li {
    color: #FFF;
    text-align: left;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}


@media (max-width: 991px) {
    .popup-modal-3-square-text-container {
        padding: 20px 24px;
    }

}

@media (max-width: 768px) {
    .popup-modal-3-close-btn {
        display: flex;
        padding: 4px;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 14px;
        top: 14px;
        border-radius: 62px;
        background: #FFF;
        box-shadow: 0px 1px 2px 0px rgba(164, 172, 185, 0.24), 0px 0px 0px 1px rgba(18, 55, 105, 0.08);
        width: 30px;
        height: 30px;
        border: none;
        color: #0D0D12;
        font-size: 16px;
        transition: 0.3s;
    }

    .popup-modal-3-close-btn:hover{
        background: #ECEFF3;
    }

    .popup-modal-3-square-text span {
        font-size: 32px;
        font-style: normal;
        font-weight: 600;
        line-height: 40px;
    }

    .popup-modal-3-square-container {
        justify-content: space-between;
        flex-direction: column;
        max-width: 335px;
        width: 90vw;
        min-height: unset;
        height: auto;
        transform-origin: center center;
        transform: translate(-50%, -50%) scale(1);
    }

    .popup-modal-3-vertical-500-container {
        min-height: unset;
    }

    .popup-modal-3-vertical-700-container {
        min-height: unset;
    }

    .popup-modal-3-square-img {
        width: 100%;
        height: 335px;
        min-height: unset;
    }

    .popup-modal-3-vertical-500-img {
        height: 410px;
    }

    .popup-modal-3-vertical-700-img {
        height: 450px;
    }


    .popup-modal-3-square-img img {
        border-radius: 12px 12px 0 0 !important;
    }


    .popup-modal-3-square-text-container {
        width: 100%;
        padding: 20px;
        min-height: fit-content;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .popup-modal-3-horizontal-container {
        justify-content: flex-start;
        min-height: unset;
    }

    .popup-modal-3-horizontal-text-container {
        padding: 16px 16px 24px 16px;
        gap: 24px;
        width: 100%;
        min-height: unset;
        text-align: left;
    }


    .popup-modal-3-horizontal-text-header {
        font-size: 32px;
        font-style: normal;
        font-weight: 600;
        line-height: 40px; /* 125% */
    }
}

@media (max-width: 480px) {

    .popup-modal-3-horizontal-text-header{
        text-align: left;
    }

    .popup-modal-3-horizontal-text-paragraph {
        text-align: left;
    }

    /*.popup-modal-3-square-container {*/
    /*    max-width: max-content;*/
    /*    width: 95vw;*/
    /*    min-height: auto;*/
    /*    transform: translate(-50%, -50%) scale(0.95);*/
    /*}*/

    /*.popup-modal-3-square-img {*/
    /*    min-height: fit-content;*/
    /*}*/

    .popup-modal-3-square-text-container {
        padding: 16px 16px 24px 16px;
        justify-content: flex-start;

    }

    .popup-modal-3-square-text span {
        font-size: 22px;
        line-height: 28px;
    }

    .popup-modal-3-horizontal-img {
        min-height: 190px;
    }

    .popup-modal-3-horizontal-text {
        align-items: flex-start;
    }

    .popup-modal-3-horizontal-text-paragraph ul {
        padding-left: 18px;
        margin-bottom: 0;
        justify-content: flex-start;
    }
}

@media (max-width: 360px) {
    /*.popup-modal-3-square-container {*/
    /*    min-height: 550px;*/
    /*    transform: translate(-50%, -50%) scale(0.9);*/
    /*}*/

    .popup-modal-3-vertical-500-container {
        min-height: 600px;
    }

    .popup-modal-3-vertical-700-container {
        min-height: 650px;
    }

    .popup-modal-3-square-text-container {
        justify-content: flex-start;
    }

    .popup-modal-3-vertical-500-text-container {
        min-height: unset;
    }

    .popup-modal-3-vertical-700-text-container {
        min-height: unset;
    }

    .popup-modal-3-square-text span {
        font-size: 20px;
        line-height: 26px;
    }
}