
body {
    font-family: 'Comic Sans MS',cursive;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
    background-image:url("/imagenes/pizarra.jpg");
    background-size: contain;
    background-repeat: no-repeat; 
    background-position: center;
    background-color: white;
}


.inicio {
    position: absolute;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 5px;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.7rem;
    text-align: center;
    padding: 35px;
    width: 650px;
    height: 450px;
    box-shadow: 5px 12px 12px -6px rgba(0, 0, 0, 0.5);
    margin-top: 200px;
}

.boton-div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 15vh;
}

.boton {
    font-size: 18px;
    padding: 15px 30px;
    color: white;
    font-weight: bold;
    background-color: #034E32;
    border: 3px solid white; 
    border-radius: 5px; 
    cursor: pointer;
    text-decoration: none;
}

h1{
    font-size: 2.3em;
    font-weight: bold;
    color: #034E32;
    text-align: center;
    font-family: 'Comic Sans MS',cursive;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.icono{
    animation: bounce 0.6s infinite alternate; /* Animación */
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-5px);
    }
}

/* ========================= */
/* RESPONSIVE MÓVIL INICIO */
/* ========================= */

@media (max-width: 768px) {
    body {
        min-height: 100vh;
        height: auto;
        background-size: cover;
        background-position: center;
        overflow-x: hidden;
        padding: 0 12px;
    }

    .inicio {
        position: relative;
        width: 90%;
        max-width: 340px;
        height: auto;
        min-height: auto;
        margin: 140px auto 0;
        padding: 22px 18px;
        font-size: 0.9rem;
        line-height: 1.35rem;
        border-radius: 12px;
    }

    h1 {
        font-size: 1.8em;
        line-height: 1.2;
    }

    .boton-div {
        height: auto;
        margin-top: 22px;
    }

    .boton {
        font-size: 16px;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .inicio {
        margin-top: 115px;
        width: 92%;
        padding: 20px 16px;
        font-size: 0.82rem;
        line-height: 1.25rem;
    }

    h1 {
        font-size: 1.55em;
    }

    .boton {
        font-size: 15px;
        padding: 11px 22px;
    }
}






