.navbar {
    display: flex;
    justify-content: space-between;
    background-color: black;
    position: sticky;
    top: 0;
    z-index: 2;
}

.logo {
    display: flex;
    padding: 1.5em;

}


.logo > i {
    color: #9333ea;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 0.5em;
}

.logo > a {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.navbar > ul {
    display: flex;
    padding: 1.5em;
}

.navbar > ul > li {
    margin: 0 1em;
    list-style: none;
}

.navbar > ul > li > a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

.navbar > ul > li > a:hover {
    color:#9333ea;
}

.navbar > ul > li > .color-active {
    color: #9333ea;
}


.responsive-menu {
    display: none;
}

.ham-menu {
    display: none;
}


@media only screen and (max-width: 870px) { 

    .navbar {
        flex-wrap: wrap;
    }
   
    .navbar > ul {
        display: none;
    }

    .ham-menu {
        display: flex; 
        padding: 1.5em;
    }

    .ham-menu > i {
        color: #9333ea;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .responsive-menu {
        display: none;
        width: 100%;
        padding: 0 2em 2em 2em;
        
    }

    .responsive-menu{
        display: none;
    }
    
    
    .responsive-menu.active{
        display: block;
    }
    
     
    .responsive-menu > ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: flex-end;
        align-items: self-end;
       
    }
    
    .responsive-menu > ul > li {
        list-style: none;
        margin: 0.5em;
        width: 60%;
       
       
    }
    
    .responsive-menu > ul > li > a {
        text-decoration:  none;
        color: white;
        font-size: 1rem;
        font-weight: bold;
        width: 100%;
        padding: 1em;
        border-radius: 1em;
        display: flex;
        justify-content: flex-end;
        background: rgb(0,0,0);
        background: linear-gradient(90deg, rgba(0,0,0,1) 10%, rgba(147,51,234,1) 68%); 
    }
   
    
    
    
}