/* bonken.css */

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  overflow: auto;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: lightblue;
}

.header,
.footer {
  text-align: center;
}

s {
    text-decoration: line-through;
    text-decoration-style: double;
}

#container {
  width: 800px;
  height: 600px;
  margin: 0;
  padding: 0;
  box-sizing: content-box;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  border: 6px solid blue;
  background-color: lightgoldenrodyellow;
  text-align: center;
}

#login {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 10;
  border: 4px solid red;
  background-color: lightgoldenrodyellow;
}

#seating {
  width: 100%;
  height: 70%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 5;
  border: 4px solid red;
  background-color: lightgoldenrodyellow;
}

.seating-table {
  width: 100%;
}

.seating-table th {
  text-align: center;
  padding: 5px;
}

.seating-table td {
  text-align: center;
  padding: 5px;
}

#gameboard {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 5;
  border: 3px solid red;
  background-color: lightgoldenrodyellow;
}

#results {
  width: 100%;
  height: 70%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
  border: 1px solid red;
  background-color: lightgoldenrodyellow;
}

.results-table {
  width: 100%;
  table-layout: fixed;
  border: 1px solid red;
  border-collapse: collapse;
}

.results-table td,
.results-table th {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 2px 5px 2px 5px;
  font-size: 15px;
  border: 1px solid red;
  border-collapse: collapse;
}

.results-table tbody tr:last-child {
  font-weight: bold;
}

.seven {
  width: 7%;
  overflow: hidden;
}
.thirteen {
  width: 13%;
  overflow: hidden;
}
.fifteen {
  width: 15%;
  overflow: hidden;
}
.twenty {
  width: 20%;
  text-align: left;
}

#choosing {
  width: 60%;
  height: 45%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 10;
  border: 2px solid red;
  background-color: lightgoldenrodyellow;
}

.choosing-fieldset {
  width: 96%;
  height: 91%;
}

.choosing-table {
  width: 100%;
}

.choosing-table th {
  text-align: left;
  padding: 1px 0px 0px 10%;
}

.choosing-table td {
  text-align: left;
  padding: 1px 0px 0px 10%;
}

#bidding {
  width: 60%;
  height: 45%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 5;
  border: 2px solid red;
  background-color: lightgoldenrodyellow;
}

.bidding-fieldset {
  width: 96%;
  height: 91%;
}

.bidding-grid {
  width: 100%;
  display: grid;
  grid-template-columns: auto auto auto auto;
}

.bidding-item {
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px 0px 15px 0px;
}

#bids {
  width: 40%;
  height: 45%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 60%;
  margin: 0;
  padding: 0;
  z-index: 10;
  border: 2px solid red;
  background-color: lightgoldenrodyellow;
}

.bids-fieldset {
  width: 91%;
  height: 91%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#bids-canvas {
  margin: 3px 31px 1px 32px;
}

#cardtable {
  width: 60%;
  height: 45%;
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 5;
  border: 2px solid red;
  background-color: yellowgreen;
}

.nesw {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
  font: 14px Comic Sans MS;
}

#dominotable {
  width: 60%;
  height: 45%;
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 5;
  border: 2px solid red;
  background-color: yellowgreen;
}

.dominocard {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 2;
}

.suit {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 1;
  font: 20px Comic Sans MS;
  background-color: yellowgreen;
}

.red {
  color: red;
}

.black {
  color: black;
}

#cardsinhand {
  width: 100%;
  height: 25%;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 45%;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 10;
  border: 2px solid red;
  background-color: darkgreen;
}

.cardinhand {
  height: 70px;
  margin: 0;
  padding: 0;
  border: 0;
  cursor: pointer;
}

#cardsinhand .cardinhand:first-child {
  margin-left: 0px;
  padding-top: 10px;
}

#cardsinhand .cardinhand {
  margin-left: -52px;
  padding-top: 10px;
}

#cardsinhand .cardinhand:hover {
  padding-top: 0px;
  padding-bottom: 10px;
}

#chats {
  width: 100%;
  height: 30%;
  position: absolute;
  top: 70%;
  left: 0;
  margin: 0;
  padding: 0;
  z-index: 10;
  border: 1px solid red;
  background-color: lightgoldenrodyellow;
}

#output-players {
  width: 60%;
  height: 80%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: solid red;
  border-width: 5px 3px 1px 1px;
  background-color: lightgoldenrodyellow;
}

#output-server {
  width: 40%;
  height: 80%;
  position: absolute;
  top: 0;
  left: 60%;
  margin: 0;
  padding: 0;
  border: solid red;
  border-width: 5px 1px 1px 3px;
  background-color: lightgoldenrodyellow;
}

#chat-form {
  width: 100%;
  height: 20%;
  position: absolute;
  top: 80%;
  left: 0;
  margin: 0;
  padding: 0;
  border: solid red;
  border-width: 5px 1px 1px 1px;
  background-color: lightgoldenrodyellow;
}

#chat-players {
  width: 100%;
  height: 100%;
  resize: none;
  padding: 0px;
  margin: 0px;
  font-size: 13px;
}
#chat-server {
  width: 100%;
  height: 100%;
  resize: none;
  padding: 0px;
  margin: 0px;
  font-size: 13px;
}
#chat-input {
  width: 100%;
  height: 100%;
  padding: 0px;
  margin: 0px;
  font-size: 15px;
}
