.game-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/*
 * Styles for the deck of cards
 */

.deck {
    width: 680px;
    min-height: 680px;
    background: white;
    padding: 32px;
    -webkit-box-shadow: 0px 0px 58px -20px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 58px -20px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 58px -20px rgba(0,0,0,0.5);
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 auto;
   
}

.deck .card {
    height: 125px;
    width: 125px;
    background: #009ED4;
    font-size: 0;
    color: #ff00c8;
    border-radius: 8px;
    cursor: pointer;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0px 0px 27px -8px rgba(0,0,0,0.5);
}

.deck .card img {
    display: none;
}

.deck .card.open {
    transform: rotateY(0) !important;
    background: #00376A;
    cursor: default;
}

.deck .card.open img {
    display: block !important;
}

.deck .card.show {
    font-size: 50px;
}

.deck .card.show img {
    display: block !important;
}

.deck .card.match {
    cursor: default;
    background: #02ccba;
    font-size: 50px;
}

.deck .card.match img {
    display: block !important;
}

/*
 * Responsiveness
 */

@media only screen and (max-width: 800px){
    .deck .card{
      width: 75px;
      height: 75px;
      line-height: 75px;
    }
  
    .deck {
      width: 500px;
    }
}
  
@media only screen and (max-width: 450px){
    .deck .card{
      width: 50px;
      height: 50px;
      line-height: 50px;
    }
  
    .deck {
      width: 300px;
    }
}