/*! HTML5 Boilerplate v9.0.0-RC1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.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
 *
 * Customize the background color to match your design.
 */

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

::selection {
  background: #002557;
  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
   ========================================================================== */

   html {
    box-sizing: border-box;
  }
  ;::before,*::after {
    box-sizing: inherit;
  }
  body {
    font-family: 'Open Sans', sans-serif, Verdana, Tahoma;
    background-color: #f2f2f2;
    margin: 0;
  }
  /*globales*/
  h2 {
    font-size: 2.4em;
    text-align: center;
    font-family: 'Literata', sans-serif;
  }
  .contenedor {
    width: 100%;
    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: 100%;
      max-width: 1300px;
    }
  }
  section {
    display: block;
  }
  .seccion {
    padding: 30px 0;
  }
  .seccion  p{
    font-size: 1em;
    text-align: center;
  }
  h2 {
    font-size: 2.4em;
    text-align: center;
    font-family: 'Literata', sans-serif;
  }
  /*fin globales*/

  /*comienzo imagen, titulo*/
  .paralax::before {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    -webkit-filter: brightness(.5);
    filter: brightness(.5);
  }
  div.header {
    height: 100vh;
    background-position: top center;
    background-size: cover;
    position: relative;
  }
 div.header::before {
    background-image: url(../img/video portada.mp4);
    content: '';
  }
  @media screen and (max-width: 767px){
    .paralax::before{
      background-attachment: fixed;
      height: 50vh;
      background-size: 120%;
      background-position: top;
    }
    
    div.header{
      height: 50vh;
    }
    div.titulo-cierre {
      padding: 0 !important; 
    }
  }
  @media screen and (max-width: 1050px){
    .paralax::before{
      background-attachment: fixed;
      background-size: 120%;
      background-position: top;
    }
  }

  div.info-header {
    padding-top: 40px;
    position: relative;
   }

   @media (768px < width < 991px){
    div.header{
      height: 60vh;
    }

  }
   
  @media only screen and (max-width:768px){
    div.info-header{
      padding-top: 10px;
    }

  }
  div.titulo-cierre{
    text-align: center;
    color: #ffffff;
    font-size: 2.5vw;
    width:100%;
    background-color: #002e5D;
    font-family: 'Antonio', sans-serif;
  }
  div.titulo-cierre h1{
    text-transform: uppercase;
  }
  h1.nombre-cierre {
    margin: 0;
    background-color: #fd775a;
  }
  div.titulo-cierre .slogan-cierre{
    font-size: 2rem;
    padding: 5px 0 0 15px;
    color: aliceblue;
    background-color: #002e5D;
}
@media screen and (max-width: 575px){
  h1.nombre-cierre {
    font-size: 3.5rem;
    padding: 15px;
    letter-spacing: 1.2px;
  }
  .slogan-cierre {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }
  div.titulo-cierre {
    background-color: #002557;
  }

}
hr{
  border: 0;
  height: 6px;
  background: #fd775a;

}

  /*fin imagen, titulo*/
  /*Boton de Inscrpcion*/
 .titulo-inscripcion{
  text-align: center;
  padding: 20px 0 20px 0;
  margin: 0;
  height: 100%;
 }
 .titulo-blanco {
  color: whitesmoke;
 }
.seccion-video{
  background-color: #ffffff;
  width: 100%;
  height: 300px;
  margin-top: 0;
  background-image: url(../img/fondo-boton.svg);  
  background-attachment: fixed;  
}
.aula-boton{
  font-family: 'Roboto', sans-serif;
  background-color: #002557;
  margin-left: 5%;
}
.aula-boton:hover{
  background-color: #fd775a;
  color: white;
  opacity: 0.9;
}

button {
  background-color: #002e5D;
  color: white;
  padding: 14px 20px;
  border:none;
  margin: 0 auto ;
  cursor: pointer;
  width: 100%;
  height: 40%;
  border-radius: 19px;
  font-size: 25px;
}
button:hover {
  opacity: 0.8;
}

/*Fin Boton Inscrpcion*/
/*comienzo Sobre el Curso*/
.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  }
  
  .div1 { grid-area: 1 / 1 / 3 / 3;
  background-color: #002557;
  background-repeat: no-repeat;
  padding: 10px;
  color: white;
  margin: 10px 5px 5px 20px;
  border-radius: 25px;
  }
  .div2 { grid-area: 1 / 3 / 3 / 6; 
    background-color: #75bcc5;  
    background-repeat: no-repeat;
    padding: 10px;
    color: #002557;
    margin: 10px 20px 5px 5px;
    border-radius: 25px;
  }
  .div3 { grid-area: 3 / 1 / 5 / 4;
   background-color: #febe98;
   background-repeat: no-repeat;
   padding: 10px;
   color: #002557;
   margin: 5px 5px 0px 20px;
   border-radius: 25px;
  }
  .div4 { grid-area: 3 / 4 / 5 / 6; 
   background-color: #002557;
   background-repeat: no-repeat;
  color: white;
  padding: 10px;
  margin: 5px 20px 0px 5px;
  border-radius: 25px;
}
.linkabajo{
  color: whitesmoke;
  text-align: center;
}
  .titulo-grid{
    text-align: center;
  }
/*fin Sobre el Curso*/
/*grid responsive Sobre el Curso*/
@media screen and (max-width: 767px){
  .div1{
    grid-area: 1 / 1 / 1 / 6;
    text-align: center;
    margin: 5px;
  }
  .div2{
    grid-area: 2 / 1 / 2 / 6;
    text-align: center;
    margin: 5px;
  }
  .div3{
    grid-area: 3 / 1 / 3 / 6;
    text-align: center;
    margin: 5px;
  }
  .div4{
    grid-area: 4 / 1 / 4 / 6;
    text-align: center;
    margin: 5px;
  }

}
/*comienzo acordeonInfo */

.acordeon {
  width: 80%;
  margin: 20px auto;
  color: black;
  background-color: white;
  padding: 25px 25px;
}
h1 {
  text-align: center;
}
.acordeon .contenedor {
  position: relative;
  margin: 5px 5px;
  width: 90%;
}

/* Posiciona las etiquetas en relación con el contenedor. Añade relleno en la parte superior e inferior y aumenta el tamaño de la fuente. También hace que su cursor sea un puntero */

.acordeon .etiqueta {
  position: relative;
  padding: 10px 0;
  font-size: 30px;
  color: black;
  cursor: pointer;
}
.acordeon .etiqueta::before {
  content: '+';
  color: black;
  position: absolute;
  top: 50%;
  right: -5px;
  font-size: 30px;
  transform: translateY(-50%);
}

/* Oculta el contenido (altura: 0), disminuye el tamaño de la fuente, justifica el texto y añade la transición */

.acordeon .contenido {
  position: relative;
  background: white;
  height: 0;
  font-size: 20px;
  text-align: justify;
  width: 680px;
  overflow: hidden;
  transition: 0.5s;
  justify-content: center;
}

/* Añade una línea horizontal entre los contenidos */

.acordeon hr {
  width: 100;
  margin-left: 10px;
  border: 1px solid grey;
}
/* Muestra la parte de contenido cuando está activa. Establece la altura */


.acordeon .contenedor.activa .ElEvento {
  height: auto;
  width: 90%;
  padding: 5px;
}
.acordeon .contenedor.activa .FechaLugar{
  height: auto;
  width: 90%;
}
.acordeon .contenedor.activa .Academico{
  height: auto;
  width: 90%;
}
.acordeon .contenedor.activa .Publico{
  height: auto;
  width: 90%;
}
.acordeon .contenedor.activa .Drees{
  height: auto;
  width: 90%;
}
.acordeon .contenedor.activa .Agenda{
  height: auto;
  width: 90%;
}
/* Cambia de signo positivo a negativo una vez activado */

.acordeon .contenedor.activa .etiqueta::before {
  content: '-';
  font-size: 30px;
}
/*fin acordeonInfo */

/*Carrousel Sponsors */
.seccion1 {
  overflow: hidden;
  background: rgba(255, 255,255,0.8);
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: block;
}
.seccionSponsor{
  text-align: center;
}
* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;

}
.carrouselTittle h4{
  color: #000;
}

/* Caption text */
.text {
  color: grey;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: right;
}

/* Number text (1/3 etc) */
.numbertext {
  color: grey;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}


:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(82, 60%, 28%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --body-color: hsl(0, 0%, 95%);
  --container-color: hsl(0, 0%, 100%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --h2-font-size: 1.25rem;
  --small-font-size: .813rem;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1120px) {
  :root {
    --h2-font-size: 1.5rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  background-color: var(--body-color);
  color: var(--text-color);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*=============== CARD ===============*/
.container3 {
  display: grid;
  place-items: center;
  margin-inline: 1.5rem;
  padding-block: 5rem;
}

.card__container {
  display: grid;
  row-gap: 3.5rem;
}

.card__article {
  position: relative;
  overflow: hidden;
}

.card__img {
  width: 328px;
  border-radius: 1.5rem;
}

.card__data {
  width: 280px;
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
  border-radius: 1rem;
  position: absolute;
  bottom: -9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
}

.card__description {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: .25rem;
}

.card__title {
  font-size: var(--h2-font-size);
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: .75rem;
}

.card__button {
  text-decoration: none;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--first-color);
}

.card__button:hover {
  text-decoration: underline;
}

/* Naming animations in hover */
.card__article:hover .card__data {
  animation: show-data 1s forwards;
  opacity: 1;
  transition: opacity .2s;
}

.card__article:hover {
  animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
  animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
  animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to {
    overflow: initial;
  }
}

@keyframes remove-data {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container3 {
    margin-inline: 1rem;
  }

  .card__data {
    width: 250px;
    padding: 1rem;
  }
  .acordeon .contenedor.activa .contenido {
    display: block;
  }
  .contenido p{
    padding-right: 0;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .container3 {
    height: 100%;
  }

  .card__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .card__img {
    width: 300px;
  }
  .card__data {
    width: 280px;
    padding-inline: 2.5rem;
  }
  .acordeon .contenedor.activa .contenido {
    display: flex;
  }
  .texto-lugar-fecha {
    width: 40%;
    padding-right: 15px;
  }
  .contenido iframe {
    width: 60%;
  }
}
/* Comienzo sponsor*/
section {
  display: grid;
  place-items: center;
}

h1 {
  font-size: 3rem;
  padding: 20px;
  margin: 20px 0px;
}

.slider {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
  background: rgb(255, 255, 255);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.4px);
  -webkit-backdrop-filter: blur(7.4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  animation: scrolling 20s linear infinite;

}

@keyframes scrolling {

  0% {
      transform: translateX(80%);
  }

  100% {
      transform: translateX(-45%);
  }
}

.slider-items img {
  width: 18%;
  margin: 10px;

}

/* fin laboratorios sponsor*/
.fotos-labos{
  width: 55vw;
  max-width: 1000px;
  min-width: 320px;
  margin: 10px;
}
.foto-labos{
  width: 100%;
  border-radius: 15px;
  padding: 5px;

}
/* fin laboratorios Sponsors */


/* Comienzo footer*/

footer {
  bottom: 0;
  width: 100%;
}

@media (max-height:800px) {
  footer {
      position: static;
  }
 
}

.footer-distributed {
  background-color: #2d2a30;
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 16px sans-serif;
  padding: 50px 20px 60px 20px;
  margin-top: 80px;
}

.footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
  width: 30%;
}

.footer-distributed h3 {
  color: #ffffff;
  font-family: 'literata', sans-serif;
  font-size: 30px;
  margin: 0;
}


.footer-distributed h3 span {
  color: #fd775a;
}

/* Footer links */

.footer-distributed .footer-links {
  color: #ffffff;
  margin: 20px 0 12px;
}

.footer-distributed .footer-links a {
  display: inline-block;
  line-height: 1.8;
  text-decoration: none;
  color: inherit;
}

.footer-distributed .footer-company-name {
  color: #8f9296;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
  width: 35%;
}

.footer-distributed .footer-center i {
  background-color: #33383b;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}

.footer-distributed .footer-center p {
  display: inline-block;
  color: #ffffff;
  vertical-align: middle;
  margin: 0;
}

.footer-distributed .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  line-height: 2;
}

.footer-distributed .footer-center p a {
  color: #fd775a;
  text-decoration: none;
  ;
}

/* Footer Right */

.footer-distributed .footer-right {
  width: 30%;
}

.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #92999f;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}

.footer-distributed .footer-company-about span {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-distributed .footer-icons {
  margin-top: 25px;
}

.footer-distributed .footer-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  cursor: pointer;
  background-color: #33383b;
  border-radius: 2px;
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  line-height: 35px;
  margin-right: 3px;
  margin-bottom: 5px;
}

.footer-distributed .footer-icons a:hover {
  background-color: #3F71EA;
}

.footer-links a:hover {
  color: #3F71EA;
}

@media (max-width: 880px) {
  .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
      display: block;
      width: 100%;
      margin-bottom: 40px;
      text-align: center;
  }
  .footer-distributed .footer-center i {
      margin-left: 0;
  }
} 
/* fin footer*/

  



/* ==========================================================================
   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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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;
  }

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

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

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

