* {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    box-sizing: border-box;
}
*[hidden] {
    display: none;
}
body{
    height: 100vh;
    width: 100vw;
    background: #74ecd5;
    background: -webkit-linear-gradient(to right,#acb6e5,#74ebd5);
    background: linear-gradient(to right,#acb6e5,#74ebd5);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    line-height: 1;
}

.logo-holder {
  width: 150px;
  height: 75px;
  background-color: #4C4660;
  border: 4px solid #FF4571;
  border-radius: 10px;
  text-align: center;
  margin-top: 0%;
  margin-left:35%;
}
.logo-holder .logo {
  color: #fff;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.1em;
  margin-top: 10px;
  margin-bottom: 5px;
  text-align: center;
}
#playPuseBTN{
  width: 50px;
  height: 50px;
  border-radius: 50px;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  z-index: 1;
}
#back{
  width: 45px;
  height: 70px;
  /* border-radius: 50px; */
  position: absolute;
  top: 0px;
  left: 10px;
  /* background-color: rgba(255, 255, 255, 0.5); */
  cursor: pointer;
  z-index: 1;
  transform: rotateY(180deg);
}  
h1{
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
section{
    display: grid;
    grid-template-columns: repeat(3, 6rem);
    grid-template-rows: repeat(4, 6rem);
    grid-gap: 2rem;
    perspective: 800px;
}
.card{
    position: relative;
    transform-style: preserve-3d;
    transition: all 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
}
.face,
.back {
    width: 100%;
    height: 100%;
    position: absolute;
    pointer-events: none;
    background-color: white;
}
.back{
    background: white;
    backface-visibility: hidden;
}

.toggleCard {
    transform: rotateY(180deg);
}
.face{
    transform: rotateY(-180deg);
}

.custom-btn {
  margin: 20px;
  text-align: left;
  width: 90%;
  height: 16%;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: 'Lato', sans-serif; 
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
   box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5),
   7px 7px 20px 0px rgba(0,0,0,.1),
   4px 4px 5px 0px rgba(0,0,0,.1);
  outline: none;
}
#shape{
  width: 75px;
  height: 75px; 
}
.shape{
  font-family:monospace;
  font-weight: 900;
  font-size: xx-large;
  vertical-align: top;
  margin-left: 10%;
}
/* 10 */
.btn-10 {
  background: rgb(22,9,240);
background: linear-gradient(0deg, rgba(22,9,240,1) 0%, rgba(49,110,244,1) 100%);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  overflow: hidden;
}
.btn-10:after {
  position: absolute;
  content: " ";
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
  -webkit-transform: scale(.1);
  transform: scale(.1);
}
.btn-10:hover {
  color: #fff;
  border: none;
  background: transparent;
}
.btn-10:hover:after {
  background: rgb(0,3,255);
background: linear-gradient(0deg, rgba(2,126,251,1) 0%,  rgba(0,3,255,1)100%);
  -webkit-transform: scale(1);
  transform: scale(1);
}

.popup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #002129;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 19;
    pointer-events: none;
}
.popup-container .popup {
    min-width: 300px;
    padding: 50px 40px 30px;
    border-radius: 30px;
    opacity: 0;
    /* background-color: rgba(255, 255, 255, 0.8); */
    background: -webkit-linear-gradient(to right,#acb6e5,#74ebd5);
    background: linear-gradient(to right,#acb6e5,#74ebd5);
    position: absolute;
    transform: translateY(20px);
    transition: 0.2s;
    pointer-events: none;
    z-index: 1;
}
.popup-container .popup::after {
    content: "";
    display: block;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    border: solid 5px #002129;
    border-radius: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.popup-container .popup .title {
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.popup-container .popup .info {
    font-size: 16px;
    color: #002129;
    text-align: center;
}
.popup-container .popup .info ul {
    list-style-type: disc;
    padding-left: 1em;
    text-align-last: left;
}
.popup-container .popup .info ul li {
    margin-top: 10px;
}
.popup-container .popup .info .num {
    font-size: 20px;
    font-weight: bold;
  }
  .popup-container .popup .button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin-top: 30px;
  }
  .popup-container .popup .button-container .button {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    font-size: 16px;
    text-align: center;
    letter-spacing: 1px;
    background-color: #002129;
    border-radius: 100px;
    padding: 15px 30px 10px;
    cursor: pointer;
  }
  .popup-container .popup .button-container .button.button-2 {
    padding: 0;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
    color: #002129;
    background-color: transparent;
  }
  .popup-container .popup.active {
    opacity: 1;
    transform: translateY(0px);
    pointer-events: auto;
  }
  .popup-container .popup.active ~ .mask {
    opacity: 1;
    
  }
  .popup-container .mask {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
  }
  .score {
    position: absolute;
    top: 30px;
    left: 50px;
    color: #fff;
    text-align: right;
  }
  .score .title {
    font-size: 20px;
  }
  .score .num {
    font-size: 25px;
  }
  .title #playerLivesCount {
    font-size: 25px;
  }
  #selectCard{
    display: none;
  }