* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #12bdac;
  text-align: center;
}

h1 {
  font-size: 2.65rem;
  padding: 2.5rem 0 1rem 0;
}

.container {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}

#timer {
  height: 2.75rem;
  width: 5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background-color: #07645a;
  color: #fff;
  font-size: 1.35em;
  margin: 0.75rem 0;
}

.game {
  height: 60vmin;
  width: 60vmin;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5vmin;
}

.box {
  height: 18vmin;
  width: 18vmin;
  border-radius: 1rem;
  border: none;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
  font-size: 8vmin;
  color: #b0413e;
  background-color: #e2e2b2;
  cursor: pointer;
}

.btn {
  padding: 0.75rem 1rem;
  margin: 1.75rem 0;
  font-size: 1rem;
  background-color: #191913;
  color: #ffffff;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
}

#msg {
  color: #ffffc7;
  font-size: 5vmin;
}

.msg-container {
  height: 100vmin;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 4rem;
}

.hide {
  display: none;
}

.small {
  font-size: 24px;
}

.medium {
  font-size: 32px;
}

.large {
  font-size: 40px;
}

.piece-selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 0.75rem;
}

.player {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.player div {
  border: 2px solid rgb(140, 197, 136);
  border-radius: 0.5rem;
  position: relative;
  font-size: 1.25rem;
  padding: 0.5rem;
  background-color: rgb(140, 197, 136);
  cursor: pointer;
}

.player div span {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  font-size: 0.8rem;
  border-radius: 50%;
  padding: 0.15rem 0.3rem;
  background-color: rgb(63, 121, 207);
  color: #fff;
}

.turn {
  position: absolute;
  left: 0;
  right: 0;
  top: 50vh;
  margin-left: auto;
  margin-right: auto;
  background-color: #08675e;
  opacity: 0.8;
  border-radius: 0.25rem;
  padding: 0.75rem 1.5rem;
  width: 30vw;
  color: white;
  font-size: 1.5rem;
  display: none;
}
