html,
body {
  min-height: 100vh;
  background: #13003E;
}


/* fluid 16:9 video layout
-----------------------------------------*/
.video-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  
	overflow: hidden;
	position: fixed;
	opacity: 1.0;
  
  
  /* using flexbox for vertical centering */

  /* Flexbox display */
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;

  /* Vertical alignment */
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}


.video-content {
	position: relative;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	z-index: 1;
  
	margin: 0 auto;

	overflow-y: visible;

	background: #000;
  
  /* viewport aspect-ratio less than 16:9 is default:
     set the width to 100% minus desired gutters */
  width: calc(100% - 10em);
  height: 0;
  padding-top: calc((100% - 8em) * 0.5625); /* 16:9 calc */
}

/* viewport aspect-ratio greater than 16:9:
   work off the height instead of the width for calc */
 @media (min-aspect-ratio: 16/9) {
  .video-content {
    width: 0;
    height: calc(100vh - 10em);
    padding-top: 0;
    padding-left: calc((100vh - 8em) * 1.7778); /* 16:9 calc */
  }
}

/* mobile layout tweaks - side margins reduced */
@media (max-width: 640px) {
	.video-content {
		width: calc(100% - 2em);
    padding-top: calc((100% - 2em) * 0.5625); /* 16:9 calc */
	}
}


iframe#youtube {
  /* stretch to fit the parent element */
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;

	background: #111;
	box-shadow: 0px 2px 2px rgba(0,0,0,0.5);
}