#menu-bar{
    display: none;
    
}

label {
    float: right;
    font-size: 28px;
    margin: 6px 0 ;
    cursor: pointer;
        
}


.menu {
    position: absolute;
    top: 550px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.9);
    transition: all 0.5s;
    transform: translateX(-100%);
}


.menu a {
    display: block;
    height: 50px;
    color: #000;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    
}

.menu a:hover {
    background: rgba(255,255,255,0.5);
    
}

#menu-bar:checked ~ .menu {
    transform: translateX(0%);
}


@media(min-width:768px){
    
.menu{
    position: static;
    height: auto;
    width: auto;
    transform: translateX(0%);
    float: right;
    display: flex;
    font-size: 18px;
}
    
label{
     display: none; 
}    
    
}