/************************* Navigation *************************/
.navigation {
    position: absolute;
    padding: 40px;
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
    z-index: 60;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.navigation .container h4 {
    margin: -10px 0 0 0;
    font-family: "adlery-pro-swash", sans-serif;
    font-weight: 700;
    font-style: normal;
    text-transform: capitalize;
    color: var(--grey);
}

.spacer {
    height: 96px;
    width: 100%;
}

.navigation .container ul {
    display: flex;
    align-items: center;
    margin: 0;
}

.navigation .container ul li {
    margin-right: 40px;
    font-weight: 500;
}

.navigation .container ul li a {
    color: var(--black);
    transition: 0.1s all ease-in-out;
}

.navigation .container ul li a:hover {
    color: var(--gold);
    transition: 0.1s all ease-in-out;
}

.navigation .container ul li:last-child {
    margin-right: 0;
}

.navigation_buttons {
    display: inline-flex;
    justify-content: end;
}

.navigation_buttons .button,
.navigation_buttons .button_2 {
    margin: 0;
}

.navigation_burger {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    padding: 12px;
    position: relative;
    color: var(--black);
    background-color: var(--light-grey);
    border: 2px solid var(--border-grey);
    box-sizing: border-box;
    font-size: 1.0em;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
    z-index: 999;
    margin-left: 25px;
} 

.navigation_mobile_links {
    display: none;
}

.counter_label,
.counter_label:active {
    position: absolute;
    margin-bottom: 0;
    font-size: 14px;
    top: -12px;
    right: -12px;
    width: 27px;
    height: 27px;
    margin-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    background-color: var(--gold);
    color: var(--white);
    transition: 0.2s all ease-in-out;
}

/************************* SignUp Dropdown Menu *************************/
.dropdown_menu {
    position: absolute;
    background-color: var(--white);
    border: 2px solid var(--border-grey);
    box-sizing: border-box;
    margin-top: 10px;
    padding: 15px;
    width: 160px;
    right: -2px;
    text-align: center;
    clip-path: circle(0% at 100% 0%);
    -webkit-clip-path: circle(0% at 100% 0%);
    transition: all 0.3s ease-in-out;
    z-index: 999;
    /* box-shadow: 0px 0px 19px #00000015; */
}

.logged_user_icon .dropdown_menu {
    width: 200px;
}

.dropdown_menu .button {
    width: 100%;
    margin-bottom: 15px;
}

.dropdown_menu .button_2 {
    width: 100%;
}

.dropdown_menu a:last-of-type {
    margin-bottom: 0px;
}

.logged_user_icon .dropdown_menu a:last-of-type {
    background-color: var(--gold);
    color: var(--black);
}
  
.navigation .user_icon,
.navigation .logged_user_icon {
    position: relative;
    background-color: var(--light-grey);
    border: 2px solid var(--border-grey);
    box-sizing: border-box;
    color: var(--black);
    width: 46px;
    height: 46px;
    font-size: 1.0em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    cursor: pointer;
    transition: 0.2s all ease-in-out;
}

.navigation .logged_user_icon,
.navigation .user_icon {
    margin-left: 25px;
    margin-right: 0;
}

.navigation .user_icon .dropdown_menu,
.navigation .logged_user_icon .dropdown_menu {
    top: 50px;
}

.navigation .user_icon:hover .dropdown_menu,
.navigation .logged_user_icon:hover .dropdown_menu,
.navigation .user_icon:focus .dropdown_menu,
.navigation .logged_user_icon:focus .dropdown_menu,
.navigation .user_icon:active .dropdown_menu,
.navigation .logged_user_icon:active .dropdown_menu,
.dropdown_menu.dropdown_show {
    clip-path: circle(100%);
    -webkit-clip-path: circle(100%);
}

/************************* Logo *************************/
.logo {
    width: 72px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
}

.logo svg {
    width: 72px;
    height: 62px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.selected_nav {
    color: var(--gold) !important;
}

.navigation .container ul {
    display: none;
}

.navigation_is_open {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
    align-items: center;
    flex-direction: column;
    background-color: var(--light-grey);
    opacity: 1;
    visibility: visible;
    transition: all .5s ease 0s;
    z-index: 50;
    box-shadow: none;
    margin: 0;
}

.navigation_is_open .navigation_mobile_links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(100vh - 192px + 25px);
    margin: 0 auto;
}

.navigation_is_open .navigation_mobile_links a h4 {
    margin: 2px auto;
    font-size: 24px;
    color: var(--black);
    font-style: normal;
    font-family: 'noah_grotesqueextrabold';
    text-transform: uppercase;
    transition: all .3s ease 0s;
}

.navigation_is_open .navigation_mobile_links a:hover {
    color: var(--gold);
    transition: all .3s ease 0s;
}

.navigation_mobile_links a:first-child {
    margin-top: 0;
}

.navigation_buttons {
    width: max-content;
}

.selected_nav {
    color: var(--light-blue) !important;
}

.navigation_is_open .user_icon,
.navigation_is_open .logged_user_icon,
.navigation_is_open .navigation_burger,
.navigation_is_open .square_button {
    background-color: var(--white);
    color: var(--black);
}

.scroll-lock {
	position: fixed;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

@media (max-width: 960px) {
    .navigation_is_open {
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .navigation_is_open .navigation_mobile_links {
        height: calc(100vh - 172px + 20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: max-content;
        margin-top: 20px;
        margin-bottom: 96px;
        width: 100%;
    }

    .navigation_is_open .container {
        padding: 25px;
        background-color: var(--light-grey);
        position: sticky;
        margin-top: -25px;
        margin-left: -25px;
        top: -25px;
        left: -25px;
        z-index: 999;
        width: 100%;
    }
}

@media (max-width: 800px) {
    .navigation {
        padding: 20px;
    }

    .spacer {
        height: 86px;
    }

    .desktop_button {
        display: none;
    }

    .navigation_burger,
    .navigation .logged_user_icon,
    .navigation .user_icon {
        margin-left: 20px;
    }

    .navigation_is_open .container {
        padding: 20px;
        margin-top: -20px;
        margin-left: -20px;
        top: -20px;
        left: -20px;
    }
}

@media (max-width: 500px) {
    .navigation_is_open .navigation_mobile_links {
        margin-top: 0px;
        margin-bottom: 86px;
    }
}