@font-face {
  font-family: "Semplicita";
  src: url("../font/Semplicita.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

.generator {
  background-size: cover;
  background-blend-mode: screen;
}

.wow_logo {
  width: 400px;
}

.header {
  text-align: center;
  padding: 5px;
}

.program {
  text-align: center;
  padding: 50px;
}

h1,
h3 {
  color: #f8b700;
}

.text {
  color: white;
}

#muteButton {
  background-color: #d69c00;
  color: white;
  border: none;
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
}

.race-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.alliance {
  padding-top: 30px;
}

.horde {
  padding-top: 30px;
}

.neutral {
  padding-top: 30px;
}

.race-icon {
  text-align: center;
  cursor: pointer;
  color: white;
}

.race-icon img {
  width: 50px; /* or any other preferred width */
  /* border-radius: 50%; /* makes the image circular */
}

.race-icon label {
  display: block;
  margin-top: 10px;
}

.race-icon.selected img {
  border: 3px solid #f8b700;
}

/* Slider container */
#syllableCount {
  width: 30%;
  margin: 20px 0;
}

/* Text label for the slider value */
#syllableCountLabel {
  display: block;
  text-align: center;
  margin-top: 10px;
}

.controls {
  padding-top: 20px;
  margin: auto;
  width: 50%;
  padding: 10px;
}

.name-count-control {
  padding-top: 5%;
}

#nameCount {
  display: inline-block;
  width: 60px;
  padding: 10px 20px;
  border: 3px solid #666666;
  background: linear-gradient(to bottom, #4b3927, #2e1f14);
  color: #ffca27;
  font-family: "Semplicita", sans-serif;
  font-weight: light;
  font-size: 18px;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

/* Add a brighter outline when the input is in focus */
#nameCount:focus {
  border-color: #ffae00;
  box-shadow: 0 0 5px #ffae00;
}

.control-button {
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid #666666;
  background: linear-gradient(to bottom, #4b3927, #2e1f14);
  color: #ffca27;
  font-family: "Semplicita", sans-serif;
  font-weight: light;
  font-size: 18px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  width: 60px;
}

.control-button:hover {
  background-color: #ffae00; /* Lighter shade for hover effect */
}

.control-button:active {
  background-color: #a07800; /* Darker shade for active (pressed) effect */
}

/* Generate Button */
#generateBtn {
  display: inline-block;
  padding: 10px 20px;
  border: 3px solid #666666;
  background: linear-gradient(to bottom, #4b3927, #2e1f14);
  color: #ffca27;
  font-family: "Semplicita", sans-serif;
  font-weight: light;
  font-size: 18px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}
#generateBtn:hover {
  background: linear-gradient(to bottom, #5d4836, #3e2a1b);
  transform: scale(1.05);
}

#nameDisplay {
  margin-top: 30px;
  font-size: 1.2em;
  font-weight: bold;
}

.results {
  color: white;
  font-weight: bold;
  transition: background-color 0.2s; /* Smooth transition for hover effect */
}

.error-message {
  padding: 10px;
  width: 50%;
  color: #fff;
  background-color: #d69c00;
  border: 1px solid #a07800;
  margin-top: 10px;
  text-align: center;
  border-radius: 5px;
  visibility: hidden; /* Hidden by default, but still takes up space */
  opacity: 0;
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  transition: opacity 0.3s, visibility 0.3s;
}

.error-message.show {
  opacity: 1;
  visibility: visible;
}

.disclaimer {
  bottom: 10px;
  right: 10px;
  font-size: 13px;
  color: #d69c00;
  opacity: 1;
  text-align: center;
}

.thank-you-message {
  color: #ffca27;
  background: linear-gradient(to bottom, #4b3927, #2e1f14);
  padding: 10px 20px;
  border: 3px solid #666666;
  font-family: "Semplicita", sans-serif;
  font-weight: light;
  font-size: 18px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5), 2px 2px 2px rgba(0, 0, 0, 0.5);
  margin: 20px auto;
  max-width: 80%;
  text-align: center;
  display: none;
}

