body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

header {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

nav {
    margin-top: 10px;
}

nav a {
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #0056b3;
}

.brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

.brand {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 10px;
    padding: 20px;
    width: 45%;
    box-sizing: border-box;
    transition: transform 0.2s;
    text-align: center;
}

.brand:hover {
    transform: scale(1.05);
}

.brand img {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.brand h2 {
    margin: 10px 0;
    font-size: 24px;
    color: #333;
}

.brand p {
    font-size: 16px;
    color: #777;
}

@media (max-width: 768px) {
    .brands {
        flex-direction: column;
        align-items: center;
    }

    .brand {
        width: 80%;
        margin: 10px 0;
    }

    .brand img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .brands {
        align-items: center;
    }

    .brand {
        width: 100%;
    }
}

#footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

#footer .contact {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

#footer .contact section {
    flex: 1;
    margin: 10px;
}

#footer .contact section h3 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

#footer .contact section p {
    margin: 0;
}

#footer .contact section a {
    color: #fff;
    text-decoration: none;
}

#footer .contact section a:hover {
    text-decoration: underline;
}

#copyright {
    background-color: #333; /* Fondo gris */
    color: rgba(255, 255, 255, 0.8); /* Texto blanco */
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.075em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    margin: 2rem auto; /* Ajustar el margen para mejor posición */
    width: calc(100% - 4rem);
    max-width: 72rem;
    z-index: 2;
    padding: 10px; /* Añadir relleno para un mejor espaciado */
}
