/* General Reset */
body,
h1,
h2,
p,
ul,
li,
a,
input,
textarea,
button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

/* Header Styles */
header {
    background-color: #094932;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #094932;
}

/* Main Section Styles */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

section {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h2 {
    margin-bottom: 1rem;
    color: #094932;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Special Paragraph Styles */
.special-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #094932;
    background-color: #f0f9f5;
    padding: 1rem;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Video Styles */
.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espaciado entre videos */
    justify-content: center; /* Centrar videos */
}

.video-container video {
    width: 200%;  /* Ocupa todo el ancho posible en pantallas pequeñas */
    max-width: 300px; /* Tamaño máximo para cada video */
    height: auto;
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra ligera */
}

@media (min-width: 600px) {
    .video-container {
        justify-content: space-evenly; /* Distribuye uniformemente */
    }

    .video-container video {
        max-width: 250px; /* Tamaño más pequeño en pantallas medianas */
    }
}

@media (min-width: 1024px) {
    .video-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 videos por fila */
        gap: 15px;
    }

    .video-container video {
        max-width: 100%; /* Que se ajuste al tamaño del grid */
    }
}


/* Map Styles */
#map {
    height: 400px;
    width: 100%;
    margin-top: 20px;
}

/* Contact Links Styles */
.contact-links {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #094932;
    border: 2px solid transparent;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.contact-links a:hover {
    color: #fff;
    background-color: #094932;
    border-color: #094932;
    transform: scale(1.05);
}

.contact-links a i {
    font-size: 22px;
    margin-right: 10px;
}

.contact-links a:hover i {
    color: #fff;
}

/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

label {
    font-weight: bold;
}

input,
textarea,
button {
    font-size: 1rem;
    padding: 0.5rem;
}
footer {
    background-color: #094932;  /* Color de fondo oscuro */
    color: #fff;  /* Texto en blanco para contraste */
    text-align: center;  /* Centrar el texto */
    padding: 15px 0;  /* Espaciado arriba y abajo */
    font-size: 16px;  /* Tamaño de fuente adecuado */
    position: relative;  /* Mantiene el pie de página en su flujo normal */
    bottom: 0;
    width: 100%;
}

/* Para mejorar la apariencia en pantallas pequeñas */
@media (max-width: 768px) {
    footer {
        font-size: 14px; /* Reduce el tamaño en dispositivos móviles */
    }
}