@charset "UTF-8";

@keyframes opacidad {
  from{opacity: 0;}
  to{opacity: 1;}
}

/* Globals y DOMs */
h2{
  font-size: 1.2em;
  font-weight: bold;
}
article{
  position: relative;
  width: 100%;
  padding: 50px 10%;
  box-sizing: border-box;
}

/* Clases */
.slide{
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0;
  z-index: 1;
  transition: opacity 1s ease;
}
.slide.active{
  opacity: 1;
  z-index: 2;
}
.bordered{
  position: relative;
  display: inline-block;
  max-width: 85%;
  padding: 10px 20px;
  box-sizing: border-box;
  border: solid 2px #FFF;
  border-radius: 30px;
}
.placeholder{
  display: block;
  width: 100%;
  font-size: 1.2em;
  color: #CCC;
  text-align: center;
}
.sugerencia, .sin-sugerencia{
  display: block;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  margin: 0px;
  border-radius: 30px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sugerencia.selected{
  background-color: var(--azul-claro);
  color: white;
  cursor: pointer;
}
.sin-sugerencia{
  font-style: oblique;
}
.fila-horarios{
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: 100%;
  width: 100%;
  background: var(--gris-claro);
  border-top: solid 3px var(--azul-claro);
  padding: 30px 30px 10px 30px;
  box-sizing: border-box;
  margin-bottom: 10px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.3);
  animation-name: opacidad;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
.dia{
  grid-column-end: span 1;
  margin: 0px;
  font-weight: bold;
}
.horarios{
  display: block;
  grid-column-end: span 1;
  width: 100%;
  margin: 0px;
  padding: 0px;
  color: var(--gris-oscuro);
}
.horarios li{
  display: block;
  width: 100%;
  padding: 0px;
  padding: 0px 0px 10px 0px;
  margin: 0px 0px 10px 0px;
  border-bottom: dashed 1px var(--gris-oscuro);
  list-style: none;
}
.horarios li:nth-last-child(1){
  border-bottom: none;
}

/* IDs */
#buscador{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background: linear-gradient(to bottom, var(--azul-claro) 10%, var(--azul-florida) 100%);
  transition: height 0.5s ease-in;
}
#buscador.sliced{
  height: 500px;
}
#buscador::before{
  content: "";
  position: absolute;
  display: block;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: #4000FF;
  opacity: 0.5;
}
#slideshow{
  position: absolute;
  display: block;
  top: 0px;
  width: 100%;
  height: 100%;
  text-align: center;
  overflow: hidden;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: overlay;
  transition: filter 0.4s ease;
}
#slideshow.blured{
  filter: blur(5px);
}
#search{
  background: none;
  width: 500px;
  max-width: 100%;
  border: none;
  padding: 0px;
  font-family: inherit;
  font-size: 1.2em;
  font-weight: bold;
  color: white;
  transition: width 0.2s ease;
}
#search:focus{
  width: 550px;
}
#sugerencias{
  position: absolute;
  display: block;
  top: 100%;
  left: 0px;
  width: 100%;
  margin-top: 10px;
}
#sugerencias ul{
  display: block;
  width: 100%;
  padding: 3px;
  box-sizing: border-box;
  margin: 0px;
  border-radius: 24px;
  background: white;
  border: none;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.6);
}
#grafico{
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
}
#cant-inscriptos{
  display: block;
  position: relative;
  transform: translateY(-100%);
  margin: 0px;
  font-size: 4em;
  line-height: 1em;
  color: var(--azul-florida);
}
#cant-inscriptos + p{
  margin-top: -50px;
  margin-bottom: 50px;
  color: var(--gris-oscuro);
  font-style: italic;
}

@media only screen and (max-width: 800px) {
  h1{
    font-size: 1.6em;
  }
  nav img{
    height: 40px;
  }
  .fila-horarios{
    grid-template-columns: 100px 1fr;
  }
  #search{
    font-size: 1em;
  }
}
