/* normalize / reset base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--cream, #FFF2CE);
}

body {
  position: relative;
  min-height: 100%;
  color: var(--nocturne, #020D20);
  font-family: var(--font-inter, "Inter", sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* quito márgenes por defecto de los bloques de texto */
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  font-weight: normal;
}

/* las listas que uso para navegación o estructura van sin estilos de lista */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* las imágenes nunca desbordan su contenedor */
img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

/* los enlaces heredan el color y no llevan subrayado por defecto */
a {
  color: inherit;
  text-decoration: none;
}

/* los controles heredan la tipografía en lugar de la del navegador */
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* respeto la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* utilidad para texto solo accesible a lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background-color: var(--nocturne);
  color: var(--cream);
}

.menu-teaser ::selection {
  background-color: var(--cream);
  color: var(--nocturne);
}

/* ocultar recaptcha */
.grecaptcha-badge {
  pointer-events: none;
  opacity: 0;
}