

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: rgb(0, 0, 0);
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  margin: 0;
  line-height: 1.6;
  background: rgb(0, 0, 0);
  color: #000000;
  background-size: cover;
}

  header {
        border-bottom: 2px solid #000000; /* Dorado */
      background-color: #ba1010;
      color: white;
      padding: 20px 0;
      text-align: center;
    }


.logo-area img {
      width: 80px;
      margin-bottom: 10px;
    }

.logo {
  height: 100px;
}

header h1 {
  margin-bottom: 10px;
  font-size: 2.5em;
}

  nav ul {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 30px;
      padding: 0;
      margin: 10px 0 0 0;
    }


.img-right {
  flex-direction: row-reverse;
}

 nav a {
      color: #ccc;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s;
    }

nav a:hover {
      color: white;
    }




.tarjeta {
      background-color: rgb(0, 0, 0);
      padding: 20px;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(255, 0, 0, 0.8);
      width: 300px; /* Ancho de cada tarjeta */
      text-align: center;
    }

    .tarjeta h2 {
      margin-top: 0;}

/* Encabezado */


.hero {
  background-origin:  center/cover no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.8em;
  padding: 120px 20px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-weight: bold;
}
fade-in {
  animation: fadeIn 1.8s ease-in both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  background-color: #f0f4e3; /* Fondo suave */
}

.column {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}
.img-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 50px 50px;
  gap: 60px;
  background-color: #fff;
}

.img-left img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
}

.img-left div {
  flex: 2;
  min-width: 300px;
}

.overlay-bg {
  background: url('Calamidadesbanner.png') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
  font-size: 1.4em;
  font-family: 'Great Vibes', cursive;
  background-attachment: fixed;
}


.hero h1 {
  font-size: 2.8em;
  padding: 120px 20px;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  font-weight: bold;
}

.image-overlay {
  background: url('Encuentro\ Simétrico\ entre\ Dos\ Personajes.png') center/cover no-repeat;
  color: #333;
  padding: 100px 20px;
  position: relative;
  text-align: center;
}

.image-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(19, 17, 17, 0.7);
  z-index: 0;
}

.image-overlay > div {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
  font-size: 1.1em;
  line-height: 1.8;
}

/* --------------------------------------------
   BLOQUE DE CITA
-------------------------------------------- */
.quote-block {
  padding: 60px 20px;
  background-color: #dcedc8;
  font-style: italic;
  font-size: 1.3em;
  text-align: center;
}

/* --------------------------------------------
   SECCIÓN CTA (LLAMADO A LA ACCIÓN)
-------------------------------------------- */
.cta {
  padding: 80px 20px;
  text-align: center;
  background-color: #f5f5f5;
}

.cta img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  margin-bottom: 30px;
  filter: brightness(1);
}

header h1 {
  margin-bottom: 10px;
}



h1 {
text-align: center;
margin-bottom: 30px;
}



/* Contenido principal */
main {
 max-width: 800px;
margin: 30px auto;
padding: 0 20px;
background-color: white;
border-radius: 8px;
box-shadow: 0 0 10px #000000;

}

.bloque1 {
flex: 1 1 50px;
max-width: 60px;
background-color: rgb(0, 255, 38);
padding: 10px;
text-align: center;
border-radius: 20px;
box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
font-weight: bold;
 transform: scale(1.90); /* Aumenta el tamaño al pasar el cursor */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra para destacar */
   transition: transform 0.4s ease, box-shadow 0.4s ease;
   margin-left: 50%;
}


.bloque2{
flex: 1 1 10px;
max-width: 40px;
background-color: rgb(242, 255, 0);
padding: 15px;
text-align: center;
border-radius: 8px;
box-shadow: 0 0 8px rgb(255, 255, 255);
font-weight: bold;
  transform: scale(1.90); /* Aumenta el tamaño al pasar el cursor */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra para destacar */
   transition: transform 0.4s ease, box-shadow 0.4s ease;
   margin-left: 1%;
}

.bloque3{
flex: 1 1 10xp;

max-width: 50px;
background-color: rgb(174, 11, 11);
padding: 20px;
text-align: center;
border-radius: 50px;
box-shadow: 0 0 8px rgb(255, 255, 255);
font-weight: bold;
 transform: scale(1.90); /* Aumenta el tamaño al pasar el cursor */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra para destacar */
   transition: transform 0.4s ease, box-shadow 0.4s ease;
   margin-left: auto;
}

.contenedor-flex {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}

section {
  margin-bottom: 40px;
}


  /* FOOTER */
.footer-buttons {
  margin-top: 10px;
}

.footer-buttons button {
  margin: 5px;
  padding: 8px 14px;
  background-color: #1e1e1d;
  color: #ffee00;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

footer {
  background-color: #12121f;
  text-align: center;
  padding: 15px 0;
  color: #aaa;
  font-size: 0.9rem;
  border-top: 2px solid #FFD700;
}

/* Modal ya está definido en tu CSS, pero agrego por claridad */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-contenido {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  color: black;
  border-radius: 10px;
  max-height: 80vh;
  overflow: hidden;
  position: relative;
}

.contenido-scrollable {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.cerrar {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.redes-sociales {
  margin-top: 15px;
}

.redes-sociales a {
  color: #f0f0f0;
  text-decoration: none;
  margin: 0 8px;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.redes-sociales a:hover {
  color: #FFD700;
  transform: scale(1.2);
}
