* {
  font-family: 'Bakbak One', sans-serif;
  text-align: center;
  margin: auto;
  font-size: 20px;
}

html {
  background: black;
}

@media (max-width: 300px) {
  * {
    font-size: 100%;
  }
}

@media (max-width: 450px) {
  #game {
    transform: scale(0.8);
    position: relative;
  }
}

@media (min-width: 450px) and (max-width: 1100px) {
  #game {
    transform: scale(1.3);
    margin: 100px;
  }
}

form > .player {
  display: inline-block;
  padding: 16px;
  color: white;
}

h1 {
  font-size: 30px;
  color: white;
  margin-top: 1em;
}

p {
  display: inline;
  padding: 2em;
}

#whose-turn {
  text-align: left;
  width: 150px;
}

/* game board table */
#board td {
  width: 50px;
  height: 50px;
  border-radius: 10%;
  border: solid 2px rgb(59, 47, 167);
}

/* pieces are div within game table cells: draw as colored circles */
.piece {
  border-radius: 50%; /* make into circles */
  width: 90%;
  height: 90%;

  position: relative;
  animation-name: drop;
  animation-duration: 1000ms;
  /* animation-fill-mode: forwards; */
  /* animation-timing-function: ease; */
}

/* column-top is table row of clickable areas for each column */
#column-top td {
  background: lightgray;
  border: dashed 1px lightgray;
  border-radius: 50%;
  opacity: 50%;
  transform: scale(1); /* Animation */
  transition: transform 200ms;
}

#column-top td:hover {
  background: gold; /* change depending on player 1/2 turn */
  opacity: 100%;
  transform: scale(0.9) translate(0, 10px);
}

/* start and restart button styling */
#startGame,
#restartGame {
  font-size: 20px;
  color: rgb(59, 47, 167);
  background: rgb(233, 233, 233);
  padding: 0.3em;
  margin: 3em;
  border: 2px solid rgb(59, 47, 167);
  border-radius: 16px;
}

#startGame:hover,
#restartGame:hover {
  background: rgb(59, 47, 167);
  color: white;
  cursor: pointer;
  transition: background-color 0.1s ease-in-out;
}

#restartGame {
  display: none;
  margin: auto;
  transform: scale(0.7);
}

@keyframes drop {
  0% {
    bottom: 300%;
  }
  30% {
    bottom: 15%;
  }
  40% {
    bottom: 0;
  }
}
