.responsive-form {
    max-width: 500px;
    margin: auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: var(--primary-color);
}

.responsive-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.responsive-form textarea {
    width: 50%;
    padding: 7px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

h3#Titulo {
    color: white;
    justify-content: center;
    align-items: center;
    margin: 0;
    /* Elimina márgenes por defecto del h1 */
    color: white;
    height: 50px;
    text-align: center;
    font-family: lucida;
    font-size: 2em;
}

h2 {
    color: white;
    height: 50px;
    font-size: 2em;
    text-align: center;
    align-content: center;
    margin: 0;
}

#Pregunta5 {
    background-color: var(--accent-color);
    padding: 15px;
    border-radius: 8px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: fit-content;
    vertical-align: middle;
}

#Pregunta5 label {
    display: inline;
    font-weight: normal;
    cursor: pointer;
    font-size: 1em;
}

#Pregunta5 input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 5px;
    cursor: pointer;
}

.check-item {
    display: flex;
    align-items: center;
}