@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{
    min-height: 100dvb;
    justify-content: center;
}
.title{
  display: flex;
  width: 450px;
  justify-content: center;
}
.title h1{
  font-size: 35px;
  text-align: center;
  background: linear-gradient(to right, #000,#000,#000,#ff2190,#000,#000,#000);
  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%;
  }
}

.checkbox-container{
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    padding: 10px 0;
    height: auto;
    text-align: center;
    width: 450px;
    margin: 0 auto;
}
.checkbox-container label{
  font-size: 18px;
}
.radiobtn{
  margin-top: 10px;
  width: 450px;
  justify-content: center;
  color: #000;
  cursor: pointer;
  background-color: #fff;
}
.radiobtn label{
    font-size: 18px;
}
.respuesta-c{
  font-size: 18px;
  font-weight: bold;
  margin-top: 15px;
  text-align: center;
}
.answer{
  display: flex;
  width: 450px;
  justify-content: center;
}
.texto{
  font-size: 20px;
  text-align: justify;
}

.btns {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    align-items: center;
    justify-content: center;
    width: 450px;
}
.btns button{
    background: #fff;
    cursor: pointer;
    padding: 10px 15px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    border-radius: 12px;
    border: 1px solid #000;
    box-shadow: 0 2px 0 2px #000;
    width: 100px; 
    margin-top: 10px;
}

.btns button:hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #6085b4, #b9007c, #ff0, #ff0, #b9007c, #6085b4, #ff0);
    background-size: 800%;
    border-radius: 12px;
    filter: blur(8px);
    animation: glowing 20s linear infinite;
}
@media screen and (max-width: 678px){
  .title{
    width: 350px;
    }
  
  .title h1{
      font-size: 25px;
    }
  
    .checkbox-container{
      width: 350px;
    }

  .checkbox-container label{
      font-size: 12px
    }
   .radiobtn{
    width: 350px;
  }
  .radiobtn label{
    font-size: 10px;
}
  .answer{
    width: 350px;
  }
  .respuesta-c{
      font-size: 12px;
    }

  .btns{
    width: 350px;
  }

  .btns button{
  height: 40px;
  width: 80px;
  font-size: 12px;
  }


  .seccion-1 h4{
    font-size: 15px;
  }

}
@keyframes glowing {
    0% {

        background-position: 0 0;

    }
    50% {

        background-position: 400% 0;

    }
    100% {

        background-position: 0 0;

    }
}


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;
}
