img {
max-height: 100%;
max-width: 100%;
margin: auto;
background-size: cover;
background-repeat: no-repeat;
}