sidebar hide in css

CSS
@media (max-width: 768px) {
    #sidenav {
        display: none;
    }
}
Source

Also in CSS: