* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}
body {
    overflow-x: hidden;
}
nav {
    height: 80px;
}

nav ul {
    width: 100%;
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav li, .icon-menu{
    height: 50px;
}
.link-item, .icon-menu, .link-item-sidebar{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: hsl(0, 0%, 100%);
    font-weight: 600;
    transition: 0.5s;
}
.link-item:hover, .link-item-sidebar:hover{
    border-radius: 10px;
    color: #ffffff;
}
.icon-menu {
    display: none;
}
nav li:first-child {
    margin-right: auto;
    display: flex;
    align-items: center;
}
nav a:first-child:hover {
    border: none;
}
#sidebar {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 300px;
    z-index: 999;
    background: linear-gradient(#004AAD, #5DE0E6);
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
#sidebar li {
    width: 100%;
    margin-top: 1em;
}
#sidebar a {
    width: 100%;
    color: #f2f2f2;
}
#sidebar a:hover {
    color: #000000;
    background: #fff;
}
#sidebar li:first-child {
    padding: 1em 1em 1.2em 0em;
    font-size: 2em;
    cursor: pointer;
}
#sidebar li:first-child > i {
    width: 100%;
    text-align: end;
}
#sidebar li:first-child > i:hover {
    color: #fff;
}
@media screen and (max-width: 800px){

    .link-item{
        display: none;
    }
    .icon-menu, .link-item-sidebar {
        display: flex;
    }
    .icon-menu {
        overflow-y: hidden;
        font-size: 36px;
        color: #fff;
        cursor: pointer;
        transition: 0.5s;
    }
    .icon-menu:hover{
        color: #fff;
        border-radius: 10px;
    }
    #sidebar{
        display: none;
    }
}