use flexbox instead of hard numbers