img {
  height: auto;
  width: 100%;
  max-width: 400px;
  display: block;
}
.portrait {
  max-width: 300px;
}