.popup-access{
    background: #00000060;
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000000;
    min-height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.popup-access.active{
    display: flex;
}

.popup-access__inner {
    position: fixed;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    width: 440px;
    height: 440px;
    background: var(--blue);
    border-radius: 50%;
    transition: .3s;
    transform: scale(0);
}

.popup-access.active .popup-access__inner {
    transform: scale(1);
}

.popup-access__close {
    position: absolute;
    top: 14px;
    right: 14px;
    cursor: pointer;
    transition: .3s;
}

.popup-access__close:hover {
    transform: rotate(180deg);
}

.popup-access__text{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.popup-access__title{
    font-family: Poppins;
    font-weight: 400;
    font-size: 40px;
    line-height: 44px;
    letter-spacing: -0.4px;
    text-align: center;
    color: #fff;
}
.popup-access__subtitle{
    font-weight: 300;
    font-size: 22px;
    line-height: 145%;
    letter-spacing: -0.2px;
    text-align: center;
    color: #fff;
}
.popup-access__input-wrapper{
    position: relative;
}
#popup-access__input{
    border: 1.2px solid #e5e7eb;
    border-radius: 10px;
    width: 360px;
    height: 48px;
    padding: 12px 15px 8px;
    margin: 10px 0 20px;
    position: relative;
    color: #fff;
}
#popup-access__input::placeholder{
    font-weight: 300;
    font-size: 22px;
    line-height: 145%;
    letter-spacing: -0.2px;
    color: #e5e7eb;
}
#popup-access__input.email-invalid{
    border: 1.2px solid #fda29b;
}
.popup-access__input-wrapper.email-invalid::after{
    content: '!';
    color: #f04438;
    border: 1.7px solid;
    border-radius: 100%;
    position: absolute;
    top: 25px;
    right: 15px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    font-weight: 500;
}
.popup-access__btn {
    font-weight: 400;
    color: #000;
    background: #fff;
    border-radius: 64px;
    padding: 11px 32px;
    transition: .3s;
    font-weight: 400;
    font-size: 19.56px;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;
    height: 56px;
    width: 188px;
    border: none;
}

.popup-access__btn:hover {
    color: #000;
    border-radius: 16px;
    text-decoration: none;
}

@media (max-width: 768px) {
    .popup-access__inner {
        transform: scale(0);
        transition: .3s;
        width: 342px;
        height: 342px;
    }

    .popup-access.active .popup-access__inner {
        transform: scale(1);
    }

    .popup-access__overlay {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: #00000099;
        transform: rotateY(90deg);
        transition: .3s .3s;
        z-index: 998;
    }
    
    .popup-access.active .popup-access__overlay {
        transform: rotateY(0deg);
    }
    .popup-access__text {
        gap: 6px;
    }
    .popup-access__title{
        font-size: 30px;
        line-height: 34px;
    }
    .popup-access__subtitle{
        font-size: 17px;
    }
    #popup-access__input{
        width: 280px;
        height: 38px;
        border-radius: 8px;
    }
    #popup-access__input::placeholder{
        font-size: 17px;
    }
    #popup-access__input:focus::placeholder{
        color: #98a2b3;
    }
    .popup-access__btn {
        font-size: 15px;
        height: 43px;
        width: 145px;
        padding: 0;
    }
    .popup-access__input-wrapper.email-invalid::after{
        top: 20px;
        right: 10px;
    }
}