*{
    
}

/* Estilos del nav */
.header {
    width: 100%;
    height: 4rem;
}

.navbar {
    width: 100%;
    height: 4rem;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    position: relative;
}

.navbar__logo {
    height: 2.5rem;
}

.navbar::before {
    content: '';
    position: absolute;
    width: 98%;
    height: 1px;
    bottom: 0;
    background: #80808024;
    margin: 0 auto;
}

.navbar__ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.navbar__li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar__link {
    text-decoration: none;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    font-size: 16px;
}

.navbar__link::before {
    content: '';
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: var(--gold);
    position: absolute;
}

@keyframes fadeInLine {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}
.navbar__link:hover::before {
    animation: fadeInLine 0.5s ease-in-out;
    width: 100%;
}

.navbar__action {
    height: 2rem;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    visibility: hidden;
}

.navbar__action span {
    font-size: 2rem;
    color: var(--primary);
}

@keyframes FadeInHeight {
    from {
        height: 4rem;
        filter: blur(3px);
    }

    to {
        height: 100vh;
        filter: none;
    }
}

.navbar--show {
    animation: FadeInHeight 0.5s ease-in-out;
    position: absolute;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2024;
    flex-direction: column!important;
    align-items: center;
    justify-content: center;
}

.navbar--show .navbar__ul {
    display: flex;
    flex-direction: column;
}

.navbar--show .navbar__ul li {
    justify-content: center;
}

.navbar--show .navbar__logo {
    height: 5.5rem;
    margin-bottom: 2rem;
}

.show--action {
    display: flex;
    visibility: visible;
}

.navbar--show .navbar--close {
    position: absolute;
    top: 10px;
    right: 10px;
}

@media (max-width: 768px) {
    .navbar {
        flex-flow: row-reverse;
    }

    .navbar__ul {
        gap: 10px;
        display: none;
    }

    .navbar--menu {
        display: flex;
        visibility: visible;
    }
}