#Typingstars {
	font-size:400%;
	font-family:Showcard Gothic;
	color:#fffecf;



	}
	
#with{
	font-size:350%;
	font-family:Showcard Gothic;
	color:#fffecf;
 
	}
	
#topic{
	margin-bottom:350px;
	margin-right:-19%;
	
	}
	
	
#box{
	height:35%;
	width:40%;
	border-radius:20px;
	padding:3%;
	border-style:groove;
	margin-top:30%;
	margin-left:-12%;
	}
	
#text1{
	font-size:40px;
	font-family:Comic Sans MS;
	color:#13cbf0  ; 
	}
	
#img{
	width:88px;
	height:88px;
	margin-top:-20%;
}

 

/* Add a black background color to the top navigation */
#topnav1 {
  background-color:#138d75  ;
  overflow: hidden;
  float:right;
  margin-top:-9%;
  border-radius:15px;

}

/* Style the links inside the navigation bar */
#topnav1 a {
  float: right;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  border-radius:15px;
}



/* style.css */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}


#game-container {
    position: relative;
    width: 300px;
    height: 600px;
    background-color: #87cefa;
    overflow: hidden;
}


#player {
    position: absolute;
    bottom:-100%;
    left: 50%;
    width:30%;
    height: 30%0%; 
    transform: translateX(-50%);
    transition: bottom 0.3s ease;
}

 


.platform {
    position: absolute;
    width: 20%;
    height: 5%;
    background-color: #333;
    color: #fff;
	font-family:Comic Sans MS;
	font-size:30px;
    text-align: center;
    line-height: 20px;
    border-radius: 5px;
	 
}

 

#word-input {
	position: absolute;
    margin-top: 10px;
    width: 300px;
	height:50px;
    font-size: 20px;
	margin-bottom:22%;
	margin-right:70%;
	border-radius:5%;
	font-family:Comic Sans MS;
	border-radius:10%;
}


#game-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('spaceN.jpg'); /* Add the path to your image */
    background-size: cover; /* Ensures the background covers the whole container */
    background-position: center; /* Keeps the background centered */
    background-attachment: fixed; /* Keeps the background fixed while scrolling */

}

#game-container2 {
    background-image: url('spaceN.jpg'); /* Path to your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


#timer, #score {
    font-size: 30px;
    font-family: Comic Sans MS;
    color:#e1b007;
    position: absolute;
     top:  20%;
    left: 4%;
    z-index: 10;
}

#score {
    top: 26%;
}

 
 

#winText {
	font-size: 700%;
	font-family:Showcard Gothic;
	color:#50c609  ;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

#overText {
	font-size: 700%;
	font-family:Showcard Gothic;
	color:#e74c3c ;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

#start {
	width: 15%;
	height: 8%;
	font-family:Calibri (Body);
	font-size:200%;
	background-color:#08e5f3; 
	border-radius:10%;
	border-color:#08e5f3;
	position: absolute;
	top: 10%;
	left: 10%;
	transform: translate(-50%, -50%);
	z-index: 20;
}
