* {
  font-family: Arial, Helvetica, sans-serif;
}

.panel {
  margin: auto;
  width: 100%;
  padding: 20px;
}

.panel-content {
  display: flex;
  justify-content: space-between;
}

.flex {
  display: flex;
  flex-direction: row;
}

.square {
  width: 50px;
  height: 50px;
  background: #05396b;
  font-size: 1.3em;
  color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: 2px;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.BRET-square {
  width: 10px;
  height: 10px;
  background: #05396b;
  font-size: 0.5em;
  color: #f2f2f2;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: 2px;

  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.BRET-square:hover {
  background: #2475c0;
  cursor: pointer;
}

.BRET-selected {
  background: #2475c0 !important;
}

.BRET {
  display: flex;
  justify-content: space-between;
  padding: 0px 50px;
}

.BRET-table {
  width: 100%;
}

.BRET-table table,
th,
td {
  border-collapse: collapse;
  border: none;
}

#ticktacktoe table,
th,
td {
  border-collapse: collapse;
  border: none;
}

.table-top-labels,
.table-top-labels td {
  font-weight: bold;
  font-size: 1.5em;
  border: 0px;
  text-align: center;
  table-layout: none;
  padding: 20px 0px 10px 0px;
  margin-bottom: 0;
}

.table-side-labels {
  font-weight: bold;
  font-size: 1.5em;
  border: 0px;
  text-align: center;
  table-layout: none;
  padding-right: 10px;
  padding-top: 5px;
}

/* chat */
#message-board {
  width: 40%;
  margin: 53px 93px 0px 20px;
  display: flex;
  flex-direction: column;
  align-content: stretch;
}

@media only screen and (min-width: 1600px) {
  #message-board {
    width: 35%;
    margin: 53px 93px 0px 20px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
  }

  .container {
    width: 80%;
    display: block;
    margin: auto;
    height: fit-content;
  }

  .panel {
    width: 80%;
    margin: auto;
    padding: 20px;
  }
}

@media only screen and (max-width: 1200px) {
  #message-board {
    width: 50%;
    margin: 53px 93px 0px 20px;
    display: flex;
    flex-direction: column;
    align-content: stretch;
  }

  .container {
    width: 80%;
    display: block;
    margin: auto;
    height: fit-content;
  }

  .panel {
    width: 80%;
    margin: auto;
    padding: 20px;
  }
}

#chat-content {
  border: none;
  border-radius: 20px 0px 0px 0px;
  background-color: #389583;
  padding: 0 10px;
  height: 95%;
  overflow-y: scroll;
  max-height: 400px;
  color: #f2f2f2;
}

#chat-content::-webkit-scrollbar {
  background-color: #389583;
}
#chat-content::-webkit-scrollbar-thumb {
  background-color: #033c3d;
  border-radius: 40px;
  border: 5px solid #389583;
}

#chat-content p {
  margin: 0;
}

#chat-content p:nth-child(1) {
  margin-top: 20px;
}

#chat-form {
  display: flex;
}

#chat-input,
#chat-input:active,
#chat-input::placeholder {
  border: none;
  outline: none;
  border-radius: 0px 0px 0px 20px;
  background-color: #2c7667;
  padding-left: 20px;
  height: min(38px);
  font-size: 1em;
  width: 80%;
  padding-top: 3px;
  color: #f2f2f2;
}

#send-chat {
  width: 20%;
  background-color: #056162;
  font-size: 0.8em;
  border-radius: 0px 0px 20px 0px;
  border: none;
  outline: none;
  color: white;
  font-weight: bold;
}

#send-chat:hover {
  cursor: pointer;
  opacity: 90%;
}

/* Payoff table*/
.payoff-table {
  border-collapse: collapse;
  width: 100%;
  margin-left: 23px;
  margin-top: 20px;
  text-align: center;
}

.payoff-table td {
  border: none;
  padding: 8px;
}

.payoff-table tr {
  background-color: #b6b6b6;
  height: 40px;
}
.payoff-table tr:nth-child(1) {
  background-color: #5cdb94;
  font-weight: bold;
}

/* Buttons */

.btn {
  padding: 10px 15px;
  border-radius: 10px;
  border: none;
  background-color: #056162;
  color: #f2f2f2;
}

.btn:hover {
  cursor: pointer;
  opacity: 90%;
}

.dropdowns {
  font-size: 1.5em;
}

.dropdowns select {
  font-size: 1.3em;
  width: 3em;
  text-align: center;
}

.dropdowns .btn {
  font-size: 1em;
}

#timer-01 {
  font-weight: bold;
  color: red;
}

/* survey */
.container {
  display: block;
  width: 100%;
  margin: auto;
  height: fit-content;
}

.main {
  height: 500px;
}

.btn:hover {
  cursor: pointer;
  opacity: 80%;
}

.btn-main {
  float: right;
}

.question-span {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.question-span select {
  padding: 5px;
  border-radius: 10px;
  border-color: rgb(0, 166, 255);
  background-color: rgba(0, 166, 255, 0.2);
}

.question-span option {
  padding: 20px;
}

.likert li {
  float: left;
  list-style-type: none;
  padding: 0px 15px;
}

.likert {
  display: flex;
  width: 600px;
}

.likert-span {
  border-bottom: 1px black solid;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.likert-span > :first-child {
  width: 600px;
}

.likert-span > :last-child {
  width: minmax(100px, 200px);
}

/* PRocessing */
.processing-banner {
  align-self: center;
  justify-self: center;
  transform: translate(-50%, -50%);
  display: none;
  background-color: rgba(60, 60, 60, 0.75);
  width: 35%;
  height: 35%;
  z-index: 100;
  justify-content: center;
  align-items: center;
  color: black;
  font-size: 50px;
  font-weight: bold;
}
