@import url('//fonts.googleapis.com/css2?family=Akronim&family=Poppins&family=ZCOOL+XiaoWei&display=swap');

/* font-family
font-family: 'Noto Sans', sans-serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Poppins', sans-serif;
font-family: 'Roboto', sans-serif;

*/

body {
    margin: 0;
    padding: 0;
}

.nav {
    width: 100%;
    height: 60px;
    left: 0px;
    top: 0px;
    margin: 0px;
    padding: 0px;
    position: relative;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}


/*website header */

.logo {
    width: 140px;
    position: relative;
    top: 0px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}


/*website logo css end */

.nav ul {
    position: absolute;
    width: 50%;
    top: 8px;
    left: 70%;
    transform: translateX(-50%);
    padding: 5px;
}

.nav ul li {
    position: relative;
    list-style: none;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    float: left;
}

.login {
    display: none;
}

.hack {
    display: none;
}

.nav ul li a {
    position: relative;
    padding: 8px;
    margin: 5px;
    color: black;
    font-size: 20px;
    font-family: 'Noto Sans', sans-serif;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    top: 0;
    left: 0;
}

.nav .menu-list li a:hover {
    background: black;
    color: white;
    text-decoration: none;
}

.nav .menu-list li a:before,
a:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 4px;
    bottom: -2px;
    background: #fff;
}

.nav .menu-list li a:before {
    left: 0;
}

.nav .menu-list li a:after {
    right: 0;
    background: #fb6b19;
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav .menu-list li a:hover:before {
    background: #fb6b19;
    width: 100%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.nav .menu-list li a:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
}

.menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 40px;
    background: #fff;
    cursor: pointer;
    z-index: 1;
    box-sizing: border-box;
    border-right: 1px solid rgba(0, 0, 0, .1);
}

.menu span {
    position: absolute;
    width: 30px;
    height: 2px;
    background: #262626;
    display: block;
    top: calc(50% - 1px);
    left: calc(50% - 15px);
    transition: 0.2s;
}

.menu span:nth-child(1) {
    transform: translateY(-10px);
}

.menu span:nth-child(3) {
    transform: translateY(10px);
}

.menu.active span:nth-child(1) {
    transform: translateY(0px) rotate(-45deg);
}

.menu.active span:nth-child(3) {
    transform: translateY(0px) rotate(45deg);
}

.menu.active span:nth-child(2) {
    transform: translateX(-30px);
    opacity: 0;
}


/* After Login */

.user {
    position: absolute;
    width: 13%;
    height: 100%;
    top: 0px;
    right: 0px;
}

.user .icon {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 8px;
    margin-left: 10%;
    margin: 0;
    padding: 0px;
}

.user .icon .user_image_info {
    width: 40px;
    height: 40px;
    top: 0px;
    float: right;
    right: 6px;
}

.user .icon .user_image_info .user_info {
    position: relative;
    left: 0px;
    margin: 10px 0px;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
}


/* Search Bar */

.nav .search-box {
    width: 24%;
    position: absolute;
    top: 5px;
    left: 28%;
    transform: translateX(-50%);
    height: 48px;
    border: none;
}

.nav .search-box .search-txt {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0px;
    padding-left: 45px;
    padding-right: 10px;
    margin: 0px;
    top: 0px;
    left: 0px;
    font-size: 15px;
    background-color: #e9e8e8;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    border: none;
    outline: none;
    transition: 0.5s;
}

.nav .search-box .search-btn {
    position: absolute;
    top: 0px;
    left: 10px;
    height: 100%;
    outline: none;
    background: none;
    color: #2c2b2b;
    transition: 0.5s;
    border: none;
    outline: none;
    font-size: 22px;
    height: 100%;
}

.nav .search-box .search-btn img {
    width: 28px;
}

.nav .search-box:focus {
    outline: none;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
}


/*search-box css end */

.user_information_sidebar {
    background-color: #2f3640;
    position: fixed;
    width: 250px;
    float: right;
    right: 0px;
    top: 0px;
    text-align: center;
    height: 100%;
    z-index: 99999;
    display: none;
}

.user_information_sidebar i {
    color: white;
    font-size: 40px;
    cursor: pointer;
    float: right;
}

.user_information_sidebar .image {
    position: relative;
    top: 0px;
    margin-top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    padding: 5px;
    background: #ffffff;
    border-radius: 2px;
}

.user_information_sidebar .image .user_info {
    position: relative;
    width: 100%;
    height: 100%;
}

.user_information_sidebar .image .online {
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #04B925;
}

.user_information_sidebar .user_name {
    position: relative;
    top: 10px;
    margin-top: 20px;
    color: white;
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
}

.user_information_sidebar li {
    position: relative;
    width: 100%;
    list-style: none;
    margin: 30px 0px;
    padding: 5px;
}

.user_information_sidebar li::before {
    position: absolute;
    display: block;
    content: '';
    height: 0;
    width: 0;
    border-bottom: 3px solid transparent;
    bottom: 0;
    left: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.user_information_sidebar li:hover {
    background: #2b313a;
}

.user_information_sidebar li:hover::before {
    pointer-events: none;
    display: block;
    height: 0px;
    width: 100%;
    border-bottom: 3px solid #3586ff;
    transition: width 0.1s linear 0.1s;
}

.user_information_sidebar li a {
    color: white;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
}


/*menu end css */

@media(max-width: 1150px) {
    .user {
        width: 16%;
    }
    .nav .search-box .search-btn img {
        width: 25px;
    }
}


/* mediam size */

@media only screen and (max-width: 990px) {
    .nav .logo {
        left: 55px;
    }
    .menu {
        display: block;
        z-index: 99999999;
    }
    .nav {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        z-index: 99999;
        background: white;
    }
    .menu-list.active {
        transform: translateX(0);
    }
    .menu-list {
        background: black;
    }
    .nav ul {
        position: fixed;
        width: 25%;
        height: 100%;
        transition: 0.5s;
        transform: translateX(-100%);
        z-index: 99999;
        list-style-type: none;
        padding: 0px;
        left: 0px;
        top: 0px;
        margin-top: 0px;
        padding-top: 0px;
        text-align: center;
    }
    .nav ul li {
        position: relative;
        list-style: none;
        top: 40px;
        left: 0px;
        margin: 10px 0px;
        padding: 0px;
        width: 100%;
        height: 30px;
        overflow: hidden;
    }
    .nav .menu-list li::before,
    .nav .menu-list li::after {
        content: '';
        position: absolute;
        width: 0%;
        height: 4px;
        bottom: -2px;
        background: #fff;
    }
    .nav .menu-list li:before {
        left: 0;
    }
    .nav .menu-list li:after {
        right: 0;
        background: #fb6b19;
        transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    .nav .menu-list li:before {
        left: 0;
    }
    .nav .menu-list li:after {
        right: 0;
        background: #fb6b19;
        transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    .nav .menu-list li:hover:before {
        background: #fb6b19;
        width: 100%;
        transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    .nav .menu-list li:hover:after {
        background: transparent;
        width: 100%;
        transition: 0s;
    }
    .nav ul li a {
        width: 100px;
        font-size: 18px;
        text-decoration: none;
        padding: 5px;
        color: white;
    }
    .nav .menu-list li a:after {
        background: none;
    }
    .nav .menu-list li a:hover:before {
        background: none;
    }
    .nav .menu-list li a:hover:after {
        background: none;
    }
    /* menu css end */
    /* Search Bar */
    .nav .search-box {
        width: 35%;
        position: absolute;
        left: 35%;
        z-index: 99;
    }
    .nav .search-box:focus {
        color: black;
        outline: none;
        box-shadow: 0 5px 5px rgba(0, 0, 0, .2);
    }
    /*search-box css end */
    .user {
        width: 18%;
    }
    .user_information_sidebar {
        margin-top: 0px;
        margin-left: 390px;
        display: none;
    }
    .user_information_sidebar .user_info {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 850px) {
    .user {
        width: 23%;
    }
}

@media(max-width: 650px) {
    .user {
        width: 26%;
    }
    .nav .search-box {
        left: 53%;
        width: 70%;
    }
    .nav ul {
        width: 30%;
    }
}


/* Modile size */

@media (max-width: 550px) {
    .nav ul {
        width: 30%;
    }
    .user {
        width: 10%;
    }
    /*search-box css end */
    .user .user_info {
        display: block;
        top: 2px;
        right: 6px;
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        z-index: 99999;
    }
    .user_information_sidebar {
        width: 180px;
        margin-top: 0px;
        margin-left: 390px;
        display: none;
    }
    .user_information_sidebar .user_info {
        width: 60px;
        height: 60px;
    }
    .user_information_sidebar b {
        color: white;
        margin: 0px 40px;
        font-size: 20px;
    }
}

@media(max-width: 450px) {
    .nav ul {
        width: 40%;
    }
}