* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    transition: margin-top 0.3s ease;
    margin-top: 5em; /* Ajusta para que el contenido comience debajo del header fijo */
}

header {
    width: 100%;
    background-color: #2c888f;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 9em;
}

.contenedor-nav-img a img {
    width: 150px;
    height: auto;
}

.contenedor-nav-links {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    background-color: #2c888f;
    width: 100%;
    position: absolute;
    top: 5em; /* Aparece justo debajo del header fijo */
    left: 0;
}
.logo-header{
    height: 100%;


}
.navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
}

.nav-item {
    list-style: none;
}

.nav-item a {
    text-decoration: none;
    font-size: 20px;
    color: #fff;
}

.nav-item:hover a {
    color: #026e7f;
}

/* Estilos para el botón de menú hamburguesa */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

.contenedor-nav-links-compu{
    display: flex;
    flex-direction: row;
    background-color: #2c888f;
    width: auto;
}

.navbar-nav-compu{
    display: flex;
    flex-direction: row;
    gap: 1em;
}

/* Responsivo */
@media (max-width: 768px) {
    .contenedor-nav-links-compu{
        display: none;
    }

    header nav {
        padding: 1em;
    }

    .contenedor-nav-links.active {
        max-height: 200px;
    }

    .menu-toggle {
        display: block;
    }

    body.menu-open {
        margin-top: 200px; /* Ajusta según la altura del menú desplegable */
    }
}
