img {
  width: 300px;
  height: auto;
}

iframe[src*=".pdf"] {
    width: 100%;
    height: 520px;
}