html, body, div, header, h1, h2{
    margin: 0;
    padding: 0;
}

body{
    font-family: "Inter", sans-serif;
}

.redes{
    position: fixed;
    top: 90px;
    left: 0;
    z-index: 9;
}

#facebook a{
    background-color: #ECF5F4;
    padding: 10px 25px;
    color: #C38C1F;
    font-size: 1.3em;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .6s;
    width: 55px;
}

#facebook a:hover{
    background-color:#C38C1F;
    color:#ECF5F4;
    padding: 10px 50px;
}

#tiktok a{
    background-color:#ECF5F4;
    padding: 10px 25px;
    color: #C38C1F;
    font-size: 1.3em;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .6s;
    width: 55px;
}

#tiktok a:hover{
    background-color:#C38C1F;
    color:#ECF5F4;
    padding: 10px 50px;
}

#whatsapp a{
    background-color: #ECF5F4;
    padding: 10px 25px;
    color: #C38C1F;
    font-size: 1.3em;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .6s;
    width: 55px;
}

#whatsapp a:hover{
    background-color:#C38C1F;
    color:#ECF5F4;
    padding: 10px 50px;
}


header{
    background-color: #336B91 ;
    width: 100%;
    height: 70px;
    position: fixed;
    z-index: 10;
    top: 0;
}

.top{
    width: 90%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.logo img{
    width: auto;
    height: 90px;
    display: flex;
}

.menuTop{
    width: 95%;
    height: 100%;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
}

.menuTop div a {
    color:    #ecf5f4;
    text-decoration: none;
    padding: 0 15px;
    text-transform: uppercase;
    font-size: .8em;
}

.menuTop div a:hover{
    color: #002952;
}


/* Estilos Inicio */
.banner{
    position: relative;
    width: 100%;
    height: 600px;
    background-image:url(../imagenes/banner_bloques.jpg) ;
    background-position: top;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000007b; 
  z-index: 1;
}

.bienvenido{
    position: absolute;
    color: #ECF5F4 ;
    text-align: left;
    padding: 5%;
    z-index: 2;
    font-size: 3.5em;
}

.inicio h2{
    text-align: center;
    color: #C38C1F;
    font-size: 3em;
    margin-top: 70px;
    font-family: "Raleway", sans-serif;
}

.inicio p{
    font-size: 1.5em;
    
}

.inicio{
    width: 80%;
    margin: 20px auto;
}


/*Footer*/
footer{
    background-color: #336B91;
    width: 100%;
    color: #ECF5F4;
    text-align: center;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.infos{
    justify-content: center;
    width: 100%;
    display: flex;    
}

.informacion{
    width: 25%;
    padding: 5px;
    justify-content: center; 
    border-bottom: 1px #C38C1F solid;
    margin-bottom: 5px;
}

.informacion i {
    margin-right: 8px;
    color: #C38C1F ; 
}

.informacion h5{
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 400;
    font-family: "Raleway", sans-serif;
}

.derechos h5{
    font-size: .8em;
}


/*Estilos Contacto*/
.titContacto{
    color: #002952;
    font-size: 3em;
    text-align: center;
    padding: 30px;
    margin-bottom: 0;
}

.formulario{
    max-width: 100%;
    width: 60%;
    margin: 0 auto;
    padding-bottom: 90px;
    overflow-x: hidden;
}

.form{
    width: 100%;
    height: 30px;
    border-radius: 5px;
    border: none;
    background-color: #00295211 ;
}

.form2{
    height: 200px;
}


/*Estilos Nosotros*/
.titNosotros{
    color: #002952;
    font-size: 3em;
    text-align: center;
    padding: 40px;
    margin-bottom: 0;
}

.ntexto{
    width: 80%;
    margin: 20px auto;
}

.ntexto p{
    font-size: 1.5em;

}

.carrusel{
    display: flex;
    flex-direction: row;    
    align-items: center;     

}

.clientes{
    font-size: 1.5em;
    text-align: center;
    max-width: 300px;
    margin-left: 400px;
    margin-top: -90px;
    color: #C38C1F;

}

/* Slider */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container{
    max-width: 500px;
    position: relative;
    padding: 40px;
    margin: 0 auto;
    text-align: center;
    margin-right: 400px;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  color: #002952;
  font-weight: bold;
  font-size: 24px;
  transition: 0.6s ease;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 10px;
  justify-content: right;
}

.prev{
  left: 10px;
  justify-content: left;
}

.prev:hover, .next:hover {
  color: #C38C1F;
}

/* The dots/bullets/indicators */

.dots{
    text-align: center;
    margin-top: 10px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #336B91;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #002952 ;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


/* Estilos Productos */
.titProductos{
    color: #002952;
    font-size: 3em;
    text-align: center;
    padding: 40px;
    margin-bottom: 0;
}

.columna{
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    padding: 90px;
    padding-top: 10px;
    max-width: 1200px;
    margin: auto;
}

.col{
    background-color: #ECF5F4;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.col img{
    width: 100%;
    height: 300px;
    object-fit: contain;
    display: block;
}

.col h3{
    font-size: 1.7em;
    color: #002952;
    margin: 0;
    text-align: center;
    margin-bottom: 40px;
    font-family: "Raleway", sans-serif;
}

.col p{
    text-align: center;
}


/* Estilos Servicios */

.titServicios{
    color: #002952;
    font-size: 3em;
    text-align: center;
    padding: 40px;
    margin-bottom: 0;
}

.galeria-servicios {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.galeria {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.fila-normal {
    flex-direction: row;
}

.fila-reversa {
    flex-direction: row-reverse;
}

.galeria h3 {
    width: 30%;
    font-size: 3em;
    color: #002952;
    text-align: center;
}

.foto {
    width: 65%;
    position: relative;
    overflow: hidden;
}

.foto img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.foto:hover img {
    transform: scale(1.1);
}

.servicios {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 100%;
    transform: translateY(-50%);
    background-color: #c38c1fb1;
    color: #002952 ;
    padding: 30px 0px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
    font-size: 1.5em;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.foto:hover .servicios {
    opacity: 1;
}



@media screen and (max-width: 760px){
    .redes{
        visibility: hidden;
        display: none;
    }

    header{
        height: auto;
        position: relative;
    }

    .top{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px;
    }

    .logo{
        width: 100%;
        padding: 5px 0;
        display: flex;
        justify-content: center;
    }

    .menuTop{
        width: 100%;
        padding: 10px 0;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 24px;
        min-width: 100px;
        text-align: center;
    }

    .banner{
        background-position: center 70px;
        height: 400px;
        margin-bottom: 50px;
    }


    .bienvenido {
        font-size: 2em; 
        padding: 30px;
    }


    .inicio h2 {
        font-size: 2em;
        margin-top: 20px;
    } 


    .inicio p {
        font-size: 1.1em;
    }
    
    .inicio {
        width: 85%;
        margin: 15px auto;
        
    }

    .ntexto p{
        font-size: 1.1em;
        
    }

    .ntexto{
        width: 85%;
        margin: 15px auto;
        
    }


    .carrusel {
        display: block;
        flex-direction: column; 
        align-items: center;     
        justify-content: center; 
        padding: 20px 10px;
        gap: 10px; 
    }

    .clientes {
        font-size: 1.1em;
        text-align: center;
        max-width: 400px;
        margin-left: 5px;
        margin-top: 0;
        justify-content: center;
    }


    .slideshow-container {
        max-width: 600px;
        width: 100%;
        position: relative;
        padding: 10px 70px;
        text-align: center;
    }

    .prev, .next {
        font-size: 15px;
        top: 40%;
    }

    .next {
    right: 40px;
    justify-content: right;
    }

    .prev{
    left: 40px;
    justify-content: left;
    }

    .col img{
    width: 100%;
    height: 100px;
    }   

    .columna{
        display: block;
    }

    .col{
        margin-top: 40px;
    }
    
    .col h3{
        margin-top: 10px;
        font-size: 1em;
        margin-bottom: 20px;
    }

    .col p{
        text-align: center;
        font-size: .8em;
    }

    .galeria {
        flex-direction: column !important; 
        align-items: center;
        text-align: center;
    }

    .galeria h3 {
        width: 100%;
        font-size: 1.5em;
        margin-bottom: 5px;
    }

    .foto {
        width: 100%;
    }

    .servicios {
        font-size: 1em;
        padding: 2px;
    }

    .informacion {
        width: auto;              
        padding: 3px 5px;
        text-decoration: none;    
        color: #ECF5F4;
    }

    .informacion h5 {
        font-size: 0.50em;   
        text-decoration: none;
        color: #ECF5F4;
         pointer-events: none;
    }

    .informacion i {
        font-size: 0.53em;         
    }

    .infos {
        justify-content: center;
        gap: 2px;
        text-decoration: none;                  
    }

    .derechos{
        font-size: 0.63em;
        margin-bottom: 5px;
    }

    .titContacto{
        font-size: 2.5em;
        margin-top: -80px;
        margin-bottom: 0;
    }

    .formulario {
        width: 90%;
    
    }

    .form {
        font-size: 1em;
        height: auto;
    }

    .titNosotros{
        font-size: 2.5em;
        margin-top: -80px;
        margin-bottom: -20px;
    }

    .titServicios{
        font-size: 2.5em;
        margin-top: -80px;
        margin-bottom: -60px;
    }

    .titProductos{
        font-size: 2.5em;
        margin-top: -80px;
      
    }
}


