@keyframes login-modal {
    0% {
        transform: translateY(100vh);
    }
    50% {
        transform: scaleX(1.1) scaleY(0.9) translateY(-10%);
    }
    100% {
        bottom: 0px;
        transform: scale(1) translateY(0px);
    }
}

@keyframes modal-mask {
    0% {
        background-color: unset;
    }
    100% {
        background-color: rgba(0, 0, 0, 0.5);
    }
}

#modal-mask{
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: 0.4s ease 0s 1 normal none running modal-mask;
    overflow: inherit;
}
#login-wrap{
    display: flex;
    flex-direction: column;
    z-index: 9999;
    width: 85%;
    margin: auto;
    max-width:  27.1875rem;;
}
#login-modal{
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    color: rgb(0, 0, 0);
    animation-name: login-modal;
    animation-duration: 0.8s;
    animation-timing-function: ease-in-out;
}

#login-container{
    position: relative;
    max-height: 100%;
    background: white;
    padding: 1.75rem 0px;
    width: 100%;
    border-radius: 1.375rem;
    border: 0.3125rem solid rgb(255, 255, 255);
    text-align: center;
}

#login-content{
    position: relative;
    height: max-content;
    overflow: hidden;
    padding-top: 0rem;
}
#login-details{
    box-sizing: border-box;
    display: flex;
    flex-flow: wrap;
    width: 100%;
}

#login-btns{
    box-sizing: border-box;
    margin: 0.375rem 0px 0px;
    flex-basis: 100%;
    flex-grow: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation-delay: 0.6s;
}

#login-cf {
    font-family: grav-heavy;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border-radius: 1.25rem;
    outline: 0px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    color: rgb(255, 255, 255);
    text-shadow: rgba(0, 0, 0, 0.16) 0.03125rem 0.0125rem;
    box-sizing: border-box;
    transition: 0.1s cubic-bezier(0, 1.5, 1, 2);

    background-image: url("/resource/login_btn_bg.png");
    background-size: 100% 100% ;
    background-repeat: no-repeat;
    aspect-ratio: 574/138;
    font-size: 1rem;
    padding: 0.375rem 1.5rem;
    gap: 5%;
}
.login-btn-img {
    height: 1.375rem;
    vertical-align: middle;
}

.login-hr{
    width: 80%;
    border-top: 0.0625rem solid rgb(222, 191, 89);
    margin: 1.5rem auto;
}
#newer-content{
    box-sizing: border-box;
    margin: 0px;
    flex-direction: row;
    flex-basis: 100%;
    flex-grow: 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
    animation-delay: 0.7s;
    color:#3e3458;
}
.newer-title{
    font-size: 1.5rem;
    font-weight: bold;
}
#download-btns{
    box-sizing: border-box;
    margin: 1rem ;
    flex-direction: row;
    flex-basis: 100%;
    flex-grow: 0;
    max-width: 100%;
}
.download-btns-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
}
.dngFnc {
    margin-top: 1rem;
}
#privicy{
    box-sizing: border-box;
    margin: 0px;
    flex-direction: row;
    flex-basis: 100%;
    flex-grow: 0;
    max-width: 100%;
    animation-delay: 0.9s;
    color: #3974e8;
    text-decoration: underline;
}



.close-modal{
    cursor: pointer;
    position: absolute;
    font-size: 0px;
    right: 4%;
    top: 8%;
    width: 5%;
    animation-name: flex-scale;
    animation-duration: 0.5s;
}