.h1 {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 700;
    font-size: 50px;
    font-style: normal;
}
h2, h3 {
    font-family: "Knewave", system-ui;
    font-weight: 1000;
    font-style: normal;
}
body, p {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
body {
    background-color: #f0f0f5;
}
header {
    background-color: #3e8e41;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header img {
    width: 100px;
    margin-right: 10px;
    margin-top: 5px;
}
header h1 {
    font-size: 24px;
    flex-grow: 1;
    text-align: center;
    margin: 0;
}
h2, h3 {
    text-align: center;
    color: #3e8e41;
}
h2 {
    font-size: 2.2em;
}
nav {
    background-color: #797b7aa7;
    display: flex;
    justify-content: center;
    margin-bottom: 20px 0;
    position: relative; 
    z-index: 10;
}
nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
nav a:hover {
    background-color: #33b637;
    color: white;
    border-radius: 0px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    overflow-x: auto;
}
.tabla {
    flex: 1;
    min-width: 300px;
    margin-bottom: 20px; 
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
th {
    background-color: #3e8e41;
    color: white;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}

@media (max-width: 1300px) {
    h2{
        font-size: 1.8em;
    }
    .img_alcalde{
        width: 35%;
    }
    p{
        font-size: 1.1em;
    }
    .contenedor {
        flex-direction: column; 
    }
    .tabla {
        flex-basis: 100%;
        margin-bottom: 40px; 
    }
}
@media screen and (max-width: 768px) {
    
}
.div_contenido{
    background-color: rgb(229, 233, 238); 
    padding: 40px; 
    padding-top: 5px;
    margin: 25px;
    border-radius: 15px;
}

.menu-toggle {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    padding: 15px;
    position: relative;
    z-index: 11;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: rgb(255, 255, 255);
    margin: 3px 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    text-align: center;
}

.nav-list li {
    padding: 15px;
}
.img_alcalde{
    width: 25%;
}

.primeros_divs{
    display: flex;
    width: 100%;
}
@media  screen and (max-width: 900px) {
    .primeros_divs{
        display: block;
    }
    .social-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .map-info {
        margin-top: 20px; 
        width: 100%; 
    }
    .social-links {
        flex-direction: row; 
        justify-content: center;
    }
}
@media screen and (max-width: 768px) {
    nav {
        display: block;
    }
    h2{
        font-size: 1.6em;
    }
    .img_alcalde{
        width: 45%;
    }
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #3e8e41;
        width: 80%;
        z-index: 10;
    }
    .nav-list.active {
        display: flex;
    }
    .nav-list li {
        width: 100%;
    }
    .nav-list.active a {
        color: white;
    }
    .menu-toggle {
        display: flex; 
    }
}

.slider-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.slider {
    position: relative;
    width: 1200px;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1; 
}
.slides {
    display: flex;
    transition: transform 0.5s ease;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
}
.slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}
.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.slider button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
.videoWrapper {
    position: relative;
    padding-bottom: 36.25%;
    height: 0;
    max-width: 100%;
    background-color: #000;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.div_social {
    text-align: center;
    padding: 5%;
    position: relative;
    background-color: rgba(33, 32, 32, 0.578);
    margin-left: -9.5%;
    margin-right: -9.5%;
}
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    opacity: 0.2;
}
.social-container {
    display: flex;
    justify-content: center;
    position: relative;
}
.social-links {
    display: flex;
    justify-content: center;
}
.social-links img {
    max-width: 50px;
    height: 50px;
    margin: 10px;
    object-fit: contain;
}

