.navbar {
    top: 0;
    position: sticky;
    z-index: 400;
}

.navbar-header {

    transition: top 0.4s ease-in-out;
    background-color: var(--white);
}

.navbar-content {
    margin: 0 auto;
    max-width: 1680px;
    width: 100%;
    display: grid;
    z-index: 300;
}

/* NAVBAR ADVERTS SECTION */
.navbar-adverts {
    position: relative;
    height: 30px;
    width: 100%;
    overflow: hidden;
}

.adverts-container {
    display: flex;
    margin: auto;
    justify-content: space-evenly;
    align-items: center;
    gap: 50px;
    padding: 0 5vw;
    height: 100%;
}

.adverts-item {
    display: flex;
    position: relative;
    flex-direction: row;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.adverts-item a {
    font-size: 14px;
    line-height: 18px;
    font-family: "Dinpro", helvetica, arial, sans-serif;
    text-decoration: none;
    color: var(--navbar-advert-text);
}

.adverts-item span {
    position: relative;
    cursor: pointer;
    align-items: center;
    background-image: linear-gradient(transparent calc(100% - 1px), var(--navbar-advert-text) 1px);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    transition: color 0.2s, background-size .2s cubic-bezier(0.35, 0, 0.15, 1);
    white-space: nowrap;
    font-weight: 200;
}

.adverts-item span:hover {
    background-size: 100% 100%;
}

/* NAVBAR MAIN SECTION */

.navbar-menus {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.navbar-logo {
    line-height: 0;
}

.navbar-fog-logo {
    height: 70px;
    width: 70px;
}

.navbar-container {
    display: grid;
    grid-auto-flow: column;
    margin: 0 30px;
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.navbar-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 70px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.navbar-item a {
    text-align: center;
    color: var(--navbar-text);
    font-size: 16px;
    text-decoration: none;
    font-weight: 200;
}

.navbar-item:hover {
    color: var(--navbar-text);
    text-decoration: none;
    border-bottom: 2px solid;
}

.navbar-search-container {
    display: flex;
    flex-direction: column;
    justify-self: flex-end;
    align-self: center;
    width: 100%;
    max-width: 500px;
    padding: 0;
}

.navbar-search {
    position: relative;
    border: 1px solid var(--fog-blue);
    display: grid;
    justify-content: space-between;
    border-radius: 2px;
    width: 100%;
    z-index: 175;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "searchButton searchInput searchClear";
}

.navbar-search-input {
    background: transparent;
    min-width: 0;
    inset: 0;
    border: none;
    outline: none;
    padding: 0.5rem 0.75rem;
    transition: width 0.2s ease-in-out;
    z-index: 175;
    grid-area: searchInput;
}

.navbar-search-button {
    appearance: none;
    border-radius: 0;
    box-sizing: border-box;
    cursor: pointer;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-rendering: inherit;
    text-align: left;
    width: 38px;
    height: 38px;
    display: grid;
    align-items: center;
    justify-items: center;
    background-color: var(--fog-blue);
    color: var(--white);
    border: 0;
    grid-area: searchButton;
}

.navbar-search-delete-button {
    display: none;
    appearance: none;
    background-color: transparent;
    border: none;
    box-sizing: border-box;
    color: var(--navbar-advert-text);
    cursor: pointer;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-rendering: inherit;
    text-align: left;
    z-index: 200;
    opacity: 1;
    transition: 0.1s ease-in-out;
    transition-property: opacity, background-color;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-items: center;
    border-radius: 2px;
    grid-area: searchClear;
}

/* NAVBAR ACCOUNT SECTION*/

.navbar-acc-container {
    display: grid;
    grid-auto-flow: column;
    grid-area: iconnav;
    margin: auto;
    gap: 5px;
}

.navbar-acc-item {
    appearance: none;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    color: var(--navbar-advert-text);
    cursor: pointer;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    padding: 10px;
    text-decoration: none;
    text-rendering: inherit;
    display: grid;
    position: relative;
    aspect-ratio: 1;
    text-align: center;
    border-bottom: 2px solid transparent;
    height: 70px;
    width: 50px;
}

.navbar-acc-item svg {
    fill: var(--navbar-advert-text);
    height: 25px;
    width: 25px;
    margin: 0 auto;
}

.navbar-acc-text {
    font-family: "Dinpro", helvetica, arial, sans-serif;
    color: var(--black);
    font-size: 12px;
    line-height: 13px;
    display: block;
    white-space: nowrap;
    font-weight: 200;
}