@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
  cursor: url();
}

.imagen-centrada {
  display: block;
  margin: 20px auto;
  width: 300px;     
  height: auto;
}
.main-header {
  background: linear-gradient(to right, #6c63ff, #6ec6ff);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.main-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.main-header p {
  font-size: 1.2rem;
}

img.centrada {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.derecha {
  display: block;
  margin-left: auto;
  margin-right: 0;
  width: 30%; /* o el ancho que necesites */
  border-radius: 10px;
  margin-top: 15px;
}

img.izquierda {
  display: block;
  margin-left: 0;
  margin-right: auto;
  width: 30%; /* o el ancho que necesites */
  border-radius: 10px;
  margin-top: 15px;
}
.section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
  background: rgb(188, 208, 241);
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.section:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #d1e8ff, #ffffff);
  border: 2px solid #6c63ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
  z-index: 2;
  position: relative;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section img {
  width: 30%;
  border-radius: 10px;
  margin-top: 15px;
}

.contenedor-imagenes {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  gap: 20px; /* separación entre imágenes */
  flex-wrap: wrap; /* se adaptan en pantallas pequeñas */
  margin-top: 20px;
}

.contenedor-imagenes img {
  width: 45%; /* ajusta el tamaño para que quepan dos */
  border-radius: 10px;
  object-fit: cover;
}
.section h2 {
  color: #6c63ff;
  margin-bottom: 10px;
}

ul {
  padding-left: 20px;
}

footer {
  text-align: center;
  background: #eee;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  display: inline-block;
  margin-top: 10px;
  color: #6c63ff;
  text-decoration: none;
  font-weight: bold;
}
