* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-blend-mode: multiply, multiply;
  background-size: cover;
  background-position: 50% 50%;
  transition: background 0.5s ease-in-out;
  background-color: darkcyan;
}

.gameIconImage {
  position: absolute;
  border-radius: 30%;
  top: 475px;
  left: 120px;
  width: 225px;
  height: 100px;
}

.gameIconImage:hover {
  position: absolute;
  border-radius: 30%;
  top: 475px;
  left: 120px;
  width: 225px;
  height: 100px;
  opacity: 0.75;
}

.gameIconImageOther {
  position: absolute;
  border-radius: 30%;
  top: 475px;
  right: 110px;
  width: 225px;
  height: 100px;
}

.gameIconImageOther:hover {
  position: absolute;
  border-radius: 30%;
  top: 475px;
  right: 110px;
  width: 225px;
  height: 100px;
  opacity: 0.75;
}

.returnToGamePage {
  position: absolute;
  top: 600px;
  left: 100px;
  font-size: 2rem;
  font-weight: 1000;
  text-align: center;
}

.returnToGamePage:hover {
  position: absolute;
  top: 600px;
  left: 100px;
  font-size: 2rem;
  font-weight: 1000;
  text-align: center;
  color: violet;
}

.returnToGamePageOther {
  position: absolute;
  top: 600px;
  right: 100px;
  font-size: 2rem;
  font-weight: 1000;
  text-align: center;
}

.returnToGamePageOther:hover {
  position: absolute;
  top: 600px;
  right: 100px;
  font-size: 2rem;
  font-weight: 1000;
  text-align: center;
  color: violet;
}

.bkg-0 {
  background-image: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
}
.bkg-1 {
  background-color: #dcd9d4;
  background-image:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    radial-gradient(
      at 50% 0%,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(0, 0, 0, 0.5) 50%
    );
  background-blend-mode: soft-light, screen;
}

.bkg-2 {
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(0, 0, 0, 0.15) 100%
    ),
    radial-gradient(
        at top center,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(0, 0, 0, 0.4) 120%
      )
      #989898;
  background-blend-mode: multiply, multiply;
}

.bkg-3 {
  background-image: linear-gradient(to top, #accbee 0%, #e7f0fd 100%);
}

.bkg-4 {
  background-image: linear-gradient(to top, #6a85b6 0%, #bac8e0 100%);
}

.bkg-5 {
  background-image:
    linear-gradient(to left, #bdbbbe 0%, #9d9ea3 100%),
    radial-gradient(
      88% 271%,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(254, 254, 254, 0.25) 1%,
      rgba(0, 0, 0, 0.25) 100%
    ),
    radial-gradient(
      50% 100%,
      rgba(255, 255, 255, 0.3) 0%,
      rgba(0, 0, 0, 0.3) 100%
    );
  background-blend-mode: normal, lighten, soft-light;
}

.bkg-6 {
  background-image: linear-gradient(45deg, #8baaaa 0%, #ae8b9c 100%);
}

.bkg-7 {
  background-image: linear-gradient(
    to top,
    #c4c5c7 0%,
    #dcdddf 52%,
    #ebebeb 100%
  );
}

.bkg-8 {
  background-image: linear-gradient(to right, #a8caba 0%, #5d4157 100%);
}

.bkg-9 {
  background-image: linear-gradient(
    to top,
    lightgrey 0%,
    lightgrey 1%,
    #e0e0e0 26%,
    #efefef 48%,
    #d9d9d9 75%,
    #bcbcbc 100%
  );
}

.game-box {
  display: grid;
  grid-gap: 1px;
  border: 5px solid rgba(0, 0, 0, 0.5);
  box-shadow: 0px 10px 10px 10px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 1);
  overflow: hidden;
}

.game-box div,
.next-box div {
  border-radius: 15%;
  transition: transform 0.25s linear;
}

.game-box div.remove {
  transform: rotateY(90deg);
}

.game-box div.piece {
  border-left: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid rgba(255, 255, 255, 0.3);
  border-right: 3px solid rgba(0, 0, 0, 0.3);
  border-bottom: 3px solid rgba(0, 0, 0, 0.3);
}

.game-over,
.paused {
  position: absolute;
  display: flex;
  place-items: center;
  width: 50vw;
  height: 30vh;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: none;
}

.game-over span,
.paused span {
  display: block;
  font-size: 4rem;
  color: white;
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  width: 100%;
}

.hidden {
  opacity: 0;
}

.score-box {
  position: absolute;
  top: 10rem;
  left: 5.5rem;
  width: 14vw;
  height: 5vw;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  padding-left: 10px;
  font-size: 2.5rem;
  font-weight: bold;
  border-radius: 50%;
}

.next-box {
  background-color: rgba(255, 255, 255, 0);
  display: grid;
  gap: 1px;
  border-radius: 20%;
}

.next-text {
  position: absolute;
  top: 7rem;
  right: 6rem;
  font-size: 2rem;
  font-weight: bold;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 10px;
}

.next-text span {
  display: block;
  padding-bottom: 15px;
}
