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

:root {
  --bg-main: rgb(47, 46, 57);

  --accent: rgb(65, 55, 116);
  --accent-dark: rgb(23, 22, 28);

  --white: rgba(255, 255, 255, 0.8);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--bg-main);
  height: 100vh;
  color: var(--white);
}

.wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: 100%;
  max-width: 1000px;
}

.container {
  display: flex;
  justify-content: center;
  height: 50%;
}

.game {
  background-color: var(--accent-dark);
  width: 100%;
  margin: 0 5rem;
}

.stats {
  display: none;
}
.stats p {
  margin: 0 1rem;
}

.word {
  position: absolute;
}

.bottom-container {
  position: relative;
  margin: 1rem 5rem;
  height: 50px;
}

input {
  display: none;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  text-align: center;
  border: none;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.245);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.timer {
  position: absolute;
  font-size: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.game-center-wrapper {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
}

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

.result {
  display: none;
}

.result-title {
  font-weight: 600;
}

.result-stats {
  margin: 0.5rem 0;
}

button {
  border: 2px solid var(--accent);
  background: none;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: 0.15s;
}

button.start:hover,
button.stop:hover {
  background-color: var(--accent);
}

button.start {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

button.stop {
  display: none;
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translate(-100%, -50%);
}
