body {
  color: white;
  background-color: black;
  margin: 0px;
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

a {
  color: #00B7FF;
}

.container {
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1000px;
  min-height: 90vh;
}

.footer {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
  left: 0;
  bottom: 0;
  width: 100%;
  margin-bottom: 10px;
}

.card {
  border-radius: 8px;
  width: 100%;
}

#gameboard {
  display: grid;
  max-width: 1000px;
  grid-column-gap: 5px;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  margin-top: 15px;
  margin-bottom: 15px;
}

@media only screen and (min-width: 700px) {
  #gameboard {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  }
}

@media only screen and (max-width: 700px) {
  #gameboard {
    grid-template-columns: repeat(auto-fit, minmax(15%, 1fr));
  }
}

#chat-window {
  position: absolute;
  right: 10px;
  top: 82px;
  width: 250px;
  height: 85vh;
  background-color: white;
  opacity: 0.95;
}

#chat-title-bar {
  height: 40px;
  width: 100%;
  background-color: #387eff;
  font-size: 18px;
  padding: 10px;
}

#open-chat {
  margin-right: 15px;
  cursor: pointer;
}

#open-chat:hover {
  color: blue;
}

#close-chat-btn {
  cursor: pointer;
}

#chat-body {
  overflow-y: scroll;
  color: black;
  height: 74vh;
  padding-left: 10px;
  padding-top: 10px;
  padding-bottom: 5px;
}

#chat-message-bar {
  position: absolute;
  bottom: 0px;
  width: 100%;
  margin-bottom: 0px !important;
}

.chat-message {
  margin-bottom: 2px;
}

#message-input {
  border-radius: 0px;
}

#send-btn {
  border-radius: 0px;
}

.current-player {
  color: blue;
}

.list-group {
  border-radius: 0px !important;
}

.centered {
  margin-top: 10vh;
  font-size:x-large;
}

.active-indicator, .leave-game {
  visibility: hidden;
}

.leave-game {
  cursor: pointer;
}

.player-circle {
  margin-right: 20px;
  position: relative;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border-radius: 50%;
  font-size: 22px;
  text-align: center;
  background-color: gray;
  color: white;
}

.active-player {
  background-color: gold !important;
}

.player-score {
  position: absolute;
  top: 5px;
  width: 40px;
  right: -40px;
}

#topbar, #chat-title-bar {
  display: flex;
  justify-content: space-between;
}

#scoreboard {
  display: flex;
  justify-content: flex-start;
}

#open-leave-modal-btn {
  cursor: pointer;
}

#open-leave-modal-btn:hover {
  color: red;
}

#loading-inner {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15%;
}

#loading-message {
  font-size: 16px;
}

#loading-text {
  font-size: 40px;
}
