body{
  align-items: center;
  flex-direction: column;
  padding-bottom: 20rem;
}

/* MAIN - INICIO */
.main{
  background-color: #cecece;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.main .bizclub{
  width: 50rem;
  height: 5rem;
  text-align: center;
  margin-left: 12rem;
  color: rgb(0, 0, 0);
  display: flex;
  font-size: 20px;
}

.main .bizclub .titulos{
  text-align: center;
  font-size: 30px;
}

.main .bizclub .bizclub_texto{
  text-align: start;
  font-size: 15px;
  background-color: #cecece;
  color: rgb(0, 0, 0);
}

.navegacion{
  margin-right: 10px; 
}

.navegacion label{
  text-decoration: none; 
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.user-name{
  margin-right: 10px; 
  text-decoration: none; 
  color: rgb(255, 255, 255);
  font-size: 14px;
}

.user-name:hover{
  border-bottom: 2px solid #c7c7c7;
  padding-bottom: 5px;
}

.contenedor_nocturno{
  width: 100%;
  display: flex;
  justify-content: flex-end;
  position: static;
}

a img{
  width: 50px;
  height: 50px;
}

.invertir-color{
  filter: invert(100%);
}

.content_conocenos{
  width: 100%;
  height: max-content;
  display: grid;
  place-items: center;
  background-color: #cecece;
}

.content_misionVision{
  width: 100%;
  height: max-content;
  display: grid;
  place-items: center;
  background-color: #bdbdbd;
}

.content_termiCondicion{
  width: 100%;
  height: max-content;
  display: grid;
  place-items: center;
  background-color: #cecece;
}

.content_serviciosTodo{
  width: 100%;
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bdbdbd;
  padding: 2rem 0;
  padding-bottom: 8rem;
}

.content_serviciosTodo .contenedor_servicios{
  position: relative;
  width: 100%; 
  max-width: 300px;
  height: 400px;
  max-height: 500px;
  margin: 0.5rem; 
}

.flex,  .contenedor_principal{
  display: flex;
}

.contenedor_principal{
  width: 80%;
  max-width: 1170px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 50px;
  overflow-x: hidden;
  padding: 4rem 0;
  margin: 4rem 0;
}

.contenedor_principal .contenedor_imagen {
  overflow: hidden;
  box-shadow: 0 5px 10px #000;
  border-radius: 15px;
}

.contenedor_principal .contenedor_imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
  border-radius: 15px;
  box-shadow: 0 5px 10px #000;
}

.contenedor_principal .contenedor_secundario{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 30px;
}

.contenedor_principal .contenedor_secundario span.texto_span{
  display: block;
  font-size: 20px;
  text-transform: capitalize;
  display: flex;
  justify-content: flex-start; 
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contenedor_principal .contenedor_secundario span.texto_span span{
  display: block;
  background-color: #202020;
  width: 70px;
  height: 5px;
}

.contenedor_principal .contenedor_secundario h2{
  font-size: 40px;
  font-weight: 700;
  color: rgb(38, 78, 139);
  padding-bottom: 20px;
}

.contenedor_principal .contenedor_secundario p{
  color: rgb(0, 0, 0);
  font-size: 16px;
  line-height: 25px;
  text-align: justify;
  padding-bottom: 25px;
}

.contenedor_principal .contenedor_secundario a{
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  background: rgb(38, 78, 139);
  color: white;
  font-size: 1.2rem;
  padding: 15px 40px;
  letter-spacing: 1px;
  user-select: none;
  border-radius: 1rem;
}

.contenedor_principal .contenedor_secundario a:hover {
  background: rgb(32, 66, 118);
  transform: scale(1);
  border-radius: 15px;
  box-shadow: 0 5px 10px #000;
}

.contenedor_principal .contenedor_secundario h3{
  font-size: 18px;
  font-weight: 700;
  color: rgb(0, 0, 0);
  padding-bottom: 20px;
}

.contenedor_servicios .servios{
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  transition: .5s;
}

.contenedor_servicios .front{
  opacity: 1; 
  box-shadow: 0 5px 10px #000;
}

.contenedor_servicios:hover .front{
  opacity: 0; 
}

.contenedor_servicios .back{
  opacity: 0; 
  background: rgb(38, 78, 139);
  padding: 15px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  font-size: 20px;
}

.contenedor_servicios:hover .back{
  opacity: 1; 
}

.contenedor_servicios .back .link_servicios{
  border-top: solid 1px #FFFFFF;
  height: 50px;
  line-height: 50px;
}

.contenedor_servicios .back .link_servicios a{
  color: white;
  font-size: 12px;
}

.contenedor_servicios .back h3{
  font-size: 17px;
  margin-top: 20px;
  letter-spacing: 2px;
}

.contenedor_servicios .back h3{
  letter-spacing: 1px;
}

.contenedor_servicios .back p{
  font-size: 12px;
}

.contenedor_todo_servicios{
  width: 100%;
  min-height: 0vh;
  display: grid;
  place-items: center;
  background-color: #cecece;
  padding-top: 5rem;
}

.div_imagenes{
  display: grid;
  grid-template-columns: 
    repeat(
      auto-fit, minmax(200px, 1fr)
    );
    gap: 20px;
}

.div_imagenes img:hover{
  opacity: 10%;
  transform: scale(0.95);
}

.container{
  width: 100%;
  max-width: 1100px;
  margin: auto;
  height: 5rem;
  margin-left: 0rem;
}

.container .btn-menu, .logo{
  float: left;
  line-height:50px;
}

.container .btn-menu label{
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.logo h1{
  color: #fff;
  font-weight: 400;
  font-size: 22px;
  margin-left: 10px;
}

.container .menu{
  float: right;
  line-height: 100px;
}

.container .menu a{
  display: inline-block;
  padding: 15px;
  line-height: normal;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  margin-right: 5px;
}

.container .menu a:hover{
  border-bottom: 2px solid #c7c7c7;
  padding-bottom: 5px;
}

#btn-menu{
  display: none;
}

.container-menu{
  position: absolute;
  background: rgba(0,0,0,0.5);
  width: 100%;
  height: 100vh;
  top: 0;left: 0;
  transition: all 500ms ease;
  opacity: 0;
  visibility: hidden;
}

#btn-menu:checked ~ .container-menu{
  opacity: 1;
  visibility: visible;
}

.cont-menu{
  width: 100%;
  max-width: 250px;
  background: #1c1c1c;
  height: 100vh;
  position: relative;
  transition: all 500ms ease;
  transform: translateX(-100%);
}

#btn-menu:checked ~ .container-menu .cont-menu{
  transform: translateX(0%);
}

.cont-menu nav{
  transform: translateY(15%);
}

.cont-menu nav a{
  display: block;
  text-decoration: none;
  padding: 20px;
  color: #c7c7c7;
  border-left: 5px solid transparent;
  transition: all 400ms ease;
  font-size: 15px;
}

.cont-menu nav a:hover{
  border-left: 5px solid #c7c7c7;
  background: #1f1f1f;
}

.navegacion:hover {
  border-bottom: 2px solid #c7c7c7;
  padding-bottom: 5px;
}

.cont-menu label{
  position: absolute;
  right: 5px;
  top: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.contenedor_texto2 {
  background-color: #004f78;
  width: 100%;
  height: 10rem;
  text-align: center;
  padding-top: 3rem;
}

.contenedor_texto2 h1{
  font-size: 3rem;
  color: white;
}

.contenedor_texto2 a {
  color: wheat;
  font-size: 1.5rem;
  padding: 1.2rem;
}

/* Para pantallas pequeñas (móviles) */
@media screen and (max-width: 768px) {
    
    body{
        padding-top: 10rem;
        max-width: 100vw;
    }
  
    .headerCli{
        height: 10rem;
        max-width: 100%;
    }
    
    .headerDiv1{
        height: 60%;
    }
    
    .headerDiv1 .divLogo{
        padding-left: 1rem;
    }
    
    .divLogo svg{
        width: 10rem;
    }
    
    .divPerfilGene{
        padding-right: 3.4rem;
    }
    
    .divPerfilGene .divPerfil{
        width: 4.4rem;
        height: 4.4rem;
    }
    
    .divPerfilGene .divPerfil .divImg{
        width: 4.4rem;
        height: 4.4rem;
    }
    
    .headerNav{
        height: 40%;
        position: relative;
    }
    
    .headerNav ul{
        width: 90%;
        margin-left: 1rem;
        padding-left: 0rem;
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: max-content;
        overflow-x: auto;
        overflow-y: hidden;
        position: relative;
        gap: .4rem;
    }
    
    .headerNav ul li a{
        border-radius: 0;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .headerNav ul::-webkit-scrollbar {
        -webkit-appearance: none;
        height: 0rem;
    }
    
    .main{
        max-width: 100%;
        margin: unset;
        padding: unset;
        overflow: hidden;
    }
    
    .content_conocenos{
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
    
    .content_conocenos .contenedor_principal{
        margin-top: 1rem;
    }
    
    .contenedor_principal{
        display: flex;
        flex-direction: column;
    }
    
    .contenedor_principal .contenedor_secundario{
        padding-left: 0;
    }
    
    .content_misionVision{
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
    
    .content_serviciosTodo{
        display: flex;
        flex-direction: row;
        max-width: 100%;
        flex-wrap: wrap;
    }
    
    .content_serviciosTodo .contenedor_servicios{
        width: 40%;
        max-width: 40%;
        height: 380px;
    }
    
    .content_termiCondicion{
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
  
}

/* Para pantallas extra pequeñas (móviles pequeños) */
@media screen and (max-width: 480px) {
    
    body{
        padding-top: 16rem;
        max-width: 100vw;
        padding-bottom: 22rem;
    }
  
    .headerCli{
        height: 16rem;
        max-width: 100%;
    }
    
    .headerDiv1{
        height: 74%;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .headerDiv1 .divLogo{
        padding: unset;
        height: max-content;
        position: absolute;
        top: 2rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .divPerfilGene{
        padding: unset;
        height: max-content;
        position: absolute;
        top: 6rem;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .divPerfilGene .divPerfil{
        width: 4.6rem;
        height: 4.6rem;
    }
    
    .divPerfilGene .divPerfil .divImg{
        width: 4.6rem;
        height: 4.6rem;
    }
    
    .headerNav{
        height: 26%;
        position: relative;
    }
    
    .divBtnInicioRegis{
        height: max-content;
        width: 100%;
        margin-top: 7rem;
        gap: 1rem;
    }
    
    .divBtnInicio{
        margin: 0;
        height: max-content;
    }
    
    .divBtnRegis{
        margin: 0;
        height: max-content;
    }
    
    .cuadroOPerfil2{
        width: 100%;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translate(-50%);
    }
    
    .cuadroOPerfil1{
        transition: none;
    }
    
    .content_serviciosTodo .contenedor_servicios{
        width: 80%;
        max-width: 80%;
        height: 340px;
    }
    
}

