body {
  margin: 0;
  padding: 0;
  
  
}
#main {
  width: 100vw;
  height: 100vh;
  background-image: url('images/img3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  
}
#main .con {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  color: black;
  text-align: center;
}

.heading {
  min-width: 300px;
  font-size: 36px;
  font-family: "Bangers";
  margin-bottom: 22px;
  font-weight: 400;
}


.sub-heading {
  font-size: 16px;
  font-family: "Poppins";
  margin-bottom: 12px;
  font-weight: 400;
  min-width: 300px;
}

.winning-declaration {
  font-size: 20px;
  font-family: "Righteous";
  margin-bottom: 12px;
  font-weight: 400;
  width: 300px;
  text-align: center;
}
.losing-declaration {
  color: white;
  font-size: 20px;
  font-family: "Righteous";
  margin-bottom: 12px;
  font-weight: 400;
  width: 300px;
  text-align: center;
}
.buttons-area {
  min-width: 350px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.play, .back, .ready, .start, .again {
  background-color: black;
  color: white;
  font-size: 22px;
  font-family: "Righteous";
  font-weight: 400;
  padding: 8px 32px;
  border: none;
  outline: none;
  border-radius: 40px;
  margin-top: 16px;
  transition: opacity 0.8s ease-in-out;
}

.play:hover, .back:hover, .ready:hover, .start:hover, .again:hover {
  background-color: rgb(30, 30, 30);
  color: white;
  padding: 8px 32px;
  cursor: pointer;
}
.con .rules {
  text-align: left;
  font-size: 16px;
  font-family: "Poppins";
  font-weight: 400;
}


/* Game Arena CSS */

#main-game {
  background: linear-gradient(180deg, #FFF 39.91%, #FEF4EB 90.39%);
  width: 100vw;
  height: 100vh;
  position: relative;
}

#main-game .main-con {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 12;
  color: black;
}

#main-game .main-con .heading {
  min-width: 300px;
  font-size: 36px;
  font-family: "Bangers";
  margin-bottom: 22px;
  text-align: center;
  font-weight: 400;
}

.show-lives {
  width: 200px;
  height: 40px;
  background-color: #333;
  color: white;
  border-radius: 12px;
  text-align: center;
  margin-inline: auto;
}

.input-section {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.input-section #input-area {
  margin-top: 20px;
  width: 200px;
  height: 30px;
  border: 3px solid black;
  border-radius: 12px;
  background-color: white;
  padding: 12px;

}

.input-section .enter {
  background-color: black;
  color: white;
  font-size: 22px;
  font-family: "Righteous";
  font-weight: 400;
  padding: 16px 32px;
  border: none;
  outline: none;
  border-radius: 12px;
  margin-top: 16px;
  transition: opacity 0.8s ease-in-out;
}

.input-section .enter:hover {
  background-color: rgb(30, 30, 30);
  color: white;
  padding: 16px 32px;
  cursor: pointer;
}
.lives {
  padding: 6px;
  font-size: 18px;
  font-family: "Poppins";
  font-weight: 400;
  color: white;
}

.lives .lifelines-count {
  font-family: "Righteous";
}

.hint-section {
  width: 380px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

}
.hint-section .hint {
  font-size: 22px;
  font-family: "Righteous";
  font-weight: 400;
  text-align: left;
  margin-bottom: 0px;

}

.hint-section .hint-area {
  min-width: 250px;
  height: 80px; 
  border: 3px solid black;
  border-radius: 12px;
  background-color: white;
  color: black; 
  padding: 8px;
  font-family: "Poppins";
  display: flex;
  align-items: center;
}


.winning-box {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 200px;
  background: #FDFC47;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #24FE41, #FDFC47);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #24FE41, #FDFC47); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  display: flex;
  border-radius: 12px;
  padding: 40px;
}
.losing-box {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 200px;
  background: #232526;  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, #414345, #232526);  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, #414345, #232526); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


  display: flex;
  border-radius: 12px;
  padding: 40px;
}

picture img {
  width: 100px;
  height: 100px;

}
