/* Age gate: capa a pantalla completa sobre el sitio (ver js/age-gate.js) */
html.gated { overflow: hidden; }
html:not(.gated) .age-gate:not(.leaving) { display: none; }
.age-gate {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px;
  background: #fff url(../assets/img/age-gate3.webp) center center / cover no-repeat;
  color: #616161;
  text-align: center;
}
.age-gate.leaving { animation: gateOut .5s ease forwards; }
@keyframes gateOut { to { opacity: 0; visibility: hidden; } }
.age-gate-form { width: 100%; max-width: 500px; margin: auto; }
.age-gate-logo { max-width: 63%; margin-bottom: 4rem; }
.age-gate-subheading {
  margin: 0 0 20px;
  color: #616161;
  font-weight: 900;
  font-size: 26px;
  font-style: italic;
}
.age-gate-form button {
  font-family: Raleway, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .05em;
  color: #616161;
  background-color: transparent;
  border: 1px solid #616161;
  padding: 10px 30px;
  margin: 0 5px 20px;
  cursor: pointer;
  transition: .3s all ease;
}
.age-gate-form button:hover,
.age-gate-form button:focus-visible { background-color: #616161; color: #fff; outline: none; }
.age-gate-info { max-width: 80%; margin: 0 auto; }
.age-gate-info p { color: #616161; }
.age-gate-error { min-height: 1.5em; font-weight: 700; color: #616161; }

@media (max-width: 768px) {
  .age-gate { background-image: none; }
  .age-gate-logo { max-width: 60%; }
  .age-gate-subheading { font-size: 5vw; }
}
