body {
  background: #111;
  color: #f33;
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 2rem;
}

header.top-header {
  background-color: #1a1a1a;
  padding: 1em;
  text-align: center;
}

header.top-header nav {
  margin-top: 0.5em;
}

header.top-header a {
  color: #00ffcc;
  margin: 0 10px;
  text-decoration: none;
}

nav a {
  color: #ff4444;
  text-decoration: none;
  margin: 0 10px;
}

nav a:hover {
  text-decoration: underline;
}

.header-right {
  flex: 0 0 40%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: scale(0.6); /* 60% size */
  transform-origin: right;
}

h1 {
  margin-bottom: 1rem;
  color: #f33;
}

.keposhka-display {
  margin: 1rem auto;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.keposhka-display img {
  height: 40px;
}

#guessInput {
  padding: 8px;
  font-size: 16px;
  width: 180px;
  margin-top: 10px;
}

button {
  padding: 8px 12px;
  margin-left: 5px;
  background: #f33;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

.guess-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.guess-letter {
  width: 40px;
  height: 40px;
  margin: 3px;
  line-height: 40px;
  font-size: 20px;
  border: 2px solid #444;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.correct {
  background-color: green;
  color: white;
}

.present {
  background-color: goldenrod;
  color: white;
}

.absent {
  background-color: #333;
  color: #999;
}
