/* Estilos generales */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
  background: #7b5ca2;
  color: #333;
}

header {
  background: #2c254f;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: white;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}


.carta {
  max-width: 900px;
  margin: 40px auto;
  background: rgb(178, 143, 218);
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.carta h2 {
  color: #2c254f;
  margin-bottom: 15px;
}

.carta p {
  line-height: 1.7;
  font-size: 18px;
  margin-bottom: 18px;
}

/* Galería */
.galeria {
  text-align: center;
  margin-top: 50px;
}

.galeria h2 {
  font-size: 26px;
  color: #2c254f;
  margin-bottom: 25px;
}

.imagenes-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
}

.vertical {
  height: 420px;
  width: auto;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform .3s ease;
}

.vertical:hover {
  transform: scale(1.05);
}

/* Posiciones especiales */
.derecha {
  transform: rotate(3deg);
}

.izquierda {
  transform: rotate(-3deg);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  padding: 20px;
  color: #555;
  font-size: 16px;
}

.logo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.side-images {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    pointer-events: none; /* no bloquean clics */
}

.side-images.left {
    left: -20px;
}

.side-images.right {
    right: -20px;
}

.side-images img {
    width: 150px;
    opacity: 0.8;
    transform: rotate(-8deg);
    transition: transform 0.3s ease;
}

.side-images.right img {
    transform: rotate(8deg);
}

.side-images img:hover {
    transform: rotate(0deg) scale(1.05);
    opacity: 1;
}
