/* Video Background */
* { box-sizing: border-box; }
.video-background {
  background: #000;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -99;
}
.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
@media (min-aspect-ratio: 16/9) {
  .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}
@media all and (max-width: 600px) {
.vid-info { width: 50%; padding: .5rem; }
.vid-info h1 { margin-bottom: .2rem; }
}
@media all and (max-width: 500px) {
.vid-info .acronym { display: none; }
}

/* Title Animation */
.wrapbox {
  text-align: center;
	top: 20%;
	/* left: 20%; */
	width: 100%;
  display: block;
  position: absolute;
}
.titlewrapper {
	color: #fff;
  text-transform: uppercase;
  font-size: 50px;
  margin: 0 5%;
  max-width: 900px;
  min-width: 300px;
  line-height: 90px;
  letter-spacing: 2px;
  height: 40%;
}
@media screen and (max-width: 600px) {
	.titlewrapper {
    font-size: 25px;
    line-height: 30px;
  }
  .wrapbox {
    top: 20%;
    left: 35%;
    width: 60%;
  }
}

.maintitle {
  transform: translateX(-50%) rotate(-10deg);
  display: block;
  float: left;
  left: 50%;
  position: relative;
}

.maintitle span {
  transform: skew(-10deg);
  display: block;
  float: left;
  text-shadow: #533d4a 1px 1px, #533d4a 2px 2px, #533d4a 3px 3px, #533d4a 4px 4px, #533d4a 5px 5px, #533d4a 6px 6px;
  min-width: 10px;
  min-height: 10px;
  position: relative;
}
.maintitle:nth-child(1) {
  font-size: 135%;
  color: #30f38e;
}
.maintitle:nth-child(2) {
  font-size: 60%;
  color: #e99518;
}
.title:nth-child(3) {
  font-size: 60%;
  color: #e99518;
}

/* Game menu */
#allthethings {
  font-family: 'Orbitron', sans-serif;
  width:0px;
  height:0px;
  border-left: 300px solid transparent;
  border-right:300px solid transparent;
  border-top: 300px solid transparent;
  border-radius: px;
  position:relative;
  margin: 40% auto 0 auto;
  top:5px;
  left:2px;
}
@media screen and (max-width: 600px) {
	#allthethings {
    font-size: 20px;
    line-height: 30px;
    margin: 90% auto 0 auto;
  }
}

#startGame {
  font-family: 'Orbitron', sans-serif;
  position:relative;
  bottom:330px;
  right:300px;
  height:50px;
  width:600px;
  text-align:center;
  font-size:30px;
  background-size: 1px 300%;
  -webkit-transition:0.5s;
  transition:0.5s;
  color:orange;
  font-family:shadows into light;
  cursor:pointer;
}

#startGame:hover {
  font-family: 'Orbitron', sans-serif;
  color:white;
-webkit-transform:rotate(-1deg);
  transform:rotate(-2deg);
}
#instructions:hover {
  font-family: 'Orbitron', sans-serif;
  color:white;
  -webkit-transform:rotate(-2deg);
  transform:rotate(-2deg);
}
#playerSettings:hover {
  color:white;
  -webkit-transform:rotate(-2deg);
  transform:rotate(-2deg);
}
#aboutUs:hover {
  color:white;
  -webkit-transform:rotate(-2deg);
  transform:rotate(-2deg);
}

/* Menu title text */
#startGame p {
  font-family: 'Orbitron', sans-serif;
  position:relative;
  top:2px;
  right:4px;
}

#instructions {
  height:50px;
  width:500px;
  position:relative;
  bottom:345px;
  right:240px;
  text-align:center;
  font-size:30px;
  font-family:shadows into light;
  color:orange;
  -webkit-transition:0.5s;
  transition:0.5s;
  cursor:pointer;
}
#instructions p {
  font-family: 'Orbitron', sans-serif;
  position:relative;
  top:0px;
  right:9px;
}

#playerSettings {
  height:50px;
  width:400px;
  position:relative;
  bottom:360px;
  right:200px;
  font-size:30px;
  text-align:center;
  font-family:shadows into light;
  color:orange;
  -webkit-transition:0.5s;
  transition:0.5s;
  cursor:pointer;
}
#playerSettings p {
  font-family: 'Orbitron', sans-serif;
  position:relative;
  top:0px;
  right:4px;
}

#aboutUs {
  height:50px;
  width:300px;
  position:relative;
  bottom:375px;
  font-size:30px;
  right:150px;
  text-align:center;
  font-family:shadows into light;
  color:orange;
  -webkit-transition:0.5s;
  transition:0.5s;
  cursor:pointer;
}
#aboutUs p {
  font-family: 'Orbitron', sans-serif;
  position:relative;
  top:0px;
}

.flashit{
  animation-delay: 3s;
  display: block;
  color:#f2f;
	-webkit-animation: flash linear 2s infinite;
	animation: flash linear 2s infinite;}
@-webkit-keyframes flash {
	0% { opacity: 1; } 
	50% { opacity: .1; } 
	100% { opacity: 1; }}
@keyframes flash {
	0% { opacity: 1; } 
	50% { opacity: .1; } 
	100% { opacity: 1; }
}

.visible {
  color: #f2f;
} 

.invisible {
  color: transparent;
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Source Code Pro', monospace;
  background: #000;
}

.newTitle {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 10vw;
  font-weight: 900;
  text-decoration: none;
  color: white;
  display: inline-block;
  background-size: 120% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  -ms-background-clip: text;
  -ms-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  background-image: linear-gradient(45deg, 
                    #8f5b0d, 
                    #cf8515,
                    #29e918,
                    #063a0f);
  animation: .8s shake infinite alternate;
}

@keyframes shake {
  0% { transform: skewX(-15deg); }
  5% { transform: skewX(15deg); }
  10% { transform: skewX(-15deg); }
  15% { transform: skewX(15deg); }
  20% { transform: skewX(0deg); }
  100% { transform: skewX(0deg); }  
}
