* {
    margin: 0;
    padding: 0;

}

body {
    background-color: rgb(16, 19, 21);
}

.main-content {
    width: 100%;
    height: 100vh;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
}

.initial-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.initial-screen h1 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 6em;
    margin-bottom: 20px;
    color: rgb(0, 0, 0);
}

.btn-ir {
    background: none;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    color: rgba(0, 0, 0, 0.686);
    margin-top: 10px;
}

.btn-ir:hover {
    color: rgb(61, 101, 147);
}

.login {
    display: flex;
    width: 60%;
    height: 80%;
    background-color: white;
    border-radius: 4px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.400);
}

.content-login {
    height: 100%;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 4px 0px 0px 4px;
    background-color: rgb(255, 255, 255);

}

.content-login h1 {
    font-family: sans-serif;
    text-transform: uppercase;
    font-size: 3rem;
    margin-bottom: 30px;
}

.content-login input {
    width: 60%;
    height: 40px;
    margin-top: 20px;
    border-radius: 8px;
    border: solid 1px rgba(0, 0, 0, 0);
    padding-left: 10px;
    box-shadow: -2px 2px 8px rgba(0, 0, 0, 0.300);

}

.content-login input:focus {
    outline: none;
    border: solid 1px rgba(0, 0, 0, 0.400);
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.300);
}

.content-login p {
    color: rgba(0, 0, 0, 0.609);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.content-login button {
    width: 60%;
    height: 40px;
    margin-top: 20px;
    border-radius: 8px;
    border: none;
    background-color: rgb(0, 0, 0);
    color: white;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.content-login button:hover {
    background-color: rgb(34, 34, 34);
    cursor: pointer;
}


.info-login {
    flex: 1;
    border-radius: 0px 4px 4px 0px;
    background-color: rgb(23, 22, 22);
}

.animar-subir {
    animation: subirYDesaparecer 0.5s ease forwards;
}

.popup {
    animation: popup 2s ease forwards;
}


@keyframes popup {
    0% {
        opacity: 0;
        width: 30%;
    }

    50% {
        opacity: 1;
        width: 60%;
    }

    100% {
        width: 60%;
    }
}


@keyframes subirYDesaparecer {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px);
    }
}

.error {
    font-size: 0.85rem;
    margin-top: 10px;
    text-align: center;
    min-height: 40px;
}

/* Checkbox recordar */
.remember-box {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.remember-box input {
    width: 12px;
    height: 12px;
    padding: 0;
    margin: 0;
}

.remember-box label {
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .login {
        width: 10%;
        height: 60%;
    }

    .content-login {
        height: 100%;
        width: 400px;
        padding: 10px;

    }

    .info-login {
        display: none;
    }


    .initial-screen h1 {
        font-size: 3em;
    }

    .popup {
    animation: popup 0.5s ease forwards;
}


@keyframes popup {
    0% {
        opacity: 0;
       
    }

    50% {
        opacity: 1;
        
    }

    100% {
        width: 90%;
    }
}

    

}