@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;
}
header{
    z-index: 10;
}
/*Inicia nav*/
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;
}
/*Inicia main*/
main{
    min-height: 100dvb;
}
.container{
    position: relative;
    width: 100vw; 
    height: 100vh;
    min-height: 100dvh;
}

.container .slide .item{
    width: 180px;
    height: 250px;
    position: absolute;
    top: 80%;
    transform: translateY(-80%);
    left: 70%;
    border-radius: 20px;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 70%;
}

.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 600px;
    text-align: left;
    color: #000;
    transform: translateY(-50%);
    display: none;
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
    color: #fff;
}

.content .des{
    font-size: 25px;
    margin-top: 10px;
    margin-left: 5px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
    text-align: justify;
    color: #fff;
}



@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

@media screen and (max-width: 678px){
    
    .item .content{
        left: 10px;
        top: 40%;
        width: 300px;
    }
    
    .content .name{
     font-size: 20px;
    }
    
    .content .des{
        font-size: 11px;
        text-align: justify;
    }
    .seccion-1 h4{
    font-size: 10px;
    
  }
}
/*aqui inicia el footer*/
footer{
  text-align: center;
  z-index: 9;
}
footer h4{
     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;
}
