@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
}

/*Estilos titulo Productos y input buscar*/
.buscar-contenedor{     
    text-align: end;
    padding: 50px 50px 20px 0;
    width: 100%;
}

.buscar-contenedor h2{
    color: #9c058d;
    text-align: center;
    padding-bottom: 30px;
} 

.txt-buscar{
    width: 400px;
    height: 30px;
    border-radius: 10px;    
    padding: 8px;
    border: 1px solid #9c058d;
    transition: border-color 0.3s; 
}

.txt-buscar:focus {
    outline: none;
}

.btn-buscar{
    width: 30px;
    height: 30px;
    border-radius: 10px;  
    border: 1px solid #9c058d;
    background-color: #9c058d;     
    color: #fff;
}

.btn-buscar:hover{   
    background-color: #fff;     
    color: #9c058d;
    cursor: pointer;
}
/*Estilos titulo Productos y input buscar*/

/* Banner */
.envios-contenedor{
    display: flex; 
    flex-wrap: wrap;
    justify-content: center;
    padding: 30px 0;
    background: #9c058d;
    color:#fff;
}

.iconos-envios{
    color:rgb(210, 153, 30);
    font-size: 24px;
    padding: 0 7px;
}

.textos-envios{
    padding-right: 2%;
    border-right: 1px solid rgb(210, 153, 30) ;
}

.textos-envios h1{
    font-size: 20px;
    margin-bottom: 5px;
}

.textos-envios h4{
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
}

/* Banner */
/*Ofertas*/
.reparaciones-contenedor{
    display: flex; 
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;/*Alineación Horizontal*/
    align-content: center;/*Alineación Vertical*/
    margin: auto;
    padding: 50px;
    height: 600px;/*600*/
    color:#fff;
    background: #800080;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #ffc0cb, #800080);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #ffc0cb, #800080); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.textos-reparaciones, .galeria-reparaciones{
    max-width: 48%;
    margin: 0 auto;
}

.textos-reparaciones h1{
    width: 80%;
    font-size: 50px;
    font-family: 'Fjalla One', sans-serif;
    margin-bottom: 20px;
}

.textos-reparaciones h4{
    font-size: 30px;
    font-family: 'Fjalla One', sans-serif;
    margin-bottom: 30px;
}

.textos-reparaciones hr{
    border: 2px solid rgb(178, 126, 13);
    margin-bottom: 40px;
    width: 80%;
}

.textos-reparaciones-lista{
    font-size: 20px;
    font-family: 'Fjalla One', sans-serif;
    list-style: none;
}

.textos-reparaciones-lista i{
    color: rgb(178, 126, 13);
    padding-right: 10px;
} 

.galeria-reparaciones img{
    width: 100%;
    height: auto;
}
/*Ofertas*/

/*Nosotros*/
.section {
    padding: 50px 50px 10px 50px;
    background-color: #f4f4f4;
}

.section h2{
    color: #9c058d;
    text-align: center;
    padding-bottom: 30px;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 300px;
    text-align: center;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    margin: 20px auto;
    display: block;
    width: 250px;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin: 0 0 10px;
    font-weight: bold;
    color: #9c058d;
}

.card-content p {
    margin: 0;
    font-size: 14px;
    height: 270px;
    text-align: justify;
}
/*Nosotros*/

/*Marcas*/
    .marcas-contenedor{
        display: flex; 
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;/*Alineación Horizontal*/
        align-content: center;/*Alineación Vertical*/
        margin: auto;
        padding: 50px;
        height: 200px;
        background: #fff;  /* fallback for old browsers */
    }

    .textos-marcas{
        justify-content: center;/*Alineación Horizontal*/
        align-content: center;/*Alineación Vertical*/
        text-align: center;
        padding: 0 0 5px 0;
    }

    .textos-marcas h4{
        font-size: 18px;
        font-weight: 300;
    }

    .textos-marcas h2{
        color: #9c058d;
        text-align: center;
        padding-bottom: 30px;
    } 

    .img-logos{
        padding: 20px 30px;
    }
/*Marcas*/

@media only screen and (max-width: 1023px) {
/* Banner */
    .envios-contenedor{
        padding: 0;        
    }
  
    .textos-envios, .iconos-envios {
        padding-top: 20px;
    }

    .textos-envios h1 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .textos-envios h4 {
        font-size: 14px;
    }

    .iconos-envios {
        font-size: 20px;
        padding-left: 15px;
    }
/* Banner */
/*Ofertas*/
    .reparaciones-contenedor{
        height: 500px;
        padding: 30px;
    }

    .textos-reparaciones h1{
        font-size: 40px;
    }

    .textos-reparaciones h4{
        font-size: 25px;
    }

    .textos-reparaciones-lista{
        font-size: 18px;
    }
/*Ofertas*/
}

@media only screen and (max-width: 900px) {

    .reparaciones-contenedor{
        height: 100%;
        padding: 30px;
    }

    .textos-reparaciones, .galeria-reparaciones {
        width: 100%; /* Cambiado de 48% a 100% */
        max-width: 80%; /* Nueva propiedad para limitar el ancho máximo */        
        height: 100%;
    }

    .textos-reparaciones h1{
        width: 100%;
    }    
    
    .textos-reparaciones hr{
        width: 100%;
    }

    .galeria-reparaciones img{
        padding: 30px 0;
    }

    .marcas-contenedor{
        margin: 50px 0;
    }

    .img-logos{
        flex: 0 0 50%;
        max-width: 100%;
        text-align: center;      
    }    
    
}

@media (max-width: 768px) {
    .card {
        max-width: 100%;
    }
}

@media only screen and (max-width: 600px) {
    /*Estilos titulo Productos y input buscar*/
    .buscar-contenedor{     
        text-align: center;
        padding: 50px 0 20px 0;
    }

    .txt-buscar{
        width: 80%;
    }
    /*Estilos titulo Productos y input buscar*/

    .textos-reparaciones h1{
        font-size: 30px;
    }

    .textos-reparaciones h4{
        font-size: 20px;
    }

    .textos-reparaciones-lista{
        font-size: 16px;
    }

    .img-logos{
        flex: 0 0 100%;
    } 
    
    .marcas-contenedor{
        height: 400px;
    }

    .textos-marcas{
        padding: 30px 0 5px 0;
    }

    .textos-marcas h4{
        font-size: 16px;
    }

    .img-logos{
        padding: 20px 30px;
    }
}

@media only screen and (max-width: 768px) {
/* Banner */
    .textos-envios, .iconos-envios {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;               
    }

    .textos-envios h1 {
        font-size: 16px;
    }

    .textos-envios h4 {
        font-size: 11px;
        margin-bottom: 40px;
    }

    .textos-envios{
        padding: 0; 
        border-right: 0;
    }

    .iconos-envios {
        font-size: 20px;
        padding: 20px 0 5px 0; 
    }
/* Banner */
}