Changed "img{width: 100%;}" to "img{max-width: 100%;}"