*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Bree Serif", serif;
}
.content {
    position: absolute;
    left: 60vw;
    margin: auto auto;
    padding: 40px 30px;
    background: #ecf0f3;
    border-radius: 10px;
    box-shadow: 10px 10px 10px #d1d9e6, -10px -10px 10px #f9f9f9;
}
.content .text {
    font-size: 33px;
    font-weight: 600;
    margin-bottom: 35px;
    color: #595959;
}
.field {
    height: 50px;
    width: 100%;
    display: flex;
    position: relative;
}
.field:nth-child(2) {
    margin-top: 20px;
}
.field .input {
    height: 100%;
    width: 100%;
    padding-left: 45px;
    outline: none;
    border: none;
    font-size: 18px;
    background: #dde1e7;
    color: #595959;
    border-radius: 25px;
    box-shadow: inset 2px 2px 5px #BABECC,
                inset -5px -5px 10px #ffffff73;
}

.field .input:focus {
    box-shadow: inset 1px 1px 2px #BABECC,
                inset -1px -1px 2px #ffffff73;
}

.field .span {
    position: absolute;
    color: #595959;
    width: 50px;
    line-height: 55px;
}

.field .label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 45px;
    pointer-events: none;
    color: #666666;
}

.field .input:valid ~ label {
    opacity: 0;
}

.forgot-pass {
    text-align: left;
    margin: 10px 0 10px 5px;
}

.forgot-pass a {
    font-size: 16px;
    color: #666666;
    text-decoration: none;
}

.forgot-pass:hover a {
    text-decoration: underline;
}

.button {
    margin: 15px 0;
    width: 100%;
    height: 50px;
    font-size: 18px;
    line-height: 50px;
    font-weight: 600;
    background: #7cdab2;
    border-radius: 25px;
    border: none;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    box-shadow: 2px 2px 5px #BABECC,
            -5px -5px 10px #ffffff73;
}
.button:focus {
    color: #26916d;
    box-shadow: inset 2px 2px 5px #BABECC,
            inset -5px -5px 10px #ffffff73;
}

.sign-up {
    margin: 10px 0;
    color: #595959;
    font-size: 16px;
}
.sign-up a {
    color: #26916d;
    text-decoration: none;
}
.sign-up a:hover {
    text-decoration: underline;
}
#logo{
    background: none;
    border: none;
    position: relative;
    bottom: 5vh;
    right: 50vh;
    margin: 0;
}
#logom{
    padding: 0 0 0 15vh;
    max-width: 100%;
    height: auto;
    width: 100vh;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2vh 0;
    font-size: 0.8rem;
    min-height: 10vh;
    width: 100%;
    opacity: 50%;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .content {
        left: 50%; /* Centra el contenedor en pantallas pequeñas */
        transform: translateX(-50%); /* Ajusta el contenedor para que esté centrado */
        padding: 20px; /* Reduce el padding */
        width: 90%; /* Ancho del contenedor al 90% de la pantalla */
        top: 170px;
    }

    #logo {
        display: flex;
        justify-content: center;
        align-items: center;
        right: 50px; /* Alinea el logo en pantallas pequeñas */
        margin: 0;
    }

    #logom {
        margin: 0;
        width: 90vh; /* Ajusta el ancho del logo */
    }

    .content .text {
        font-size: 28px; /* Reduce el tamaño del texto */
    }

    .field .label {
        left: 40px; /* Ajusta la posición de la etiqueta */
    }

    .button {
        font-size: 16px; /* Ajusta el tamaño del texto del botón */
    }

    footer {
        padding: 10px 0; /* Ajusta el padding del pie de página */
        font-size: 0.8rem; /* Ajusta el tamaño de la fuente */
    }
}

@media (max-width: 480px) {
    .content {
        padding: 15px; /* Reduce aún más el padding */
        width: 85%; /* Ancho del contenedor al 95% */
    }

    .content .text {
        font-size: 24px; /* Reduce aún más el tamaño del texto */
    }

    .field .input {
        font-size: 16px; /* Ajusta el tamaño del texto en los inputs */
    }

    .forgot-pass a, .sign-up a {
        font-size: 14px; /* Ajusta el tamaño del texto de los enlaces */
    }

    .button {
        height: 40px; /* Ajusta la altura del botón */
    }
}
