body {
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: darkolivegreen;
    color:bisque;
/* DIV flip */
    perspective: 1000px;
    margin:0px auto;
    transition:all 1000ms;
}

#game {
  text-align: center;
  margin: 0 auto;
}
#game div {
    border: 1px solid bisque;
    width: 15%;
    height: 200px;
    margin: 15px;
    padding:15px;
    display: inline-block;
    transition:all 500ms;
    border-radius: 15px;
    background: linear-gradient(olive,olivedrab);
  /* D div.flip */
    perspective: 1000px;
    transform-style: preserve-3d;
    /* Hidden sides */
    /* backface-visibility: hidden; */

  }


#game div:hover {
    border: 1px solid burlywood;
    width: 15%;
    height: 200px;

    transform: scale(1.03);
    transition: transform .2s;
  }

  h1 {
    text-align: center;
    transition:all 2000ms;
    position:relative;
  }

/* creates click effect */
  #game div:active {
    transform: scale(0.97);
    transition: transform .2s;
  }

  /* Flipping animation */
  #game div.flipped {
    transform: rotateY(180deg);
  }







  
  .front-face,
.back-face {
  width: 100%;
  height: 100%;
  padding: 20px;
  position: absolute;
  border-radius: 5px;
  background: #1C7CCC;
 /* backface-visibility: hidden; */
}
  
.front-face {
  transform: rotateY(180deg);
}

