body {
  margin: 0;
  background: #000; 
}

video { 
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
	/*background: url('../resource/fondo1.jpg') no-repeat;*/
	background-color:#000000;
	opacity: 0.6;
	background-size: cover;
	transition: 1s opacity;
}
.stopfade { 
   opacity: .5;
}

a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  background:rgba(0,0,0,0.5);
  padding: .5rem;
  transition: .6s background; 
}
a:hover{
  background:rgba(0,0,0,0.9);
}

@media screen and (max-width: 500px) { 
  div{width:70%;} 
}
@media screen and (max-device-width: 800px) {
	html { 
		/*background: url('../resource/fondo1.jpg') #000 no-repeat center center fixed;*/ 
		background-color:#000000;
		opacity: 0.6;
	}
	video { 
		position: fixed;
		width: 50%;
		height: 150%;
		/*z-index: -100;*/
		transform: translateX(-50%) translateY(-50%);
		/*background: url('../resource/fondo1.jpg') no-repeat;*/
		background-color:#000000;
		opacity: 0.6;
		background-size: cover;
		transition: 1s opacity;
	}
}


.fullscreen-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
	background: url('../resource/fondo1.jpg') no-repeat;
	background-size: cover;
	transition: 1s opacity;
}

.fullscreen-bg__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (min-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    height: 300%;
    top: -100%;
  }
}

@media (max-aspect-ratio: 16/9) {
  .fullscreen-bg__video {
    width: 300%;
    left: -100%;
  }
}

@media (max-width: 767px) {
	
	html { 
		/*background: url('../resource/fondo1.jpg') #000 no-repeat center center fixed;*/ 
		background-color:#000000;
		opacity: 0.6;
	}
	video { 
		position: absolute;
		width: 50%;
		height: 150%;
		/*z-index: -100;*/
		transform: translateX(-50%) translateY(-50%);
		/*background: url('../resource/fondo1.jpg') no-repeat;*/
		background-color:#000000;
		opacity: 0.6;
		background-size: cover;
		transition: 1s opacity;
	}
	
  .fullscreen-bg {
    /*background: url('../resource/fondo1.jpg') center center / cover no-repeat;*/
	background-color:#000000;
	opacity: 0.6;
  }

  .fullscreen-bg__video {
    display: none;
  }
}