@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: white;
    background-size: cover;
    background-position: center;
}

.side-bar {
    background: #1b1a1b;
    backdrop-filter: blur(15px);
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -250px;
    overflow-y: auto;
    transition: 0.6s ease;
    transition-property: left;
}

.side-bar::-webkit-scrollbar {
    width: 0px;
}

.side-bar.active {
    left: 0;
}

h1 {
    text-align: center;
    font-weight: 500;
    font-size: 25px;
    padding-bottom: 13px;
    font-family: sans-serif;
    letter-spacing: 2px;
}

.side-bar .menu {
    width: 100%;
    margin-top: 30px;
}

.side-bar .menu .item {
    position: relative;
    cursor: pointer;
}

.side-bar .menu .item a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    display: block;
    padding: 1px 10px;
    line-height: 36px;
}

.side-bar .menu .item a:hover {
    background: #33363a;
    transition: 0.3s ease;
}

.side-bar .menu .item i {
    margin-right: 15px;
}

.side-bar .menu .item a .dropdown {
    position: absolute;
    right: 0;
    margin: 20px;
    transition: 0.3s ease;
}

.side-bar .menu .item .sub-menu {
    background: #262627;
    display: none;
}

.side-bar .menu .item .sub-menu a {
    padding-left: 80px;
}

.rotate {
    transform: rotate(90deg);
}

.close-btn {
    position: absolute;
    color: #fff;
    font-size: 23px;
    right: 0px;
    margin: 15px;
    cursor: pointer;
}

.menu-btn {
    position: absolute;
    color: rgb(0, 0, 0);
    font-size: 35px;
    margin: 25px;
    cursor: pointer;
}

.main {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.main h1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 60px;
    text-align: center;
    line-height: 80px;
}

@media (max-width: 900px) {
    .main h1 {
        font-size: 40px;
        line-height: 60px;
    }
}
h1{
    background-color: white;
    font-family:fantasy ;
    color:rgb(195, 0, 255);
    font-size: 30px;
}
img {
    width: 100px;
    margin: 15px;
    border-radius: 0%;
    margin-left: 70px;
}

header {
    background: #33363a;
}


/*                NEW ONE               **/

.navbar1 {
    display: flex;
    align-items: center;
    background-color: #08397d;
    color: white;
    height: 100px;
    padding: 10px;
}


/* CSS for logo and brand name */

img {
    height: 50px;
    width: 80px;
}

.brand {
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
    color: yellow;
    margin-left: 20px;
}


/* CSS for menu */

.menu1 {
    list-style-type: none;
    display: flex;
    font-size: 20px;
}

.menu1 li {
    margin-right: 10px;
}

.menu1 li a {
    text-decoration: none;
    color: white;
}

.menu1 li a :active,
.menu1 li a:hover {
    background-color: #ffffff;
    color: rgb(235, 0, 0);
    font-size: 25px;
    text-decoration: underline;
}

.menu2 {
    list-style-type: none;
    display: flex;
    font-size: 18px;
}

.menu2 li {
    margin-right: 23px;
    margin-top: 30px;
}

.menu2 li a {
    text-decoration: none;
    color: white;
}


/* CSS for avatar dropdown */

.avatar {
    position: relative;
    margin-right: 20px;
    margin-top: 50px;

    cursor: pointer;
}

.avatar:hover {
    color: red;
}

.avatar img {
    width: 40px;
    height: 40px;
    margin-top: -50px;
    border-radius: 50%;
}

.avatar .dropdown1 {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1;
    display: none;
    background-color: #f8daf7;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 116, 50, 0.2);
}

.avatar .dropdown1 a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.avatar .dropdown1 a:hover {
    background-color: #edfcae;
}

.avatar:hover .dropdown1 {
    display: block;
}


/* CSS for user profile */

.user-profile {
    font-weight: bold;
    color: darkkhaki;
    margin-right: -120px;
}

.user-profile1 {
    text-align: center;
    background-color: #2b00ff;
    font-weight: bold;
}

@media screen and (max-width:719px) {
    .menu1,
    .avatar {
        display: none;
    }
    .logo,
    .user-profile {
        margin: 0;
    }
    .user-profile {
        display: block;
    }
    .user-profile1 {
        display: block;
    }
    .brand {
        font-size: 22px;
        font-weight: bold;
        margin-right: auto;
        color: yellow;
        margin-left: 20px;
    }
}