header {
  position: relative;
  background: url('../images/photobig.jpg') black no-repeat center center scroll;
  height: 75vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

header.container {
  position: relative;
  z-index: 2;
}

header.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}
.pattern:after { content:""; width:100%; height:100%; position:absolute; top:0; left:0; z-index:0;}
.pattern > div { position:relative; z-index:1;}
.pattern:after{ background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpiYGBgePz//38GRhABAgABBgBFTAbfCBNE2AAAAABJRU5ErkJggg==); /*background:url(images/pattern.png);*/}

.sp-video {
  display: block;
}

.pc-video {
  display: none;
}

@media screen and (min-width: 768px) {
  .sp-video {
    display: none;
  }

  .pc-video {
    display: block;
  }
}

/* @media (pointer: coarse) and (hover: none) {
  header{
	width: 100%;
    background: url('../images/smart.jpg') black no-repeat center center scroll;
	  background-size: 100% auto;
  }
  header video {
    display: none;
  }
} */
@media only screen and (max-width: 768px) {
  header {height: 58vh;}
}