* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
   
    background: #111;
}
 .container {
    width: 100%;
    height: 100%;
    /* height: 1900px; */
   background-color:rgb(23, 20, 48);
   position: relative;
   background-image: url("pics/bg.jpg");
 }

 .TextContainer
 {
   width: 90%;
   height: 90%;
   padding-bottom: 50px;
 }

 #nasaText
 {
   position: absolute; /* Position absolute for precise placement */
  bottom: 0; /* Align to the bottom */
  right: 0; /* Align to the right */
  margin: 20px; /* Add some margin for spacing */
  padding: 10px; /* Optional padding for the paragraph */
 }

  p{
  
    color: #fff;
    
 }
  a  {
   color: #fff;
   text-decoration: none;
  }

 #alapalkki {
    width: 100%;
    background-color: #111;
    height: 300px;
 }

 #wonder {
   float: left;
    position: relative;
    top: 5px;
    left: 5px;
    background-color: #111;
    height:70px;
    width: 140px;
    z-index: 101;
   
 }

 #wonder h3 {
    text-shadow: 2px 1px blue;
    color: rgb(255, 255, 91);
    text-align: center;
    position: relative;
    top: 10px;
 }

 .headerWONDER{
   text-shadow: 10px 5px blue;
   color: rgb(255, 255, 91);
   text-align: center;
   position: relative;
   top: 10px;
   font-size: 100px;
   margin-top: 25%;
 }

 #wonderga {
   float: left;
    position: relative;
    top: 5px;
    left: 42.5%;
    background-color: #111;
    height:70px;
    width: 140px;
    z-index: 101;
   
 }

 #wonderga h3 {
    text-shadow: 2px 1px blue;
    color: rgb(255, 255, 91);
    text-align: left;
    position: absolute;
    z-index: 102;
    top: 25px;
 }
 #wondergaarrow{
   height: 65px;
   width: 65px;
   background-color: #111;
   z-index: 101;
   float: left;
   left: -110px;
   position: relative;
   top: 5px;
 }
 #imagearrow{
   height: 65px;
   width: 65px;
 }
 #alaviiva{
    width: 80%;
    height: 100px;
    border-bottom: 2px solid #222;
    margin: 0 auto;
 }

 #alaviiva p {
    
    color: rgb(255, 255, 91);
    text-shadow: 1px 1px blue;
    position: relative;
    top: 15px;
    left: 10px;
    text-align: left;
 }
 #alaboxes {
    height: 50px;
    width: 50px;
    
    position: relative;
    top:20px;
    margin-left: 10px;
    float: left;
    
 }
 .skuvat {
    width: 50px;
    height: 50px;
 }
 .games {
    width: 100%;
    height: 350px;
    background-color: rgb(23, 20, 48);
    background: transparent;
    
 }

 .gamesContainer
 {
   background: transparent;
 }

 .back {
   background-image: url("back.png");
   background-repeat: no-repeat;
   background-size: 100%;
 }

.games h3 {
    
    color: #fff;
    margin-left: 25%;
    font-size: xx-large;
    position: relative;
    top: 40%;
    font-family:Georgia, 'Times New Roman', Times, serif;
   
    
 }
 .games p {
 
    margin-left: 25%;
    position: relative;
    top: 40%;
    font-family:Georgia, 'Times New Roman', Times, serif }

    .games a {
 
      margin-left: 25%;
      position: relative;
      top: 50%;
      font-family:Georgia, 'Times New Roman', Times, serif

    
    
 }
 #ylapalkki {
   width: 80%;
   height: 80px;
   background-color: #111;
   position: relative;
   left: 10%;
   z-index: 100;
   position: fixed;
   
}
#sbutton{
   position: relative;
   top: 10px;
   right: 10px;
   float:right;
  width: 60px;
  height: 60px;
  border-radius: 3px;
  z-index: 101;
 
 
}
.animate {
  animation: animate 1s;
}
.animates {
   animation: animates 1s;
 }
@keyframes animate
{
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
     
   }
   
}
@keyframes animates
{
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(-360deg);
     
   }
   
}

.sboxes {
   position: relative;
   top: 9px;
   margin-top: 5px;
   margin-left: 5px;
   height: 6px;
   width: 43px;
   background-color:  white;
   border-radius: 3px;
}

#sivu {
   width: 20%;
   height: 300px;
   background-color: #111;
   z-index: 98;
   position: relative;
   top: 80px;
   left: 70%;
   position: fixed;
   display: var(--visible, none);
  
}

#slot {
   width: 80%;
   height: 50px;
   border-bottom:solid 2px #222;
   margin: 0 auto;
   margin-top: 10px;
   
}

#slot p {
   position: relative;
   top: 10px;
   
   
}

.slot3 {
  color: white;
}

.slots {
   color: rgb(255, 255, 91);
   text-shadow: 1px 1px blue;
   font-size: 20px;
  
}
.slots2 {
   color: rgb(255, 255, 91);
   text-shadow: 1px 1px blue;
   font-size: 20px;
  
}

.gameslot {
  
   
    font-family:Georgia, 'Times New Roman', Times, serif;
    border: 2px solid #222;
    border-radius: 10px;
    background-color: #111;
  
   text-align: center;
   margin-top: 20px;
   padding: 12px;
  
   
   
}
.gameslot2 {
  
   
   font-family:Georgia, 'Times New Roman', Times, serif;
   border: 2px solid #222;
   border-radius: 10px;
   background-color: #111;
 
  text-align: center;
  margin-top: 20px;
  padding: 12px;
 
  
  
}

@keyframes ookk {
   0% {
      transform: translateY(-200px);
   }
   100% {
      transform: translateY(0px);
   }
}

.ookk {
   animation: ookk 200ms linear 1;
}

.privacyH{
 margin-left: 20%;
 color: white;
 margin-bottom: 10px;
 margin-top: 40px;
}

.privacyP{
 margin-left: 20%;
 color: white;
 font-size: large;
 font-weight: bold;
}

.gameContainer{
   height: 800px;
   width: 100%;
   

   display: flex;
   justify-content: center; /* Center horizontally */
}

.game{
  background-color: #1b1b1b;
  height: 300px;
  width: 70%;
  border-radius: 5px;
  position: relative;
  top: 200px;
  outline: 2px solid black;
}

.game h1{
   color: white;
   position: absolute;
   left:40%;
   margin-top: 50px;
   font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; 
   text-shadow: 2px 1px blue;
   color: rgb(255, 255, 91);
}

.game h2{
   color: white;
   position: relative;
   top: 200px;
   left: 20px;
   font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; 
   text-shadow: 2px 1px blue;
   color: rgb(255, 255, 91);
}

.game p{
   width: 45%;
   position: absolute;
   left:40%;
   text-align: left;
   margin-top: 150px;
}

.game .gameIcon{
  position: relative;
  left: 20px;
  top: 20px;
 
}

.image{
   border-radius: 10px;
   width:250px;
   height: 250px;
   outline: 2px solid rgb(255, 255, 255);
   
}

.jobText{
   font-size: 40px;
   text-align: center;
   position: absolute;
   top: 200px;
   margin-left: 10%;
   margin-right: 10%;
}

@media (max-width: 1000px) {
   /* Your CSS styles for smaller screens go here */
   .game .gameIcon{
      position: relative;
      left: 20px;
      top: 300px;
     
    }

    .game {
      height: 600px;
    }

    .game h1 {
       left: 15%;
    }

    .game p{
      left: 15%;
    }

    .game h2{
      top: 300px;
    }
   /* Add more styles as needed */
 }

 .spaceTaker{
   height: 100px;
 }


