/* Código original */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 10px;
    background: #333;
}

header nav ul li {
    margin: 0 12px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
}

.hero {
    text-align: center;
    padding: 50px;
    background: linear-gradient(45deg, #cc2323, #a50f0f);
    color: white;
}
.hero3 {
    text-align: center;
    padding: 10px;
    background: linear-gradient(45deg, #c90f0f, #92032e);
    color: white;
}

.videos {
    text-align: center;
    padding: 20px;
}

footer {
    bottom: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.social-icons a {
    margin: 0 10px;
    color: #333;
}

h2 {
    color: white;
}

.social-icons img {
    width: 30px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

h3 {
    font-size: 2em;
    color: #222;
}

h4 {
    color: #fff;
}

h5 {
    font-size: 1.5em;
    color: #222;
}

h6 {
    font-size: 1em;
    color: rgb(255, 37, 37);
}

a {
    color: #007BFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background: #333;
    color: #fff;
    padding: 10px 0;
}

main {
    max-width: 2000px;
    margin: 0 auto;
    padding-bottom: 0px; /* Ajusta para el espacio del footer */

}

.about-section {
    text-align: center;
    padding: 20px;
}

.about-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.about-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.about-section ul {
    list-style: disc inside;
    text-align: left;
    margin: 20px auto;
    max-width: 600px;
}

.blog-article {
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.blog-article h2 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.blog-article p {
    font-size: 1em;
    color: #666;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

form label {
    font-size: 1em;
    font-weight: bold;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    background: #007BFF;
    color: #fff;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #0056b3;
}

.centrar-texto {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    text-align: left;
}

/* Media Queries para compatibilidad con dispositivos móviles */
@media screen and (max-width: 768px) {
    header nav ul {
    display: flex;
    flex-direction: row;       /* Disposición en fila (horizontal) */
    justify-content: space-between; /* Espacio entre los elementos */
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .hero {
        padding: 30px 15px;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    form {
        padding: 0 15px;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 20px 10px;
        font-size: 1rem;
    }

    header nav ul li a {
        font-size: 1rem;
    }

    form input, form textarea, form button {
        font-size: 0.9rem;
    }

    .gallery img {
        border-radius: 5px;
    }
}

