.MenuHamburguesa {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    width: 30px;
    height: 20px;
    cursor: pointer;
    transform: translateX(-12px);
}

.Line {
    height: 4px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
}

/* Animaciones para transformar la hamburguesa en una "X" */
.MenuHamburguesa.open .Line:nth-child(1) {
    transform: rotate(45deg);
    position: relative;
    top: 6px;
}

.MenuHamburguesa.open .Line:nth-child(2) {
    opacity: 0;
}

.MenuHamburguesa.open .Line:nth-child(3) {
    transform: rotate(-45deg);
    position: relative;
    top: -6px;
}



/* Contenido del menú desplegable */
.MenuHamburguesaContent {
    display: flex;
    flex-direction: column;
    padding: 38px 16px 6px 16px;
    position: fixed;
    align-items: center;
    top: 51px;
    gap: 10px;
    width: 87%;
    background-color: #0e0e0e58;
    backdrop-filter: blur(0.6rem);
    z-index: 998;
    opacity: 0;
    transform: translateY(-20%);
    transition: opacity ease-in 1.5s, opacity 0.5s ease-out, transform 1s ease-in-out;
    align-items: center;
    border-radius: 16px;
}

/* Menu para Hamburgesa */

.menusito{
    display: none;
}
.menusito2{
    display: none;
}

.menusec2{
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
}



@media (max-width: 728px) {
    .menusec{
        display: none;
    }
    .menucontact{
        display: none;
    }
    .MenuHamburguesa{
        display: flex;
    }
    .menusito{
        display: flex;
        gap: 32px;
        align-items: center;
    }
    .menusito2{
        display: flex;
        gap: 10px;
        align-items: center;
    }
    /* Mostrar contenido cuando se activa */
    .MenuHamburguesaContent.active {
        opacity: 1;
        transform: translateY(0);
    }
    .Sermenu{
        display: flex;
        justify-content: center;
        padding: 10px 0px;
        
        bottom: 0;
        background-color: rgba(9, 3, 26, 0.185);
        backdrop-filter: blur(0.8rem);
        width: 100%;
    }
}

