
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #190019;
  color: #2B124C;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #DFB6B2;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #DFB6B2;
}

.galeria {
  display: grid;
  gap: 20px;
  
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.cuadro {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cuadro:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.2);
}

.cuadro img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.cuadro h3 {
  padding: 15px 20px 5px;
  font-size: 1.2rem;
  color: #4b1c64;
}

.cuadro p {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive - tablet */
@media (max-width: 900px) {
  .galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive - móvil */
@media (max-width: 600px) {
  .galeria {
    grid-template-columns: 1fr;
  }
  body {
    padding: 10px;
  }
  .cuadro h3 {
    font-size: 1.1rem;
  }
  .cuadro p {
    font-size: 0.9rem;
  }
}

.video-container {
  max-width: 200px; /* más pequeño que antes */
  margin: 0 auto 40px auto;
  padding: 0 10px;
}

.video-container video {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
  display: block;
}

