@import url('https://fonts.googleapis.com/css2?family=Syne+Mono&display=swap');

:root {
  --primary-color: #BBE0EF;
  --secondary-color: #06599F;
  --overlay-color: #fff;
  --gradient-color: #F2F3F4;
  --text-color: #000;
  --border-radius: 0.5rem;
}

* {
  box-sizing: border-box;
  background-color: transparent;
}

body {
  font-family: "Syne Mono", monospace;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
}

select {
  width: 100px;
  padding: 5px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: var(--border-radius);
  background-color: var(--gradient-color);
}

#gameText {
  background-color: #fff;
}

select:focus,
input:focus {
  outline: 0;
}

.mother {
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: var(--border-radius);
  position: absolute;
  text-align: center;
  width: 500px;
  max-width: 90vw;
  resize: both;
  overflow: auto;
}

.mother:hover {
  cursor:grab;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-top: 30px;
}

#word {
  margin: 0;
  color: #fff;
}

#GameOverAlert, #GameOverText {
  color: #333;
}

#gameTitle {
  background-color: var(--overlay-color);
  color: #333;
  padding: 8px;
  border-radius: var(--border-radius);
  margin: 0;
}

input {
  border: 0;
  border-radius: var(--border-radius);
  font-size: 14px;
  width: 300px;
  padding: 12px 20px;
  margin-top: 10px;
}

.info {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.info a#view-ranking {
  display: block;
  padding: 10px 20px;
  margin-top: 10px;
  text-align: center;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: var(--border-radius);
  text-decoration: none;
}

.info a#view-ranking:hover {
  background-color: #45a049;
}

.score-container {
  position: relative;
}

.time-container {
  position: relative;
}

.end-game-container {
  background-color: #fff;
  opacity: 0.9;
  border-radius: 10px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 90%;
  z-index: 1;
}

#playerName {
  margin-bottom: 10px;
}

#submit-score-btn, #play-again-btn, #view-ranking-btn {
  padding: 10px 20px;
  cursor: pointer;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  margin-top: 10px;
}

#submit-score-btn:hover, #play-again-btn:hover, #view-ranking-btn:hover {
  background-color: #45a049;
}

.text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.text-container small {
  margin-right: 10px; /* Add space between text and word */
  font-size: 16px; /* Adjust font size if needed */
}

.text-container #word {
  margin: 0;
  color: #fff;
  font-size: 24px; /* Adjust font size if needed */
}
