body {
    background-color: #333c57;
     margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}
h1 {
    color: white;
}
.game-container{
display: flex;
justify-content: center;
align-items: center;
margin-top: 10px;
width: 100%;
}
.game-box {
    background-color: #1a1c2c;
    max-width: 100%;
    width: 1200px;
    height: 700px;
    position: relative;
    display: flex;
    justify-content: center;
    
}

/* Initial Screen CSS */
.initial-screen {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
}
.ai-img {
    position:absolute;
    top: 0px;
    right: 5%;
    width: 150px;
    height: 150px;
}
.developer-img {
    position: absolute;
    bottom: 10px;
    left: 2%;
    width: 150px;
    height: 150px;
}
.game-name {
    width: 400px;
    height: 400px;
}
.game-name img {
    width: 100%;
    height: 100%;
}
.start-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.start-btn, .rules-btn, .restart-btn, .restart-btn2, .easy-mode-btn, .normal-mode-btn, .show-answer-btn {
  position: relative;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: none;
  border: 2px solid #ef7d57;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}
.liquid {
  background: linear-gradient(#257179 0 0) no-repeat calc(200% - var(--p, 0%))
    100% / 200% var(--p, 0.2em);
  transition: 0.3s var(--t, 0s),
    background-position 0.3s calc(0.3s - var(--t, 0s));
}

.liquid:hover {
  --p: 100%;
  --t: 0.3s;
  color: #fff;
  transform: scale(1.2,1.2) ;
}

/* Game Start container */
.game-run-screen {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    gap:25px;
    
}
.boss-section {

    width: 95%;
    height: 8%;
    margin-top: 20px;
    display: flex;
    justify-content:space-around;
    align-items: center;
    gap: 30px;
   
}
.map-section {
    border: 2px solid white;
    width: 1150px;
    height: 430px;
    background-image: url("../img/map-background-08.png");
    
    background-size:100%;
    background-repeat: no-repeat;
    position:relative;
}
.map-section img {
    width: 100px;
    position: absolute;
    top: 100px;
    left: 50px;
}

.boss {
    margin-left: 10px;
}
.boss img {
   width: 85px;
}
.speech-bubble {
    width: 500px;
    height: 50px;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 300px;
    border-bottom-left-radius: 1px;
    padding: 20px;
    color:white;
    font-size: 25px;
     font-family: "VT323", monospace;
     margin-left: -100px;
     text-align: center;
}
.timer-set{
    color: white;
    font-size: 50px;
    font-family: "VT323", monospace;
    font-weight: 400;
    padding: 10px;
    border: 1px solid white;
    border-radius: 10px;
}
.current-total-levels {
    color:white;
    font-family: "VT323", monospace;
    font-size: 30px;
    padding:10px;
    border: 1px dotted white;
}
.battle-section {
    width: 95%;
    height: 15%;
    display: flex;
    justify-content:space-around;
    align-items: center;
    gap: 30px;
   
}
.player-container {
    
    width: 50%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vs-container {
    color: white;
    font-family: "VT323", monospace;

    font-size: 40px;
}
.ai-container {
    
    width: 50%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.code-collect-box-player{
    border: 1px solid white;
    width: 70%;
    height: 80%;
    margin-right: 10px;
    border-radius: 10px;
    display: flex;
    flex-wrap:wrap;
    gap: 4px;
}
.code-collect-box-ai{
    border: 1px solid white;
    width: 70%;
    height: 80%;
    margin-right: 10px;
    border-radius: 10px;
    display: flex;
    flex-wrap:wrap;
    gap: 4px;
    
}
.player-container img {
    width: 100px;
}
.ai-container img {
    width: 100px;
}
/* Game over screen */
.game-over-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-over-container {
    display: flex;
    width: 800px;
    justify-content: space-evenly;
    align-items: center;
    gap: 100px
}
.game-over-container img {
    width: 400px;
    height: 400px;
}
.game-over-container h2 {
    text-align: center;
    font-size: 80px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
}
.restart-btn {
    width: 200px;
}
.player-score {
    text-align: center;
    font-size: 50px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
    color: red;
}
.total-levels {
    text-align: center;
    font-size: 50px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: rgb(76, 192, 40);
}
.game-over-container div p {
    text-align: center;
    font-size: 30px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
} 

/* Game win screen */
.game-win-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.game-win-container {
    display: flex;
    width: 800px;
    justify-content: space-evenly;
    align-items: center;
    gap: 100px
}
.game-win-container img {
    width: 400px;
    height: 400px;
}
.game-win-container h2 {
    text-align: center;
    font-size: 80px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
}
.restart-btn {
    width: 200px;
}
.player-score {
    text-align: center;
    font-size: 50px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
    color: red;
}
.total-levels {
    text-align: center;
    font-size: 50px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: rgb(76, 192, 40);
}
.game-win-container div p {
    text-align: center;
    font-size: 40px;
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
} 
/* Game Difficulty Screen */
.game-difficulty-screen {
    
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    
}
.choose-difficulty {
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
    font-size: 50px;
}
.easy-mode-expl {
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
    font-size: 20px;
}
/* Answer container */ 
.easy-mode-container {
    display: none;
    justify-content: center;
    margin-top: 10px;
    height: 40px;
    gap: 50px;
}
.answer-box {
    background-color: #1a1c2cab;
    width: 600px;
    height: 50px;
}
.asnwer-p {
    font-family: "VT323", monospace;
    font-weight: 400;
    color: white;
    font-size: 20px;
    text-align: center;
}
/* Footer */
footer {
    display: flex;
    margin: 20px auto 0;
    justify-content: center;    
    align-items: center;   
    justify-content: center;
    padding: 12px 0;
}
.git-logo{
  width: 30px;                
  height: 30px;
  vertical-align: middle;
  margin-left: 5px;
  margin-bottom: 4px;
}
.footer-text {
    color:#b3b3be;
    margin: 0;
    display: inline;
    
}
.footer-text a {
    color: #686879 ;
}
