/* 
hsla(60, 100%, 75%, 0.6)
hsla(137, 100%, 45%, 0.45) 
hsla(5, 90%, 51%, 0.6)
*/
body {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  border: 1px solid red;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}

.content {
  width: 100%;
  border: 1px solid blue;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6vh;
  width: 40vw;
  border: 1px solid black;
}

.outer-game-container {
  border: 1px solid green;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: 66vh;
  width: 100%;
}

.game-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55vh;
  width: 55vh;
  border: 1px solid black;
}

.inner-game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 97%;
  width: 97%;
  border: 1px solid black;

  background-color: cadetblue;
}

svg {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.game-row {
  width: 100%;
  height: 25%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
}

.control-panel {
  width: 95%;
  height: 15vh;
  border: 1px solid magenta;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.points-timer-container {
  width: 40%;
  height: 85%;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
}

.definitions-container {
  border: 1px solid purple;
  height: 85%;
  width: 40%;
  overflow: scroll;
}

.points-counter,
.timer {
  height: 40%;
  width: 80%;
  border: 1px solid red;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  /* align-items: center; */
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.5s;
  z-index: 2;
  padding-top: 2vh;
}

.bg-active {
  visibility: visible;
  opacity: 1;
}

.modal {
  font-family: "Nunito Sans", sans-serif;
  background-color: #e2e2e2;
  position: relative;
  height: 95%;
  width: 95%;
  z-index: 2;
  overflow: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-inner {
  height: 96.5%;
  width: -webkit-fill-available;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* background-image: url("../images/tile-image.jpeg"); */
  background-color: #0077b6;
  filter: brightness(110%);
  border-radius: inherit;
  /* box-shadow: 1px 1px 10px white inset; */
}

.modal-title {
  width: fit-content;
}

.modal-child {
  width: -webkit-fill-available;
  background-color: #0077b6;
  box-shadow: 3px 3px 10px black;
  color: white;
  font-weight: 300;
  padding: 30px;
}

.end-game-board {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  border: 1px solid yellow;
  height: 25vh;
  width: 25vh;
}

.end-board-inner-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 25%;
}

/* .end-game-tile {
  border-radius: 6px;
  font-size: 3vh;
} */

.end-game-inner-tile {
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: inherit;
}
