/* General Styles */
body {
    font-family: Arial, Helvetica, sans-serif;
    color: #482400;
    background: #E8CA86;
    margin: 0;
    padding: 0;
}

#main {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    padding-top: 0px;
    padding-left: 10px;
    padding-right: 10px;
}

#header {
    text-align: left;
    padding: 10px;
    background: #482400;
}

#menu {
    background: url('images/menubg.jpg') no-repeat center center;
    background-size: cover;
    color: #482400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;transition: color 0.3s ease; /* Transición suave del color */
}

#menu-list, #social-media {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-weight: bold; /* Letra en negrita */
    transition: color 0.3s ease; /* Transición suave del color */
}

#menu-list {
    justify-content: flex-start;
}

#social-media {
    justify-content: flex-end;
}

#menu-list li, #social-media li {
    margin: 0 10px;
}

#menu-list a {
    color: #482400;
    text-decoration: none;
    font-size: 16px;
}

#social-media img {
    width: 24px;
    height: 24px;
}
/* Slider Styles */
.banner {
    position: relative;
    max-width: 980px;
    height: 495px;
    overflow: hidden;
    margin: 10px auto;
}

.slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 495px; /* Altura fija */
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation a {
    color: white;
    font-size: 24px;
    padding: 10px;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.5);
}

.navigation a:hover {
    background: rgba(0, 0, 0, 0.7);
}

#content {
    margin: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 0; /* Elimina cualquier margen superior innecesario */
}

#left {
    width: 100%;
}

#post img {
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
    max-width: 40%;
    height: auto;
    text-align: justify;
}

.banner img {
    width: 100%;
    height: auto;
}

.info-section {
    padding: 20px;
    background-color: #E8CA86;
    border-top: 1px solid #ddd;
    text-align: justify;
}

.info-section ul {
    padding-left: 0;
}

.info-section li {
    list-style: none;
    margin-bottom: 10px;
}

.info-section img {
    vertical-align: middle;
    margin-right: 8px;
}

#footer {
    background: url('images/menubg.jpg') no-repeat center center;
    background-size: cover;
    color: #482400;
    text-align: center;
    padding: 10px 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* Responsive Styles */
.hamburger {
    display: none;
}

#menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
        margin-left: 10px;
    }

    #menu-list {
        display: none;
        flex-direction: column;
        text-align: left;
        width: 100%;
    }

    #menu-toggle:checked + .hamburger + #menu-list {
        display: flex;
    }

    #menu {
        flex-direction: column;
        align-items: flex-start;
    }

    #social-media {
        justify-content: flex-start;
        margin-top: 0;
        margin-left: 350px;
    }

    #right, #left {
        width: 100%;
    }
   /* Ajustes para el slider en móviles */
   .banner {
    height: auto; /* Permite que el slider se ajuste dinámicamente */
}

.slide {
    height: auto; /* Ajusta la altura al contenido */
}

.slide img {
    height: auto; /* Ajusta la altura de la imagen para móviles */
}
}
