How do I make the image responsive and keep it in between the containers left and right.

I have tried putting it all into another container and it doesn’t work.

I know it sounds basic but it really is not.

```css
body {
  background-color: black;
}

.left {
  background-color: red;
  width: 150px;
  height: 800px;
  float: left;
}

.right {
  background-color: green;
  width: 150px;
  height: 800px;
  float: right;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
```

```html
<div class="left"></div>
<div class="right"></div>
<img src="paintingOg.gif" style="width:50%">
```