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

html {
  font-size: 62.5%;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: #ffec99;
  color: #332f1f;
  font-size: 1.6rem;
  overflow-x: hidden;
  max-width: 100%;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3.7rem;
  padding: 1.6rem 1.6rem 0.3rem 1.6rem;
}

.header {
  display: flex;
  justify-content: space-around;
  font-size: 8rem;
  font-weight: 700;
}

.header-p {
  text-align: center;
  font-size: 2rem;
  margin-top: 3rem;
}

.player {
  font-weight: 700;
}

header {
  position: relative;
  height: 17rem;
}

.hidden {
  position: absolute;
  font-size: 5rem;
  padding: 0 2rem;
  text-align: center;
  max-width: 40rem;
  max-height: 8rem;
  font-weight: 700;
  bottom: -0.5rem;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: #ffec99;
  display: none;
}

.grid-container {
  display: grid;
  grid-template-rows: repeat(3, minmax(auto, 1fr));
  grid-template-columns: repeat(3, minmax(auto, 1fr));
  box-shadow: 5px 5px 20px #2125291a;
  width: 54rem;
  height: 54rem;
}

.grids {
  display: grid;
  justify-items: center;
  align-items: center;
  font-size: 14rem;
  color: #e03131;
  text-transform: uppercase;
  border: 0.1rem solid #212529;
  border-collapse: collapse;
  grid-template-rows: auto;
}

.again {
  padding: 2rem 4rem;
  border-radius: 50px;
  background-color: #f1d246;
  font-weight: 600;
  border: none;
  font-family: inherit;
}

.again,
.again:link,
.again:visited {
  font-size: 1.6rem;
  transition: all 0.4s;
}

.hover:hover,
.hover:active {
  background-color: #ffec99;
  box-shadow: 5px 5px 20px #2125291a;
  transform: scale(1.25);
  transition: all 0.4s;
}

footer {
  margin-top: 3rem;
  width: 54rem;
  border-top: 1px solid #332f1f;
  padding-bottom: 0.2rem;
}

footer p {
  text-align: center;
  padding-top: 0.4rem;
  font-size: 1.2rem;
}

.grid--one {
  border-top: none;
  border-left: none;
}

.grid--two {
  border-top: none;
}

.grid--three {
  border-top: none;
  border-right: none;
}

.grid--four {
  border-left: none;
}

.grid--six {
  border-right: none;
}

.grid--seven {
  border-left: none;
  border-bottom: none;
}

.grid--eight {
  border-bottom: none;
}

.grid--nine {
  border-right: none;
  border-bottom: none;
}
