[x-cloak] { display: none !important; }

.th-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000000000;
    border-radius: 44px;
    overflow: hidden;
    width: calc(644px - 64px);
}
.th-popup svg{
    position: absolute;
    top: 32px;
    right: 32px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.th-popup svg:hover{
    transform: rotate(90deg);
}

.th-popup-wrapper {
    padding: 32px;
    background: #4671B9;
    backdrop-filter: blur(40px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.th-popup-wrapper h5, .th-popup-wrapper span {
    font-family: Ermilov;
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -3%;
    color: #FFFFFF;
}


@media screen and (max-width: 1024px){

    .th-popup {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 100000000000;
        border-radius: 18px;
        overflow: hidden;
        width: calc(100% - 32px);
    }
    .th-popup svg{
        position: absolute;
        top: 12px;
        right: 12px;
    }

    .th-popup-wrapper {
        padding: 16px;
        gap: 10px;
    }

    .th-popup-wrapper h5, .th-popup-wrapper span {
        font-size: 16px;
    }
}
