/* Global Styles */
:root {
  background: linear-gradient(to right, #FF6A00, #FFB000);
  /* Gradient background */
  font-size: 62.5%;
  font-family: 'Poppins', sans-serif;
  /* Modern sans-serif font */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #333;
}

body {
  background: #f8f8f8;
  color: #333;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 5.4rem;
  color: #07010a;
  margin-bottom: 5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h1>span {
  font-size: 2.4rem;
  font-weight: 500;
}

h2 {
  font-size: 4.2rem;
  margin-bottom: 4rem;
  font-weight: 700;
}

h3 {
  font-size: 2.8rem;
  font-weight: 500;
}

/* Utilities */
.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem;
}

.container>* {
  width: 100%;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* Buttons */
.button {
  font-size: 2rem;
  padding: 1.5rem 0;
  width: 22rem;
  text-align: center;
  border: none;
  margin-bottom: 2rem;
  text-decoration: none;
  color: white;
  background-color: #721172;
  border-radius: 1rem;
  transition: background-color 0.3s ease, transform 0.2s;
}

.button:hover {
  background-color: #5e0f5e;
  cursor: pointer;
  transform: translateY(-0.1rem);
}

.button[disabled]:hover {
  cursor: not-allowed;
  transform: none;
  background-color: #c0c0c0;
}

/* Game CSS */
.choice-container {
  display: flex;
  margin-bottom: 2rem;
  width: 100%;
  font-size: 2rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.choice-container:hover {
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-0.1rem);
}

.choice-prefix {
  padding: 1.5rem 2.5rem;
  background-color: #721172;
  color: white;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
}

.choice-text {
  padding: 1.5rem;
  width: 100%;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* Highlight correct || wrong answer */
.correct {
  background-color: #3dfb95;
  border-radius: 1rem;
}

.incorrect {
  background-color: #f04c4c;
  border-radius: 1rem;
}

/* HUD */
#hud {
  display: flex;
  justify-content: space-between;
}

.hud-prefix {
  text-align: center;
  font-size: 2rem;
}

.hud-main-text {
  text-align: center;
}

#progressBar {
  width: 20rem;
  height: 4rem;
  border-radius: 2rem;
  border: 0.3rem solid #721172;
  margin-top: 1.5rem;
}

#progressBarFull {
  height: 3.4rem;
  background-color: #721172;
  width: 0%;
  border-radius: 2rem;
}

/* Gameover CSS */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  margin-bottom: 3rem;
  width: 22rem;
  padding: 1.5rem;
  font-size: 2rem;
  border: none;
  box-shadow: 0 0.1rem 1.4rem 0 #721172;
  border-radius: 1rem;
}

input::placeholder {
  color: #c0c0c0;
}

#time {
  font-size: 4rem;
  padding-top: 2.7rem;
  color: #000;
}