#navbar {
    background: #050606;
    min-height: 65px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 0 clamp(12px, calc((100vw - 1300px) / 2), 48px);
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    margin-left: auto;
}

.navbar__menu {
    background: #050606;
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.navbar__item {
    -webkit-background-clip: text;
}

.navbar__link {
    -webkit-background-clip: text;
    text-decoration: none;
    font-weight: bold;
    justify-content: center;
    color: #f8efe4;
    display: block;
    padding: 10px 18px;
}

.navbar__link:hover {
    opacity: 75%;
    text-decoration-line: underline;
}

.navbar__title__container {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
    color: #f8efe4;
    background: #050606;
}

#navbar__title {
    -webkit-background-clip: text;
    display: flex;
    text-decoration: none;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
}

#navbar__title span {
    display: inline-block;
}

#navbar__title__img {
    height: 48px;
    -webkit-background-clip: text;
    background: transparent;
    transition: transform 0.2s ease;
}

#navbar__title__img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #navbar {
        flex-direction: column;
        justify-content: center;
        gap: 0;
        padding: 4px 8px 6px;
    }

    .navbar__title__container {
        justify-content: center;
        gap: 6px;
    }

    #navbar__title,
    .navbar__title__container {
        font-size: 1.25rem;
    }

    #navbar__title__img {
        height: 38px;
    }

    .navbar__container {
        width: 100%;
        justify-content: center;
    }

    .navbar__menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar__link {
        padding: 8px 12px;
    }
}