*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* new part */
.title{
  font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 20px;
  position: relative;
  top: 19px;
  left: 152px;
}
.moves{
  box-shadow: 0 0.6em 2em rgb(0, 0, 79);
  margin: 30px;
  padding: 8px;
  border-radius: 5px;
  height: 45px;
  width: 105px;
  /* background:white; */
  color: white;
  position: relative;
    top:-190px;
    left: 406px;
}

.timer{
  margin: 30px;
  padding: 6px;
  position: relative;
  top:-262px;
  left: 956px;
}

.controls-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 114);
  top: 0;
}

.controls-container button {
  font-size: 1.3em;
  box-shadow: 0 0.6em 2em rgb(0, 0, 87);
}
.hide {
  display: none;
}
/* new part finish */

.controls {
  position: absolute;
  top: 40%;
  left: 10%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
button {
  background:white;
  color: rgb(0, 0, 100);
  border-radius: 5px;
  padding: 10px 20px;
  border: 0;
  cursor: pointer;
  font-size: 18pt;
  font-weight: bold;
}

.disabled {
  color: #757575;
}
.stats {
  /* border: 2px solid red; */
  color: #FFF;
    font-size: 14pt;
    width: 400px;
    height: 50px;
    position: relative;
    top: -41px;
    font-weight: bold;
}
body{
  height: 100vh;
  background-color: rgb(0, 0, 86);
  display: flex;
}

.mid{
  position: relative;
  left: 426px;
}

.mem-board{
  position: relative;
  top: 74px;
  left: -54px;
  /* border: 2px solid red; */
  /* background-color: white; */
  border-radius: 5px;
  width: 678px;
  height: 635px;
  padding: 4px 4px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  perspective: 1000px;
}

/* .blank{
  height: 20px;
  width: 200px;
  background-color: red;
} */

.mem-card{
  width: 20%;
  height: 25%;
  /* margin: 3px; */
  /* box-shadow: 0 0.6em 2em rgb(0, 0, 79); */
  position: relative;
  transform: scale(1);
  transform-style: preserve-3d;
  transition: transform .2s;
}

.mem-card :active{
  transform: scale(.97);
  transition: .2s;
}

.mem-card.flip {
  transform: rotateY(180deg);
}

.back{
  width: 100%;
  height: 100%;
  padding: 3%;
  border-radius: 12px;
  position: absolute;
  backface-visibility: hidden;
}

.front{
  width: 98%;
  height: 96%;
  padding: 3%;
  border-radius: 12px;
  position: absolute;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  background-color: white;
}

img{
  width: 100px;
}


