@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Qwitcher+Grypen:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap");
body {
  background: #f5f0eb;
  background-image: url(../images/Bg-Follajes.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: opacity 0.8s ease;
}
body.fade-out {
  opacity: 0;
}

h1,
.text-open {
  font-family: "Comfortaa", sans-serif;
  color: #4a5a3a;
  font-weight: 100;
  font-style: normal;
  font-size: 15px;
  margin: 0px;
  letter-spacing: 0.2em;
}
h2 {
  color: #4a5a3a;
  font-family: "Qwitcher Grypen", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 70px;
  margin: 0px;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 40px;
}

.fecha {
  padding: 3vh;
  font-family: "Comfortaa", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 15px;
  display: flex;
  flex-direction: row;
  grid-gap: 30px;
  align-items: center;
}

.fecha p {
  margin: 0px;
}
.fecha-mes,
.fecha-hora {
  border-top: 1px solid #a0805c;
  border-bottom: 1px solid #a0805c;
  padding: 5px 0px;
  width: 20vw;
  text-align: center;
}

.fecha-dia {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fecha-dia :nth-child(2) {
  font-size: 60px;
  margin: 0px;
}

.fecha-dia img {
  width: 80px;
}

.img-sobre {
  width: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: bajarDesdeArriba 0.8s ease-out;
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
  .img-sobre {
    width: 90%;
  }
}

@keyframes bajarDesdeArriba {
  from {
    transform: translateY(-100vh);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.envelope-wrap {
  width: 300px;
  cursor: pointer;
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
}
.envelope-wrap img {
  width: 100%;
  display: block;
  border-radius: 4px;
}
