:root {
  --color-bg: #c4bec6;
  --color-text: #333;
  --color-primary: yellow;
  --color-success: green;
  --color-error: red;
  --font-family: "Open Sans", sans-serif;
}

/* Global styles */
html, body {
  margin: 0;
  color: #000;
  text-align: center;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: #f1f1f1;
  color: var(--color-text);
  font-family: var(--font-family);
}

* {
  
  color:#000;
}

h1 {
  margin-top: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 40px;
  border: 1px solid #888;
  border-radius: 4px;
  font-size: 12px;
  width: 40%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover, .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Links */
#link {
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
  color: var(--color-text);
  border: 1px solid #d1d1d1;
  padding: 4px;
  background: #fff;
  border-radius: 4px;
}

/* Game */
.gameContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  min-height: 90vh;
  width: 90vw;
  margin: 0 auto;
  padding: 5px;
  background-color: #f1f1f1;
  overflow-y: scroll;
}

#clueContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 70%;
  margin: 0 auto;
padding: 5px;
  border: 1px solid #ffff;
  border-radius: 4px;
  background: #fff;
  overflow-y: scroll;
}

.clue {
  margin: 1px;
  padding: 4px;
  background: #ffff10;
  border-radius: 4px;

}

.correct {
  background-color: var(--color-success);
}

.incorrect {
  background-color: var(--color-error);
}

.newWords {
  border: 1px solid var(--color-primary);
  border-radius: 3px;
  padding: 5px;
}


#blankWord {
  font-size: 1.5rem;
}






input {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
   border: 1px solid #d1d1d1;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.disabled {
  background-color: #d1d1d1; 
  border: none; 
  opacity: 0.3;
}



#guessed-words {
   font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d1d1;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

button {
  display: inline-block;
  font-weight: 400;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  background-color: #4a5568;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
}

.livesContainer {
display: flex;
  justify-content: space-between;

align-items: center;
}

.guessSection {
display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}