@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

body {
    background-image: url('/img/COLEGIO.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.wrapper {
    background-color: #f0f2f5;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.6s ease-out;
    text-align: center;
}

.logo {
    max-width: 160px; /* Ajusta el tamaño del logo */
    margin-bottom: 20px; /* Espacio entre el logo y el título */
}

.title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

form .field {
    position: relative;
    margin-bottom: 25px;
}

form .field input {
    width: 100%;
    padding: 12px 12px 12px 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    background-color: #e9ecef;
}

form .field label {
    position: absolute;
    top: -10px;
    left: 12px;
    background-color: #f0f2f5;
    padding: 0 5px;
    font-size: 0.85rem;
    color: #555;
}

.toggle-password {
    position: absolute;
    top: 12px;
    right: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

form .field input[type="submit"] {
    background-color: #4e73df;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px;
}

form .field input[type="submit"]:hover {
    background-color: #375bd4;
}

.checkbox {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.checkbox input {
    margin-right: 8px;
}

a {
    font-size: 0.9rem;
    color: #4e73df;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}

p {
    text-align: center;
}

@keyframes fadeIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media screen and (max-width: 480px) {
    .wrapper {
        padding: 30px 20px;
    }

    .title {
        font-size: 1.5rem;
    }
}