body {
    overflow-x: hidden;
    margin: 0;
    
}


header {
    background: #c7ea46;
    height: 155px; /* Altura fija para el header */
    border-bottom: 6px solid #3a490a;
    box-shadow: 0px 8px 9px 0px rgba(0,0,0,0.2);
    z-index: 2;
    position: sticky;
}

.logo1{
    background-image: url(../imgs/logo_2.png);
    background-size: contain;
    background-repeat: no-repeat;
    min-height: 150px;
    background-position: center;
    position: relative;
    float: left;
    width: 320px;
}

.navbar {
    height: 100%;
    margin: 0;
    padding: 30px 0 0 0 !important;
}

.menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-grow: 1; /* Permite que el menú ocupe el espacio disponible */
    height: 100%;
}

.menu li {
    min-width: 20%;
}

.menu a {
    color: #3a490a;
    text-decoration: none;
    display: flex; /* Para centrar el texto verticalmente */
    align-items: center; /* Centrado vertical */
    justify-content: center; /* Centrado horizontal */
    height: 100%; /* Ocupa toda la altura del contenedor */
    font-family: "Iceland", serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(16px, 2vw, 24px);
    padding: 0 10px 0 10px;
}

.menu a:hover {
    color: #eaf5c6;
    text-decoration: none;
    background-color: #3a490a;
    border-radius: 26px 26px 0 0;
    box-shadow: 0px -8px 9px 0px rgba(0,0,0,0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    align-self: center; /* Alineado al centro verticalmente */
}

.bar {
    height: 3px;
    width: 25px;
    background: rgb(2 18 0);
    margin: 3px 0;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #3a490a;
    transition: left 0.3s ease;
    z-index: 20;
}

.sidebar ul {
    list-style: none;
    padding: 20px;
}

.sidebar a {
    color: #c7ea46;
    text-decoration: none;
}

.sidebar a:hover {
    color: #e7e7e7;
    text-decoration: none;
}

.lines{
    width: 100%;
    text-align: right;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .menu {
        display: none;
    }
    .menu-toggle {
        display: flex;
        align-items: flex-end;
    }
}