@font-face {
    font-family: oswaldbold;
    src: url(../fuentes/static/Oswald-Bold.ttf);
}

@font-face {
    font-family: oswaldlight;
    src: url(../fuentes/static/Oswald-ExtraLight.ttf);
}

@font-face {
    font-family: LaguSansBold;
    src: url(../fuentes/Lagu\ Sans\ Light.otf);
}



        .container_carrucel {
            display: flex;
            justify-content: center;
            width: 100%;
            padding: 20px;
            /* Añadí un poco de relleno para que no esté pegado a los bordes */
        }

        .carrusel {
            width: 100%;
            max-width: 1200px;
            /* Límite máximo para que no se haga muy grande */
            overflow: hidden;
            border-radius: 10px;
        }

        .carrusel-contenedor {
            display: flex;
            justify-content: space-between;
            animation: moverCarrusel 40s linear infinite alternate;
        }

        .imagen {
            width: 250px;
            /* Tamaño base de las imágenes */
            height: auto;
            object-fit: contain;
            border-radius: 10px;
        }

        /* Animación para mover el carrusel de ida y vuelta continuo */
        @keyframes moverCarrusel {
            0% {
                transform: translateX(-50%);
            }

            50% {
                transform: translateX(50%);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        /* Detener la animación cuando el cursor está encima */
        .carrusel:hover .carrusel-contenedor {
            animation-play-state: paused;
        }

        /* Responsividad para dispositivos más pequeños */
        @media (max-width: 768px) {
            .imagen {
                width: 200px;
                /* Ajustamos el tamaño de las imágenes en pantallas pequeñas */
            }
        }

        @media (max-width: 480px) {
            .imagen {
                width: 150px;
                /* Aún más pequeño en dispositivos muy pequeños */
            }

            .carrusel-contenedor {
                animation: moverCarrusel 30s linear infinite alternate;
                /* Aceleramos el movimiento en pantallas muy pequeñas */
            }
        }
                        .faq-container {
                            width: 100%;
                            padding: 40px;
                            background: #ffffff;
                            border-radius: 10px;
                            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                        }
strong {
    font-weight: 500; /* o 600, menos negrita que 700 (el valor por defecto) */
  }
                        .faq {
                      
                                   font-family: oswaldbold;
                            background: #ddd;
                            color: black;
                            font-size: 22px;
                            padding: 20px;
                            border-radius: 5px;
                            margin-bottom: 10px;
                            cursor: pointer;
                            transition: background 0.3s;
                        }

                        .faq:hover {
                            background: #bbb;
                        }

                        .answer {
                             
    font-family: oswaldlight;
                            display: none;
                            padding: 20px;
                            background: #ffffff;
                            border-left: 5px solid #333;
                            border-radius: 5px;
                            font-size: 20px;
                            margin-bottom: 10px;
                        }

                        @media screen and (max-width: 768px) {
                            .faq-container {
                                width: 100%;
                                padding: 10px;
                            }

                            .faq {
                                font-size: 18px;
                                padding: 15px;
                            }

                            .answer {
                                font-size: 16px;
                                padding: 15px;
                            }
                        }
                        
                        
                        
#img_principal {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}

.filtro {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.61);
    z-index: -5;
}

#img_principal figure {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -10;


}

#img_principal figure img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -10;
}

#img_principal h5 {
    color: rgb(255, 255, 255);
    font-size: 55px;
    margin-bottom: 20px;
    font-family: oswaldbold;
    font-weight: normal;
    letter-spacing: 0px;
}

#img_principal h6 {
    color: rgb(255, 255, 255);
    font-size: 30px;
    margin-bottom: 40px;
    font-family: oswaldlight;
    font-weight: normal;
    letter-spacing: 3px;

}


#descripcion_principal {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 90px;

}

#descripcion_principal h3 {
    padding-right: 20px;
    width: 30%;
    text-align: center;

    position: relative;
    font-family: oswaldbold;
    font-weight: normal;
}

#descripcion_principal h3::before {
    content: 'NOSOTROS';
    position: absolute;
    top: -50%;
    font-size: 15px;
    font-weight: 100;
    font-family: oswaldlight;

}

#descripcion_principal h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -50%;
    width: 20%;
    border-bottom: 3px solid rgb(10, 167, 224);


}

#descripcion_principal .texto {
    width: 90%;
}

#descripcion_principal .texto p {
    font-family: LaguSansBold;

    text-align: justify;
    line-height: 1.4;
}

.bold {
    font-weight: bolder;
}


/*  galeria principal */
.galeria {
    position: relative;
    display: flex;
    width: 100%;
    height: 500px;
    align-items: center;
    justify-content: space-evenly;
    z-index: 20;

}

.galeria figure {
    width: 28%;
    height: 100%;
    position: relative;

}

.galeria figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
filter: grayscale(50%);
}


.galeria figure:hover::after {
    color: rgb(10, 167, 224);
}



.galeria figure a {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items:flex-end;
}
.galeria figure a  h4{
 



    font-family: oswaldbold;
    font-weight: normal;
    letter-spacing: 2px;
    color: rgb(255, 255, 255);
    font-size: 22px;


margin-bottom: 30%;
    position: absolute;
  
    z-index: 20;

}


/*textos_borrables*/
.textos_borrables {
    position: relative;
    margin-top: 200px;
    width: 100%;
    height: 500px;

    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.textos_borrables .textos_borrables_sub {
    height: 200%;
    width: 50%;
    position: relative;
    bottom: 120%;
    z-index: 15;
    align-items: center;
    background-image: url("../imagenes/fondo_vertical.jpeg");
    
    padding-left: 0%;
}
.textos_borrables .textos_borrables_sub figure , .textos_borrables .textos_borrables_sub img {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
}

.textos_borrables .textos_borrables_sub .textos_borrables_sub_div {
    height: 80%;
    position: absolute;
    top: 65%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding-left: 10%;


}

.textos_borrables_sub_filtro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 167, 224, 0.253);
}

.textos_borrables .textos_borrables_sub div p,
.textos_borrables .textos_borrables_sub div h3 {

    color: rgb(255, 255, 255);
}

.textos_borrables .div {
    left: 0;
    position: absolute;
    width: 70%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 10%;
    z-index: 10;

}

.textos_borrables div p {
    width: 50%;
    font-family: LaguSansBold;
    color: rgb(255, 255, 255);
    text-align: justify;
    line-height: 1.6;
    margin: 30px 0px 30px 0px;
}

.textos_borrables div h3 {
    color: rgb(255, 255, 255);
    padding-right: 20px;
    width: 30%;
    text-align: left;
    padding-top: 10px;
    position: relative;
    font-family: oswaldbold;
    font-weight: normal;
    margin-bottom: 30px;

}

.textos_borrables div h3::before {
    content: 'NOSOTROS';
    position: absolute;
    top: -50%;
    font-size: 15px;
    font-weight: 100;
    font-family: oswaldlight;

}

.textos_borrables div h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -50%;
    width: 20%;
    border-bottom: 3px solid rgb(10, 167, 224);
}

.textos_borrables .textos_borrables_sub div h3::after {
    border-bottom: 3px solid rgb(255, 255, 255);
}

.textos_borrables div a {
    width: 150px;
    padding: 15px;
    font-size: 20px;
    text-align: center;
    background-color: transparent;

    border: solid 2px rgb(10, 167, 224);
    transition: background-color 0.2s, color 0.2s;
    text-decoration: none;
    color: rgb(10, 167, 224);
    font-family: oswaldbold;
    font-weight: normal;
}

.textos_borrables div a:hover {
    background-color: rgb(10, 167, 224);
    color: rgb(0, 0, 0);

}

/*nuestros_proyectos*/
.nuestros_proyectos {
    width: 100%;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.nuestros_proyectos h3 {
    margin-right: 20px;
    width: 200px;
    text-align: center;

    position: relative;
    font-family: oswaldbold;
    font-weight: normal;
}



.nuestros_proyectos h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -20%;
    width: 20%;
    border-bottom: 3px solid rgb(10, 167, 224);


}

.nuestros_proyectos p {
    margin-left: 20px;
    width: 60%;
    text-align: justify;
      font-family: LaguSansBold;
}

/*grid*/
.grid-container {
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(3, 400px);
    /* 3 columnas */
    grid-template-rows: repeat(2, 300px);
    /* 2 filas */
    gap: 15px;
    /* Espacio entre las cajas */
    width: 100%;
    height: auto;
    z-index: 16;
   
   
}

.grid-container a{
position: absolute;

}
.grid-container .item {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
  
}

.grid-container .item figure {
    width: 100%;
    height: 100%;

}
.grid-container .item figure a {
    width: 100%;
    height: 100%;
    font-family: oswaldbold;
    font-weight: normal;
    letter-spacing: 2px;
    color: rgb(0, 0, 0);
    font-size: 30px;

}
.grid-container .item img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.grid-container .item figure a::after{
text-align: center;
   
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 167, 224, 0.5);
   
        z-index: 12;
        
      transition: all 1s;
      transform:  translatey(100%);

}
.grid-container #AscensorHidraulico::after{
    content: "Ascenso Hidraulico";
}
.grid-container #Montaplatos::after{
    content: "Montaplatos";
}
.grid-container #AscensorHospitalario::after{
    content: "Ascenso Hospitalario";
}
.grid-container #Montacoches::after{
    content: "Montacoches";
}
.grid-container #AscensoresMediaCabina::after{
    content: "Ascensore Media Cabina";
}
.grid-container #EstructurasMetalicas::after{
    content: "Estructura Metalica";
}
.grid-container .item figure a:hover::after{
    transform:  translatey(50%);
}


.grid-container .item figure a::before{

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 167, 224, 0.5);
  
        z-index: 12;
        
      transition: all 1s;
      transform:  translatey(-100%);

}
.grid-container .item figure a:hover::before{
    transform:  translatey(-50%);
}

/*clientes*/
.clientes {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clientes .titulo {
    width: 30%;
    text-align: center;
}

.clientes .titulo h3 {
    margin-right: 20px;
    width: 300px;
    text-align: center;

    position: relative;
    font-family: oswaldbold;
    font-weight: normal;
}
.textos_borrables_sub_div
.clientes .titulo h3::before {
    content: 'NUESTROS';
    position: absolute;
    top: -50%;
    font-size: 15px;
    font-weight: 100;

    font-family: oswaldlight;

}

.clientes .titulo h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -50%;
    width: 20%;
    border-bottom: 3px solid rgb(10, 167, 224);


}

.clientes .img_clientes {
    width: 50%;

    padding: 15px;
    display: grid;
    grid-template-columns: repeat(2, 300px);
    /* 3 columnas */
    grid-template-rows: repeat(2, 100px);
    /* 2 filas */
    gap: 50px;
    /* Espacio entre las cajas */

}

.clientes .img_clientes figure {

    width: 300px;
    height: 120px;
}

.clientes .img_clientes figure img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
@media only screen and (max-width: 1250px) {

    .grid-container {
        
        grid-template-columns: repeat(3, 350px);
        /* 3 columnas */
        grid-template-rows: repeat(2, 300px);
        /* 2 filas */
       
    }
    .clientes .img_clientes {
      
        grid-template-columns: repeat(2, 250px);
        /* 3 columnas */
        grid-template-rows: repeat(2, 120px);
  
    
    }
.clientes .img_clientes figure {
    width: 250px;
    height: 120px;
}
}
@media only screen and (max-width: 1100px) {


    .textos_borrables .textos_borrables_sub .textos_borrables_sub_div p {
       width: 80%;
       
    }
    
    .grid-container {
        
        grid-template-columns: repeat(3, 300px);
        /* 3 columnas */
        grid-template-rows: repeat(2, 250px);
        /* 2 filas */
       
    }
}
@media only screen and (max-width: 1100px) {
    .clientes {
 
        flex-direction: column;
 
    }
    .clientes .img_clientes {
        align-items: center;
        flex-direction: column;
     justify-content: center;
            width: 80%;
        grid-template-columns: repeat(2, 250px);
        /* 3 columnas */
        grid-template-rows: repeat(2, 150px);
  
    
    }
.clientes .img_clientes figure {
    width: 250px;
    height: 150px;
}

}
@media only screen and (max-width: 1000px) {
    .grid-container {
        
        grid-template-columns: repeat(2, 350px);
        /* 3 columnas */
        grid-template-rows: repeat(3, 300px);
        /* 2 filas */
       
    }

}

@media only screen and (max-width: 900px) {
    .clientes {
        margin: 40px 0px;
       height: 100px;
       
    }
    
    #img_principal h5 {
     
        font-size: 45px;
    
      
    }
    

   
}
@media only screen and (max-width: 800px) {

    
#descripcion_principal h3::before {

    top: -60%;
   
}

#descripcion_principal h3::after {
  
    bottom: -20%;
    


}
    .textos_borrables {
        display: none;
    }
.galeria {
        flex-direction: column;
        width: 100%;
        height: auto;
        padding: 20px 0px;
    }
    .galeria figure {
        width: 100%;height: 500px;
    }
    #descripcion_principal {
        
       flex-direction: column;
    }
    #descripcion_principal h3 {
      
        width: 80%;
        margin-bottom: 60px;
        padding-top: 0px;
    }
    .nuestros_proyectos {
        flex-direction: column;
        height: auto;
    }
    
    .nuestros_proyectos h3 {
      
       
        margin-bottom: 30px;
        padding-top: 10px;
    }
    .grid-container {
        grid-template-columns: repeat(1, 100%);
        grid-template-rows: repeat(6, 300px);
        padding: 0px;
    }
    .clientes .img_clientes {
        align-items: center;
        flex-direction: column;
     justify-content: center;
            width: 80%;
        grid-template-columns: repeat(1, 300px);
        /* 3 columnas */
        grid-template-rows: repeat(4, 150px);
  
    
    }
.clientes .img_clientes figure {
    width: 100%;
    height: 150px;
}


.nuestros_proyectos p {
    width: 90%;
  
}
#descripcion_principal {

    width: 100%;
    padding: 90px 10px 90px 10px;

}
}

@media only screen and (max-width: 500px) {

       
#descripcion_principal h3::before {

    top: -20%;
   
}



    
    .clientes .titulo {
        width: 100%;
        position: relative;
        margin-bottom: 20px;
    }
    
    .clientes .titulo h3 {
   
    
      position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
    }

}
