.nav {
    height: 75px;
    position: fixed;
    width: 100vw;
    background: none;
    z-index: 50;
    transition: background-color 0.4s ease-out;
    /* border-bottom: 1px solid rgb(229 231 235); */
    /* background: #fff; */
}
.nav.nav_solid {
    background-color: #fff;
}

.container {
    font-family: "Public sans", sans-serif;
    position: relative;
    height: 100%;
    width: 85%;
    /* max-width:1900px; */
    max-width: 1500px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo img {
    width: 45px;
    margin-right: 10px;
}

.logo_text {
    font-family: "Public sans", "Roboto", sans-serif;
    font-weight: 500;
    font-size: 22px;
    opacity: 0.8;
    transition: opacity 0.3s ease-out;
    color: #fff;
}
.nav.nav_solid .logo_text {
    color: #000;
}
.logo_text_black {
    color: #000;
}

.logo:hover .logo_text {
    opacity: 1;
}
.logo_text.light {
    color: #fff;
}
.nav_links {
    list-style: none;
    display: flex;
}
.nav_links li {
    position: relative;
    margin: 0px 15px;
    font-size: 14px;
}
.nav_links a {
    color: #000;
    opacity: 0.8;
    font-weight: 600;
    text-decoration: none;
}
.nav_links li:hover a {
    opacity: 1;
}
.nav_links li:first-child {
    margin-left: 0px;
}
.nav_links li:last-child {
    /* opacity: 1; */
    /* margin-left: 40px; */
    /* margin-right: 0px; */
}

.view_more {
    background: none;
    border: none;
    outline: none;
    color: #000;
    font-weight: 600;
    cursor: pointer;
}

.view_more_options {
    position: absolute;
    bottom: -200px;
    left: 0px;
    background: var(--secondary-color-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px;
    border-radius: 3px;
    box-shadow: 0px 0px 30px #111;
    opacity: 0;
    pointer-events: none;
    font-size: 12px;
    line-height: 1.1rem;
    transition: all 0.05s linear;
}

.view_more_options.active {
    opacity: 1;
    pointer-events: all;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 51;
    position: absolute;
    right: 0;
    background: none;
    border: none;
    outline: none;
    /* transform: translateX(50%); */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #fff;
    font-weight: 600;
    margin: 5px;
    transition: all 0.2s ease-out;
    outline: none;
    border: none;
}
.nav.nav_solid .hamburger div {
    background: #000;
}
.hamburger:active {
    outline: none;
}

.hamburger_active .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger_active .line2 {
    opacity: 0;
}
.hamburger_active .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile_menu {
    position: absolute;
    top: 0;
    left: 0;
    padding-top: 75px;
    list-style: none;
    height: 100vh;
    width: 100vw;
    background: var(--secondary-color);
    overflow-y: scroll;
    transform: perspective(500px) rotateX(-10deg);
    opacity: 0;
    pointer-events: none;
    transition: all 0.1s linear;
    transform-origin: top;
}
.mobile_menu.active {
    transform: perspective(500px) rotateX(0);
    opacity: 1;
    pointer-events: all;
}
.mobile_menu li a {
    opacity: 1;
    padding: 15px 0;
    font-size: 16px;
    transition: all 0.2s linear;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}
.mobile_menu li a:hover {
    background: var(--secondary-color-light);
}

.mobile_menu li a span {
    display: block;
    width: 85%;
    margin: auto;
}
.nested_mobile_menu {
    color: #fff;
    max-height: 0px;
    transition: max-height 0.4s ease-out;
    overflow: hidden;
    font-size: 15px;
}
.nested_mobile_menu.display {
    max-height: 200px;
}
.mobile_link {
    padding: 8px 0px;
    display: block;
    width: 75%;
    margin: auto;
}

.link {
    position: relative;
}
.menu {
    display: none;
    width: 200px;
}
.menu.display {
    z-index: 30;
    display: block;
    position: absolute;
    /* top: 75px; */
    top: 0px;
    width: 100%;
    height: 100vh;
    padding: 20px;
    left: 0px;
    pointer-events: all;
    opacity: 1;
    transition: all 0.4s ease-out;
    /* padding-top: 15px; */
    padding-top: 85px;
    background: #fff;
}
.menu.display .nested_links {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.link:hover .menu.display {
    opacity: 1;
    pointer-events: all;
}

.menu.display span {
    display: block;
    background: #fff;
    font-weight: 500;
    padding: 12px 10px;
    border-top: 1px solid rgb(229 231 235);
    border-left: 1px solid rgb(229 231 235);
    border-right: 1px solid rgb(229 231 235);
    cursor: pointer;
}
.menu.display span:hover {
    background: rgb(240, 239, 239);
}

.detail {
    display: flex;
    justify-content: space-between;
    width: 250px;
}
.detail p {
    font-size: 14px;
}
.detail button {
    background: none;
    font-family: "Public sans", sans-serif;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 500;
}
.detail button:hover {
    text-decoration: underline;
}

.get_started {
    font-family: "Public sans", sans-serif;
    background: var(--gradient);
    border: none;
    outline: none;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media screen and (max-width: 1100px) {
    .authenticated_actions {
        width: 160px;
    }
    .authenticated_actions li:last-child p {
        display: none;
    }
    .authenticated_actions li:last-child img {
        margin-right: 5px;
    }
}

@media screen and (max-width: 975px) {
    .logo {
        /* position: absolute; */
        z-index: 50;
    }
}

@media screen and (max-width: 800px) {
    .hamburger div {
        height: 2px;
        width: 20px;
        margin: 4px 0;
    }
    .hamburger_active .line1 {
        transform: rotate(-45deg) translate(-2px, 6px);
        background: #000;
        /* opacity: 0; */
    }
    .hamburger_active .line2 {
        opacity: 0;
    }
    .hamburger_active .line3 {
        background: #000;
        transform: rotate(45deg) translate(-2px, -6px);
    }
}

@media screen and (max-width: 920px) {
    .nav_links {
        display: none;
    }

    .hamburger {
        display: block;
    }
    .menu_mobile {
        display: none;
    }
    .get_started {
        width: 100%;
        padding: 15px 0px;
    }
    .detail {
        flex-direction: column;
        width: 100%;
    }
    .detail p {
        font-size: 18px;
        margin-bottom: 20px;
        text-align: center;
    }
    .detail button {
        color: #fff;
        background: var(--gradient);
        padding: 15px 0px;
        border-radius: 20px;
    }
    .detail button:hover {
        text-decoration: underline;
    }
}

@media screen and (max-width: 500px) {
    .logo img {
        width: 35px;
    }
    .logo p {
        font-size: 16px;
    }
}

@media screen and (max-width: 450px) {
    .logo p {
        font-size: 14px;
    }
}

@media screen and (max-width: 350px) {
    .container {
        width: 90%;
    }

    .logo img {
        width: 35px;
    }
    .logo p {
        font-size: 14px;
    }
}
@media screen and (max-width: 300px) {
    .logo p {
        font-size: 12px;
    }
}
