/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * 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
 *
 * These selection rule sets have to be separate.
 * 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  box-sizing: border-box;
}
*,*:before,*:after {
  box-sizing: inherit;
}
body {
  background-color: #f2f2f293;
  font-family: 'Open Sans', sans-serif;
}
/** Globales **/

@font-face {
  font-family: 'Timoteo';
  src: url('/Fuente_timoteo/Timoteo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.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: center;
}
h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4em;
    text-transform: uppercase;
    text-align: center;
}
h2::after {
  content: '';
  margin: 0 auto;
  height: 30px;
  width: 100px;
  display: block;
}
h3 {
  font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    text-transform: uppercase;
    text-align: center;
}

h4 {
  font-family: 'Oswald', sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
    text-align: center;
}

.button {
  background-color: #2c3e50;
  padding: 10px 40px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
   font-family: 'Oswald', sans-serif;
   text-decoration: none;
   font-size: 1em;
   margin-top: 20px;
   display: inline-block;
   transition: all .3s ease;
   border: 2px solid #2c3e50;
}

.button2 {
  background-color: #471D74;
  padding: 10px 40px;
  color: #ffffff;
  text-transform: uppercase;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
  font-size: 1em;
  margin-top: 20px;
  display: inline-block;
  transition: all .3s ease;
  border: 2px solid #2c3e50;
}

.Centrar-boton {
  text-align: center;
}

.button.hollow,
.button.hollow:hover {
  background-color: white;
  color: #2c3e50;
}
.button.transparente {
  background-color: transparent;
  border: 2px solid #ffffff;
}
.button.transparente:hover {
  border: 2px solid #2c3e50;
}

ul {
  list-style: none;
  margin:0;
  padding: 0;
}
.button:hover {
  background-color: #e33000;
}
.float-right {
  float: right;
}
/** Lettering**/

h1.nombre-sitio span {
  position: relative;
  text-shadow: 0 0 30px black;
}

@media only screen and (min-width: 992px){
  .char1 {
        top: 20px; right:20px;
  }
  .char2 {
        top:0px; left:-20px;
  }
  .char3 {
    top:10px; right:20px;
  }
  .char4 {
    top:5px; right:10px;
  }
  .char5 {
    top:15px; right:10px;
  }
  .char6 {
    top:5px; left:10px;
  }
  .char7 {
    top:20px; left:-10px;
  }
  .char8 {
    top:0; left: 10px;
  }
  .char9 {
    top:10px;    right: 20px;
  }
  .char10 {
      top: 20px; right: 20px; 
  } 

}

/** Header **/

div.hero {
  background-image: url(../img/Banner.png);
  min-height: 110vh; /* Se asegura que ocupe al menos el 100% de la altura de la ventana */
  background-position: top center;
  background-size: cover; /* Mantiene la proporción de la imagen */
  background-repeat: no-repeat;
  
}

/* Para pantallas de hasta 1000px */
@media (max-width: 1000px) {
  div.hero {
    min-height: 72vh;
    background-size: cover;
    background-attachment: scroll; /* Desactiva el efecto 'fixed' para pantallas pequeñas */
  }
}

@media (max-width: 950px) {
  div.hero {
    min-height: 67vh;
    background-size: cover;
    background-attachment: scroll; /* Desactiva el efecto 'fixed' para pantallas pequeñas */
  }
}


/* Para pantallas de hasta 900px */
@media (max-width: 900px) {
  div.hero {
    min-height: 65vh;
    background-size: cover;
    
  }
}

@media (max-width: 850px) {
  div.hero {
    min-height: 60vh;
    background-size: cover;
    
  }
}

/* Para pantallas de hasta 800px */
@media (max-width: 800px) {
  div.hero {
    min-height: 55vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (max-width: 750px) {
  div.hero {
    min-height: 53vh;
    background-size: cover;
    background-attachment: scroll;
  }
}


/* Para pantallas de hasta 700px */
@media (max-width: 700px) {
  div.hero {
    min-height: 50vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (max-width: 650px) {
  div.hero {
    min-height: 45vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

/* Para pantallas de hasta 600px */
@media (max-width: 600px) {
  div.hero {
    min-height: 40vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (max-width: 550px) {
  div.hero {
    min-height: 35vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

/* Para pantallas de hasta 500px */
@media (max-width: 500px) {
  div.hero {
    min-height: 30vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (max-width: 450px) {
  div.hero {
    min-height: 27vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

/* Para pantallas de hasta 400px */
@media (max-width: 400px) {
  div.hero {
    min-height: 25vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

@media (max-width: 350px) {
  div.hero {
    min-height: 22vh;
    background-size: cover;
    background-attachment: scroll;
  }
}

/* Para pantallas de hasta 300px */
@media (max-width: 300px) {
  div.hero {
    min-height: 18vh;
    background-size: cover;
    background-attachment: scroll;
  }
}





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: #ffffff;
  font-size: 2em;
  margin-right: 20px;
}
nav.redes-sociales a:last-child{
  margin-right: 0;
}
div.informacion-evento {
  text-align: center;
  color: #ffffff;
}
@media only screen and (min-width:768px) {
  div.informacion-evento {
    width: 70%;
    margin:0 auto;
    margin-top: 50px;
  }
}
div.informacion-evento p {
  margin:0;
  display: inline;
  font-size: 20px;
  text-transform: uppercase;
}
div.informacion-evento p i {
  color: #2c3e50;
  font-size: 2.4rem;
}
p.fecha {
  float: left;
}
p.ciudad {
  float: right;
  text-align: right;
}
p.slogan {
  text-transform: none!important;
}
p.slogan span {
  font-weight: bold;
}
h1.nombre-sitio {
  font-size: 5.9vw;
  text-transform: uppercase;
  font-family: 'Timoteo', sans-serif;
  text-shadow: 0 0 30px black;
}
@media only screen and (min-width:768px) {
  h1.nombre-sitio {
    font-size: 10.5vw;
    margin: 0;
    line-height: 1.12;
  }
}
/** Barra **/
div.barra {
  background-color: #471D74;
  padding: 20px 0;
}
.fixed {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 2;
}
div.logo{
  width: 80%;
  float: left;
}
div.logo img {
  width: 100%;
}
@media only screen and (min-width:768px) {
  div.logo {
    width:33%;

  }
}
/** Nav principal **/
nav.navegacion-principal {
  display: none;
  width: 100%;
}
nav.navegacion-principal a {
   font-family: 'Oswald', sans-serif;
   color: #ffffff;
   font-size: 1.12;
   text-transform: uppercase;
   text-decoration: none;
   transition: all .6s ease;
   width: 100%;
   display: block;
   text-align: center;
   margin-bottom: 20px;
   clear: both;
}
nav.navegacion-principal a:hover {
  background-color: #576CA8;
}
nav.navegacion-principal a:last-child {
  
  border: 2px solid #576CA8;
  color: #ffffff;
}
nav.navegacion-principal a:last-child:hover {
  color: #ffffff;
}
@media only screen and (min-width:768px) {
  nav.navegacion-principal {
    width: 90%;
    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;
  }
}
div.menu-movil {
    width: 60px;
    display: block;
    float: right;
    text-align: right;
    margin-top: 12px;
}

div.menu-movil:hover {
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    div.menu-movil {
        display: none;
    }
}

div.menu-movil span{
    height: 8px;
    margin-bottom: 6px;
    background-color: white;
    display: block; 
}

.navegacion-principal {
  display: none;
}

.menu-abierto .navegacion-principal {
  display: block;
}


/* Invitados **/

/* Estilos generales para el modal */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo oscuro con opacidad */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Estilos del contenido del modal */
.modal-content {
  display: flex;
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 1100px;
  width: 90%;
  text-align: left;
  align-items: center;
  overflow: hidden; /* Evita que el contenido se desborde */
}

/* Estilos de la imagen en el modal (lado izquierdo) */
.modal-content img {
  width: 300px;
  height: auto;
  border-radius: 5px;
  margin-right: 30px;
  object-fit: cover; /* Asegura que la imagen se ajuste correctamente */
}

/* Estilos para la descripción (lado derecho) */
.description {
  flex: 1;
  overflow-y: auto; /* Permite desplazarse si la descripción es muy larga */
  max-height: 400px; /* Limitar la altura máxima de la descripción */
}

/* Botón de cerrar */
.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
}
.close:hover {
  color: black;
}

/* Media Queries para pantallas entre 300px y 1000px */
@media (max-width: 1000px) and (min-width: 900px) {
  .modal-content {
    flex-direction: row;
    font-size: 1.2rem;
  }

  .modal-content img {
    width: 35%;
  }

  .description {
    width: 60%;
  }
}

@media (max-width: 899px) and (min-width: 800px) {
  .modal-content {
    flex-direction: row;
    font-size: 1.1rem;
  }

  .modal-content img {
    width: 40%;
  }

  .description {
    width: 55%;
  }
}

@media (max-width: 799px) and (min-width: 700px) {
  .modal-content {
    flex-direction: row;
    font-size: 1rem;
  }

  .modal-content img {
    width: 45%;
  }

  .description {
    width: 50%;
  }
}

@media (max-width: 699px) and (min-width: 600px) {
  .modal-content {
    flex-direction: row;
    font-size: 0.95rem;
  }

  .modal-content img {
    width: 50%;
  }

  .description {
    width: 45%;
  }
}

@media (max-width: 599px) and (min-width: 500px) {
  .modal-content {
    flex-direction: row;
    font-size: 0.9rem;
  }

  .modal-content img {
    width: 55%;
  }

  .description {
    width: 40%;
  }
}

@media (max-width: 499px) and (min-width: 400px) {
  .modal-content {
    flex-direction: row;
    font-size: 0.85rem;
  }

  .modal-content img {
    width: 60%;
  }

  .description {
    width: 35%;
  }
}

@media (max-width: 399px) and (min-width: 300px) {
  .modal-content {
    flex-direction: column; /* Cambiar a columna para pantallas más pequeñas */
    font-size: 0.8rem;
    overflow-y: auto; /* Agregar desplazamiento al modal completo */
    max-height: 90vh; /* Limitar la altura del modal */
  }

  .modal-content img {
    width: 100%; /* Imagen toma el 100% */
    margin-bottom: 10px; /* Separar imagen de la descripción */
  }

  .description {
    width: 100%; /* Descripción toma el 100% */
    max-height: 300px; /* Limitar la altura de la descripción */
    overflow-y: auto; /* Habilitar desplazamiento vertical */
  }
}

/* Estilo para pantallas pequeñas, como tabletas y móviles */
@media (max-width: 768px) {
  .modal-content {
    flex-direction: column;
    align-items: center;
  }

  .modal img {
    max-width: 100%; /* Imagen se ajusta al 100% */
  }
}



/* Estilos del banner de redes sociales */
.social-banner2 {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  
}
.social-banner2 img {
  width: 40px;
  height: 40px;
  cursor: pointer;
}


ul.lista-invitados li  {
  padding: 10px;
  float: left;
}

@media only screen and (min-width:480px) {
  ul.lista-invitados li  {
    width: 50%;
  }
}
@media only screen and (min-width:768px) {
  ul.lista-invitados li  {
    width: 33.3%;
  }
}
div.invitado {
  position: relative;
  overflow: hidden;
}
div.invitado img {
  max-width: 100%;
  filter:gray;
  -webkit-filter: grayscale(1); 
  -webkit-transition: all .5s ease-in-out;
}

div.invitado:hover img {
  -webkit-filter: grayscale(0);
  -webkit-transform: scale(1.1);
}
div.invitado p {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15px 10px;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.55);
  width: 100%;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  color: #ffffff;
  text-transform: uppercase;
-webkit-transition: all .5s ease-in-out;
}

.parallax::before {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
}
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;
}
ul.resumen-evento li {
  width: 50%;
  float: left;
  text-align: center;
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
}
@media only screen and (min-width:768px){
  ul.resumen-evento li {
      width: 25%; 
  }
}
p.numero {
  color: #2c3e50;
  font-size: 4em;
  display: block;
  margin: 0 0 10px 0;
  font-family: 'Oswald', sans-serif;
}
/** Tabla de Precios **/
ul.lista-precios > li {
  padding: 10px;
}
@media only screen and (min-width:768px){
  ul.lista-precios > li {
        float: left;
        width: 50%;
  }
}

div.tabla-precio {
  border: 1px solid #e1e1e1;
  background-color: #ffffff;
  padding: 40px 0;
  text-align: center;
  transition: all .3s ease;
}
div.tabla-precio:hover {
  transform: scale(1.1);
  border: 1px solid #2c3e50;
  box-shadow: 0px 0px 50px #666;
}
div.tabla-precio ul li {
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #868686;
    line-height: 26px;
}
div.tabla-precio 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-precio h3 {
  font-family: 'Oswald', sans-serif;
  font-size:16px;
  text-transform: uppercase;
}
div.tabla-precio 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){
  div.testimonial {
    float: left;
    width: 33.3%;
  }
}
blockquote {
  background-color: #ffffff;
  border: 1px solid #e1e1e1;
  position: relative;
  margin: 0 0 10px 0;
  padding-bottom: 20px;
}
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: #2c3e50;
}footer
.info-testimonial {
  padding: 0;
  background-color: transparent;
}
footer.info-testimonial img {
  float: left;
  width: 20%;
  border-radius: 50%;
  margin-left: 20px;
}
footer.info-testimonial cite {
  text-align: left;    
  color:#2c3e50;
  text-transform: uppercase;
  font-size: 12px;
  padding-top: 20px;
  width: 66.6%;
  float: right;
  font-weight: bold;
  font-style:normal;
}
footer.info-testimonial cite span {
  color: #000000;
  display: block;
  text-transform: none;
  margin-top: 5px;
}
/*** Newsletter:   **/
div.newsletter {
  position: relative;
  height: auto;
}
div.newsletter::before {
  background-image: url(../img/bg-newsletter.jpg);
  content: '';
}
div.newsletter .contenido {
  padding: 100px 0;
  color: #ffffff;
  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){
    div.cuenta-regresiva ul li {
        width: 25%;
        float: left;
    }
}

/** Footer **/

footer {
  background-color: #471D74;
  padding-top: 40px;
  margin-top: 20px;
}
footer .contenedor > div {
  color: #ffffff;
  padding: 0px 20px;
  font-size: 12px;
}
@media only screen and (min-width:768px){
  footer .contenedor > div {
      width: 33.3%;
      float: left;
  }
}

footer h3 {
  color: #ffffff;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  margin-bottom: 20px;
}
footer h3 span {
  color: #ffffff;
}
footer .ultimos-tweets li {
  margin-bottom: 10px;
}
footer nav.redes-sociales {
  text-align: left;
}
p.copyright {
  background-color: #000000;
  color: #ffffff;
  padding: 10px 0;
  margin:20px 0 0 0;
  text-align: center;
}

/*** INTERNAS **/
/* Conferencia **/
.navegacion-principal .activo {
  border-bottom: 2px solid #2c3e50;
}
div.galeria a{
  display: inline-block;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
    .galeria {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Centra horizontalmente */
        align-items: center; /* Centra verticalmente si es necesario */
        gap: 10px; /* Espaciado entre las imágenes */
    }

    .galeria a {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .galeria img {
        display: block;
        max-width: 100%;
        height: auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    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: " "; /* 1 */
    display: table; /* 2 */
}

.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:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

@keyframes levitar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* Sube el icono 10px */
  }
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366; /* Color verde de WhatsApp */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  animation: levitar 2s infinite ease-in-out; /* Aplica la animación */
}

.whatsapp-float:hover {
  background-color: #20c157;
}

.PDF {
  text-align: center;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* Puedes ajustar el margen como prefieras */
}


/*acerca de mi*/

/* Estilo general para el contenedor */
.contenedorquienes {
  display: flex;
  align-items: center;
  justify-content: center; /* Centra los elementos horizontalmente */
  text-align: center; /* Centra el texto dentro del párrafo */
}

/* Estilo para la imagen redonda */
.imagen-redonda {
  border-radius: 50%;
  width: 200px; /* Ajusta el tamaño según lo necesites */
  height: 200px; /* Mantén la proporción de la imagen */
  margin-right: 30px; /* Espacio entre la imagen y el párrafo */
}

/* Estilo para el párrafo */
.contenedorquienes p {
  max-width: 900px; /* Ajusta el tamaño del párrafo según lo necesites */
}

/* Media Queries para pantallas entre 300px y 800px */
@media (max-width: 800px) and (min-width: 300px) {
  .contenedorquienes {
    flex-direction: column; /* Cambia la disposición a columna (imagen sobre texto) */
    align-items: center; /* Centra la imagen y el texto */
  }

  .imagen-redonda {
    margin-right: 0; /* Elimina el margen derecho en disposición vertical */
    margin-bottom: 20px; /* Añade espacio entre la imagen y el texto */
  }

  .contenedorquienes p {
    max-width: 100%; /* Ajusta el tamaño del párrafo a todo el ancho disponible */
  }
}

.banner {
  width: 100vw;
  height: 65vh; /* Puedes ajustar la altura según lo necesites */
  background: url(../img/Lgratis.png) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
}

@media (max-width: 768px) {
  .banner {
      height: 40vh; /* Reduce la altura en pantallas más pequeñas */
      font-size: 1.5rem;
      padding: 1rem;
  }
}
@media (max-width: 480px) {
  .banner {
      height: 30vh; /* Ajusta aún más la altura en pantallas pequeñas */
      font-size: 1rem;
  }
}

.banner2 {
  width: 100vw;
  height: 65vh; /* Puedes ajustar la altura según lo necesites */
  background: url(../img/Blog.png) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2rem;
  text-align: center;
  cursor: pointer;

}

@media (max-width: 1000px) { .banner { height: 51vh; font-size: 1.4rem; } }
@media (max-width: 900px) { .banner { height: 46vh; font-size: 1.3rem; } }
@media (max-width: 800px) { .banner { height: 41vh; font-size: 1.2rem; } }
@media (max-width: 700px) { .banner { height: 34vh; font-size: 1.1rem; } }
@media (max-width: 600px) { .banner { height: 31vh; font-size: 1rem; } }
@media (max-width: 500px) { .banner { height: 19vh; font-size: 0.9rem; } }
@media (max-width: 400px) { .banner { height: 17vh; font-size: 0.8rem; } }
@media (max-width: 300px) { .banner { height: 13vh; font-size: 0.7rem; } }

@media (max-width: 1000px) { .banner2 { height: 51vh; font-size: 1.4rem; } }
@media (max-width: 900px) { .banner2 { height: 46vh; font-size: 1.3rem; } }
@media (max-width: 800px) { .banner2 { height: 41vh; font-size: 1.2rem; } }
@media (max-width: 700px) { .banner2 { height: 34vh; font-size: 1.1rem; } }
@media (max-width: 600px) { .banner2 { height: 31vh; font-size: 1rem; } }
@media (max-width: 500px) { .banner2 { height: 19vh; font-size: 0.9rem; } }
@media (max-width: 400px) { .banner2 { height: 17vh; font-size: 0.8rem; } }
@media (max-width: 300px) { .banner { height: 13vh; font-size: 0.7rem; } }

.social-banner {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}
.social-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  text-decoration: none;
  font-size: 20px;
}
.facebook { background: #3b5998; }
.twitter { background: #000000; }
.linkedin{ background: #0e76a8 ; }
.pinterest { background: #bd081c; }
.email { background: #555; }
.instagram { background: #e4405f; }
.tiktok { background: #000000; }
.youtube { background: #ff0000; }


/*Blog*/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}
.contenedor_blog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.titulo {
  text-align: center;
  color: #333;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.entrada-blog {
  background: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.imagen img {
  width: 100%;
  border-radius: 5px;
}
.texto-entrada {
  padding: 10px 0;
}
.texto-entrada h4 {
  margin: 0;
  color: #2c3e50;
}
.info {
  font-size: 14px;
  color: #7f8c8d;
}

/*entradas blog*/

.bodyblog {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f8f8f8;
  margin: 0;
  padding: 20px;
}
.blog-container {
  max-width: 900px;
  background: #fff;
  padding: 20px;
  margin: auto;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
.blog-title {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}
.blog-banner {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.blog-header {
  font-size: 14px;
  color: #666;
  margin-top: 20px;
}
.blog-header a {
  color: #f4a742;
  text-decoration: none;
}
.blog-header a:hover {
  text-decoration: underline;
}
.blog-content {
  margin-top: 30px;
  font-size: 16px;
  color: #333;
}

.blog-content img {
  margin-bottom: 10px;
  display: block;
}

@media (max-width: 1000px) {
  .blog-container { max-width: 850px; }
  .blog-banner { height: 220px; }
}
@media (max-width: 900px) {
  .blog-container { max-width: 800px; }
  .blog-banner { height: 200px; }
}
@media (max-width: 800px) {
  .blog-container { max-width: 700px; }
  .blog-banner { height: 180px; }
}
@media (max-width: 700px) {
  .blog-container { max-width: 600px; }
  .blog-banner { height: 160px; }
}
@media (max-width: 600px) {
  .blog-container { max-width: 500px; }
  .blog-banner { height: 140px; }
}
@media (max-width: 500px) {
  .blog-container { max-width: 400px; }
  .blog-banner { height: 120px; }
}
@media (max-width: 400px) {
  .blog-container { max-width: 350px; padding: 10px; }
  .blog-banner { height: 100px; }
}
@media (max-width: 300px) {
  .blog-container { max-width: 100%; padding: 5px; }
  .blog-banner { height: 80px; }
}

/* Carusel*/

/* Ajusta los videos para que tengan el mismo tamaño y mantengan proporción */
.carousel iframe,
.carousel video {
    width: 48%; /* Ajustamos al 48% para que entren dos en la misma fila */
    aspect-ratio: 16 / 9;
    max-height: 340px;
    border: none;
}

/* Contenedor principal del carrusel */
.carousel-container {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Contenedor del carrusel */
.carousel-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

/* Estilos del carrusel */
.carousel {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

/* Botones de navegación */
.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.buttons button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}

/* 📌 RESPONSIVE DESIGN: Apilar videos solo cuando la pantalla sea menor a 1000px */
@media (max-width: 1000px) {
    .carousel {
        flex-direction: column;
        align-items: center;
    }

    .carousel iframe,
    .carousel video {
        width: 90%; /* Para que no ocupen toda la pantalla */
    }

    /* Agregar espacio entre los videos */
    .carousel iframe:not(:last-child),
    .carousel video:not(:last-child) {
        margin-bottom: 20px; /* Espacio entre videos */
    }
}

.video-container {
  width: 100%;
  max-width: 900px; /* o el tamaño de tu contenedor */
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.BotonesCurso{
  display: flex;
  justify-content: space-between;

  @media (max-width: 700px) {
    flex-direction: column;
                            }

}

.negrita {
  font-weight: bold;
}

.share-buttons-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-buttons a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: white;
  transition: background 0.3s ease;
}

.facebook { background-color: #3b5998; }
.x { background-color: #000000; }
.whatsapp { background-color: #25d366; }
.linkedin { background-color: #0077b5; }

.share-buttons a:hover {
  opacity: 0.9;
}

.share-buttons svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.poema {
  font-style: italic;
  font-family: 'Georgia', serif;
  background-color: #f9f9f9;
  padding: 20px;
  margin: 20px 0;
  border-left: 4px solid #ccc;
  line-height: 1.8;
}
.poema p {
  margin-bottom: 1.2em;
}

.colectivo-container {
  max-width: 1300px;
  padding: 20px;
  margin: auto;
  
}

@media (max-width: 1000px) {
  .bcolectivo-container { max-width: 850px; }
  .blog-banner { height: 220px; }
}
@media (max-width: 900px) {
  .colectivo-container { max-width: 800px; }
  .blog-banner { height: 200px; }
}
@media (max-width: 800px) {
  .colectivo-container { max-width: 700px; }
  .blog-banner { height: 180px; }
}
@media (max-width: 700px) {
  .colectivo-container { max-width: 600px; }
  .blog-banner { height: 160px; }
}
@media (max-width: 600px) {
  .colectivo-container { max-width: 500px; }
  .blog-banner { height: 140px; }
}
@media (max-width: 500px) {
  .colectivo-container { max-width: 400px; }
  .blog-banner { height: 120px; }
}
@media (max-width: 400px) {
  .colectivo-container { max-width: 350px; padding: 10px; }
  .blog-banner { height: 100px; }
}
@media (max-width: 300px) {
  .colectivo-container { max-width: 100%; padding: 5px; }
  .blog-banner { height: 80px; }
}

.colectivo-banner {
  display: block;
  margin: 0 auto;
  width: 40%; /* o un valor fijo como 400px */
  
}

@media (max-width: 1000px) {
  .colectivo-banner { width: 60% }
  
}

.rec-banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

@media (max-width: 1000px) {
  .blog-container { max-width: 850px; }
  .rec-banner { height: 220px; }
}
@media (max-width: 900px) {
  .blog-container { max-width: 800px; }
  .rec-banner { height: 200px; }
}
@media (max-width: 800px) {
  .blog-container { max-width: 700px; }
  .rec-banner { height: 180px; }
}
@media (max-width: 700px) {
  .blog-container { max-width: 600px; }
  .rec-banner { height: 160px; }
}
@media (max-width: 600px) {
  .blog-container { max-width: 500px; }
  .rec-banner { height: 140px; }
}
@media (max-width: 500px) {
  .blog-container { max-width: 400px; }
  .rec-banner { height: 120px; }
}
@media (max-width: 400px) {
  .blog-container { max-width: 350px; padding: 10px; }
  .rec-banner { height: 100px; }
}
@media (max-width: 300px) {
  .blog-container { max-width: 100%; padding: 5px; }
  .rec-banner { height: 80px; }
}
