@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
*{
    margin-top: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;


}

.logo{
    margin-top: 0;
    margin-left: 0;
    width: 120px;
}
.navbar{
    background-color: #282828;
    height: 60px;
    width: 100%;
    color: #fff;
    position: absolute;
    font-weight: 200;

}

.nav_container{
    display: flex;
    height: 100%;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}


.nav_label, .nav_input{
    display: none;
}

.nav_menu{
    display: grid;
    grid-auto-flow: column;
    gap: 3em;
}

.nav_item{
    color: #fff;
    text-decoration: none;
    --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%);

}
.nav_item:hover{
    --clippy: polygon(0 0, 100% 0, 100% 100%, 0 100%);

}


.nav_item::after{
    content: "";
    display: block;
    background: #E24444;
    width: 90%;
    margin-top: 3px;
    height: 3px;
    clip-path: var(--clippy);
    transition: clip-path 0.5s;
}

@media (max-width: 800px) {
    
    .nav_label{
        display: block;
        cursor: pointer;
    }

    .nav_item::after{
    background: #FFCC3B;
    }
     
    .nav_menu{
        position: fixed;
        top: 60px;
        bottom: 0;
        background: #E24444;
        width: 100%;
        left: 0;
        display: flex;
        justify-content: space-evenly ;
        flex-direction: column;
        align-items: center;
        clip-path: circle(0 at center);
        transition: clip-path  1s ease-in-out;
        z-index: 9999;

    }
    .nav_input:checked + .nav_menu{
        clip-path: circle(100% at center);
    }
}
