/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@font-face { 
	font-family: "ByteBounce"; 
	src: url("./fonts/ByteBounce.woff") format("woff");
}

@font-face {
  font-family: "Karma Suture";
  src: url("./fonts/Karma Suture.woff") format("woff");
}

@font-face {
  font-family: "Pixel Script";
  src: url("./fonts/Pixel Script.woff") format("woff");
}

* {
    cursor: url('hand.png'), auto !important;
}

/* CRT */

  .crt::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.12), rgba(0, 255, 0, 0.04), rgba(0, 0, 255, 0.12));
  z-index: 2;
  background-size: 100% 6px, 9px 100%;
  pointer-events: none;
}

@keyframes flicker {
  0% {
  opacity: 0.13930;
  }
  5% {
  opacity: 0.17385;
  }
  10% {
  opacity: 0.11802;
  }
}

.crt::after {
  content: " ";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(18, 16, 16, 0.1);
  opacity: 0;
  z-index: 2;
  animation: flicker .20s infinite;
  pointer-events: none;
}


body {
  background-color: orange;
  color: white;
  font-family: ByteBounce;
  font-size: 40px;
  background-image: url("./splash/newsky.png");
}

@keyframes textfade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cloudtext{
  display: flex;
  transform: translateY(325px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: textfade 4s;
  animation-delay: 8s;
  animation-fill-mode: forwards;
  }

@keyframes textfade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.arrow{
  content:url("./splash/arrow.png");
  display: block;
  margin: auto;
  width: 8%;
  height: auto;
  transform: translateY(325px);
  opacity: 0;
  animation: textfade 3s;
  animation-delay: 11s;
  animation-fill-mode: forwards;
}


.moon{
   content:url("./splash/moonglow.png"); 
   position: absolute;
   width: 12%;
   height: auto;
   left: 9%;
   top: 10%;
 }
 
 
 @keyframes rockanimate {
  0%   {transform: rotate(-75deg); left:13%; top:1100px;}
  100% {transform: rotate(-75deg); left:30%; top:-200px;}
}
 
 .rocket{
   content:url("./splash/rocket.png"); 
   position: absolute;
   width: 10%;
   height: auto;
   left: 30%;
   top: -200px;
   animation-name:rockanimate;
   animation-duration: 4s;
   animation-timing-function: linear;
   animation-delay: 2s;
 }
 
 
@keyframes satanimate {
  0%   {transform: rotate(0deg); right:10%; top:600px;}
  25%  {transform: rotate(-21deg); right:11%; top:587px;}
  50%  {transform: rotate(0deg); right:13%; top:575px;}
  75%  {transform: rotate(34deg); right:11%; top:586px;}
  100% {transform: rotate(0deg); right:10%; top:600px;}
}

  .saturn{
    content:url("./splash/saturn.png");
    width: 12%; 
    height: auto;
    position: absolute;
    right: 10%;
    top: 600px;
    animation-name:satanimate;
    animation-duration: 13s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
 
 
 .container{
  position: relative;
  top: 1000px;
  display: inline-block;
}

.container img {
  display: block;
  width: 100%;
  height: auto;
}

.welcomecontainer{
  position: absolute;
  width: 445px;
  height: 200px;
  padding: 8px;
  border: 5px solid white;
  top: 35%;
  left: 5%;
  display: flex;
  pointer-events: none;
}

.welcome1 { 
  position: absolute;
  font-size: 50px;
  display: flex;
  top: -17%;
  left: 60%;
  pointer-events: none;
}

.welcome2 { 
  position: absolute;
  font-family: "Pixel Script";
  font-size: 90px;
  letter-spacing: -2px;
  display: flex;
  top: -5%;
  pointer-events: none;
}


.welcome{
  content: url("./splash/welcome.png");
  position: absolute;
  width: 22%;
  height: auto;
  left: 8%;
  bottom: 20%;
  }




.doorbutton {
  position: absolute;
  width: 8%;
  height: 15%;
  bottom: 14%;
  left: 44%;
  opacity: 0;
  background-image: url('./splash/opendoors.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}

.doorbutton:hover {
  background-image: url('./splash/opendoors.png');
  font-family: "Karma Suture";
  font-size: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  -webkit-text-stroke: 2px #fff5e2;
  text-decoration: none;
  opacity: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
}

