/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   .icono {
  width: 40px;
  height: 40px;
  image-rendering: pixelated; /* mantiene el look pixel */
}
header {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color:rgb(255, 220, 124);
  font-size: 25px;
  background-color: #f1f1f100;
  text-align: center;
  padding: 35px;
}


body {
  font-family: system-ui, sans-serif;
  background-image: url("img/fondo3.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
/* Contenedor lluvia */
.rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Estrellas */
.rain span {
  position: absolute;
  top: -40px;
  width: 18px;
  height: 18px;
  background: #ffeb3b;
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
  animation: fall 2s linear infinite;
}


/* Posiciones y tiempos */
.rain span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.rain span:nth-child(2) {
  left: 30%;
  animation-delay: 0.5s;
}
.rain span:nth-child(3) {
  left: 50%;
  animation-delay: 1s;
}
.rain span:nth-child(4) {
  left: 70%;
  animation-delay: 0.2s;
}
.rain span:nth-child(5) {
  left: 90%;
  animation-delay: 0.8s;
}

/* Animación recta */
@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(120vh);
    opacity: 0;
  }
}


/*postsss*/

main {
  max-width: 700px;
  margin: auto;
}
/*imagen post, tamaño*/
.img-grande {
  width: 100%;
  max-width: 600px;
}

.img-mediana {
  width: 400px;
}

.img-chica {
  width: 250px;
}


article {
  background: rgba(94, 1, 1, 0.514);
  color: rgb(255, 220, 124);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}
.content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 40px;
}

