.navbar {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: white;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 500;
    padding-inline: 100px;
    box-shadow: var(--shadow);
}

.navbar-logo {
    display: flex;
    align-items: center;
}
.navbar-logo img {
    height: 64px;
}

.navbar-links {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 3em;
}

.navbar-link, .navbar-open {
    text-decoration: none;
    font-size: 1em;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 400;
    position: relative;
    border: none;
    background: none;
    align-self: center;
    cursor: pointer;
    &.link_active::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--main);
        border-radius: 999px;
    }
}
.mobileNavbar {
    background: var(--lightGray);
    z-index: 1000;
    padding: 1.5em 25px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.mobileNavbar-title {
    font-size: 0.9em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5em;
    text-align: center;
    position: relative;
    &::before, &::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 25px;
        height: 4px;
        background: var(--main);
        translate: 0 -50%;
    }
    &::before { left: 0; }
    &::after { right: 0; }
}
.mobileNavbar-links {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    flex-wrap: wrap;
}
.mobileNavbar-link {
    text-decoration: none;
    font-size: 1em;
    padding: 0.3em 1em;
    font-weight: 400;
    background: var(--white);
    transition: color 0.3s;
    position: relative;
    width: fit-content;
    border-radius: 999px;
    &.link_active {
        outline: solid var(--main) 2px;
    }
}
.mobileNavbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
}

@media screen and (min-width: 1000px) {
    .navbar-logo-img.img_small { display: none; }
    .navbar-open { display: none; }
}
@media screen and (min-width: 850px) and (max-width: 999px) {
    .navbar-logo-img.img_large { display: none; }
    .navbar-open { display: none; }
}
@media screen and (max-width: 849px) {
    .navbar-logo-img.img_small { display: none; }
    .navbar-links { display: none; }
}

@media screen and (max-width: 1100px) {
    .navbar {
        padding-inline: 25px;
    }
}