

*{
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    box-sizing: border-box;
    list-style: none; 
    text-decoration: none;
}

html{
    scroll-behavior: smooth;
}

::-webkit-scrollbar{
    display: none;
}

body{
    font-family: "Abel", sans-serif;
    line-height: 1.7;
    height: 100vh;
    background: url('./asstes/img/fondo-1.png');
    background-repeat: repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
    
}
body::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: 0.1; /* ← cambia este valor para más o menos transparencia */
      
      
      height: 100vh;
     
}

:root{
  --color-red: #dc3545;
  --color-blue: #233d91;
  --color-yellow: #ffc107;
  --color-white: #fff;
}


#alerta{
    background-color: rgba(0, 0, 0, 0.726);
    width: 100%;
    height: 100%;
    z-index: 9999;
    position: fixed;
    overflow-y: auto;
    overflow: scroll;

  }

  .close i{
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    
  }

  .close i:hover{
    color: var(--color-yellow);

  }

  .close-one i{
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    margin-bottom: 2rem;

  }

  .close-one i:hover{
    color: var(--color-yellow);

  }

    .contenido {
      position: relative;
      z-index: 1;
      padding: 2rem;
      color: #222;
      margin-bottom: 2rem;
    }

    .title{
      display: flex;
      flex-direction: column;
      justify-content: center;
      margin-bottom: 3rem;
    }

      .guia-title{
    text-align: center;
  }

    .img-logo {
      margin: 0 auto;
      width: 50%;
    }

    .title-intro{
      margin-bottom: 1.5rem;
    }

    .video-intro{
      margin-bottom: 3rem; 
    }

    .video-intro iframe{
      padding: 1rem;
      border: 2px solid;
      box-shadow: 0px 5px 90px 0px rgba(35, 61, 145, 0.3);
      background-color: var(--color-white);
      border: none;
      transition: ease-in-out 0.3s;
    }
    .video{
      padding: 1rem;
      border: 2px solid;
      box-shadow: 0px 5px 90px 0px rgba(35, 61, 145, 0.3);
      background-color: var(--color-white);
      border: none;
      transition: ease-in-out 0.3s;
      align-items: center;
    }

    .video-cuatro{
      padding: 1rem;
      border: 2px solid;
      box-shadow: 0px 5px 90px 0px rgba(35, 61, 145, 0.3);
      background-color: var(--color-white);
      border: none;
      transition: ease-in-out 0.3s;
      align-items: center;
    }





    .logos-footer img{
      object-fit: contain;

    }
    .logos-footer{
      margin-bottom: 2rem;
      width: 100%;
      gap: 2rem;
      justify-content: center;
 
    }

    .logos{
      width: 6%;
      
    }
    .logos-cnsc{
      width: 10%;
      
    }
    .logos-exc{
      width: 6%;
    }

.modulos .modulo-item {
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
  width: 413px;
  cursor: pointer;
  box-shadow: 0px 5px 90px 0px rgba(35, 61, 145, 0.3);
  z-index: 2;
  border: none;
  transition: ease-in-out 0.3s;
  background-color: var(--color-white);
  cursor: pointer;
  object-fit: cover;
  overflow: hidden; 
}

.modulos .logo-contraloria{
  position: absolute;
  top: 10px;
  left: 205px;
  width: 60%;
  overflow: hidden;
}



.modulos .modulo-item .icon {
  margin-bottom: 10px;
}

.modulos .modulo-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.modulos .modulo-item h3 {
  font-weight: 700;
  margin-bottom: 15px;

}

.modulos .modulo-item h3 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
  text-decoration: none;
}

.modulos .modulo-item p {
  line-height: 24px;
  font-size: 16px;
  margin-bottom: 0;
}

.modulos .modulo-item:hover {
  transform: translateY(-10px);
  transition: ease-in-out 0.3s;
  color: var(--color-blue);
}

.modulos .modulo-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# generalidades Section
--------------------------------------------------------------*/

.generalidades{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: scroll;
  width: 100%;
  height: 815px;
  
  
}

.generalidades .nav-tabs {
  border: 0;
  
}

.generalidades .nav-link {
  background-color: var(--color-white);
  color: #212529;
  border: 0;
  padding: 25px 20px;
  box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 0s;
  cursor: pointer;
  height: 100%;
}

.generalidades .nav-link i {
  font-size: 32px;
  line-height: 0;
}

.generalidades .nav-link h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 10px 0 0 0;

}

.generalidades .nav-link:hover {
  color: var(--color-blue);
}

.generalidades .nav-link:hover,
.generalidades .nav-link.active {
  transition: 0.3s;
  background: var(--color-yellow);
  color: var(--contrast-color) !important;
  border-color: var(--accent-color);
}

.generalidades .nav-link:hover h4,
.generalidades .nav-link.active h4 {
  color: var(--contrast-color);
}

.generalidades .nav-link:hover i,
.generalidades .nav-link.active i {
  color: var(--contrast-color) !important;
}

.generalidades .tab-content {
  margin-top: 30px;
}

.generalidades .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.generalidades .tab-pane h3 {
  font-weight: 600;
  font-size: 28px;
}

.generalidades .tab-pane ul {
  list-style: none;
  padding: 0;
}

.generalidades .tab-pane ul li {
  padding-bottom: 10px;
}

.generalidades .tab-pane ul i {
  font-size: 24px;
  margin-right: 4px;
  color: var(--accent-color);
}

.generalidades .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# módulo Section
--------------------------------------------------------------*/

.modulo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  /* overflow: scroll; */
}

.container-modulo{
  margin: 7rem;
  
}


.modulo-item-tres{
  background-color: var(--color-white);
  overflow: scroll;
  padding-top: 2rem;
  height: 610px;
}


.modulo-item-cuatro{
  background-color: var(--color-white);
  height: auto;
  overflow: scroll;
  padding: 1rem;
}


.modulo-item{
  background-color: var(--color-white);
  height: 530px;
  overflow: scroll;
  padding-top: 3rem;
}
.button-modulo{
  margin-bottom: 1rem;
  width: 100%;
}
 button {
  position: relative;
  display: inline-block;
  padding: 10px 47px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  background: transparent;
  color: var(--color-red);
  cursor: pointer;
  transition: ease-out 0.5s;
  border: 2px solid var(--color-red);
  border-radius: 10px;
  box-shadow: inset 0 0 0 0 var(--color-red);

}

 button:hover {
  color: white;
  box-shadow: inset 0 -100px 0 0 var(--color-red);
}



.franja{
  width: 100%;
  object-fit: contain;
}

.franja_down{
  width: 100%;
  object-fit: contain;
}


.nivel {
    padding: 10px 0px;
    margin: 5px 0;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-align: justify;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 1s ease, transform 1s ease;
  }

  /*.nivel p{
    margin-bottom: 1rem;
  }*/


.nivel.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .justificacion {
  display: none;
  margin: 1em 0;
  padding: 1rem;
}
.justificacion.visible {
  display: block;
}

.title_table{
  text-align: center;
}

.tabla_modulouno {
  width: 40%;
  margin: 0 auto;
}

.tabla_modulouno thead{
  background-color: var(--color-yellow);
  border: 1px solid var(--color-yellow);
  text-align: center;
}

.tabla_modulouno th{
  border: 1px solid var(--color-yellow);
  text-align: center;
}

.tabla_modulouno tbody tr {
  border: 1px solid var(--color-yellow);
  padding: 1rem;
}

.tabla_modulouno  td{
  border: 1px solid var(--color-yellow);
  text-align: center;
}

/*--------------------------------------------------------------
# Accordion formulario
--------------------------------------------------------------*/
.accordion{
  margin-top: 1rem;
}
.accordion .accordion-button{
  background-color: var(--color-yellow);
  
}

.accordion-button:not(.collapsed) {
  color: #212529;
}

.accordion-button  button:hover {
  color: var(--color-white);
  box-shadow: inset 0 -100px 0 0 var(--color-red);
}

.accordion-button button:visited{
  color: #212529;
}
.accordion-flush>.accordion-item>.accordion-collapse, .accordion-flush>.accordion-item>.accordion-header .accordion-button, .accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed {
    border-radius: 10px;
    margin-bottom: 1rem;
}

/*--------------------------------------------------------------
# Ejemplos
--------------------------------------------------------------*/
.nivel_ejemplo{
  width: 100%;
  gap: 1rem;
}


.input_ejemplo img{
  border-radius: 25px;
  width: 40%;
  padding: 1rem;
  display: flex;
  margin: 0 auto;
}
.btn_ejemplos{
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn_ejemplos button{
  border-radius: 100%;
  padding: 10px 20px;

}

.title_ejem{
  margin-bottom: 2rem;
}

.carousel-control-prev-icon {
  content: url("./asstes/img/prev.png");

}

.carousel-control-next-icon {
  content: url("./asstes/img/next.png");
}

.carousel-item{
  height: 700px;

}

.carousel-control-prev {
  left: -40px;
}
.carousel-control-next {
  right: -40px;
}


/*--------------------------------------------------------------
# Queries
--------------------------------------------------------------*/

@media (max-width: 1000px) {

  .title{
    flex-direction: column;
  }

  .guia-title{
    text-align: center;
  }

  .img-logo {
      width: 100%;
      margin-bottom: 1rem;
    }

    .video {
      
      height: 280px;
      padding: 0.5rem;
    }
    .modulos .modulo-item {
      width: 100%;
    }
    .modulo-item-cuatro{
    display: inline;
    background: var(--color-white);
    padding: 2rem 1rem;
    height: 100%;
    }

    .container-modulo{
      margin: 1rem;
    }
    .generalidades{
      height: 100%;
    }

  .modulo{
    display: block;
    top: 50%;
  }
  .modulo-item{
    height: 400px;
    padding: 1rem;
  }
  .video-modulo{
    height: 315px;
  }
   .logos{
      width: 20%;
  }
  .logos-exc{
      width: 17%;
  }
  .logos-cnsc{
      width: 30%;
      
    }

.franja{
  content: url(./asstes/img/franja2.png);
}

.modulos .logo-contraloria {
  top: 10px;

}

.nivel_ejemplo{
  flex-direction: column;
}

.input_ejemplo img{
  width: 100%;
}


}
@media (max-width: 1440px) {
  .generalidades{
      height: 100%;
    }

}
