@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{
  background: #fff;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
}
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';
  }
}

.logo{
  display: flex;
  align-items:  center;
}
.logo img{
  height: 80px;
}

.respuesta-c{
  font-size: 15px;
  font-weight: bold;
  margin-top: 15px;
  text-align: center;
}
.texto{
  font-size: 20px;
  text-align: justify;
}

.contenido {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    height: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 500px;
    margin: 0 auto;
}
.txt-1{
  margin-bottom: 5px;
}

.input-all {
    margin-top: 20px;
    align-items: center;
    display: flex;
    padding-bottom: 20px;
    position: relative;
    box-sizing: border-box;
}

.input-all label {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    font-size: 15px;
    color: #000;
    padding: 0 5px;
    pointer-events: none;
    transition: .5s;
}

.input-all input{
    width: 320px;
    height: 40px;
    font-size: 16px;
    color: #000;
    padding: 0 10px;
    background: transparent;
    border: 1.2px solid #000;
    outline: none;
    border-radius: 5px;
}
.input-all input:focus~label, .input-all input:valid~label{
    top: 0;
    font-size: 12px;
    background: #fff;
}

.radiobtn{
    color: #000;
}
.radiobtn label{
    font-size: 12px;
}
.radiobtn label, .radiobtn input{
    cursor: pointer;
}

.aceptar{
  align-items: center;
  justify-content: center;
  margin-top: auto;
}
.aceptar a{
  font-weight: bold;
}

.btns {
    display: flex;
    gap: 20px;
    margin: 15px 0;
}
.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: 100%;
    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;
}

@keyframes glowing {
    0% {

        background-position: 0 0;

    }
    50% {

        background-position: 400% 0;

    }
    100% {

        background-position: 0 0;

    }
}

@media(max-width:600px){
    
    .contenido{
      width: 90%;
      margin: 0 auto;
    }
    .input-all{
        justify-content:center;
        margin-bottom: 12px;
        width: auto;
    }
    
    .radiobtn{
        display: flex;
        justify-content:center;
        width: 60%;
    }
    .contenido h1{
      font-size: 25px;
    }
    .contenido h2{
      font-size: 25px;
    }
    .contenido h3{
      font-size: 25px;
    }

    .redes img{
     height: 10px;
     }
}
/*aqui inicia el footer*/
main{
  height: auto;
}
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-color: #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;
}
.texto-f {
  font-size: 10px;
}


h1{
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(to right, #000,#000,#000,#ff0,#000,#000,#000);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 5s linear infinite;
}

h2{
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(to right, #000,#000,#000,#ff0000,#000,#000,#000);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 5s linear infinite;
}

h3{
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
  background: linear-gradient(to right, #000,#000,#000,#00f,#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%;
  }
}