*, *:before, *:after {
  box-sizing: border-box;
}

body {
	background: url(pilot.jpg) no-repeat center fixed; 
  background-size: cover;
  height: 100%;
  margin: 0;
  width: 100%;
  font-family: "Cutive Mono", monospace;
  line-height: 0.5;
  font-weight: 700;
  font-style: normal;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.button-float {
  -webkit-animation: float 1.5s linear alternate infinite;
          animation: float 1.5s linear alternate infinite;
		  

}


#myelement:hover, #myelement:focus {
    animation-play-state: paused;
}

.fade{
 
    opacity:1;
}

#slideSource {
  opacity: 1;
  transition: opacity 0.5s; 
}

#slideSource.fade {
  opacity: 0;
}

.elementToFadeInAndOut {
    animation: fadeOut 0.5s linear forwards;
}

@keyframes fadeOut {
 0% { opacity:1; }
 50% { opacity:0; } 
 100% { opacity:0; } 
}

@-webkit-keyframes float {
  50% {
    transform: translateY(-px);
  }
  100% {
    transform: translateY(9px);
  }
}

@keyframes float {
  50% {
    transform: translateY(-px);
  }
  100% {
    transform: translateY(9px);
  }
}

.sep {
  border: 0;
  width: 3em;
  height: 1px;
  margin: 1em 0;
  background-color: rgba(255, 255, 255, 0.4);
}

.mast {
  position: relative;

  align-items: center;
  width: 100%;
  height: 100vh;
  color: #fff;

}
.mast:after {
  z-index: 0;
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(17, 17, 17, 0.3);
}
.mast > header {
  z-index: 2;
  position: relative;
  text-shadow: -3px -3px 15px rgba(0,0,0,0.6), -3px -3px 30px rgba(0,0,0,0.6) ,3px 3px 15px rgba(0,0,0,0.6), 3px 3px 30px rgba(0,0,0,0.6);
}
.mast__bg {
	
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: 50%;
}


body a {
	
  color: inherit; /* blue colors for links too */
  text-decoration: inherit; /* no underline */	
	
}


@media screen and (min-width: 769px) {
    .mast__header {
  padding: 5%;
     top: 25%;
  width: 50vw;
  float: left;
}
}

@media screen and (min-device-width: 481px) and (max-device-width: 768px) { 
    .mast__header {
  padding: 5%;
  width: 50vw;
    top: 25%;
  float: left;
}
}

@media only screen and (max-device-width: 480px) {
    .mast__header {
  padding: 5%;

  top: 70%;
  padding-bottom: 50px;
  
}


}


.mast__title {
  font-family: "Cutive Mono", monospace;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.3em;
    line-height: 1;
  text-transform: uppercase;
}
 
.mast__text {
  font-family: "Cutive Mono", monospace;
  font-size: 1em;
  margin: 0 0 0.5em;
  line-height: 1.5;
  white-space: pre-wrap;

}

.splitting .word {
  animation: slide-in 0.5s both;
  animation-delay: calc(100ms * var(--word-index));
  
}




@keyframes slide-in {
  0% { opacity:0; }
 50% { opacity:0; } 
 100% { opacity:1; } 
  
}

