@media (min-width: 667px) { .header .nav { display: flex; flex: 1 1 auto; } .sidebar-toggle-box { flex: 0 1 auto; } } @media (min-width: 768px) { .sidebar-open aside { transform: translate(-100%); } } @media (min-width: 769px) { footer { display: flex; } aside { display: none; } }