@font-face {
  font-family: playMeGames;
  src: url("./fonts/PlayMeGames-Demo.otf");
}

@font-face {
  font-family: halfBoldPixel;
  src: url("./fonts/half_bold_pixel-7.ttf");
}

body {
  overflow: hidden;
  background-image: url("./images/backgrounds/Tetris\ background.jpg");
  background-size: cover;
  background-attachment: fixed;
  font-family: halfBoldPixel;
}

#level-banner {
  font-size: xx-large;
  position: relative;
  justify-content: center;
  align-items: center;
  color: white;
  z-index: 10;
}

#game {
  padding-top: 10%;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.square {
  padding-top: 100%;
  background-color: rgb(20, 20, 20);
  border: 1px solid rgb(88, 88, 88);
}

#stats-container {
  position: absolute;
  color: yellow;
  text-align: center;
  font-size: xx-large;
  size: 100%;
  padding-right: 30%;
  padding-bottom: 30%;
}

.hidden {
  visibility: hidden;
}

.queue-piece,
.stack-piece {
  display: block;
}

#game-over {
  position: relative;
  text-align: center;
  font-size: 300%;
  transform: translateY(-100px);
  color: white;
  z-index: 10;
}

.col {
  padding-right: 0;
  padding-left: 0;
}

.logo {
  position: absolute;
  width: 30%;
}

#menu-container {
  margin-top: 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.button-32 {
  position: absolute;
  margin-top: 20%;
  background-color: #fff000;
  border-radius: 12px;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  padding: 10px 15px;
  text-align: center;
  transition: 200ms;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-32:not(:disabled):hover,
.button-32:not(:disabled):focus {
  outline: 0;
  background: #f4e603;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 3px 8px 0 rgba(0, 0, 0, 0.15);
}

.button-32:disabled {
  filter: saturate(0.2) opacity(0.5);
  -webkit-filter: saturate(0.2) opacity(0.5);
  cursor: not-allowed;
}

#grid-container {
  position: absolute;
  transform: scale(0.3);
  border: 20px solid white;
  border-radius: 10px;
}

#queue-container {
  position: absolute;
  margin-left: 30%;
  top: 0;
  left: 60;
  z-index: 1;
  transform: scale(0.4);
}

.piece-queue,
.piece-stack {
  background-color: rgb(0, 0, 0);
  border: 5px solid rgb(59, 59, 59);
  border-radius: 25px;
}

#stack-container {
  position: absolute;
  margin-left: 30%;
  margin-top: 20%;
  z-index: 1;
  transform: scale(0.4);
}

.controls {
  padding-top: 130%;
  position: absolute;
  transform: scale(0.3);
}
