/* Importar una fuente moderna desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    background-color: #F1E4B2; /* Fondo suave y claro */
    color: #4F4F4F; /* Texto oscuro para buena legibilidad */
    font-family: 'Roboto', sans-serif; /* Fuente moderna */
    font-size: 14px; /* Tamaño de fuente ligeramente mayor para mejor lectura */
    line-height: 1.6;
    margin: 0;
    padding: 0;

}

h1, h2 {
    font-family: 'Roboto', sans-serif;
    color: #1D1D1B;
    margin: 0 0 20px;
}

h1 {
    font-size: 24px;
    font-weight: 700;
}

h2 {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

p {
    color: #1D1D1B;
    margin-bottom: 20px;
}
.container {
    background-color: #C4D4A4; /* Fondo de contenedor con color suave */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 80px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 90%;
    max-width: 500px;
}
.container .box2 .box1{
    margin-top: 80px;
}

/* Boxes side by side */
.box1, .box2 {
    width: 48%; /* Two boxes per row */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #353535;
}

button {
    background-color: #FB91A3;
    color: #1D1D1B;
    border: none;
    padding: 12px 25px;
    font-size: 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #ceadcf;
}

.box2{
    padding: 20px;
    border-radius: 10px;
    width: 48%; /* Asegurar que haya dos cajas por fila */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

form label {
    display: block;
    margin-top: 15px;
    font-weight: 700;
}

form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}

form button {
    background-color: #FB91A3;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 15px;
    width: 100%;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #ceadcf;
}

/* Small screens - for mobile */
@media (max-width: 768px) {

    .container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center content */
        width: 100%; /* Take full width */
        max-width: none;
        margin-top: 50px;
        padding: 20px; /* Reducir márgenes y padding */
    }

    }

    .box1, .box2 {
        width: 100%; /* Full width on small screens */
    }

    h1, h2 {
        font-size: 1.5rem; /* Texto más pequeño en pantallas pequeñas */
    }

    button {
        font-size: 0.9rem; /* Ajustar tamaño de botones */
        padding: 10px 20px;
    }

    form input, form button {
        font-size: 0.9rem;
    }


@media (max-width: 576px) {


    h1, h2 {
        font-size: 1.2rem; /* Reducir aún más los títulos */
    }

    .container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center content */
        width: 100%; /* Take full width */
        max-width: none;
    }

    .box1, .box2 {
        width: 100%; /* Full width on small screens */
    }
}
