body {
    margin: 0;
    font-family: 'Inter', sans-serif;
}
.aot {
    background-color: #f6f7f8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.logo {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 100px;
    z-index: 1;
}
.sign-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    gap: 35px;
    top: 55px;
    right: 55px;
}
.container {
    width: 652px;
    height: 493px;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0px 0px 14px 3px #0000000a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 48px 115px 48px 115px;
    box-sizing: border-box;
    position: relative;
}
.container-sign-in{
    height: 630px;
    width: 598px;
    padding: 48px 88px;
}
.head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
h1 {
    text-align: center;
    font-size: 61px;
    margin-bottom: 10px;
}
.underline {
    height: 3px;
    background-color: #29abe2;
    width: 150px;
}
input {
    width: 100%;
    border: unset;
    font-size: 24px;
    color: #2a3647;
    outline: none;
}
input:-webkit-autofill {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #2A3647 !important;
}
::placeholder {
    color: #d1d1d1;
}
.input {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    width: 420px;
    border: 1px solid lightgray;
    border-radius: 13px;
    gap: 8px;
    padding: 12px 21px;
}
.checkbox {
    display: flex;
    height: 24px;
    width: 420px;
    gap: 8px;
    align-items: center;
    padding: 12px 21px;
}
.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
button {
    font-family: 'Inter', sans-serif;
    text-align: center;
    border-radius: 8px;
    height: 48px;
    width: 110px;
    font-weight: bold;
    font-size: 21px;
    cursor: pointer;
    border-style: solid;
    transition: all 100ms ease-in-out;
}
.dark-btn {
    background-color: #2a3647;
    color: white;
    border: unset;
}
.dark-btn:hover {
    background-color: #29abe2;
    cursor: pointer;
    box-shadow: 0px 4px 4px 0px #00000040;
}
.light-btn {
    background-color: white;
    color: #2a3647;
    height: 48px;
    width: 177px;
    border-color: #2a3647;
}
.light-btn:hover {
    cursor: pointer;
    color: #29ABE2;
    border: 2px solid #29ABE2;
    box-shadow: 0px 4px 4px 0px #00000040;
}
.style-btns {
    display: flex;
    gap: 35px;
    padding-bottom: 48px;
}
.gap16 {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
footer {
    position: fixed;
    bottom: 10%;
    left: 50%;
    font-size: 16px;
    transform: translate(-50%);
    display: flex;
    gap: 32px;
    text-align: center;
}
a {
    text-decoration: none;
    color: #a8a8a8;
    transition: transform 100ms ease-in-out;
}
a:hover {
    color: #29abe2;
    transform: scale(1.1);
}
.blue {
    color: #29abe2;
}
.checkbox-input {
    cursor: pointer;
}
.arrow {
    position: absolute;
    left: 10%;
    top: 10%;
    cursor: pointer;
}
.d-none {
    display: none;
}
.bg-animate {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: #f6f7f8;
    right: 0;
    left: 0;
    opacity: 0;
    animation: 1s animate-opa ease-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
} 
.logo-animate {
    left: 50%;
    position: absolute;
    width: 100px;
    top: 50%;
    transform: translate(-50%, -50%);
    animation: moveAndFreeze 2s forwards;
    margin-left: 50px;
    margin-top: 61px;
    z-index: 2;
}
.error-message {
    color: red;
    position: absolute;
    font-size: 14px;
    margin-top: 5px;
}
@keyframes moveAndFreeze {
    0% {
        left: 50%;
        top: 50%;
        width: 400px;
        margin-left: 0;
        margin-top: 0;
    }
    100% {
        left: 32px;
        top: 32px;
        width: 100px;
        margin-left: 50px;
        margin-top: 61px;
    }
}
@keyframes animate-opa {
    from {
        z-index: 3;
        opacity: 1;
    }
    to {
        z-index: -1;
        opacity: 0;
    }
}
@keyframes mobileFreeze {
    0% {
        left: 50%;
        top: 50%;
        width: 100px;
        margin-left: 0;
        margin-top: 0;
        z-index: 9;
        opacity: 1;
    }
    100% {
        left: 32px;
        top: 32px;
        width: 100px;
        margin-left: 50px;
        margin-top: 61px;
        z-index: -1;
        opacity: 0;
    }
}
@keyframes light-to-dark {
    0% {
        left: 50%;
        top: 50%;
        width: 100px;
        margin-left: 0;
        margin-top: 0;
        z-index: -1;
        opacity: 0;
    }
    100% {
        left: 32px;
        top: 32px;
        width: 100px;
        margin-left: 50px;
        margin-top: 61px;
        z-index: 9;
        opacity: 1;
    }
}
@media (max-width: 750px) {
    .logo-animate {
        display: none;
    }
    .bg-animate-mobile {
        position: absolute;
        top: 0;
        bottom: 0;
        background-color: #2A3647;
        right: 0;
        left: 0;
        opacity: 1;
        animation: 4s animate-opa forwards;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1;
    } 
    .logo-animate-light {
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: mobileFreeze 2s forwards; 
        z-index: 2;
    }
    .logo-animate-dark {
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: light-to-dark 2s forwards; 
        z-index: 2;
    }
    .container {
        width: 90%;
        padding: 16px;
        height: 515px;
    }
    .sign-height {
        height: 596px;
    }
    h1 {
        font-size: 47px;
    }
    .underline {
        width: 88px;
    }
    .input-container {
        gap: 16px;
    }
    .input {
        width: 80%;
    }
    .style-btns {
        flex-direction: column;
        gap: 10px;
    }
    .w180 {
        width: 180px;
    }
    footer {
        gap: 8px;
        position: fixed;
        bottom: 16px;
    }
    .sign-header {
        top: 90%;
        left: 70px;
    }
    .logo {
        width: 64px;
        top: 37px;
        left: 38px;
    }
}
@media (max-width: 550px) {
    .input {
        width: 70%;
    }
    .checkbox {
        width: 70%;
    }
    .sign-header {
        gap: 21px;
    }
    .fs16 {
        font-size: 16px !important;
    }
}
@media (max-width: 300px) {
    span {
        font-size: 16px;
    }
    footer {
        font-size: 12px;
    }
}
.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 500;
    animation: slideAndFade 1s ease forwards;
}
.popup {
    padding: 20px;
    border-radius: 50px;
    width: 300px;
    background-color: #2A3647;
}
.popup-content {
    text-align: center;
    font-size: 20px;
    color: white;
}
@keyframes slideAndFade {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    10% {
        transform: translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        visibility: hidden;
        opacity: 0;
    }
}
.passwordDontMatchText{
    color: #FF4057;
}