/*Estilos generales*/
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-image: url(imagenes/fondohijos.jpg);
    background-attachment: fixed;
    color: white;
    text-align: justify;
}
.titulos{
    color: whitesmoke;
    margin: 2%
}

.encabezado{
    font-family: space age, sans-serif;
  
    color: royalblue;
    text-shadow:
                0 0 7px #fff, /* Sombra blanca interna */
                0 0 10px #fff,
                0 0 10px #fff,
                0 0 20px #0fb, /* Resplandor neón*/
                0 0 20px #1F51FF,
                0 0 20px #1F51FF,
                0 0 20px #1F51FF,
                0 0 10px #1F51FF;

}
a{
   text-decoration: none;
    color: royalblue;
}
.encabezado:hover{
    color: dodgerblue;
    text-shadow:
                0 0 10px #fff, /* Sombra blanca interna */
                0 0 10px #fff,
                0 0 21px #fff,
                0 0 22px #0fb, /* Resplandor neón*/
                0 0 22px #1F51FF,
                0 0 22px #1F51FF,
                0 0 22px #1F51FF,
                0 0 21px #1F51FF;  
}
.logotipo{
    height: 70px;
    float: left;
    margin-left: 3%;
    margin-right: 2%;
  
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* con esta lina mantenemos las cajas alineadas*/
}
.contenedor_encabezado {
    width: 100%;
   
    overflow: hidden;
}

.contenedor {
    width: 80%;
    margin: auto;
    overflow: hidden;

}

/* Header */
.header { 
    color: #fff;
    padding-top: 16px; 
    padding-right: 0;  
    padding-bottom: 16px; 
    padding-left:0%; 
}
.header{
    border: solid;
    background-color: black;
    background-blend-mode:lighten  
        
        
}

.header h1 {
    float: left;
    font-size: 36px;
}

.nav-links {
    padding-right: 5%;
    float: right;
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
    margin-top: 5%;
    
}

.nav-links a {
    
    color: #fff;
    text-decoration: none;
    font-size: 20px;
}

.nav-links a:hover {
    color: #3a7de0;
    text-shadow: 0 0 8px #3a7de0;
    transition: all 0.5s ease;
    color: dodgerblue;
    text-shadow:
                0 0 10px #fff, /* Sombra blanca interna */
                0 0 30px #fff,
                0 0 41px #fff,
                0 0 52px #0fb, /* Resplandor neón*/
                0 0 92px #1F51FF,
                0 0 122px #1F51FF,
                0 0 202px #1F51FF,
                0 0 251px #1F51FF;  
}
.log{
    color: red;
}

/* contenedor de bienvenida */
.bienvenido {
    background-color: black;
    display: flex;
    align-items: center;
    
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
    margin-top: 6%;
    padding-bottom: 4%;
    border-radius: 30px;
  padding-top: 4%;
    box-shadow:
                0 0 7px #fff, /* Sombra blanca interna */
                0 0 10px #fff,
                0 0 21px #fff,
                0 0 42px #0fb, /* Resplandor neón*/
                0 0 82px #1F51FF,
                0 0 52px #1F51FF,
                0 0 2px #1F51FF,
                0 0 31px #1F51FF;      
}

.bienvenido h2 {
    font-size: 48px;
    margin-bottom: 1%;
}


    

.contenedor1{
    margin-left: 8%;
    margin-right: 8%;
    text-align: justify;
    font-size: 24px;
    margin-top: -5%;
    padding-top: 5%
    
    
}




/* Servicios */
.services, .products, .contact {
    padding: 35px 0;
}

.service-cards, .product-list {
    display: flex;

}
.card{
    box-shadow:
                0 0 2px #fff, /* Sombra blanca interna */
                0 0 5px #fff,
                0 0 1px #fff,
                0 0 2px #0fb, /* Resplandor neón*/
                0 0 2px #1F51FF,
                0 0 2px #1F51FF,
                0 0 2px #1F51FF,
                0 0 21px #1F51FF; 
}

.card, .product {
    padding: 20px;
    margin: 16px;
    border-radius: 5px;
    
    text-align: center;
    flex-grow: 1; /* para determinar el tamaño del elemento en relacion a los demas*/
    
    flex-basis: calc(33% - 32px); /*Con calc realizamos una operacion matematica, asi conseguimos que las cajas se vayan ajustando al espacio disponible*/
    background-color: black
}

.product img {
    max-width: 100%;
    height: auto;
}

}
.product:hover{
    transition: transform 0.3s ease; 
    transform: scale(1.08);
}

.card:hover{
    transition: transform 0.3s ease; 
    transform: scale(1.08);
}

/* Contacto*/
.glass-contenedor{
    text-align: center;
    margin-top: 3%;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 2%;
    padding-bottom:5%; 
    margin-bottom: 3%;
    backdrop-filter:blur(15px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    /*neon*/
    box-shadow:
                0 0 2px #fff, /* Sombra blanca interna */
                0 0 5px #fff,
                0 0 1px #fff,
                0 0 2px #0fb, /* Resplandor neón*/
                0 0 2px #1F51FF,
                0 0 2px #1F51FF,
                0 0 2px #1F51FF,
                0 0 21px #1F51FF;
}



.divisor{
    border-top: 1px solid #fff;
    margin-top: 10%;
    margin-bottom: 4%;
    margin-left: 10%;
    margin-right: 10%;
}
.contacto-item {
    margin-left: 2%;
    display: flex;          
    align-items: center;    
                
    margin-bottom: 10px;    
    text-align: left;
}
.maps{
    height: 30px;
    padding: %;
    margin: 1%;

}
.titulo_contacto{
    font-size: 3em;

    margin-bottom: 5%;
}

/*formulario*/

.contact form {
    display: flex;
    flex-direction: column;
    margin-bottom: 0%;
    margin-top: 5%
}
.grupo1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-left: 8%;
    margin-right: 8%;    

}

.nom{
    display: flex;
    flex-direction: column;


        
}
.nom label{
    font-weight: 700;
    margin-bottom: 9px;
    font-size: 0.95em;
    text-align: left;
    margin-left:5%

}


.mensaje{
    font-weight: 700;
    margin-bottom: 9px;
    font-size: 0.95em;
    text-align: left;
    margin-top: 1%;
    margin-left:10%

}



.contact input, .contact textarea, .mot {
    font-family: arial, sans-serif;
    margin-bottom: 1%;
    padding: 1%;
    border: 1px ;
    border-radius: 7px;
    resize: none;
    
    
}
.contact input{
    padding: 2%;
    margin-left: 5%;
    margin-right: 5%;
}
.contact textarea {
    margin-left: 10%;
    margin-right:10%;
    padding-bottom: 6%;
    
}
.mot{
    margin-top: 1%;
}
.grupo2{
    display: flex;
    flex-direction: column;
    display:grid;
    grid-template-columns: 9fr 9fr;
    margin-top: 2%;
    margin-left: 29%;
    margin-right: 29%; 
    

}
.motivo{
    font-weight: 700;
    margin-bottom: 9px;
    font-size: 0.95em;
    text-align: left;
    margin-top: 1%;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 2px;
    display: flex;
    flex-direction: column;
    font-family: arial, sans-serif;      

}


.btn:hover {
    background: #555;
    margin-right: 20%;
    margin-left: 20%;
     
}
.btn{
    margin-right: 20%;
    margin-left: 20%;
    padding-top: 1%;
    padding-bottom: 1%;
    border: 1px solid #ccc;
    border-radius: 7px;
    padding: 3%;
}

.horarios{
    border-top: 1px solid #fff;
    margin-left: 10%;
    margin-right: 10%;
    
}

/* footer*/

.reservados{
    background: #333;
    color: #fff;
    text-align: center;
    
  
}
.sociales{
    display: flex;
    margin-left: 42%

    
}
.logo{
    max-width: 90px;
    margin: 10%;
    margin-left: 15%;
    margin-right: 15%;
    
        
    

    
}

.academico{
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    text-align:center;
    max-width: 900px;
    line-height: 1.9;
    border-top: 1px solid #fff;
    padding-top: 15px;

}

/*Chatbot*/

/* Icono flotante */
#chat-icon {

    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #222;
    font-size: 22px;
    border-radius:200px ;
    cursor: pointer;
  
}
.chaki{

    width: 109px;
    padding-top: 9px;
    padding-right: 4px;
    padding-left: 6px;
}

/* Ventana emergente */
#chat-window {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 270px;
    background: white;
    border: 2px solid #ccc;
    font-family: Arial, sans-serif;
    border-radius: 20px;
   
    
  
  
}

#chat-header {
    background: #222;
    padding: 9px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 20px;
    
}

#chat-messages {
    height: 250px;
    padding: 5px;
    border-bottom: 1px solid #ccc;
    overflow-y: auto;
    
}

#chat-input {
    
    width: 94%;
    margin: 5px;
    border-radius: 20px;
    padding-left: 8px;
    
   
}


#chat-window button {
    width: 95%;
    margin: 5px;
    cursor: pointer;
    border-radius: 20px;
    
}

.user {
    color: green;
}

.bot {
    color: blue;
}