body {
   background: #000;
   background-image: url("img/fundo_game.jpg");
   background-size: cover;
   background-repeat: no-repeat;
   background-position: inherit;
}

.h1, h1 {
  color: #fff;
}

.hblogo {
  border-style: none;
  width: 10%;
  height: auto;
  margin: auto;
  display: flex;
  padding-top: 4%;
}

.board {
    width: 476px;
    height: 490px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    perspective: 1000px;
}

.time {
    width: 520px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    perspective: 1000px;
    color: #fff;
}

.cards {
    width: calc(25% - 10px);
    height: calc(33.333% - 10px);
    margin: 5px;
    position: relative;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform .5s;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
}

.cards:active {
    transform: scale(0.97);
    transition: transform .2s;
}

.cards.flip {
    transform: rotateY(180deg);
}

.front-face,
.back-face {
    width: 100%;
    height: 100%;
    padding: 2px;
    position: absolute;
    border-radius: 5px;
    background: #fff;
    backface-visibility: hidden;
}

.front-face {
    transform: rotateY(180deg);
}
