/************************* Navigation *************************/
.navigation {
    position: fixed;
    padding: 40px;
    width: 100%;
    background-color: transparent;
    box-sizing: border-box;
    z-index: 50;
    transition: 0.2s all ease-in-out;
}

.navigation.show {
    background-color: var(--black);
    transition: 0.2s all ease-in-out;
}

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

.nav_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav_half {
    display: flex;
    align-items: center;
}

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

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

.navigation .container ul li {
    margin-right: 40px;
    /* font-weight: 300 !important; */
}

.navigation .container ul li a {
    color: var(--white);
    /* font-weight: 300 !important; */
    transition: 0.2s all ease-in-out;
}

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

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

.navigation_buttons {
    display: inline-flex;
    justify-content: end;
    margin-left: 40px;
}

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

.navigation_burger {
    padding: 12px;
}

.navigation_burger, 
.navigation_mobile_links {
    display: none;
}

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

/************************* SignUp Dropdown Menu *************************/
.dropdown_menu {
    position: absolute;
    background-color: var(--black);
    border: 2px solid var(--white);
    margin-top: 15px;
    padding: 15px;
    width: 178px;
    border-radius: 10px;
    right: 0;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    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;
}

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

.dropdown_menu .button_2 {
    width: 100%;
    padding: 0 15px;
}

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

.navigation .logged_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: 220px;
    height: 46px;
    position: absolute;
    /* top: 36px; */
    left: 50%;
    margin-left: -110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    background-color: transparent;
}

.mobile_logo {
    display: none;
}

.selected_nav {
    color: var(--beaver) !important;
    line-height: 0.5;
    margin-top: 16px;
}

.selected_nav::after {
    content: "";
    display: inline-block;
    width: 100%;
    background-color: var(--beaver);
    height: 1px;
    transition: transform 0.2s ease-out;
}

.mobile_button {
    display: none;
}

.navigation_mobile_links .button {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

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

    .spacer {
        height: 86px;
    }

    .navigation .logo {
        /* top: 19px;*/
        left: 0;
        margin-left: 0;
        width: 160px;
    }

    .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(--black);
        opacity: 1;
        visibility: visible;
        transition: all .5s ease 0s;
        z-index: 900;
        box-shadow: none;
        margin: 0;
    }
    
    .navigation_is_open .navigation_mobile_links {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        margin: -60px 0 0 0;
        height: calc(100% - 46px);
    }
    
    .navigation_is_open .navigation_mobile_links li a {
        margin: 2px auto;
        text-align: left;
        font-size: 40px;
        color: var(--white);
        font-family: 'Brockmann';
        text-transform: uppercase;
        opacity: 1;
        transition: all .3s ease 0s;
    }

    .navigation_is_open .navigation_mobile_links li a:hover {
        opacity: 0.7;
        transition: all .3s ease 0s;
    }

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

    .navigation_burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        position: relative;
        color: var(--white);
        background-color: var(--brown);
        border-radius: 5px;
        box-sizing: border-box;
        font-size: 1.0em;
        cursor: pointer;
        transition: 0.2s all ease-in-out;
        z-index: 999;
        margin-left: 20px;
    }

    .navigation_burger:hover {
        opacity: 0.96;
        transition: 0.2s all ease-in-out;
    }

    .navigation_buttons {
        width: max-content;
    }

    .selected_nav {
        color: var(--brown) !important;
        line-height: 1.6;
    }

    .selected_nav::after {
        display: none;
    }

    .navigation .user_icon,
    .navigation .logged_user_icon {
        display: flex;
    }

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

    .logo {
        margin-right: 0;
    }

    .navigation_is_open .logo .nav-cls-1 {
        stroke: var(--white);
    }
}

@media (max-width: 800px) {
    .desktop_button {
        display: none;
    }

    .mobile_button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        padding: 0;
    }

    .mobile_button i {
        margin: 0;
    }
}

@media (max-height: 630px) {
    .navigation_is_open .navigation_mobile_links li a {
        font-size: 24px;
        margin: 3px auto;
    }
}

@media (max-width: 500px) {
    .logo {
        display: none;
    }

    .mobile_logo {
        display: block !important;
        height: 46px;
        width: 41px;
        position: absolute;
        /* top: 20px;*/
        left: 0;
    }

    .navigation_mobile_links .button {
        width: calc(100% - 40px);
    }
}

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