body {
    font-family: 'Beaver', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #693c8d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

header h1 {
    Font-family: Copperplate, Copperplate Gothic Light, fantasy;
    text-align: center;
    font-size: 30pt;
}

header .logo {
    width: 70px;
    margin: 10px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    top: 20px;
    right: 20px;
    margin: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #693c8d;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
}

.nav-links li {
    margin: 15px 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

.nav-links.active {
    display: flex;
}

section {
    padding: 20px;
    margin: 20px;
    background-color: #a8ca7b;
    color: #693c8d;
}

.mapa {
    width: 560px;
    height: 314px;
}

h2 {
    text-align: center;
    font-family: Copperplate, "Copperplate Gothic Light", fantasy;;
    text-decoration: underline;
    font-weight: bold;
    font-size: 25pt;
}

#presentacion {
    background-color: #a8ca7b;
    color: #693c8d;
}

p{
    text-indent: 5%;
    font-family:'Times New Roman', Times, serif;
    font-size: 15pt;
}


.imagen {
    margin: 2%;
    width: 560px;
    height: 314px;
    cursor: pointer;
    transition: transform 0.3s;
}

.imagen:hover {
    transform: scale(1.1);
}

#modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

#modal-img {
    margin-top: 5%;
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#galeria {
    overflow: hidden;
}

#galeria ul{
    display: flex;
    width: 400%;
    animation: slide 20s infinite alternate ease-in-out;
}

#galeria li{
    width: 100%;
    list-style:none;
}

#galeria img{
    width: 90%;
}


@keyframes slide{
    0% {margin-left: 0;}
    20% {margin-left: 0;}

    25% {margin-left: -100%;}
    45% {margin-left: -100%;}

    50% {margin-left: -200%;}
    70% {margin-left: -200%;}

    75% {margin-left: -300%;}
    100% {margin-left: -300%;}
}


#contacto img{
    width: 30px;
    margin: 0 10px;
}


footer {
    clear: both;
    overflow: hidden;
    background-color: #7fb243;
    color: white;
    text-align: center;
}
#contactos{
    display: flex;
}


#redes{

    width: 50%;
    float: right;
    text-align: center;
}

#redes img {
    width: 40px;
    margin: 5px;
}

#telefonos{
    width: 50%;
    float: left;
    text-align: center;
}

#telefonos img{
    width: 30px;
}