dinamyc styling on resize