@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
*{
  margin: 0;
  padding: 0;
  user-select: none;
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}
body{
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #fff;
}
header{
    z-index: 10;
}

nav{
  background: #a1caf1;
}
nav:after{
  content: '';
  clear: both;
  display: table;
}
nav .logo{
  float: left;
  line-height: 70px;
  padding-left: 60px;
}

nav ul{
  float: right;
  margin-right: 40px;
  list-style: none;
  position: relative;
}
nav ul li{
  float: left;
  display: inline-block;
  background: #a1caf1;
  margin: 0 5px;
}
nav ul li a{
  color: #000;
  line-height: 70px;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 15px;
}
nav ul li a:hover{
  color: #A020F0;
  border-radius: 5px;
  box-shadow:  0 0 5px #33ffff,
               0 0 10px #66ffff;
}
nav ul ul li a:hover{
  box-shadow: none;
}
nav ul ul{
  position: absolute;
  top: 90px;
  border-top: 3px solid cyan;
  opacity: 0;
  visibility: hidden;
  transition: top .3s;
}
nav ul ul ul{
  border-top: none;
}
nav ul li:hover > ul{
  top: 70px;
  opacity: 1;
  visibility: visible;
}
nav ul ul li{
  position: relative;
  margin: 0px;
  width: 150px;
  float: none;
  display: list-item;
  border-bottom: 1px solid rgba(0,0,0,0.3);
}
nav ul ul li a{
  line-height: 50px;
}
nav ul ul ul li{
  position: relative;
  top: -60px;
  left: 150px;
}

.show,.icon,.ocultar-input{
  display: none;
}

#btn-1, #btn-2{
  display: none;
}
.fa-plus{
  font-size: 15px;
  margin-left: 40px;
}

@media all and (max-width: 968px) {
  
  nav ul{
    margin-right: 0px;
    float: left;
  }
  nav .logo{
    padding-left: 30px;
    width: 100%;
  }
  .show + a, ul{
    display: none;
  }
  nav ul li,nav ul ul li{
    display: block;
    width: 100%;
  }
  nav ul li a:hover{
    box-shadow: none;
  }
  .show{
    display: block;
    color: #000;
    font-size: 18px;
    padding: 0 20px;
    line-height: 70px;
    cursor: pointer;
  }
  .show:hover{
    color: #A020F0;
  }
  .icon{
    display: block;
    color: white;
    position: absolute;
    top: 0;
    right: 40px;
    line-height: 70px;
    cursor: pointer;
    font-size: 25px;
  }
  nav ul ul{
    top: 70px;
    border-top: 0px;
    float: none;
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  nav ul ul a{
    padding-left: 40px;
  }
  nav ul ul ul a{
    padding-left: 80px;
  }
  nav ul ul ul li{
    position: static;
  }
  [id^=btn]:checked + ul{
    display: block;
  }
  nav ul ul li{
    border-bottom: 0px;
  }
  span.cancel:before{
    content: '\f00d';
  }
  .texto{
    font-size: 1px;
  }
}
.logo{
  display: flex;
  align-items:  center;
}
.logo img{
  height: 80px;
}

main{
    display: flex;
    min-height: 100dvb;
    align-items: center;
    justify-content: center;
    z-index: 9;
}
h1{
    font-size: 30px;
    position: absolute;
    top: 80px;

  background: linear-gradient(to right, #f4d78c,#cd8f34,#93580b,#f4d78c,#93580b,#cd8f34,#f4d78c);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 5s linear infinite;
}
@keyframes animate-gradient{
  to{
    background-position: 200%;
  }
}
.contenedor{
    display: flex;
    gap: 12px;
    max-width: 500px;
    width: 100%;
    border-radius: 12px;
    padding: 40px;
    scroll-snap-type: x mandatory;
    overflow-x: scroll;
}
.contenedor .diapositiva{
    display: flex;
    flex-direction: 0 0 100%;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    border-radius: 12px;
    scroll-snap-align: start;
}
.diapositiva{
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: black;
}

.tipo{ 
    height: 700px; 
    width: 430px; 
    text-align: center;
}
h2{
    font-size: 20px;
    text-align: center;
}
::-webkit-scrollbar{
    height: 10px;
}
::-webkit-scrollbar-track{
    background: #f1f1f1;
    border-radius: 25px;
}
::-webkit-scrollbar-thumb{
    background: #a1caf1;
    border-radius: 25px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a1caf1;
}

@media screen and (max-width: 678px){

    h1{
    font-size: 20px;

    }
    .contenedor{
       max-width: 300px;
       width: 100%;
    }
    .diapositiva{
    font-size: 10px;
    font-weight: 200;
    color: black;
     }

     .tipo{ 
    height: 450px; 
    width: 240px; 
    text-align: center;
    }
    h2{
        font-size: 14px;
    }

}

footer{
  text-align: center;
  z-index: 9;
}
footer h3{
    padding: 3px 0;
    font-size: 18px;
    text-align: center;
    color: #000;
    font-weight: 200;
}

footer .seccion-1{
    height: 70px;
    padding: 10px 0;
    background: #a1caf1;
}

footer .redes{
    display: flex;
    justify-content: center;
    margin: 0 10px;
}

.redSocial{
    margin: 0 5px;
    transition: 0.5s;
}

.redes img{
  height: 25px;
}

.redSocial:hover{
    transform: translateY(-5px);
}
footer .seccion-2{
    height: 35px;
    background-color: #fff;
    padding: 10px 0;
}
footer .seccion-2 p{
    font-size: 10px;
}
