Change media query value to max-height: 768px. Rearrange margins.