* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilo global */
body {
    font-family: 'Arial', sans-serif;
    background-color: #2b2b2b;
    color: #f0f0f0;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #f0f0f0;
}

/* Barra de navegación */
nav {
    background-color: #1b1b1b;
    padding: 1.1% 0;
    text-align: center;
}

nav a {
    margin: 0 15px;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #007BFF;
}

/* Encabezado */
header {
    background-image: url();
    background-size: cover;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    color: #00f7ff;
}

/* Sección de contenido principal */
.content {
    padding: 30px 20px;
    text-align: center;
    background-color: #1f1f1f;
}

.content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.content p {
    font-size: 1rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Pie de página */
footer {
    background-color: #1a1a1a;
    text-align: center;
    padding: 2px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    color: #999;
    font-size: 0.9rem;
}

/* Estilos de botones */
.btn {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
    transition: background-color 0.3s;
    text-align: center;
}

.btn:hover {
    background-color: #0056b3;
}

button {
    padding: 10px 40px;
    border: 2px solid #ffffff;
    font-size: 14px;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    color: white;
    outline: none;
    transition: all 300ms;
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 20px;
    
    
}

.myButton:hover {
    background: #e2d5d5;
    color: #333333;
}

.servicios {
    padding: 40px;
    background-color: #222;
    color: #fff;
    text-align: center;
}

.products {
    padding: 40px;
    background-color: #202020;
    color: #fff;
    text-align: center;
    height: auto;
}

.products h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    justify-items: center;
}

.product-item {
    background-color: #333;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-item:hover {
    transform: scale(1.05);
}

.product-item p {
    margin-top: 10px;
    font-size: 1.1em;
}

.img {
    width: 300px;
    height: 120px;
    padding: 10px 20px;
}
.imgcamion{
height: 99%;
width: 99%;



}



.container-img { 
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}






.letra {
    font-size: 24px;
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    color: rgb(55, 59, 59);
}

#texto-mostrado {
    margin-top: 20px;
    font-size: 20px;
    color: rgb(245, 245, 245);
}

.centrar {
    text-align: center;
}

.fondoblanco {
    background-color: white;
    color: black;
}

.izquierda {
    text-align: right;
}

.p {
    background-color: #454546;
    color: white;
}

.container {
    display: flex;
    justify-content: space-around;
    gap:10px;
    
    
}

.divblanco {
    background-color: #272727;
    color: white;
    text-align: center;
}



.certificados {
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    background-color: #292929;
}

.certificados p {
    padding: 35px;
    color: white;
    text-align: center;
}

.certificados h2 {
    color: white;
}

.container_certificados {
    display: flex;
    justify-content: space-around;
    gap: 5px;
    flex-wrap: wrap;
}

.imagenes_certificados_izq {
    height: 180px;
    width: 350px;
}

.imagenes_certificados_mid {
    height: 200px;
}

.imagenes_certificados_der {
    height: 110px;
    width: 300px;
    margin-left: 20px;
}

/* Clientes de la empresa */
.section_clientes {
    padding: 30px 10px;
    text-align: center;
    background-color: #2b2b2b;
}

.section_clientes h1 {
    text-align: center;
    color: white;
}

.clientes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-wrap: wrap;
}

.clientes_imagenes_1 {
    height: 150px;
    width: 150px;
}

.clientes_imagenes_3 {
    height: 100px;
}

.avalan {
    background-color: rgb(48, 48, 48);
    color: white;
    text-align: center;
    background-image: url(assets/img/);
    background-size: cover;
    padding: 50px 20px;
    text-align: center;
}

.logos_del_footer {
    height: 15px;
    width: 15px;
    transform: translateY(2px);
}

.selectiondescuento {
    text-align: center;
    background-color: rgb(59, 54, 54);
    color: white;
}

/* Oferta innovadora */ 
.flores {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
    padding: 20px;
    background-color: #222222;
}

.cuadrado {
    width: 100%;
    display: flex;
    height: auto;
    margin-bottom: 20px;
    justify-content: center; 
}

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

.text {
    background-color: rgb(63, 63, 63);
    width: 80%;
    height: auto;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Hasta aquí */

.contenedor-imagenes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #121212;
}

.imagen-izquierda {
    width: 300px;
    height: 120px;
    padding: 10px 20px;
}

.imagen-derecha {
    width: 100px;
    height: 100px;
}

.isosimg {
    height: 40%;
    width: 40%;
}

input{
    height: 25px;
    width: 130px;
}
    
    
    
    form {
        display: flex;
        flex-direction: column;
        width: 95%;
        height: 95%;
        max-width: 700px;
        max-height: 800px;
        margin: 0 auto;
        padding: 30px;
        border: 1px solid #ccc;
        border-radius: 10px;
        background-color: #7271717e;
    }
    
    label {
        margin-bottom: 5px;
        font-weight: bold;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
    }
    
    button {
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        background-color: #319fb3;
        color: white;
        font-size: 16px;
        cursor: pointer;
    }
    
    
    button:hover {
        background-color: #91e9ec;
    }
    
    
    

/* Media queries para hacerlo responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .product-gallery {
        grid-template-columns: 1fr;
    }

    .container-img {
        flex-direction: column;
        gap: 10px;
    }

    .container_cuadro_izq img,
    .container_cuadro_mid img,
    .container_cuadro_der img {
        width: 50%;
    }

    nav a {
        font-size: 16px;
        margin: 5px 10px;
    }

    input{
        height: 25px;
        width: 130px;
    }
}

@media (max-width: 480px) {
    .imagen-izquierda {
        width: 200px;
        height: 80px;
    }

    .imagen-derecha {
        width: 80px;
        height: 80px;
    }

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


    .container_cuadro_izq, 
    .container_cuadro_mid, 
    .container_cuadro_der {
        margin: 10px;
    }

    input{
        height: 25px;
        width: 130px;
    }
}



