html,
body {
  height: 100%;
  font-family: sans-serif;
  padding: 0;
  margin: 0;
  user-select: none;
  overflow-x: hidden;
  background-color: #353535;
}

#game-area {
  display: flex;
  justify-content: center;
  position: relative;
  height: 100vw;
  width: 100vw;
  max-width: var(--board-vh-limit);
  max-height: var(--board-vh-limit);
}

#main-container {
  user-select: none;
  margin: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: var(--board-vh-limit);
  justify-content: space-between;
  background-color: var(--dark-color);
  box-shadow: 0px 0px 36px 0px var(--darkest-color);
}

nav {
  min-height: 3rem;
  background-color: var(--darker-color);
}

#player1-area,
#player2-area {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#player1-area{
  justify-content:flex-start;
}
#player2-area {
  justify-content:flex-end;
  /* background-color: aliceblue; */
}


#bottom-area {
  flex-grow: 1;
  display: flex;
  max-height: 5rem;
  justify-content: space-between;
}

#hint.hidden{
  visibility:hidden;
  width:0;
  margin: 0;
  padding: 0;
}

#bottom-area button {
  margin: 0 0.2rem;
  border: none;
  width: 5rem;
  font-size: 1rem;
  line-height: 1.8rem;
  background-color: var(--dark-color);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  user-select: none;
}

#prev-move, #next-move{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-size: 50%;
}
#prev-move{
  background-image: url('../images/chevron-left.svg');
}
#next-move{
  background-image: url('../images/chevron-right.svg');
}

#bottom-area button:hover {
  background-color: var(--dark-color-hover);
}

#bottom-area button img {
  height: 50%;
  width: 50%;
}

#interactive,
#navigation{
  display:flex;
  user-select: none;
}

@media screen and (max-height:600px){
  html{
    font-size:10px;
  }
}

@media screen and (max-height:400px){
  html{
    font-size:7px;
  }
}