*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
section{
    height: 100vh;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.form-login{
    color: black;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 1% 1% 5% 1%;
}
.img-login{
    background-color: #3e4677;
    align-items: center;
}
.img-login img{
    height: 70%;
    width: 70%;
    object-fit: contain;
}
.logo{
    width: 40%;
    min-width: 200px;
    object-fit: contain;
    filter: invert(1);
    margin-bottom: 5%;
}
.menu{
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 1em;
    font-size: large;
    margin-bottom: 5%;
}
.menu-buttons{
    font-family: 'Open Sans';
    font-weight: bold;
    font-style: italic;
    color: black;
    padding: 0;
    background-color: transparent;
    font-size: 1.55em;
}
.menu-buttons:hover{
    border: 0;
}
#menu-buttons-login{
    border-bottom: 2px solid black;
}
form {
    color: white;
    padding: 20px;
    border-radius: 8px;
    height: 70%;
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

input {
    font-family: 'Open Sans';
    font-weight: bold;
    font-size: 1.2em;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-bottom: 2px solid #3e4677;
    background-color: transparent;
}

input:focus{
    outline: none;
}
button{
    padding: 10px;
    border: none;
    cursor: pointer;
}
form button {
    width: 70%;
    font-family: 'Open Sans';
    font-weight: bold;
    margin-top: 20px;
    padding: 10px;
    background-color: #3e4677;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.3em;
}

form button:hover{
    box-shadow:2px 5px 4px #3e46777b;
}

.recuperar{
    font-family: 'Open Sans';
    font-weight: bold;
    font-size: 1em;
    color: #3e4677;
    text-decoration: underline;
    border-bottom: 0px;
}
.btn-secundario {
    background-color: transparent !important;
    color: #3e4677 !important;
    text-decoration: underline;
    width: auto !important;
    margin-top: 10px !important;
    font-size: 1em !important;
}

.btn-secundario:hover {
    box-shadow: none !important;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .form-login{
        width: 100%;
    }
    .img-login{
        display: none;
    }
    button {
        font-size: 14px;
    }
}
.subdiv{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.LOGIN{
    display: flex;
}

.REGISTER{
    display: none;
}

.VERIFY{
    display: none;
}

.RECOVER{
    display: none;
}

.RECOVER_EMAIL{
    display: none;
}

#menu-buttons-verify{
    display: none;
    font-size: 1.2em;
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegúrate de que esté encima de todo */
}
.loader {
    position: absolute;
    scale: 1.4; /* Duplicado (antes era 0.7) */
    animation: rotate 2.5s infinite;
    height: 100px; /* Duplicado (antes era 50px) */
    width: 100px; /* Duplicado (antes era 50px) */
}
.loader:before,
.loader:after {
    content: "";
    display: block;
    height: 40px; /* Duplicado (antes era 20px) */
    width: 40px; /* Duplicado (antes era 20px) */
}
.loader:before {
    animation: box1 2.5s infinite;
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 60px 0 0 #2e3984; /* Duplicado (antes era 30px) */
    margin-bottom: 20px; /* Duplicado (antes era 10px) */
}
.loader:after {
    animation: box2 2.5s infinite;
    background-color: #2e3984;
    box-shadow: 60px 0 0 rgba(255, 255, 255, 0.2); /* Duplicado (antes era 30px) */
}

/* Animaciones */
@keyframes rotate {
    0% {
        transform: rotate(0deg) scale(0.8);
    }
    50% {
        transform: rotate(360deg) scale(1.2);
    }
    100% {
        transform: rotate(720deg) scale(0.8);
    }
}
@keyframes box1 {
    0% {
        box-shadow: 60px 0 0 #2e3984; /* Duplicado */
    }
    50% {
        box-shadow: 0 0 0 #2e3984;
        margin-bottom: 0;
        transform: translate(30px, 30px); /* Duplicado (antes era 15px) */
    }
    100% {
        box-shadow: 60px 0 0 #2e3984; /* Duplicado */
        margin-bottom: 20px; /* Duplicado */
    }
}
@keyframes box2 {
    0% {
        box-shadow: 60px 0 0 rgba(255, 255, 255, 0.2); /* Duplicado */
    }
    50% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0.2);
        margin-top: -40px; /* Duplicado (antes era -20px) */
        transform: translate(30px, 30px); /* Duplicado */
    }
    100% {
        box-shadow: 60px 0 0 rgba(255, 255, 255, 0.2); /* Duplicado */
        margin-top: 0;
    }
}
