.navbar {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    font-size: var(--size_text);
}

.navbar_container {
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar_container.scrolled {
    transform: scale(0.95);
    top: 10px;
    font-size: calc(var(--size_text) * 0.9);
    backdrop-filter: blur(10px);
    background-color: var(--darker_background);
    border-radius: 15px;
}

.logo {
    height: 50px;
    display: flex;
    padding-left: 20px;
}

.nav_links {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
    font-weight: 500;
    margin: 0 20px;
    color: var(--text);
}

.nav_links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
}

.nav_links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    height: 2px;
    width: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav_links a:hover::after {
    width: 100%;
}

.nav-item.active {
    color: var(--accent);
    font-weight: bold;
}

.language {
    background-color: var(--accent);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 15px;
    font-weight: bold;
}

.language:hover {
    background-color: orange;
    transition: all 0.5s ease;
}