body {
  margin: 0;
  padding: 0;
  background-image: url(../img/chess-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}

.board-info {
  display: flex;
  width: 300px;
  padding: 10px;
  background-color: #00000052;
  flex-direction: column;
  justify-content: space-between;
}

.user-info {
  display: flex;
  flex-wrap: nowrap;
  align-content: flex-start;
  justify-content: center;
  width: 300px;
  flex-direction: row;
}

.user-info .header-img{
  width: 100px;
  height: 100px;
  background-image: url(../img/jsl.jpg);
  border-radius: 50%;
  background-size: cover;
  border: 2px dotted white;
}

.user-info .vs{
  font-size: 24px;
  width: 80px;
  height: 100px;
  line-height: 100px;
  text-align: center;
  font-weight: bold;
  color: white;
}

.user-info .user-name, .user-info .user-time{
  color: white;
  text-align: center;
  margin-top: 5px;
}

.board-info .menu {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 15px 0;
}

.select-container {
  padding-bottom: 60px;
}

.select-container .select-order {
  width: 100%;
  font-size: 18px;
  background-color: #3e382f;
  color: white;
  text-align: center;
  padding: 6px;
}

.board-info .menu-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #3e382f;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  font-weight: bold;
  color: white;
}

.board-info .menu-button:hover {
  font-size: 18px;
  background-color: #3e382fc7;
}

#chess {
  height: 800px;
  width: 723px;
  background-size: 100% auto;
  background-image: url('../img/board.jpg');
}
#chess > img {
  width: 78px;
  height: 78px;
  float: left;
  margin: 0 2px 2px 0;
  cursor: pointer;
}
.piece {
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  line-height: 49px;
  font-weight: bold;
  font-size: 20px;
  background-size: 100% auto;
}
.piece-active {
  background-image: url('../img/pc_bg.png');
}


/* @media only screen and (min-height: 700px) and (min-width: 700px) {
  #chess {
    height: 508px;
    width: 459px;
  }
} */