/* ---------------------------------------------------
   ESTILOS GENERALES
   --------------------------------------------------- */
body {
  font-family: Arial, sans-serif;
  background-color: #e0f2fd; 
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #000000; 
}

/* ---------------------------------------------------
   ENCABEZADO (Header)
   --------------------------------------------------- */
header {
  background-image: url("./pergamino\ 2.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 3rem 1rem;
}

header h1 {
  font-size: 2rem;
  margin: 0;
  color: #0c3094; 
  text-shadow: 1px 1px 2px #EFF6FF; 
}

.frase-inicial {
  font-style: italic;
  color: #0c3094;
  margin-top: 0.5rem;
  text-shadow: 1px 1px 2px #EFF6FF; 
}

/* ---------------------------------------------------
   NAVEGACIÓN
   --------------------------------------------------- */
nav {
  background-color:  #60A5FA; 
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  flex-wrap: wrap;
}

nav a {
  color: #EFF6FF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: rgb(101, 193, 255);
}

/* ---------------------------------------------------
   SECCIONES GENERALES
   --------------------------------------------------- */
section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

section h2 {
  color: #0c3094;
  text-align: center;
  margin-bottom: 1rem;
}

/* ---------------------------------------------------
   SECCIÓN VIRTUDES
   --------------------------------------------------- */
#virtudes {
  background-color: #a4cff7b4;
  border-radius: 8px;
  padding: 1.5rem;
}

/* ---------------------------------------------------
   TABLA MILAGRO
   --------------------------------------------------- */
#milagro table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: #a4cff7b4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#milagro th,
#milagro td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #c2e6eb;
  
}

#milagro th {
  background-color: #575bd9; 
  background-color: #a4cff7b4;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#beato tr:hover {
  background-color: #e3c9a8;
  transition: background-color 0.3s ease;
}

/* ---------------------------------------------------
   TABLA FECHA BEATO
   --------------------------------------------------- */
#beato table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background-color: #a4cff7b4;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#beato th,
#beato td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #c2e6eb;
}

#beato th {
  background-color: #575bd9; 
  background-color: #a4cff7b4;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#beato tr:hover {
  background-color: #e3c9a8;
  transition: background-color 0.3s ease;
}

/*ORACIÓN*/
#oracion { 
background-color: #a4cff7b4;
color: #000000;
}

/* ---------------------------------------------------
   COLLAGE
   --------------------------------------------------- */
#collage .contenedor-collage {
  display: flex; /* Coloca las imágenes en línea */
  justify-content: center; /* Centra horizontalmente */
  gap: 15px; /* Espacio entre las imágenes */
}

.contenedor-collage img {
  width: 50%;          /* Ancho de la imagen */
    height: auto;          /* Altura se ajustará automáticamente */
    margin: 10px;          /* Margen para separar las imágenes */
    object-fit: cover;     /* Asegura que la imagen llene su espacio sin distorsionarse */
}

/* ---------------------------------------------------
   PIE DE PÁGINA
   --------------------------------------------------- */
footer {
  background-color:  #60A5FA; 
  color: #EFF6FF;
  text-align: center;
  padding: 1rem;
}

footer a {
  color: #EFF6FF;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  margin: 0 0.5rem; 
  font-size: 1.8rem; 
  display: inline-block;
}

footer a:hover {
  color: rgb(101, 193, 255);
}