body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
  }
  header {
    background-color: #1e1e1e;
    color: #e0e0e0;
    text-align: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
  }
  header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ff00ff, #00ffff);
    opacity: 0.2;
    z-index: 0;
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
  }
  nav {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
  }
  .nav-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav-links a {
  margin: 5px;
  font-size: 2em;
  font-weight: bold;
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition:  color 0.3s ease, transform 0.3s ease;
}
.nav-links a:hover {
  color: #503ef7;
  transform: scale(1.3);
}
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  .confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #f0f0f0;
    opacity: 0.7;
    animation: confetti-fall 5s linear infinite;
  }
  @keyframes confetti-fall {
    0% {
      transform: translateY(-100%) rotate(0deg);
    }
    100% {
      transform: translateY(100vh) rotate(360deg);
    }
  }
  h1 {
    margin: 0;
    font-size: 2.5em;
    position: relative;
    z-index: 1;
  }
  .logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    background-color: #2a2a2a;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }
  .logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
  }
  .gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .gallery img:hover {
    transform: scale(1.05);
  }
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
  }
  .modal-content {
    position: relative;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fefefe;
    margin: 15% auto;
    border: 1px solid #888;
    width: 80%; 
    max-width: 1000px; /* Limita el tamaño máximo del modal */
  }
  
  /* Estilo para el botón de cerrar */
  .close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
  }
  #myModal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Fondo negro con opacidad */
  }
  /* Estilo para la imagen dentro del modal */
#modalImage {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 90%;
  }
  
  /* Estilo para el contenido del modal */
  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }
  .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
  }
  .close:hover,
  .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .view-all {
    display: block;
    width: 250px;
    margin: 30px auto;
    padding: 10px;
    background-color: #2196f3;
    color: #e0e0e0;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  }
  .view-all:hover {
    transform: scale(1.5); 
    background-color: #003a69; 
    color: #ffffff; 
}
  .contact-form {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2a2a2a;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(255,255,255,0.1);
  }
  .contact-form h2 {
    margin-top: 0;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #1e1e1e;
    color: #e0e0e0;
  }
  .contact-form button {
    background-color: #3d3d3d;
    color: #e0e0e0;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
  }
  footer {
    background-color: #1e1e1e;
    color: #e0e0e0;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }
  #backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3d3d3d;
    color: #e0e0e0;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: none;
  }
  .social-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    padding: 10px;
    background-color: #3d3d3d;
    color: #e0e0e0;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  }
  .social-button:hover {
    transform: scale(1.5); 
    background-color: #fab7dd; 
    color: #ffffff; 
}
  .instagram {
    background-color: #C13584;
  }

.terminos {
  font-size: 0.9em; /* Puedes ajustar este valor según lo que necesites */
}
.terminos input[type="checkbox"] {
  width: 20px;
  height: 20px;
  transform: scale(1.5); /* Escala el tamaño del checkbox */
  margin-right: 10px; /* Espacio entre el checkbox y el texto */
}

.video-container {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  max-width: 100%;
}


@media (max-width: 768px) {
  .nav-links a {
    font-size: 1.5em;
  }
  .gallery img {
    height: 150px;
  }
  .donation-section h2 {
    font-size: 2em;
  }
}

@media only screen and (max-width: 768px) {
  .video-container {
      position: relative;
      padding-bottom: 56.25%; /* Proporción 16:9 */
      height: 0;
      max-width: 100%;
      background: #000;
  }

  .video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: 0;
  }
}
.reyes-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #121212;
  color: #e0e0e0;
}

.reyes-gallery h2 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #ffffff;
}

.rey-container {
  margin-bottom: 50px;
  text-align: center;
}

.rey-container h3.colegio {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #4a90e2;
}

.rey-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.rey-container p.nombre-rey {
  font-size: 1.4em;
  margin-top: 15px;
  font-weight: bold;
  color: #ffffff;
}

@media (max-width: 768px) {
  .reyes-gallery {
    padding: 10px;
  }

  .reyes-gallery h2 {
    font-size: 2em;
  }
  
  .rey-container h3.colegio {
    font-size: 1.5em;
  }
  
  .rey-container p.nombre-rey {
    font-size: 1.2em;
  }

  .rey-container {
    margin-bottom: 30px;
  }

  .rey-container img {
    width: 100%;
    max-width: 300px;
  }
}
.compartir-form {
  max-width: 500px;
  margin: 50px auto;
  padding: 20px;
  background-color: #2a2a2a;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.compartir-form h3 {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.8em;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #e0e0e0;
  font-size: 1em;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #444;
  border-radius: 4px;
  background-color: #1e1e1e;
  color: #e0e0e0;
  font-size: 16px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.5);
}

.checkbox-group label {
  display: inline;
  color: #e0e0e0;
  font-size: 0.9em;
}

.checkbox-group a {
  color: #4a90e2;
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.compartir-form button {
  width: 100%;
  padding: 15px;
  background-color: #4a90e2;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.compartir-form button:hover {
  background-color: #357abd;
}
.gallery-access {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}
.gallery-title {
  font-size: 1.5em;
  color: #e0e0e0;
  margin-bottom: 30px;
  text-align: center;
}
.gallery-subtitle {
  font-size: 1.2em;
  color: #b0b0b0;
  margin-bottom: 20px;
  text-align: center;
}
.gallery-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.gallery-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.2em;
  text-decoration: none;
  color: #e0e0e0;
  background-color: #3d3d3d;
  border-radius: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.gallery-button:hover {
  transform: scale(1.1);
  background-color: #503ef7;
}
.gallery-button.free {
  background-color: #4CAF50;
}
.gallery-button.free:hover {
  background-color: #45a049;
}
.gallery-button.premium {
  background-color: #71047a;
}
.gallery-button.premium:hover {
  background-color: #f700ff;
}
.cta-button {
display: flex;
align-items: center;
justify-content: center;
padding: 20px 40px;
font-size: 1.4em;
text-decoration: none;
color: #ffffff;
background-color: #009ee3; /* Color de MercadoPago */
border-radius: 50px;
transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
margin-top: 40px;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
transform: scale(1.05);
background-color: #0077b6; /* Hover color de MercadoPago */
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.cta-button img {
margin-left: 10px;
width: 30px; /* Ajusta el tamaño del logo */
height: auto;
}

@media (max-width: 768px) {
.cta-button {
width: 80%;
text-align: center;
}
}

@media (max-width: 768px) {
  .compartir-form {
    margin: 20px auto;
    padding: 15px;
  }

  .compartir-form h3 {
    font-size: 1.5em;
  }

  .form-group label {
    font-size: 0.9em;
  }

  .form-group input[type="text"],
  .form-group input[type="email"] {
    padding: 10px;
    font-size: 16px;
  }

  .checkbox-group label {
    font-size: 0.8em;
  }

  .compartir-form button {
    padding: 12px;
    font-size: 16px;
  }
}