/* Incluir una fuente más legible */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

html, body {
    height: 100%;
    min-height: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

form {
    text-align: center;
}

a {
    text-decoration: none;
    color: #0101DF;
}

.wrapper {
    background-color: #cd01df;
    background-size: 100%;
    width: 100%;
    height: 100%;
}

.login_box {
    position: relative;
    margin: auto;
    top: 7%;
    width: 35%;
    background-color: #ffffff;
    border: 1px solid #EDEDED;
    border-radius: 7px;
    padding: 20px;
    opacity: 0.98;
}

.login_header {
    width: 100%;
    height: auto;
    background-color: #58e8fa;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.texto {
    color: #2E2EFE;
}

.login_header h1 {
    margin-top: 0;
    margin-bottom: 0;
    color: #0101DF;
    text-shadow: #73B6E2 0.5px 0.5px 0px;
    font-size: 1.8em;
}

input[type="submit"] {
    background-color: #E0E0F8;
    border: 1px solid #3498db;
    border-radius: 3px;
    margin: 10px 0;
    padding: 10px 15px;
    color: #0101DF;
    text-shadow: #73B6E2 0.5px 0.5px 0px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #d0d0f0;
}

input[type="text"], input[type="email"], input[type="password"] {
    border: 1px solid #e5e5e5;
    margin-top: 10px;
    width: 80%;
    height: 40px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover {
    border-color: #3498db;
}

#second {
    display: none;
}

/* Estilos responsivos */
@media screen and (max-width: 800px) {
    .login_box {
        width: 90%;
        padding: 15px;
    }

    .login_header h1 {
        font-size: 1.5em;
    }
}

@media screen and (max-width: 500px) {
    .login_box {
        width: 95%;
    }

    input[type="text"], input[type="email"], input[type="password"] {
        width: 95%;
    }
}
