* {
    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-color: #2b2b2b;
    padding: 50px 20px;
    text-align: center;
}
header h1 {
    font-size: 3rem;
    color: #1cb1d6;
    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: #ffffff;
}

.content h2 {
    font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
        color: #696969;
        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;

}
.button_archivo{
    padding: 10px 40px;
    border: 2px solid #ffffff;
    font-size: 14px;
    background: rgb(248, 15, 15);
    font-weight: 600;
    cursor: pointer;
    color: white;
    outline: none;
    transition: all 300ms;
    text-align: center;
}

.centrar{
    text-align: center;
}

.myButton:hover {
    background: #e2d5d5;
    color: #333333;
 }

.servicios {
    padding: 40px;
    background-color: #222;
    color: #fff;
    text-align: center;
}




.products {
    padding: 40px;
    background-color: #222;
    color: #fff;
    text-align: center;
}


.products h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1cb1d6;
}

.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;
}
    .container {
        display: flex;
        justify-content: space-around;
        gap:10px;
        color: rgb(255, 255, 255);
        padding: 20px 10px;
    }
    
    .container h3{
        padding: 20px 10px;
    }
  

    .container_cuadro_nuevo button {
        padding-bottom: 10px;
        position: relative;
        margin-bottom: 20px;
        }


.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;
}
.divblanco{
    background-color: #272727;color: whrite;
    text-align: center;
}


.logos_del_footer{
    height: 15px;
    width: 15px;
    transform: translateY(2px);
}

.contenedor-imagenes {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: #121212;
    object-fit: contain; /* Asegura que la imagen no se distorsione */
}

.imagen-izquierda {
    width: 300px;
    height: 120px;
    padding: 10px 20px;
}
.imagen-derecha{
    width: 100px;
    height: 100px;
    
}
.espaciovacio{
background-color: #242424;
}

.container-img { 
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.container_cuadro_izq,
.container_cuadro_mid,
.container_cuadro_der,
.container_cuadro_nuevo {
    flex: 1;
    margin: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column; /* Organiza imagen y texto en columna */
    align-items: center; /* Centra todo el contenido horizontalmente */
    justify-content: center; /* Centra todo el contenido verticalmente */
    border: 10px solid #72ade9;
    padding-bottom: 10px;
    padding: 2%;
}

.container_cuadro_izq img,
.container_cuadro_mid img,
.container_cuadro_der img,
.container_cuadro_nuevo_imagen {
    width: 200px;
    height: 250px;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain; /* Asegura que la imagen no se distorsione */
    margin-bottom: 10px; /* Espacio entre la imagen y el texto */
}
@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: 100%;
    }

    nav a {
        font-size: 16px;
        margin: 5px 10px;
    }
}

@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;
    }
}


