
.speakerCloseMed {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url(../imgs/sclose.png) center center no-repeat;
  top: 20px;
  right: 20px;
  z-index: 5000000;
  cursor: pointer;
}

body
{
  background-color: #695aa6;
}

.gameMemoryContainer {
  font-family: "Baloo Paaji";
  background-color: #695aa6;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  z-index: -2;
  color: #fff;
}

.labels {
  margin: auto;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #fff;
  word-wrap: break-word;
  margin-top: 20px;
  line-height: 1.9;
}

.frame {
  margin: auto;
  width: 56px;
  border-radius: 12px;
  font-size: 28px;
}

.btn {
  display: inline-block;
  margin: auto;
  background-color: orange;
  color: #fff;
  padding: 10px 5px;
  text-transform: uppercase;
  font-size: 26px;
  border: 0px;
  cursor: pointer;
  border: 0px;
  margin-left: 28px;
  line-height: 1.3;
}

.btn:hover {
  background-color: rgb(255, 94, 0);
  color: #fff;
}

.btn-rounded {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.fa {
  font-size: 14px;
}

.flipx {
  transform: scaleX(-1);
}

#score {
  margin-top: 5px;
}

#outer-board {
  width: 365px;
  margin: auto;
}

#board {
  float: left;
  position: relative;
  width: 355px;
  height: 561px;
  margin: 10px auto;
  background-color: rgba(0, 0, 0, 0.3);
  margin-left: calc(50% - 177.5px);
  overflow: hidden;
}

#stats {
  float: left;
  position: relative;
  width: 355px;
  height: 50px;
  margin: 10px auto;
  margin-left: calc(50% - 177.5px);
}

#banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 100px;
  color: #fff;
  z-index: 2;
  text-align: center;
}

#message {
  font-weight: bold;
  font-size: 23px;
  margin: 10px;
  margin-top: 20px;
  line-height: 1;
}

#new-game {
  background: orangered;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  margin: 20px auto;
  padding: 10px 20px ;
  font-family: "Baloo Paaji";
  font-size: 22px;
  color:#fff;
}

#new-game:hover {
  background: orangered;
}

.block,
.empty {
  position: absolute;
  width: 35px;
  height: 35px;
  margin-top: -2px;
}

.empty {
  opacity: 0.06;
}

.inner-tile {
  position: absolute;
  background-color: orange;
  width: 34px;
  height: 34px;
  margin: 3px;
  border-radius: 6px;
}

.inner-inner-tile {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  width: 8px;
  height: 8px;
  margin: 6px;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 3px 3px rgba(255,255,255,0.6);
-moz-box-shadow: 0px 0px 3px 3px rgba(255,255,255,0.6);
box-shadow: 0px 0px 3px 3px rgba(255,255,255,0.6);
}


.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99999999;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

/* Confetti piece */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: random;
  animation: confetti-fall 2s linear forwards;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
  }
}