@import url("https://fonts.googleapis.com/css2?family=Alice&family=Great+Vibes&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #d4af37;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 15;
}
.modal-content {
  width: 100%;
  height: 35vh;
  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;
}

.background-modal {
  width: 100%;
  height: 100vh;
  background: url(asset/bg-intro.jpg) no-repeat;
  background-position: center;
  background-size: cover;
}

.film {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.film-dark {
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 2;
  opacity: 1;
}

.film-blur {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
}

/*======Texto y titulos======*/

.titulo {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 4.8rem;
  color: #d4af37;
}

.titulo-anuncio {
  font-size: 3.4rem;
}

.titulo-2 {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
}

.subtitulo {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.4rem;
  color: #d4af37;
}

.cuenta {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.2rem;
  color: #d4af37;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/*========Divs========*/

.modal-content > .subtitulo {
  text-align: center;
}

.main {
  width: 100%;
  height: 100vh;
  background: url(asset/s) no-repeat;
  background-position: center;
  background-size: cover;
}

/*========Secciones========*/

.seccion {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}

.seccion-1 {
  position: relative;
  height: 55vh;
}

.seccion-2 {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.gallery-card {
  overflow: hidden;
  width: auto;
  height: 200px;
  border-radius: 15px;
}

.gallery-card img {
  width: 100%;
  height: 30vh;
  object-fit: cover;
  object-position: center;
}

/*========Articulo========*/

#gallery-container {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 45vh;
  background: var(--color-terceario);
  display: grid;
  grid-template-columns: repeat(2, 47%);
  gap: 1%;
  row-gap: 0.5%;
  justify-content: center;
}

.articulo {
  width: 100%;
  height: 38vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  opacity: 0;
  position: relative;
  z-index: 3;
  filter: blur(8px);
  transform: translateY(40px);
}

.articulo-main {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.articulo-grande {
  height: 42vh;
}

/*========= Fotos ========*/

.ph {
  color: #d4af37;
  font-size: 10rem;
}

.link {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
  text-decoration: none;
  font-size: 2.4rem;
  color: #d4af37;
  border-radius: 32px;
  border: 2.2px solid #d4af37;
  width: 24rem;
  height: 6.5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Blur compatible */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); /* Safari */
}

/*=======Botones======*/

.boton {
  display: inline-block;
  padding: 12px 24px;
  margin: 10px;
  border: 2px solid #d4af37; /* dorado elegante */
  color: #d4af37;
  background-color: rgba(255, 255, 255, 0.05); /* leve fondo transparente */
  border-radius: 30px;
  font-family: "Georgia", serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px); /* opcional para darle un toque mágico */
}

.boton:hover {
  background-color: #d4af37;
  color: #1a1a1a; /* oscuro pero legible */
  box-shadow: 0 0 12px #d4af37aa;
}

.boton-control {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 65px;
  height: 65px;
  background-color: #d4af37; /* dorado llamativo */
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  z-index: 999;
  display: none;
}

/* Ícono centrado y blanco */
.boton-control i {
  font-size: 38px;
  color: #fff;
}

/* Animación para el botón cuando está en modo "play" */
.boton-animado {
  animation: attentionPulse 1.5s infinite;
}

@keyframes attentionPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Modal de alias */
#modal-alias {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

/* Contenido del modal */
.alias-modal {
  background-color: rgba(0, 0, 0, 0.8);
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 30px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  transform: translate(-50%, -50%);
  position: absolute;
  top: 50%;
  left: 50%;
}

.alias-texto {
  font-family: "Alice", serif;
  font-size: 2.6rem;
  margin: 20px 0;
  color: #ffffff;
  text-shadow: 0 0 10px #d4af37;
}

.cerrar-modal {
  font-family: "Alice", serif;
  font-size: 2rem;
  color: #d4af37;
  border: 2px solid #d4af37;
  border-radius: 20px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.cerrar-modal:hover {
  background-color: #d4af37;
  color: #1a1a1a;
}

footer {
  width: 100%;
  height: 50vh;
  background: #151515;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: relative;
  z-index: 3;
}

.container-links {
  width: 100%;
  height: 15vh;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.link-footer {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  font-size: 2.2rem;
  text-decoration: none;
}

.container-berealweb {
  width: 100%;
  height: 15vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.texto-footer {
  font-family: "Alice", serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  font-size: 2rem;
  text-decoration: none;
  text-align: center;
}

.logo-berealweb {
  width: 15rem;
}
