section.block-reference {
  background-color: #071E30;
  opacity: 0;
  -webkit-animation: 1.5s ease 1s normal forwards 1 showandsliderighttoleft;
          animation: 1.5s ease 1s normal forwards 1 showandsliderighttoleft;
}

section.block-reference img {
  opacity: 0.3;
  height: 100vh;
  width: auto;
  -webkit-transition: 0.15s;
  transition: 0.15s;
}

section.block-reference img:hover {
  opacity: 1;
}

@media only screen and (max-device-width: 768px) {
  section.block-reference {
    background-color: #071E30;
    opacity: 1;
    -webkit-animation: none;
            animation: none;
  }
  section.block-reference img {
    opacity: 1;
    height: auto;
    width: 100%;
    -webkit-transition: none;
    transition: none;
  }
}
