body {
    height: 100vh;
    display: flex;
    background-image: url("/img/purple-presents.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.content-card h1, .content-card h3, .content-card p {
    color: #FFFFFF;
}

.start-game {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
    color: mediumslateblue;
}

.start-game:hover {
    background-color: mediumslateblue;
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.fake-game {
    margin: 0 auto;
}

.fake-game-content {
    width: 500px;
    height: 350px;
    margin: 200px auto;
}

.fake-game-content h1, .fake-game-content p {
    color: #000;
}

.game {
    margin: 100px auto;
}

.cards {
    width: 640px;
    height: 640px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    perspective: 1000px;
}

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

.memory-card:active {
    transform: scale(0.97);
    transition: transform .2s;
}

.memory-card.flip {
    transform: rotateY(180deg)
}

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

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

.winner img {
    width: 300px;
}

.continue-quest {
    background-color: #FFFFFF;
    color: mediumslateblue;
}

.continue-quest:hover {
    background-color: mediumslateblue;
    border-color: #FFFFFF;
    color: #FFFFFF
}
