.wrapper {
  display: grid;
  grid-template-rows: auto auto;
}

.responsive--img {
  max-width: 100%;
  height: auto;
}

.video-wrapper-fallback {
  background-image: url(https://www.skrubed.com/wp-content/uploads/2018/05/main-background-sunset.jpg);
}

.video-hero--overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
  background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/225497/seamless-1781533_960_720.png) left top repeat;
  opacity: 0.1;
}

.video-hero--content {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	max-height: 500px;
	min-height: 500px;
	background: rgba(0,0,0,0.1);
	z-index: 9;
	position: relative;
}

.video-hero--content img {
  max-height: 400px;
  position: relative;
  max-width: 100%;
}

#header {
  background: #fff;
  padding: 2em 0;
  text-align: center;
}

.jquery-background-video-wrapper {
  position: relative;
  overflow: hidden;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.jquery-background-video {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  -o-object-fit: contain;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

/**
 * Fade in videos
 * Note the .js class - so non js users still
 * see the video
 */
.js .jquery-background-video {
  opacity: 0;
  transition: opacity 300ms linear;
}

.js .jquery-background-video.is-visible {
  opacity: 1;
}

/**
 * Pause/play button
 */
.jquery-background-video-pauseplay {
  position: absolute;
  background: transparent;
  border: none;
  box-shadow: none;
  width: 20px;
  height: 20px;
  top: 15px;
  right: 15px;
  padding: 0;
  cursor: pointer;
  outline: none !important;
  z-index: 99;
}

.jquery-background-video-pauseplay span {
  display: none;
}

.jquery-background-video-pauseplay:after,
.jquery-background-video-pauseplay:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  transition: all 0.3s ease;
}

.jquery-background-video-pauseplay.play:before {
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #FFF;
}

.jquery-background-video-pauseplay.pause:before,
.jquery-background-video-pauseplay.pause:after {
  border-top: 10px solid #FFF;
  border-bottom: 10px solid #FFF;
  border-left: 5px solid #FFF;
}

.jquery-background-video-pauseplay.pause:after {
  left: 10px;
}