/* ================================
   ESTILOS PRINCIPALES DE LA APP
   Archivo: styles.css
   ================================ */

/* ---------- ESTRUCTURA GENERAL ---------- */
body {
    font-family: 'Arial', sans-serif;
    background-color: #535353;
    color: #f2f2f2;
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------- TÍTULOS ---------- */
h1 {
    margin-top: 20px;
    font-size: 26px;
    color: #f2f2f2;
}

h2 {
    color: #f2f2f2;
    font-size: 22px;
    margin-top: 20px;
}

#lista-compras {
    color: #f2f2f2;
}

/* ---------- BOTONES GENERALES ---------- */
button {
    background-color: #00b7ff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
}

button:hover {
    background-color: #0056b3;
}

/* ---------- BOTÓN REINICIAR ---------- */
#reiniciarBtn {
    background-color: #dc3545;
}
#reiniciarBtn:hover {
    background-color: #b3252d;
}

/* ---------- CONTENEDOR DE BOTONES DE LISTA ---------- */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

/* ---------- LISTA DE COMPRAS ---------- */
ol {
    list-style-position: inside;
    padding-left: 0;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

ol li {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* ---------- SECCIÓN DE PREGUNTA ---------- */
.question {
    text-align: center;
    padding: 20px;
    background-color: #70387e;
    border: 2px solid #007bff;
    border-radius: 30px;
    margin-top: 25px;
    margin-bottom: 20px;
}

.question .pregunta {
    display: block;
    font-size: 89px;          /* 🔹 Tamaño grande del texto */
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;       /* 🔹 Separación con los botones (~0.5 cm) */
}

.botones-pregunta {
    margin-top: 8px;
}

.botones-pregunta button {
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 8px;
}

/* ---------- ENLACES ---------- */
a {
    color: #35cee9;
    text-decoration: none;
}

a:hover {
    color: #00bfff;
}

/* ---------- RESPONSIVIDAD ---------- */
@media screen and (max-width: 600px) {
    body {
        padding: 10px;
    }

    .form-container {
        flex-direction: column;
        gap: 10px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .question .pregunta {
        font-size: 28px;
    }
}
