/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
  Author's custom styles
========================================================================== */

.margin-top{
  margin-top: 3rem !important;
}

/* INDEX ////////////////////////////////////////////*/
html{
  box-sizing: border-box;
}
*,*::before,*::after{
  box-sizing: inherit;
}
body{
  background-color: #f2f2f2;
  font-family: 'Open Sans', sans-serif;
}
.contenedor{
  width: 98%;
  margin: 0 auto;
}
@media only screen and (min-width: 480px) {
  .contenedor{
    width: 95%;
  }
}
@media only screen and (min-width: 768px) {
  .contenedor{
    width: 90%;
  }
}
@media only screen and (min-width: 992px) {
  .contenedor{
    width: 90%;
    max-width: 1100px;
  }
}
.seccion{
  padding: 30px 0;
}
.seccion p{
  font-size: 1.2em;
  text-align: justify;
}
h2{
  font-family: 'Oswald', sans-serif;
  font-size: 2.4em;
  text-transform: uppercase;
  text-align: center;
}
h2::after{
  content: '';
  background-image: url(../img/separador.png);
  margin: 0 auto;
  height: 30px;
  width: 100px;
  display: block;
}
h3{
  font-size: 1.8em;
  color: #fe4918;
  font-family: 'PT Sans', sans-serif;
  margin: 0;
}
.button{
  background-color: #fe4918;
  padding: 10px 40px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Oswald', sans-sarif;
  text-decoration: none;
  font-size: 1em;
  margin-top: 20px;
  display: inline-block;
  transition: all .3s ease;
  border: 2px solid #fe4918
}
.button:hover{
  background-color: #e33000 !important;
}
.button.hollow,
.button.hollow:hover{
  background-color: white;
  color: #fe4918;
}
.button.transparente{
  background-color: transparent;
  border: 2px solid #ffffff;
}
.button.transparente:hover{
  border: 2px solid #fe4918;
}
.float-right{
  float: right;
}
ul{
  list-style: none;
  margin: 0;
  padding: 0px;
}
img{
  max-width: 100% !important;
}
/* HEADER */
div.hero{
  background-image: url(../img/encabezado.jpg);
  background-size: cover;
  background-position:center center;
  height: 100vh;
}
div.contenido-header{
  padding-top: 40px;
}
@media only screen and (min-width: 768px) {
  div.contenido-header{
    padding-top: 10px;
  }
}
nav.redes-sociales{
  text-align: center;
}
nav.redes-sociales a{
  color: #fff;
  font-size: 2em;
  margin-right: 20px;
}
nav.redes-sociales a:last-child{
  margin-right: 0;
}
div.informacion-evento{
  text-align: center;
  color: white;
  display: grid;
  justify-content: space-around;
  margin-top: 20px;
}
div.informacion-evento p{
  margin: 0;
  display: inline;
  font-size: 20px;
  text-transform: uppercase;
}
div.informacion-evento p i{
  color: #fe4918;
  font-size: 2.4rem;
}
h1.nombre-sitio{
  grid-column: 1/3;
  margin-top: 50px;
}
p.slogan{
  grid-column: 1/3;
  text-transform: none !important;
}
p.slogan span{
  font-weight: bold;
}
h1.nombre-sitio{
  font-size: 5.9vw;
  text-transform: uppercase;
  font-family: 'PT Sans', sans-serif;
}
@media only screen and (min-width: 768px){
  h1.nombre-sitio{
    font-size: 11.5vw;
    margin: 0;
    line-height: 1;
  }
}
div.barra{
  background-color: #353535;
  padding: 20px 0;
}
div.logo{
  width: 80%;
  float: left;
}
div.logo img{
  width: 100%;
}
@media only screen and (min-width: 768px) {
  div.logo{
    width: 33%;
  }
}
/* NAVEGACION PRINCIPAL */
nav.navegacion-principal{
  display: none;
}
nav.navegacion-principal a{
  font-family: 'Oswald', sans-serif;  
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.3em;
  transition: all .6s ease;
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 20px;
}
nav.navegacion-principal a:last-child{
  border: 2px solid #fe4918;
  color: #fe4918;
}
nav.navegacion-principal a:last-child:hover{
  color: #ffffff;
}
nav.navegacion-principal a:hover{
  background-color: #fe4918;
}
@media only screen and (min-width: 768px) {
  nav.navegacion-principal{
    width: 67;
    float: right;
    text-align: right;
    display: block;
  }
  nav.navegacion-principal a{
    padding: 10px 10px;
    display: inline-block;
    width: auto;
    display: inline-block;
    text-align: center;
    margin: 0 10px 0 0;
  }
}
/* navegacion movil */
div.menu-movil{
  width: 60px;
  display: block;
  margin-top: 12px;
  text-align: right;
  float: right;
}
div.menu-movil:hover{
  cursor: pointer;
}
@media only screen and (min-width: 768px){
  div.menu-movil{
    display: none;
  }
}
div.menu-movil span{
  height: 8px;
  background-color: white;
  margin-bottom: 6px;
  display: block;
}
/* TALLERES */
section.programa{
  position: relative;
}
div.contenedor-video{
  max-width: 100%;
  overflow: hidden;
}
div.contenido-programa{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
div.programa-evento{
  background-color: rgba(255, 255, 255, 0.8);
  padding: 15px;
  margin-top: 80px;
}
/* TABLET */
@media only screen and (min-width: 768px){
  div.programa-evento{
    width: 70%;
  }
}
/* ESCRITORIO */
@media only screen and (min-width: 992px){
  div.programa-evento{
    width: 50%;
  }
}
nav.menu-programa{
  width: 100%;
  border-bottom: 1px solid #fe4918;
  padding-bottom: 10px;
}
@media only screen and (min-width: 768px){
  nav.menu-programa{
    display: table;
  }
}
nav.menu-programa a{
  display: block;
  text-align: center;
  color: #000000;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 10px;
  font-weight: 1.2em;
}
@media only screen and (min-width: 768px){
  nav.menu-programa a{
    display: table-cell;
  }
}
nav.menu-programa a i,
div.detalle-evento p i{
  color: #fe4918;
  font-size: 1.6em;
  margin-right: 10px;
}
/* DETALLE EVENTO */
div.detalle-evento{
  margin-top: 20px;
  padding: 0 20px;
}
div.detalle-evento:first-child{
  border-bottom: 1px solid black;
}
div.detalle-evento p{
  margin-bottom: 20px;
  font-size: 18px;
}
.invitado{
  margin: 1rem !important;
}
.lista-invitados{
  display: grid !important;
  column-gap: 10px !important;
  grid-template-columns: repeat(2, 1fr) !important;
}
@media only screen and (min-width: 786px){
  .lista-invitados{
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
div.invitado{
  position: relative;
  overflow: hidden;
}
div.invitado img{
  filter: grayscale(100%);
  transition: all .5s ease-in-out;
}
div.invitado:hover img{
  filter: grayscale(0);
  transform: scale(1.1);
}
div.invitado p{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px 10px;
  margin: 0;
  background-color: rgba(0, 0, 0, .55);
  width: 100%;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  color: #fe4918;
  text-transform: uppercase;
  transition: all .5s ease-in-out;
}
div.invitado:hover p{
  bottom: -80px;
  opacity: 0;
}
/* CONTADOR */
.parallax::before{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
div.contador{
  position: relative;
  height: auto;
}
div.contador::before{
  background-image: url(../img/bg-resumen.jpg);
  content: '';
}
ul.resumen-evento{
  position: relative;
  padding: 120px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
ul.resumen-evento li{
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
}
@media only screen and (min-width: 768px){
  ul.resumen-evento{
    grid-template-columns: repeat(4, 1fr);
  }
}
p.numero{
  color: #fe4918;
   font-size: 4em; 
   display: block; 
   margin: 0 0 10px 0;
}
ul.lista-precios{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: 25px;
  text-align: center;
}
@media only screen and (min-width: 768px){
  ul.lista-precios{
    grid-template-columns: repeat(3, 1fr);
  }
}
p.numero{
  text-align: center;
  font-family: 'Oswald', sans-serif;
}
div.tabla-precios{
  border: 1px solid #e1e1e1;
  background-color: #ffffff;
  padding: 40px 0;
  transition: all .3s ease;
}
div.tabla-precios:hover{
  transform: scale(1.1);
  border: 1px solid #fe4918;
  box-shadow: 8px 0px 50px #666;
}
div.tabla-precios ul li{
  font-family: 'PT-Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #868686;
  line-height: 26px;
}
div.tabla-precios ul li::before{
  font-family: 'FontAwesome';
  display: inline-block;
  vertical-align: top;
  padding: 0 5px;
  font-size: 20px;
  color: green;
  -webkit-font-smoothing: antialiased;
  content: '\f00c';
}
div.tabla-precios h3{
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}
div.tabla-precios p.numero{
  color: #000000;
  margin: 20px 0;
}
/* mapa */
div.mapa{
  height: 420px;
  background-color: green;
}
/* TESTIMONIALES */
div.testimoniales{
  padding-bottom: 20px;
}
div.testimonial{
  padding: 5px;
}
@media only screen and (min-width: 768px){
  .testimoniales{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 25px;
    text-align: center;
  }
}
blockquote{
  background-color: white;
  border: 1px solid #e1e1e1;
  position: relative;
  margin: 0 0 10px 0;
  transition: .3s all ease-in-out;
}
blockquote:hover{
  box-shadow: 8 0 50px #888888;
}
blockquote p{
  text-align: justify !important;
  font-size: 1em !important;
  font-family: 'PT Sans', sans-serif;
  padding: 0 20px 0 65px;
}
blockquote p::before{
  content: '\201c';
  position: absolute;
  left: 13px;
  top: 8px;
  font-size: 8rem;
  margin: 0;
  padding: 0;
  line-height: 1;
  color: #fe4918;
}
footer.info-testimonial{
  display: flex;
  padding: 0;
}
footer.info-testimonial img{
  width: 20%;
  margin: 0 0 20px 20px;
  border-radius: 50% !important;
}
footer.info-testimonial cite{
  text-align: left;
  color: #fe4918;
  text-transform: uppercase;
  font-size: 12px;
  padding-top: 20px;
  width: 66%;
  margin-left: 25px;
}
footer.info-testimonial span{
  color: black;
  display: block;
  text-transform: none;
  margin-top: 5px;
}
footer.info-testimonial cite span{
  color: #000000;
  display: block;
  text-transform: none;
  margin-top: 5px;
}
/* newslatter */
div.newsletter{
  position: relative;
  height: auto;
}
div.newsletter::before{
  background-image: url(../img/bg-newsletter.jpg);
  background-position: center center;
  background-size: cover;
  content: '';
}
div.newsletter .contenido{
  padding: 100px 0;
  color: white;
  text-align: center;
  position: relative;
}
div.newsletter .contenido p{
  font-size: 1.2em;
  text-transform: lowercase;
}
div.newsletter .contenido h3{
  color: #ffffff;
  text-transform: uppercase;
  font-size: 7vw;
  font-family: 'PT Sans', sans-serif;
}
/* CUENTA REGRESIVA */
div.cuenta-regresiva ul li{
  text-transform: uppercase;
  font-family: 'Oswald',sans-serif;
  font-size: 1.6rem;
  text-align: center;
}

@media only screen and (min-width: 768px){
  ul.columnas{
    display: flex;
  }
  ul.columnas li{
    flex-basis: calc(25%);
  }
}
/* footer */
footer{
  background-color: #353535;
  padding-top: 40px;
  margin-top: 20px;
}
footer .contenedor > div{
  color: #ffffff;
  padding: 0px 20px;
  font-size: 12px;
  text-align: justify;
}
@media only screen and (min-width: 768px){
  footer .contenedor{
    display: flex;
  }
  footer .contenedor div{
    flex-basis: calc(33.3%);
  }
}
footer h3{
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 20px;
}
footer span{
  color: #fe4918;
}
footer .ultimos-tweets li{
  margin-bottom: 10px;
}
footer nav.redes-sociales{
  text-align: left;
}
p.copyright{
  background-color: #2e2e2e;
  color: white;
  padding: 20px 0;
  margin-bottom: 0;
  text-align: center;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */
 
.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
} 

/* 
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

/* .clearfix::before, */
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}