/* Document
 * ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
 * ========================================================================== */
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
 * ========================================================================== */
/**
 * Remove the margin on nested lists in Chrome, Edge, IE, and Safari.
 */
dl dl,
dl ol,
dl ul,
ol dl,
ul dl {
  margin: 0;
}

/**
 * Remove the margin on nested lists in Edge 18- and IE.
 */
ol ol,
ol ul,
ul ol,
ul ul {
  margin: 0;
}

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Correct the inheritance of border color in Firefox.
 * 3. Show the overflow in Edge 18- and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  color: inherit;
  /* 2 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 3 */
}

/**
 * Add the correct display in IE.
 */
main {
  display: block;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
 * ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * Add the correct text decoration in Edge 18-, IE, and Safari.
 */
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/* Embedded content
 * ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block;
}

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Remove the border on images within links in IE 10-.
 */
img {
  border-style: none;
}

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Tabular data
 * ========================================================================== */
/**
 * 1. Correct table border color inheritance in all Chrome, Edge, and Safari.
 * 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
 */
table {
  border-color: inherit;
  /* 1 */
  text-indent: 0;
  /* 2 */
}

/* Forms
 * ========================================================================== */
/**
 * Remove the margin on controls in Safari.
 */
button,
input,
select {
  margin: 0;
}

/**
 * 1. Show the overflow in IE.
 * 2. Remove the inheritance of text transform in Edge 18-, Firefox, and IE.
 */
button {
  overflow: visible;
  /* 1 */
  text-transform: none;
  /* 2 */
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Show the overflow in Edge 18- and IE.
 */
input {
  overflow: visible;
}

/**
 * 1. Correct the text wrapping in Edge 18- and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  white-space: normal;
  /* 1 */
}

/**
 * 1. Add the correct display in Edge 18- and IE.
 * 2. Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Remove the inheritance of text transform in Firefox.
 */
select {
  text-transform: none;
}

/**
 * 1. Remove the margin in Firefox and Safari.
 * 2. Remove the default vertical scrollbar in IE.
 */
textarea {
  margin: 0;
  /* 1 */
  overflow: auto;
  /* 2 */
}

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/**
 * Remove the inner border and padding of focus outlines in Firefox.
 */
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus outline styles unset by the previous rule in Firefox.
 */
:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove the additional :invalid styles in Firefox.
 */
:-moz-ui-invalid {
  box-shadow: none;
}

/* Interactive
 * ========================================================================== */
/*
 * Add the correct display in Edge 18- and IE.
 */
details {
  display: block;
}

/*
 * Add the correct styles in Edge 18-, IE, and Safari.
 */
dialog {
  background-color: white;
  border: solid;
  color: black;
  display: block;
  height: -moz-fit-content;
  height: -webkit-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
}

dialog:not([open]) {
  display: none;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Scripting
 * ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block;
}

/**
 * Add the correct display in IE.
 */
template {
  display: none;
}

/* User interaction
 * ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none;
}

*,
::before,
::after {
  box-sizing: border-box;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: "Raleway";
  src: url(../assets/fonts/Raleway/static/Raleway-Bold.ttf);
}
@font-face {
  font-family: "Signika";
  src: url(../assets/fonts/signika/SignikaNegative-Bold.ttf);
}
.body {
  height: 100vh;
  margin: 0;
  padding: 4rem;
  overflow: hidden;
  font-family: "Raleway";
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  background-color: #2e2e2e;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.o-boton {
  width: 100%;
  padding: 1em 0;
  font-size: 3rem;
  font-family: inherit;
  border: 0.5rem solid #0088bf;
  border-radius: 1rem;
  cursor: pointer;
}
.o-boton:disabled {
  cursor: not-allowed;
  background-color: #ff6c6c;
}
.o-boton:disabled:hover {
  cursor: not-allowed;
  background-color: #ff6c6c;
}
.o-boton--is-oculto {
  visibility: hidden;
}
.o-boton--azul {
  color: #2e2e2e;
  background-color: #0088bf;
}
.o-boton--azul:hover, .o-boton--azul:focus {
  background-color: #37c3ff;
}
.o-boton--negro {
  color: #37c3ff;
  background-color: #2e2e2e;
}
.o-boton--negro:hover, .o-boton--negro:focus {
  background-color: rgba(31, 31, 31, 0.9);
}
.o-boton--rojo {
  color: rgba(255, 255, 255, 0.9);
  background-color: #b20000;
}
.o-boton--rojo:hover, .o-boton--rojo:focus {
  background-color: #ff6c6c;
  color: #2e2e2e;
}
.o-boton--verde {
  color: rgba(255, 255, 255, 0.9);
  background-color: #257431;
}
.o-boton--verde:hover, .o-boton--verde:focus {
  background-color: #74ff89;
  color: #2e2e2e;
}

.o-modal {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0 4rem;
  color: #2e2e2e;
  background-color: rgba(31, 31, 31, 0.7);
}
.o-modal__recuadro {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem;
  text-align: center;
  background-color: #0088bf;
  border-radius: 1rem;
}
.o-modal__titulo {
  font-size: 4rem;
}
.o-modal__descripcion {
  font-size: 3rem;
}

.js-cerrar-modal {
  visibility: hidden;
}

.c-formulario {
  height: calc(100vh - 4rem * 2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.c-formulario__campo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  gap: 2rem 4rem;
  padding: 3rem;
  border: 0.5rem solid #0088bf;
  border-radius: 1rem;
}
.c-formulario__titulo {
  grid-column-start: 1;
  grid-column-end: 3;
  font-size: 4rem;
}
.c-formulario__label {
  font-size: 3rem;
  color: #37c3ff;
}
.c-formulario__input {
  width: 100%;
  padding: 1rem 0;
  font-family: "Signika";
  font-size: 5rem;
  text-align: center;
  color: #37c3ff;
  background-color: transparent;
  border: 0.5rem solid #0088bf;
  border-radius: 1rem;
}
.c-formulario__input:hover, .c-formulario__input:focus {
  outline: 0;
}
.c-formulario__input::placeholder {
  padding: 1rem;
  text-align: center;
  color: #37c3ff;
}
.c-formulario__input[type=number]::-webkit-inner-spin-button, .c-formulario__input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.c-formulario__input:invalid {
  box-shadow: 0 0 1rem red inset;
}
.c-formulario__selector {
  grid-column-start: 1;
  grid-column-end: 3;
  width: 100%;
  padding: 2rem 2rem;
  font-size: 3rem;
  font-family: "Signika";
  font-size: 5rem;
  color: #37c3ff;
  background: url("../assets/images/flecha.svg") no-repeat right 2rem top 50%, 0 0 #2e2e2e;
  border: 8px solid #0088bf;
  border-radius: 2rem;
  appearance: none;
}
.c-formulario__selector:focus {
  outline: 0;
}
.c-formulario__option {
  font-size: 3rem;
  background-color: #2e2e2e;
  border-radius: 8px;
}
.c-formulario__option:hover {
  color: #2e2e2e;
  background-color: #37c3ff;
}
.c-formulario__unidad-medida {
  font-size: 2rem;
  letter-spacing: 2px;
}
.c-formulario__imagen {
  position: absolute;
  z-index: 1;
  bottom: 14rem;
}
.c-formulario__imagen--bottom18rem {
  bottom: 18rem;
}
.c-formulario__info {
  grid-column-start: 1;
  grid-column-end: 3;
  display: block;
  font-size: 2rem;
  color: #37c3ff;
}

.c-resumen {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.c-resumen__titulo {
  font-size: 5rem;
  color: #37c3ff;
}
.c-resumen__campo {
  padding: 3rem;
  border: 0.5rem solid #0088bf;
  border-radius: 1rem;
}
.c-resumen__subtitulo {
  font-size: 3rem;
}
.c-resumen__valores {
  font-family: "Signika";
  font-size: 4rem;
  color: #37c3ff;
}

.info-aforo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 4rem;
  grid-template-areas: "aviso aviso" "cupos-disponibles cupos-disponibles" "maxima-capacidad  ocupacion-actual";
  overflow: hidden;
}
.info-aforo__item-aviso {
  grid-area: aviso;
}
.info-aforo__item-cupos-disponibles {
  grid-area: cupos-disponibles;
}
.info-aforo__item-ocupacion-actual {
  grid-area: ocupacion-actual;
}
.info-aforo__item-ocupacion-maxima {
  grid-area: ocupacion-maxima;
}
.info-aforo__funcion {
  margin-left: 1rem;
  overflow: hidden;
}
.info-aforo__descripcion {
  font-size: 2rem;
  transform: translateX(-1rem);
  animation: desaparicion 2s forwards;
}
.info-aforo__contenedor-botones {
  position: absolute;
  left: 0;
  bottom: 1rem;
  z-index: 1;
}
.info-aforo__botones {
  display: flex;
  flex-direction: row;
  width: 100vw;
  padding: 0 4rem;
}

.union {
  display: flex;
  flex-direction: row;
}

.c-aviso {
  grid-area: aviso;
  border: 0.5rem solid rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
}
.c-aviso--js-bg-rojo {
  background-color: #b20000;
}
.c-aviso--js-bg-verde {
  background-color: #257431;
}
.c-aviso__mensaje {
  margin: 20px 0;
  font-size: 8rem;
}

.c-targeta {
  padding: 2rem;
  border: 0.5rem solid #0088bf;
  border-radius: 1rem;
}
.c-targeta__titulo {
  font-size: 3rem;
}
.c-targeta__titulo--grande {
  font-size: 5rem;
}
.c-targeta__cantidad {
  margin: 1rem 0;
  line-height: 150px;
  font-family: "Signika";
  font-size: 13rem;
}
.c-targeta__cantidad--color-azul {
  color: #37c3ff;
}
.c-targeta__cantidad--color-rojo {
  color: #ff6c6c;
}
.c-targeta__cantidad--color-verde {
  color: #74ff89;
}
.c-targeta__cantidad--grande {
  margin: 2rem 0;
  line-height: 300px;
  font-family: "Signika";
  font-size: 25rem;
}
.c-targeta__unidad-medida {
  font-size: 2rem;
}

.carga {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.carga__mensaje {
  font-size: 4rem;
  margin-top: 2rem;
}

.c-boton-desplegable {
  display: flex;
  align-items: center;
}
.c-boton-desplegable__simbolo {
  cursor: pointer;
}
.c-boton-desplegable__simbolo:hover {
  animation: girar360grados 1.5s forwards;
}
.c-boton-desplegable__simbolo--actualizar:hover * {
  fill: #74ff89;
}
.c-boton-desplegable__simbolo--ayuda:hover * {
  fill: #37c3ff;
}
.c-boton-desplegable__simbolo--cerrar:hover * {
  fill: #ff6c6c;
}
.c-boton-desplegable__simbolo:hover + .c-boton-desplegable__prueba > .c-boton-desplegable__interpretacion {
  display: block;
  animation: desplazar-hacia-derecha 1.5s;
}
.c-boton-desplegable__prueba {
  margin: 0 2rem 0 1rem;
  overflow: hidden;
}
.c-boton-desplegable__interpretacion {
  display: none;
  color: white;
  font-size: 2rem;
  text-align: left;
}

@keyframes girar360grados {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes girar360grados_invertido {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}
@keyframes desplazar-hacia-derecha {
  from {
    transform: translateX(-16rem);
  }
  to {
    transform: translateX(0rem);
  }
}
@keyframes desplazar-hacia-izquierda {
  from {
    transform: translateX(0rem);
  }
  to {
    transform: translateX(-16rem);
  }
}
/* &:hover {
  svg {
    animation: spin 2s;
  }

  svg * {
    fill: #68d2ff;
  }

  & > div > div {
    animation: aparicion 2s forwards;
  }
} */
.u-dos-columnas {
  display: flex;
  gap: 4rem;
}

.body--js-shadow {
  box-shadow: inset 0 0 3rem #ff6868;
}

/*# sourceMappingURL=styles.css.map */
