@import url("https://use.typekit.net/tlb3wgf.css");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
}

.background {
  height: 100vh;
  width: 100%;
  background: url(asset/fondo-rapunzel.webp) no-repeat;
  background-position: center;
  background-size: cover;
  position: fixed;
  z-index: -3;
  filter: blur(0px);
}

.filter-layer {
  position: fixed;
  inset: 0;
  z-index: -2; /* entre el fondo y el contenido */
  backdrop-filter: blur(0px) brightness(1);
  transition: backdrop-filter 0.4s ease; /* en caso de que quieras efecto suave al subir/bajar */
  pointer-events: none; /* evita bloquear clics o scroll */
}

main {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sol {
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26rem;
  z-index: -1;
  pointer-events: none;
}

.time-count-container {
  width: 100%;
  height: 12vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  position: relative; /* necesario para el ::before */
}

#conteo {
  color: #e5c100;
  font-size: 4.6rem;
  font-weight: 700;
  text-transform: uppercase;
}

.falta {
  color: #e5c100;
  font-size: 2rem;
  font-weight: 600;
}

.boton-play {
  background: url("asset/play.webp") no-repeat;
  background-position: center;
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

.boton-pause {
  background: url("asset/pause.webp") no-repeat;
  background-position: center;
  background-size: cover;
  width: 50px;
  height: 50px;
  border-radius: 100%;
}

.foto-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.foto-meli {
  width: 55%;
  -webkit-mask-image: linear-gradient(to top, transparent, black 40%);
  mask-image: linear-gradient(to top, transparent, black 40%);
}

.titulo {
  font-size: 2.8rem;
  font-family: "mrs-eaves", serif;
  font-weight: 700;
  font-style: normal;
  color: #e5c100;
  text-align: center;
}

.texto {
  font-size: 2.4rem;
  font-family: "mrs-eaves", serif;
  font-weight: 400;
  font-style: normal;
  color: #e5c100;
  text-align: center;
}

.texto-intro {
  width: 75%;
}

.seccion {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.articulo {
  width: 100%;
  height: 35vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.ph {
  color: #e5c100;
  font-size: 10rem;
}

.link {
  text-decoration: none;
  width: 70%;
  height: 2rem;
  font-size: 2.4rem;
  color: #e5c100;
  border-radius: 24px;
  border: 2.5px solid #e5c100;
  width: 24rem;
  height: 5vh;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

/*====VENTANA MODAL====*/

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 5px;
  gap: 2rem;
}

.background-modal {
  width: 100%;
  height: 100vh;
  background: url("asset/fondo-rapunzel.webp") no-repeat;
  background-position: center;
  background-size: cover;
  position: fixed;
  z-index: -5;
}

.respuestas {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.boton {
  text-decoration: none;
  width: 16rem;
  height: 5vh;
  font-size: 1.6rem;
  color: #e5c100;
  border-radius: 24px;
  border: 2.5px solid #e5c100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Fondo con blur */
  background: rgba(0, 0, 0, 0.35); /* color de fondo semi transparente */
  backdrop-filter: blur(8px); /* efecto de desenfoque del fondo */
  -webkit-backdrop-filter: blur(8px); /* compatibilidad Safari */

  transition: all 0.3s ease;
}

.modal-content h2 {
  color: #e5c100;
  font-size: 2.4rem;
}
