/* Estilo para mantener barra de navegacion encima */ 
#header {
    position: fixed;
    top: 0;     
    left: 0;             
    width: 100%;          
    height: 60px;        
    background-color: #333; 
    color: white;      
    z-index: 1000;        
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
}

* {
    box-sizing: border-box;
}
html{
    font-size: 62.5%;
}


body {
    font-family: 'Titillium Web', Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
}

h1 {
    font-size: 4rem;
}
h2 {
    font-size: 4rem;
}
p {
 color: rgb(36, 131, 190);
 font-weight: lighter;
}

button{
    font-family: 'Titillium Web', Arial, sans-serif;
    font-size: 1.1em;
    font-weight:400;
    padding: 10px 30px;
    border-radius: 5px;
    border: 1px solid rgba(0, 242, 255, 0.8);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: white;
    background-color:#175473;
}

button:hover {
    border: 1px solid rgba(8, 82, 116, 0.8);
    color:#175473;
    background-color:#0deded;
}


.container {
    max-width: 1200px;
    margin: auto;
}

.whatsapp{

    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1;
    opacity: 0.6;
}

.whatsapp:hover{
    opacity: 1;
}



header {
    background: #EDF2F5;
    
}

header .logo {
    margin: 50px 0px 20px 0px;
    width: 80vw;
    height: 10vh;
    background-image: url("imagenes/INICIO/logo_haifumexico3.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
}

header .logo a{
    display: block;
    width: 100%;
    height: 60px;
}


header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin-bottom: 50px;
    background: linear-gradient(to top,  rgba(33,150,166,0.1),
    rgba(33,150,166, 0.5));
    width: 90vw;
    border-radius: 8px;
    border: 1px solid rgb(182, 235, 252);
  
}

header nav a {
    margin: 2px 0px;
    padding: 3px;
    width:auto;
    text-decoration: none;
    color: rgb(224, 224, 224);
    background-color:#175473;
    border-radius:5px;
    box-shadow:2px 2px 6px rgba(4, 11, 37, 0.3);
}

header nav a:hover {
    color:#175473;
    background-color: #0deded;
}

header .pleca {
    width: 100%;
    height: 12px;
    background: linear-gradient(to right, #2580C3, #2196A6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.menu-horizontal{
    list-style: none;
    display:flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #92ecf8;
    box-shadow: 0px 15px 20px rgba(8, 45, 73, 0.3);
    padding: 0;
   }

.menu-horizontal > li > a {
    display: block;
    padding: 15px 25px;
    color:#175473;
    text-decoration: none;
    display: block;
    border-bottom: solid #16c5d5 1px;
}
 
.menu-horizontal > li:hover{
    background-color:#0deded ;
}

.menu-vertical {
    position: absolute;
    display:none;
    list-style:none;
    margin-left: 150px;
    width: 250px;
    background-color:#175473;
    padding: 0;
}

.menu-horizontal li:hover .menu-vertical{
    display: block;
}

.menu-vertical li:hover{
    background-color:#2196A6;
}

.menu-vertical li a{
    display: block;
    color: #92ecf8;
    padding: 15px 15px 15px 15px;
    text-decoration: none;
    border-bottom: solid #16c5d5 1px;
    
}

/*BANNER*/

#baner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 50vh;
    background-image:
        linear-gradient(
        0deg,
        rgba(25, 185, 206, 0.5),
        rgba(223, 251, 255, 0.2)
    )
    ,
        url("imagenes/CONTACTO/cabecera_contacto.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center;
}


#baner h1 {
    font-size: 50px;
    line-height: 40px;
    margin: 0;
    color: rgb(255, 255, 255, 0.8);
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}



/*formulario*/



ul {
    list-style: none;
    padding: 0;
}

#formulario{
    background: #e6e6e6;

}



.content {
    max-width: 1200px;
    margin: auto;
   
}

.contact-wrapper > * {
    padding: 1em;
}

.contact-form {
    background: #e6e6e6;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form form label {
    display: block;
}

.contact-form form p {
    margin: 0;
    padding: 1em;
}

.contact-form form .block {
    grid-column: 1 / 3;
}


.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: .7em;
    border: none;
    background: none;
    outline: 0;
    color: rgb(168, 168, 168);
    border-bottom: 1px solid #3b93ec;
}



.contact-form h4 {
    text-align: left;
    margin: 3rem 0 3rem 1.2rem;
    font-weight: 400;
    color: #175473;
    font-size: 2.5rem;
  

}

.contact-form form button {
    width: 100%;
    background:#2196A6;
    border: 0;
    text-transform: uppercase;
    padding: 1em;
    color: #EDF2F5;
    margin-bottom: 50px;
}

.contact-form form button:hover,
.contact-form form button:focus {
    background:#0deded;
    color: #fff;
    transition: background-color 1s ease-out;
    outline: 0;
}

/* CONTACT INFO */
.contact-info {
    background: rgb(178, 219, 228);
    padding-bottom: 50px;
}
 .contact-info ul, .contact-info p {
    text-align: center;
    margin: 0 0 1rem 0;
    font-weight: 200;
    color: #175473;
   
}
.contact-info h4 {
    text-align: center;
    margin: 0 0 3rem 0;
    font-weight: 400;
    color: #175473;
    font-size: 2.5rem;
    margin-top: 20px;

}


.mapa  {
    margin: auto;
    
   border-top: 2px solid  rgb(178, 219, 228);
}








/*FOOTER*/


footer {

    background: linear-gradient(to top, #2580C3, #2196A6);
    color: white;
    
}

footer .container {

    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 40px;
    text-decoration: none;
}

footer nav {
    /* background-color: rgb(172, 4, 150); */
    order: 4;
    display: flex;
    flex-direction: column;
    text-align: center;  
}

footer .ubicacion {
    /* background-color: rgb(71, 172, 4); */   
}

footer .telefono {
    /* background-color: rgb(172, 63, 4); */ 
}

footer .correo {    
    /* background-color: rgb(14, 110, 234); */
 
}
footer .redes {
    
    order: 5; 
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  
}

.iconos  {
    width: 40px;
}
.iconos :hover{
    width: 45px;
    filter: brightness(0) saturate(100%)
    invert(79%) sepia(57%) saturate(1088%) hue-rotate(115deg) brightness(103%) contrast(90%);

}
footer nav a {
    margin:0;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: lighter;
}
footer p {
    margin:0;
    padding: 0px 60px;
    color: #92ecf8;
}
footer h3 {
    margin:0;
    font-weight:500;
 }

footer nav a:hover {
    color: #0deded;
    font-weight: 400;
 }
.h-line{
    border-bottom: solid #16c5d5 1px;
    width: 50%;

   }
@media (min-width: 760px){
    header{
        position: fixed;
        height: 120px;
        width: 100%;
        border-bottom: 1px solid #2196A6;
        box-shadow: 0px 10px 20px rgba(8, 45, 73, 0.3);
    }

    header .pleca {
        width: auto;
        height: 20px;
        background: linear-gradient(to right, #2580C3, #2196A6);
    }
    header .container{
        max-width: 1200px;
        flex-direction:row;
        justify-content:center;
        padding: 20px 30px;
        border-bottom: 2px,#175473;
        display: flex;
        flex-direction: column;
        align-items: center; 
        
    }
   
    header .logo {
        margin:0;
        padding: 0px;
        width: 100%;
        height: 60px;
        background-size:contain;
    }

    nav{
        max-width: 1200px;
        margin: auto;
        margin-top: 3px; 
       
    }

    .menu-horizontal{
        list-style: none;
        display:flex;
        flex-direction:row;
        justify-content: space-around;
        background-color: #92ecf8;
        box-shadow: 0px 15px 20px rgba(8, 45, 73, 0.3);
        padding: 0;
        border-radius:0px 0px 20px 20px; 
        
       }
    
    .menu-horizontal > li > a {
        display: block;
        padding: 15px 35px;
        color:#175473;
        text-decoration: none;
        border-bottom: 0px;
    }
     
    .menu-horizontal > li:hover{
        background-color:#0deded ;
        
    }
    .nos {
        border-radius: 0px 0px 0px 20px;

    }
    .contacto {
        border-radius: 0px 0px 20px 0px;

    }
    .menu-vertical {
        position: absolute;
        display: none;
        list-style:none;
        width: 250px;
        background-color:#175473;
        padding: 0;
        margin-left: 0px;
    }
    
    .menu-horizontal li:hover .menu-vertical{
        display: block;
    }

    .menu-vertical li:hover{
        background-color:#2196A6;
    }
 
    .menu-vertical li a{
        display: block;
        color: #92ecf8;
        padding: 15px 15px 15px 15px;
        text-decoration: none;
    }
    
    #baner {
         padding-top: 120px;
         height: 600px;
        
    }
    #baner h1 {
        font-size: 70px;
        line-height: 70px;
       
        margin: 0;
        color: rgb(255, 255, 255 .8);
        font-weight: bold;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    }


/*FROMULARIO*/

 
    .contact-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }
    .contact-wrapper > * {
        padding: 2em;
    }
    .contact-info h4,
    .contact-info ul,
    .contact-info p {
        text-align: left;
    }




    .mapa  {

        max-width: 1200px;
        margin: auto;
       
    
    }





    footer .container {

        display: flex;
        flex-direction:row;
        text-align:center;
        align-items:center;
        justify-content:center;
        gap: 10px;
        padding: 60px 20px;
        text-decoration: none;
       
    }

    footer nav {
        /* background-color: rgb(172, 4, 150); */
        order: 0;
        display: flex;
        flex-direction: column;
        text-align: left;  
        margin: 0px;
        padding: 0px 20px;
        font-size: 1.5rem;
    }

    footer p {
        margin:0;
        padding: 0;
        color: #92ecf8;
        font-size: 1.2rem;
    }
    footer h3{
        font-size: 1.5rem;
    }
    .h-line{
        border-bottom: solid #16c5d5 1px;
        width: 0px;
        border-left: solid #16c5d5 1px;
        height: 100px;
       }
    .ubicacion {
        padding: 0px 20px;
    }
       
    .telefono {
        padding: 0px 20px;
    }
    .telefono p {
        width:max-content;
    }
    .correo {
        padding: 0px 20px;
    }
    footer .redes {
        order: 5; 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0px 30px ;
    }
 
  
    .iconos  {
        width: 30px;
    }
    .iconos :hover{
        width: 30px;

    
    }
}

