body {
    font-size: 15px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
}


header {
    background-color: white;
    margin: 0;
    /* Puedes darles estilo si quieres que se vean como en tu imagen */
    text-align: center;
}


h1,
h2 {
    text-align: center;
    font-size: 35px;

    @media (width <1200px) {
        font-size: 28px;
    }
}

main {
    background: #a5cad8;

    padding: 15px;
    min-height: calc(100vh - 170px);
    /* El body ocupará al menos el 100% del alto de la ventana (viewport height) */
    background-size: cover;
    /*ocupa todo el main automaticamente*/
    background-attachment: fixed;
    /*Opcional: para que la imagen de fondo no se desplace con el scroll  */
    background-repeat: no-repeat;

/* 
    @media (max-width: 500px) {
        align-items: center;
        flex-direction: column;
    } */


}

.img-container {
     display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
     /* alinea los objetos al centro*/
     padding-top: 25px; 
    /*margen superior*/
     padding-bottom: 25px;
}


.container {
    justify-content: space-around;
    align-items: center;
    text-align: center;
    background-color: white;
    border-radius: 50px;
    width: 400px;
    padding-top: 20px;
}

.imagenesPalabras {
    width: 250px;
    max-height: fit-content;
    border-radius: 50px;
    padding-bottom: 15px;
}

.game-box {
    margin-top: 20px;
}

/* ---------------------------------------------palabra-------------------------------------- */
#word {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.buttons button {
    font-size: 1.2rem;
    padding: 10px 20px;
    margin: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s;
}

.buttons button:hover {
    background-color: #45a049;
}

#feedback {
    font-size: 1.2rem;
    margin-top: 15px;
    height: 1.5rem;
}

#nextBtn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1rem;
    display: none;
    background-color: #008CBA;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

#nextBtn:hover {
    background-color: #e07a06;
    margin-bottom: 25p;
}

.reglas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    padding-top: 25px;
    padding-left: 10px;

}

.imagenreglas {
    width: 100%;
    max-width: 600px;
    /*alto de la image, */
    border-radius: 50px;

}

footer {
    background-color: white;
    text-align: center;
    color: black;
    font-size: 20px;
}