/* Form align */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    color: rgb(0, 0, 0);
    font-family: Tahoma, sans-serif;
    font-size: 20px;
	background-color: rgb(0, 0, 0);
    
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
	background-color: rgb(27, 29, 36);
	width: 90%;
    border-radius: 10px;
	padding: 60px 100px;
	margin: auto;
	
}

/* fonts */
.rubik-pixels-regular {
    font-family: "Rubik Pixels", system-ui;
    font-weight: 400;
    font-style: normal;
  }
.silkscreen-regular {
    font-family: "Silkscreen", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  
.silkscreen-bold {
    font-family: "Silkscreen", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  
/* image */
.image-box {
    display: flex;
    align-items: center;
    justify-content: center;
   
    
}

.image-box img {
    max-width: 50vb;
    margin-bottom: 60px;
}

/* Text */
.word-display {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
    justify-content: center;
}
.title-text {
    font-size: 80px;
    font-weight: 500;
    font-family: Rubik Pixels;
    color: #ece4e4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.subtitle-text {
    font-size: 20px;
    font-weight: 500;
    font-family: Silkscreen;
    color: #ffdf12;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.word-display .letter {
    width: 40px;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 600;
    color: #ffdf12;
    font-family: Silkscreen;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px solid #ece4e4;
}
.guesses-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.word-display .letter.guessed {
    border-color: transparent;
    margin: -40px 0 35px
}

.game-box h4{
    margin-bottom: 40px;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: Rubik Pixels;
    color: #ffffff;
}

.game-box h4 b{
    font-weight: 400;
}

.game-box .guesses-text b {
    color: red;
    margin-left: 10px;
}


/* .hidelabel {
    display: none;
} */

/* Buttons */

.game-box .keyboard {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}


.keyboard button {
    font-family: Silkscreen;
    font-size: 23px;
    font-weight: 400;
    background-color: rgb(51, 65, 186);
    color: rgb(255, 255, 255);
    padding: 10px;
    text-transform: uppercase;
    outline: none;
    border: none;
    border-radius: 15px;
    width: calc(100% / 10 - 15px)
}

/* .keyboard button[disabled] {
   opacity: 0.7px;
   pointer-events: none;
} */

button:hover {
   cursor: pointer;
	background-color: #ad9601;
}



/* Game Over */

.game-modal {
   position: fixed;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   display: flex;
   pointer-events: none;
   opacity: 0;
   z-index: 999;
   align-items: center;
   justify-content: center;
   background: rgba(199, 195, 195, 0.7);
   transition: opacity 0.2s ease;
}

.game-modal.show {
    pointer-events: auto;
    opacity: 1;

}

.game-modal .content {
    text-align: center;
    background: rgb(253, 251, 247);
    max-width: 420px;
    width: 100%;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 30px;
    padding-left: 5px;
    padding-right: 5px;
}

/* .game-modal img {

} */

.game-modal h4 {
    font-size: 30px;
    color: red;
    margin-top: 0px;
    font-weight: 500;
    font-family: Silkscreen;
}

.game-modal p {
    font-size: 1.20rem;
    font-weight: 300;
    margin-bottom: 38px;
    font-family: Rubik Pixels;
}

.game-modal button {
    font-family: Tahoma, sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: Silkscreen;
    background-color: red;
    color: rgb(255, 255, 255);
    padding: 10px;
    text-transform: uppercase;
    outline: none;
    border: none;
    border-radius: 15px;
    
}

.game-modal button:hover {
    cursor: pointer;
    background-color: rgb(51, 65, 186);
 }




/* error validation code */
.validate.error {
	border: 1px solid white;
	color: rgb(255, 255, 255);
	background-color: rgba(160, 22, 22, 0.781); 
}

.choice_item.error {
	border: 1px solid white;
	color: rgb(255, 255, 255);
	background-color: rgba(160, 22, 22, 0.781); 
}