/* Estilos globales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    line-height: 1.6;
}

/* Título 
h1 {
    text-align: center;
    font-size: 2rem;
    color: #333;
   
    margin: 0;
    line-height: 2;
}

*/
h1 {
    text-align: center;
    font-size: 2rem;
    color: white; /* Cambia el color del texto a blanco para mayor legibilidad */
    margin: 0 2; /* Centra el h1 horizontalmente */
    background-color: #0b41bd; /* Fondo azul */
    display: inline-block; /* Ajusta el ancho del fondo al texto */
    padding: 0 10px; /* Espaciado solo horizontal */
    text-align: center;
}



h5 {
    text-align: center;
    margin: 0; /* Elimina el margen predeterminado */
    line-height: 2; /* Reduce el espaciado entre líneas */
   }

h6 {
    text-align: center;
    font-size: 1rem;
    color: #333;
     margin: 0;
   /* margin-top: 1px;*/
}


/* Contenedor del formulario */
.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 20px auto;
    font-size: 1rem;
}

/* Estilo para las etiquetas */
label {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

/* Agrupación de campos de entrada */
.input-group {
    margin-bottom: 20px;
}

/* Campos de texto */
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    margin-top: 5px;
    transition: border-color 0.3s ease;
}

/* Campos de texto al recibir foco */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #4CAF50;
    outline: none;
}

/* Agrupación de radios */
.radio-group label {
    font-size: 1rem;
    margin-right: 15px;
}

/* Estilo para los botones */
.button-group {
    text-align: center;
    margin-top: 20px;
}

button {
    padding: 12px 25px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

/* Justificación de texto */
.justificado {
    text-align: justify;
    color: #555;
    font-size: 1rem;
}


/* Contenedor de imágenes */
.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.image-container img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
}

/* Estilo de los campos de texto en el formulario */
textarea {
    resize: vertical;
    height: 150px;
}

/* Mejorar la visualización de los campos seleccionables */
select {
    appearance: none;
    background: #f9f9f9 url('https://image.shutterstock.com/image-vector/select-arrow-icon-260nw-1689921568.jpg') no-repeat scroll right center;
    background-size: 12px;
}

/* Estilo de los campos con bordes */
fieldset {
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

legend {
    font-size: 1.3rem;
    color: #0b41bd;
    font-weight: bold;
}
