*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif
}

h1, h2, h3, h4, p{
    color: white;
}

h1{
    font-size: 2rem;
    padding-top: 15px;
    padding-bottom: 25px;
    text-align: center;
    margin: 20px;
}

h2{
    font-size: 1.8rem;
    padding-left: 15px;
    padding-bottom: 20px;
}

h3{
    padding-left: 30px;
    font-size: 1.6rem;
}
h4{
    padding-left: 60px;
    font-size: 1.4rem;
}
p{
    margin:5px;
    padding: 15px;
    font-size: 1.2rem;
}

/* Estilos de la barra de Menú */

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 64px;
    background-color: #a12d2dd8;
    font-size: 20px;

    position: relative
}

.navbar.logo{
    cursor: pointer;
}
.navbar .logo img{
    height: 80px;
    width: auto;
    transition: all 0.3s;
    border-radius: 75%;
}
.navbar .logo img:hover{
    transform: scale(1.2)
}

.nav-links{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    transition: all 0.5s ease;
}   

.nav-links li{
    margin-left: 24px;
    display: inline-block;
    padding: 0 20px;
}

.nav-links a{
    font-size: 17px;
    color: white;
    text-decoration: none;
    padding: 8px 24px;
    position: relative;
}

.nav-links li:hover{
    transform: scale(1.1);
}

.nav-links a::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, white, yellow, white); /* Gradiente de neón */
  z-index: -1;
  opacity: 0; /* Inicialmente oculto */
  transition: opacity 0.3s ease; /* Transición suave */
  border-radius: 5px; /* Bordes redondeados */
  filter: blur(20px); /* Efecto de desenfoque para el neón */
}

.nav-links li a:hover{
    color: yellow;
}

.nav-links li a:hover::before {
    opacity: 1; /* Mostrar el efecto neón al pasar el cursor */
}


.menu-icon{
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1;
}

.menu-icon .line{
    width: 30px;
    height: 3px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: all 0.3s ease;
}

#menu-toggle {
    display: none;
}


article{
    background-image: url(../img/Fondo.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-color: rgb(0, 0, 0, 0.7);
    width: 100%;
    height: auto;
}
#quienes-somos{
    background-image: url(../img/quienes-somos.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

#servicios{
    background-image: url(../img/servicios.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

/* Estilo del contenido de index.html*/


.texto{
    width: 100%;
    display: flex;
    max-width: 3100px;
    gap: 20px;
}

.texto .texto-izquierda{
    margin-left: 15px;
    width: 30%;
    height: 25%;
    text-align: justify;
    background-color: rgba(0, 0, 255, 0.6);
    border-radius: 20px;
    padding-top: 5px;
}
.texto-derecha{
    width: 70%;
    margin-left: 10px;
    margin-right: 15px;

    text-align: justify;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding-top: 5px;

}

/* Tarjetas */
.container{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.card{
    width: 25%;
    height: auto;
    margin: 40px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #a12d2dd8;
    box-shadow: 0px 1px 10px rgb(0, 0, 0, 0.2);
    cursor: default;
    transition: all 400ms ease;
}

.card:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-3%);
}

.card img{
    width: 100%;
    height: 210px;
}

.card .contenido{
    padding: 0px;
}
.card .contenido h3{
    display: block;
    width: auto;
    height: auto;
}
.card .contenido p{
    height: 250px;
    /*line-height: 70px;*/
    color: white;
}

/* Pie de la pagina */
.pie{
    background-color: #252424d8;
    padding: 20px;
}
.pie a{
    text-decoration: none;
    font-size: 20px;
    color: white;
}

video{
    border: 5px solid black;
    border-radius: 15px;
    box-shadow: 10px 10px 10px rgb(46, 44, 44);
    padding: 20px;
    margin:70px;
}

/* Pagina Soluciones */

.main-container{
    width: 100%;
    display: flex;
    max-width: 3100px;
    gap: 10px;
}
.main-container .container-izquierda{
    width: 50%;
    text-align: justify;
    
}
.main-container .container-derecha{
    width: 50%;
    text-align: justify;
}

.titulo-seccion1{
    
    margin-left: 15px;
    
    background-color: rgba(0, 0, 255, 0.6);
    border-radius: 20px;
    padding-top: 5px;
}
.titulo-seccion2{
    margin-left: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding-top: 5px;

}
.titulo-seccion3{
    margin-left: 15px;
    background-color: rgba(0, 0, 255, 0.6);
    border-radius: 20px;
    padding-top: 5px;

}
.titulo-seccion4{
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding-top: 5px;

}
.titulo-seccion5{
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding-top: 5px;

}
.titulo-seccion6{
    background-color: rgba(0, 0, 255, 0.6);
    border-radius: 20px;
    padding-top: 5px;

}


/* Servicios*/
.titulo-seccion{
    margin: 20px;
    text-align: center;
    background-color: rgba(0, 0,0, 0.6);
    border-radius: 20px;
    padding: 20px;
}
#final{
    text-align: left;
    background-color: rgba(0, 0, 0, 0.6);
}
.tabulado{
    text-indent: 40px;
}
#principal{
    margin-top:10px;
    margin-left: 50px;
    margin-right: 50px;
    
}

.software{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    margin: 10px;
    position:relative;
}
.software-imagen img{
    margin: 20px;
    width: 45%;
    height: 70%;
    
}
.software-texto{
    margin: 1%;
    text-align: justify;
    background-color: rgba(0, 0, 0, 0.6);
    /* Posicionar la caja de texto */
    width: 50%;
    height: 30%;
    max-height: 80%;
    position: absolute;
    top: 15%;
    left:42%;
}

.ciberseguridad{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 10px;
    position: relative;
   /* margin: auto; /* Para que el texto rodee la imagen.*/
}
.ciberseguridad-imagen img{
    margin: 20px;
    width: 45%;
    height: 100%;
}
.ciberseguridad-texto{
    margin-right: 10%;
    text-align: justify;
    background-color: rgba(0, 0, 255, 0.6);
    width: 50%;
    height: 60%;
    position: absolute;
    top:20%;
    left:40%;
}

.infraestructura{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    /*margin: auto;  Para que el texto rodee la imagen.*/
}
.infraestructura-imagen img{
    margin: 20px;
    width: 45%;
    height: 90%;
}
.infraestructura-texto{
    margin-right: 10%;
    text-align: justify;
    background-color: rgba(0, 0, 0, 0.6);
    /* Posicionar la caja de texto */
    width: 50%;
    height: 30%;
    position: absolute;
    top: 15%;
    left:42%;
}
.gestion{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.gestion-imagen img{
    margin: 20px;
    width: 40%;
    height: 85%;
}
.gestion-texto{
    margin-right: 100px;
    text-align: justify;
    background-color: rgba(0, 0, 255, 0.6);
    /* Posicionar la caja de texto */
    width: 50%;
    height: 40%;
    position: absolute;
    top: 15%;
    left:38%;
}
/* Accordion */
.accordion-content {
    display: none; /* Oculta el contenido inicialmente */
    padding: 10px;
    border: 1px solid #ccc;
    width: 50%;
    margin-left: 306px;
    background-color: rgba(49,162,238,0.8);
}

.accordion-content p{
    margin-left: 20px;
    font-size: 15px;
}

  
.accordion-header {
    width: 50%;
    padding: 10px;
    margin-left: 20%;
    color: rgb(23, 6, 39);
    background-color: rgba(240,240,240,0.9);
    border: none;
    text-align: left;
    cursor: pointer;
  }
  
.accordion-item {
    margin-bottom: 5px;
  }

/* Tarjetas contacto */
.container-contacto{
    width: 100%;
    height: 80%;
    display: flex;
    /*flex-wrap: wrap;*/
}

.card-contacto{
    width: 40%;
    margin: 40px;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(49, 162, 238, 0.7);
    box-shadow: 0px 1px 10px rgb(0, 0, 0, 0.6);
    cursor: default;
    transition: all 400ms ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-contacto img{
    width: 30px;
    height: 30px;
    margin-left: 20px;
    margin-top: 20px;
}

.card-contacto a{
    text-decoration: none;
    margin-left: 20px;
    color: white;
    font-size: 1.3rem;
}
.card-contacto:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.8);
    transform: translateY(-3%);
}

.llamar{
    display: inline-flex;
    margin: 10px;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.4);
    height: 20%;
}

.llamar .llamar-imagen-texto{
    display: inline-flex;
}
.llamar #telefono{
    margin: 10px;
}
.correo{
    display: flex;
    margin: 5px;
    border: 2px solid transparent;
    border-radius: 10px;
    background-color: rgba(0,0,0,0.4);
    height: 15%;
}

.correo .correo-imagen-texto{
    display:inline-flex;
}
.correo .web{
    margin:20px;
    padding: 10px;
}

.mapa{
    height: 50%;
}
.mapa iframe{
    width: 95%;
    height: 70%;
    margin-top: 0;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 10px;
}

.card-contacto-cliente{
    width: 60%;
    height: 60%;
    margin: 40px;
    margin-left: 100px;
    padding-left: 100px;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 1px 10px rgb(0, 0, 0, 0.6);
    cursor: default;
    transition: all 400ms ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-contacto-cliente:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.8);
    transform: translateY(-3%);
}

.card-contacto-cliente h2{
    margin-top: 35px;
    font-size: 25px;
    color: black;
}
.card-contacto-cliente p{
    margin: 5px;
    font-size: 17px;
    color: black;
}
.card-contacto-cliente label{
    color:transparent;
}

.input-container {
    position: relative;
    width: 250px; /* Ajusta el ancho según tus necesidades */
    margin-left: 30px;
}
  
.input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid black;
    border-radius: 4px;
    outline: none;
}
.input:focus::placeholder{
    color:transparent;
}
.label {
    position: absolute;
    top: 5px;
    left: 10px;
    color: #999;
    pointer-events: none; /* Permite hacer clic en el input a través del label */
    transition: 0.3s ease;
}

.input:focus + .label,
.input:not(:placeholder-shown) + .label {
    top: -10px;
    font-size: 17px;
    color: #333;
}
.boton{
    margin-left: 250px;
    margin-bottom: 30px;
    width: 80px;
    height: 30px;
    color:blueviolet;
    font-size: 15px;
}
.boton:hover{
    background-color: blueviolet;
    color:white;
}

@media(max-width: 1300px) {

    .software-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 25%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .software-texto #presentacion-software{
        font-size: 1.0rem;
    }
    .ciberseguridad-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 60%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .ciberseguridad-texto #presentacion-ciberseguridad{
        font-size: 1.0rem;
    }
    
    .infraestructura-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 30%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .infraestructura-texto #presentacion-infraestructura{
        font-size: 1.0rem;
    }

    .gestion-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 30%;
        position: absolute;
        top: 15%;
        left:38%;
    }    
    .gestion-texto #presentacion-gestion{
        font-size: 1.0rem;
    }


}
@media(max-width: 1100px) {

    .software-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 50%;
        position: absolute;
        top: 15%;
        left:42%;
    } 
    .software-texto #presentacion-ciberseguridad{
        font-size: 0.9rem;
    }

    .ciberseguridad-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 75%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .ciberseguridad-texto #presentacion-ciberseguridad{
        font-size: 0.9rem;
    }

    .infraestructura-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 30%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .infraestructura-texto #presentacion-infraestructura{
        font-size: 0.9rem;
    }

    .gestion-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 40%;
        position: absolute;
        top: 15%;
        left:38%;
    }    
    .gestion-texto #presentacion-gestion{
        font-size: 0.9rem;
    }


}

@media(max-width: 900px) {

    .software-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 40%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .software-texto #presentacion-software{
        font-size: 0.8rem;
    }
    .ciberseguridad-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 70%;
        position: absolute;
        top: 15%;
        left:38%;
    }    
    .ciberseguridad-texto #presentacion-ciberseguridad{
        font-size: 0.7rem;
    }

    .infraestructura-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 30%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .infraestructura-texto #presentacion-infraestructura{
        font-size: 0.7rem;
    }

    .gestion-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 50%;
        position: absolute;
        top: 15%;
        left:38%;
    }    
    .gestion-texto #presentacion-gestion{
        font-size: 0.85rem;
    }

}

@media(max-width: 768px){
    h1{
        font-size: 1.5rem;
    }
    h2{
        font-size: 1.2rem;
    }
    h3{
        font-size: 1rem;
    }
    h4{
        font-size: 0.8rem;
    }
    p{
        font-size: 0.7rem;
    }

    .software-texto{
        margin: 0%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 100%;
        position: absolute;
        top: 15%;
        left:42%;
    }
    .sofware-texto #presentacion-software{
        font-size: 0.65rem;
    }   

    .ciberseguridad-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 90%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .ciberseguridad-texto #presentacion-ciberseguridad{
        font-size: 0.65rem;
    }

    .infraestructura-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 0, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 50%;
        position: absolute;
        top: 15%;
        left:42%;
    }    
    .infraestructura-texto #presentacion-infraestructura{
        font-size: 0.65rem;
    }

    .gestion-texto{
        margin: 1%;
        text-align: justify;
        background-color: rgba(0, 0, 255, 0.6);
        /* Posicionar la caja de texto */
        width: 50%;
        height: 85%;
        position: absolute;
        top: 15%;
        left:38%;
    }    
    .gestion-texto #presentacion-gestion{
        font-size: 0.75rem;
    }

    .navbar{
        padding: 20px;
    }
    .menu-icon{
        display: flex;
    }
    .nav-links{
        position: absolute;
        top: 0px;
        right: 0px;
        width: 100%;
        height: 0;
        overflow: hidden;
        flex-direction: column;
        background-color: #424242;
        text-align: center;
        transition: height 0.5s ease;
    }

    .nav-links li{
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }

    .nav-links li:hover{
        transform: scale(1.1);
    }
    
    .nav-links a::before{
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(45deg, white, yellow, white); /* Gradiente de neón */
      z-index: -1;
      opacity: 0; /* Inicialmente oculto */
      transition: opacity 0.3s ease; /* Transición suave */
      border-radius: 5px; /* Bordes redondeados */
      filter: blur(20px); /* Efecto de desenfoque para el neón */
    }
    
    .nav-links li a:hover{
        color: yellow;
    }
    
    .nav-links li a:hover::before {
        opacity: 1; /* Mostrar el efecto neón al pasar el cursor */
    }
    

    .nav-links a{
       width: 100%;
       padding: 10px 20px; 
    }
    
    #menu-toggle:checked + .menu-icon + .nav-links{
        top:120px;
        height: 100vh;
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(1){
        transform: rotate(45deg) translate(15px, 3px);
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(2){
        transform: scale(0);
    }

    #menu-toggle:checked + .menu-icon .line:nth-child(3){
        transform: rotate(-45deg) translate(15px, -4px);
    }
}
