.nav {
    height: 75px;
    position: fixed;
    width: 100vw;
    transition: background-color 0.4s ease-out;
    z-index: 50;
}
.nav.hitachi_nav {
    height: 16vh;
    /* min-height: 75px; */
}
.nav.nav_solid {
    background: rgb(17, 17, 17);
}

.container {
    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: "Poppins", "Roboto", sans-serif;
    font-weight: 300;
    font-size: 22px;
    opacity: 0.8;
    transition: all 0.3s ease-out;
}

.logo:hover .logo_text {
    opacity: 1;
}

.links {
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 40;
}

.links ul {
    display: flex;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
}

.page_links li {
    margin-right: 50px;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.page_links li.active {
    opacity: 1;
}
.page_links li:hover {
    opacity: 1;
}

.page_links li:last-child {
    margin-right: 0;
}

.actions {
    display: flex;
    align-items: center;
}
.marginRight {
    margin-right: 180px;
}

.actions li {
    cursor: pointer;
    margin-right: 50px;
}

.actions li:last-child {
    cursor: default;
    margin-right: 0px;
}

/* .actions li:first-child {
    margin-right: 50px;
} */

.sign_up {
    background: var(--gradient);
    padding: 10px 30px;
    border-radius: 25px;
    cursor: pointer;
}

.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;
    margin: 5px;
    transition: all 0.2s ease-out;
    outline: none;
    border: none;
}
.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);
}

.authenticated_actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* width: 230px; */
    margin-left: 50px;
    list-style: none;
}

.profilepic {
    height: 35px;
    width: 35px;
    border-radius: 50%;
}

.user_dropdown {
    position: absolute;
    background: var(--secondary-color);
    display: flex;
    flex-direction: column;
    width: 200px;
    top: 40px;
    right: 0;
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    pointer-events: none;
    transition: all 0.1s linear;
}
.user_dropdown.display {
    opacity: 1;
    pointer-events: all;
}
.user_dropdown span {
    padding: 10px 20px;
}
.user_dropdown span:hover {
    background: var(--secondary-color-light);
}

.auth_actions_mobile {
    margin-right: 60px;
    list-style: none;
    display: none;
}
.auth_actions_mobile li {
    margin: 0 10px;
    cursor: pointer;
    z-index: 50;
}

.hitachi_logo_container {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.hitachi_celebrityschool_logo {
    display: flex;
    align-items: center;
}
.hitachi_celebrityschool_logo img {
    width: 50%;
    max-width: 60px;
}

.auth_action_link_mobile {
    display: none;
}
.hitachi_logo {
    width: 120px;
    height: 40px;
    background: url("/static/images/clients/hitachi_logo.png") no-repeat center
        center/cover;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@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: 1024px) {
    .hitachi_celebrityschool_logo {
        /* margin-top: 3px; */
        flex-direction: column;
    }
    .hitachi_celebrityschool_logo img {
        width: 35px;
    }
    .hitachi_logo_container {
        width: 75%;
    }
    .nav.hitachi_nav {
        height: 75px;
    }
}

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

    .links {
        display: block;
        background: var(--secondary-color);
        position: fixed;
        z-index: 40;
        width: 100%;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform-style: preserve-3d;
        transform: perspective(500px) rotateX(-10deg);
        transform-origin: top;
        opacity: 0;
        pointer-events: none;
        /* transition: all 0.1s ease-out; */
        transition: all 0.1s linear;
        padding-top: 80px;
        overflow-y: scroll;
    }
    .links.active {
        opacity: 1;
        pointer-events: all;
        transform: perspective(500px) rotateX(0);
    }

    .links::-webkit-scrollbar {
        width: 3px;
    }
    .links::-webkit-scrollbar-track {
        background: inherit;
    }
    .links::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 10px;
    }
    .links ul li {
        width: 100%;
        opacity: 1;
        padding: 15px 0;
        font-size: 18px;
        transition: all 0.2s linear;
    }

    .links ul li span {
        display: block;
        width: 85%;
        margin: auto;
    }

    .links ul li:hover {
        background: var(--secondary-color-light);
    }

    .links ul {
        flex-direction: column;
    }
    .actions li {
        margin: auto;
    }
    .actions li:last-child {
        margin-top: 20px;
    }
    .actions li:last-child:hover {
        background: inherit;
    }

    .sign_up {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: block;
    }
    .page_links.notification_active {
        position: absolute;
        top: 125px;
        width: 100%;
    }
    .actions.notification_active {
        position: absolute;
        top: 125px;
        width: 100%;
    }
    .actions.marginRight {
        margin: 0;
    }
    .authenticated_actions {
        display: none !important;
    }
    .auth_action_link_mobile {
        display: block;
        padding: 15px 0;
    }
    .hitachi_logo_container {
        width: 65%;
    }
    .hitachi_celebrityschool_logo {
        /* margin-top: 3px; */
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 25%;
        transform: translate(-50%, -50%);
        /* background: red !important; */
    }
}

@media screen and (max-width: 800px) {
    .hamburger div {
        height: 2px;
        width: 20px;
        margin: 4px 0;
    }
    .hamburger_active .line1 {
        transform: rotate(-45deg) translate(-2px, 6px);
        /* opacity: 0; */
    }
    .hamburger_active .line2 {
        opacity: 0;
    }
    .hamburger_active .line3 {
        transform: rotate(45deg) translate(-2px, -6px);
    }
    .hitachi_celebrityschool_logo {
        /* margin-top: 3px; */
        flex-direction: column;
    }
    .hitachi_celebrityschool_logo img {
        width: 35px;
    }
    .hitachi_logo_container {
        width: 75%;
    }
    .nav.hitachi_nav {
        height: 65px;
    }
}

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

@media screen and (max-width: 520px) {
    .hitachi_logos_container {
        right: calc(2% + 5px) !important;
    }
    .nav.hitachi_nav {
        /* height: 100px; */
    }
    .hitachi_inspire_the_next img {
        /* max-width: 180px !important; */
    }
    .hitachi_systems_pvt_ltd {
        /* top: 37px !important; */
    }
    .hitachi_systems_pvt_ltd img {
        /* max-width: 180px !important; */
    }
}

@media screen and (max-width: 450px) {
    .hitachi_logo {
        width: 100px;
        left: 55%;
    }
    .hitachi_logo_container {
        width: 80%;
    }
    .hitachi_celebrityschool_logo {
        /* margin-top: 3px; */
        flex-direction: column;
    }
    .hitachi_celebrityschool_logo p {
        font-size: 12px !important;
    }
    .links ul li {
        font-size: 16px;
    }
}

@media screen and (max-width: 380px) {
    .nav.hitachi_nav {
        /* height: 75px; */
    }
    .hitachi_inspire_the_next {
        right: 5px !important;
    }
    .hitachi_inspire_the_next img {
        max-width: 120px !important;
    }
    .hitachi_systems_pvt_ltd {
        top: 25px !important;
        right: calc(2% - 1px) !important;
    }
    .hitachi_systems_pvt_ltd img {
        max-width: 120px !important;
    }
}

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

    .logo img {
        width: 35px;
    }
    .logo p {
        font-size: 14px;
    }
}

@media screen and (max-width: 300px) {
    .hitachi_logo {
        left: 60%;
    }
    .links ul li {
        font-size: 14px;
    }
}
