/*menu*/
.header {
  color: #ffffff;
  background-size: cover;
  width: 98%;
  height: 20px;
  text-align: center;
  margin: 0% 0% 0% 0%;
  padding: 1% 1% 1.5% 1%;
  font-size: 120%;
  top: 0;
  background-image: url(imginicio/cabecera.webp);
  background-position: center;
  z-index: 2;
  position: fixed;
}
.logo-nav-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.menu img {
  width: 30px;
}
.menu img:hover {
  border: 1px solid white;
  border-radius: 5px;
  background: rgba(5, 83, 199, 0.853);
}
/*logo escrito*/
.logo {
  font-size: 120%;
  color: #ffffff;
  background-image: url(imginicio/cdaisologo.webp);
  background-size: contain;
  background-repeat: no-repeat;
  width: 155%;
  margin-top: -1%;
  text-align: center;
  padding: 1% 1% 1% 20%;
}

/*menudesplegable*/

.menuacordeon {
  margin-left: 90%;
  position: absolute;
  max-width: -webkit-min-content;
  max-width: -moz-min-content;
  max-width: min-content;

}

.menuacordeon input {
  display: none;
}

.menuacordeon__titulo {
  display: block;
  cursor: pointer;
  width: 30px;
  height: 23px;
}

.menuacordeon__contenido {
  height: 0;
  margin: 0;
  right: 0;
  transition: all 0.4s;
  background: linear-gradient(0deg, rgba(32, 72, 184, 0.644), rgba(59, 108, 221, 0.76)),
  url(imginicio/fondo3.webp);
  width: 140%;
  min-width: -webkit-min-content;
  min-width: -moz-min-content;
  min-width: min-content;
  font-size: 120%;
  border-radius: 4px;
  list-style: none;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  border-top-left-radius: 30px;
  border-bottom-left-radius: 50px;
}

/*scroll menu desplegable*/
.menuacordeon__contenido::-webkit-scrollbar{
  width: 0px;
  background-color: rgb(97, 150, 215);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}
.menuacordeon__contenido::-webkit-scrollbar-thumb{
  background-color: rgb(34, 112, 202);
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.menuacordeon__contenido li {
  text-align:start;
}
#inicioMenu{
  margin-top: 10%;
}

.menuacordeon__contenido a {
  color: #fff;
  text-decoration: none;
}

.menuacordeon__contenido li:hover {
  background: rgba(11, 46, 160, 0.884);
  padding: 12% 14% 12% 4%;
  box-shadow: 1px 1px 20px black;
  border-top-left-radius: 33px;
  border-bottom-left-radius: 33px;
}

.menuacordeon input:checked~.menuacordeon__contenido {
  height: 105vh;
  margin: -3% 0% 1% -5%;
  width: max-content;
  position: fixed;
  transition: all 1s;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;

}
#iconoCruz {
  width: 70%;
  transform: rotatey(180deg);
  margin-top: 65%;
  margin-right: -70%;
  padding-top: 2vw;
  -webkit-transform: rotatey(180deg);
  -moz-transform: rotatey(180deg);
  -ms-transform: rotatey(180deg);
  -o-transform: rotatey(180deg);
}
#iconoCruz:hover {
  transform: rotateY(0deg);
  transition:1s;
  -webkit-transition:1s;
  -moz-transition:1s;
  -ms-transition:1s;
  -o-transition:1s;
  -webkit-transform: rotateY(0deg);
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
}

/*tamaño compu*/
@media screen and (min-width: 1350px) {
  .header {
    width: 100%;
    height: 2%;
    max-height: 15px;
    font-size: 150%;
  }

  .logo {
    display: block;
    font-size: 70%;
    height: 20px;
    background-image: url(imginicio/cdaisologo.webp);
  }


  .menu img {
    margin-top: -28px;
    margin-left: -15px;
    position: absolute;
  }

  .menu {
    margin-top: 1%;
    cursor: pointer;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin-left: 70%;
  }

  .menuacordeon__titulo {
    padding-bottom: 5px;
  }
  .menuacordeon__contenido {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .menuacordeon__contenido li {
    padding: 12% 2% 12% 12%;
  }

}

/*tamaño tablet*/
@media screen and (min-width: 820px) and (max-width: 1350px) {
  .header {
    height: 6%;
    font-size: 140%;
    max-height: 20px;

}

  .menuacordeon__contenido {
    width: 150%;
    font-size: 90%;
  }

  .menu {
    margin-top: 1%;
    cursor: pointer;
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin-left: 70%;
  }

  .menu:hover {
    background-color: rgba(88, 120, 185, 0.829);
    border-radius: 5px;
  }

  .menu img {
    margin-top: -25px;
    position: absolute;
    margin-left: -15px;
  }

  .menuacordeon__titulo:hover {
    padding-bottom: 4px;
  }

  .logo {
    display: block;
    font-size: 70%;
    height: 70%;
    background-image: url(imginicio/cdaisologo.webp);
    background-size: 25%;
  }

  .menuacordeon input:checked~.menuacordeon__contenido {
    margin: -4% 0% 1% -5%;
    max-height: 101vh;
  }
  .menuacordeon__contenido li {
    padding: 12% 2% 12% 12%;
  }

}

/*para tamaño telefono*/
@media screen and (max-width: 820px) {
  .logo {
    display: block;
    font-size: 70%;
    height: 100%;
    background-image: url(imginicio/cdaisologoalto.webp);
    background-size: 15%;
  }

  .header {
    width: 100%;
    height: 20px;
  }
  
  .menuacordeon__contenido {
    font-size: 110%;
    width: 150%;
    font-size: 90%;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 105vh !important;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  .menuacordeon input:checked~.menuacordeon__contenido {
    margin: 0;
    max-height: 101vh;
    top: 0;
    font-size: 170%;
    width: 100vw !important;
  }
  .menuacordeon__contenido li {
    padding: 10% 2% 10% 30%;
  }
  .menuacordeon__contenido li:hover {
    padding: 12% 0% 12% 20%;
  }
}

/*para tamaño telefono chico*/
@media screen and (max-width: 460px) {
  .logo {
    display: block;
    font-size: 55%;
    padding-top: 5px;
    background-image: url(imginicio/cdaisologoalto.webp);
    background-size: 18%;
  }

  .menuacordeon {
    margin-left: 80%;
  }
  .header {
    width: 100%;
    height: 20px;
    font-size: 110%;
  }
  .menuacordeon input:checked~.menuacordeon__contenido {
    top: 0;
    font-size: 140%;
    margin: 0;
    max-height: 101vh;
    width: 101vw !important;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  .menuacordeon__contenido li {
    padding: 12% 0% 0% 25%;
  }
  .menuacordeon__contenido li:hover {
    padding: 10% 0% 10% 15%;
  }
}

@media screen and (max-width: 290px) {
  .header {
    height: 20px;
  }

  .logo {
    display: block;
    font-size: 35%;
    padding-top: 10%;
    height: 100%;
    background-image: url(imginicio/cdaisologo.webp);
    background-size: 55%;
    background-position: top;
  }

  .menuacordeon {
    margin-left: 75%;
  }

  .menuacordeon input:checked~.menuacordeon__contenido {
    top: 0;
    font-size: 120%;
    width: 100vw !important;
    margin: 0;
    max-height: 101vh;
    width: 100vw !important;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
  }
  .menuacordeon__contenido li {
    padding: 12% 0% 0% 10%;
  }
  .menuacordeon__contenido li:hover {
    padding: 10% 0% 10% 5%;
  }

}
.header {
  position: fixed;
}
@media screen and (max-height: 600px){
  /*scroll menu desplegable*/
.menuacordeon__contenido::-webkit-scrollbar{
  width: 10px;
}
.menuacordeon__contenido li {
  padding: 5% 0% 0% 25%;
}

}
@media screen and (max-height: 400px){
  /*scroll menu desplegable*/
.menuacordeon__contenido::-webkit-scrollbar{
  width: 10px;
}
.menuacordeon__contenido li {
  padding: 4% 0% 0% 25%;
}

}
