.alert {
  position: absolute;
  padding: 20px;
  background-color: #f44336;
  color: white;
  margin-bottom: 15px;
  opacity: 1;
  transition: opacity 0.6s;
  visibility: hidden;
  pointer-events: none;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

body {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.container {
  width: 100%;
  height: 100%;
  display: flex;
}

.firstPanel {
  flex: 1;
  padding-top: 60px;
}

.gameInfo {
  background-color: #3d4866;
  color: white;
  padding: 10px;
  border-radius: 5px;
  min-height: 80%;
  max-width: 80%;
  min-width: 80%;
  height: 80%;
  max-height: 80%;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
}

.gameHeader {
  grid-row-start: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invitation {
  background-color: #f1f1f1;
  color: black;
  border-radius: 5px;
  padding: 15px;
  grid-row-start: 6;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  min-width: 80%;
  align-self: center;
  justify-self: center;
  align-items: center;
}

.playerScore {
  padding-right: 20px;
}

.secondPanel {
  padding-top: 80px;
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thirdPanel {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.playerListHeader {
  background-color: #3d4866;
  padding: 10px;
  width: 50%;
  color: white;
  border-radius: 5px;
  order: 0;
}

.playerList {
  background-color: #f1f1f1;
  margin-top: 20px;
  min-height: 80%;
  max-width: 80%;
  min-width: 80%;
  height: 80%;
  max-height: 80%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.joinGameForm {
  align-self: start;
}

.playerTurn {
  font-size: 20px;
}

#playerName {
  height: 30px;
}

#playerName:focus {
  background: rgb(0 0 0 / 10%);
  border-radius: 5px;
}

.turnInfo {
  padding: 10px;
}

.player {
  padding: 10px;
  border-bottom: 1px solid #ccc;
  position: relative;
}

.player:hover {
  background-color: #f9f9f9;
}

.button-1 {
  background-color: #7a6f53;
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 40px;
  line-height: 20px;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 10px 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-1:hover,
.button-1:focus,
.button-2:hover,
.button-2:focus {
  background-color: #bab3a2;
}

.button-1:disabled {
  background-color: #bab3a2;
  cursor: not-allowed;
}
.button-2 {
  background-color: #7a6f53;
  border-radius: 8px;
  border-style: none;
  box-sizing: border-box;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-family: "Haas Grot Text R Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 10px;
  font-weight: 500;
  list-style: none;
  margin: 0;
  outline: none;
  padding: 5px 8px;
  text-align: center;
  text-decoration: none;
  transition: color 100ms;
  vertical-align: baseline;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  position: absolute;
  right: 5%;
  visibility: hidden;
}

.player:hover .button-2 {
  visibility: visible;
}
