added media queries, created mainjs file