*
{
    padding: 0;
    margin: 2px;
    box-sizing: border-box;
}
body
{
    height: 100vh;
    background-image:url("../img/background.jpg");
    display: flex;
}
.timer
{
    display:inline-list-item;
    border-radius: 30px;
    padding: 5rem;
    color: snow;
}
p
{
    background: orangered;
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    font-size: 40px;
    font-weight: bold;
    height: 70px;
    width: 200px;
    justify-content: center;
    margin: 0;
}
.memory-game
{
    width: 600px;
    height: 500px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    perspective: 1000px;
}
.memory-card
{
    width: calc(25% - 10px);
    height: calc(33.333% - 10px);
    margin: 5px;
    position: relative;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform .6s;
    box-shadow: 1px 1px 1px rgba(0,0,0,3);
}
.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;
    border-radius: 5px;
    background: blue;
    position: absolute;
    backface-visibility: hidden;
}
.front-face
{
    transform: rotateY(180deg);
}
.back-face
{
    border-color: black;
}
.winning-background {
    background-color: rgb(11, 14, 14);
    justify-content: center;
    text-align: center;
    align-self: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    opacity: .2;
}
.winning-dialog{
    background-color: rgb(22, 27, 27);
    justify-content: center;
    text-align: center;
    align-self: center;
    color: brown;
}
.button
{
    border: none;
    border-radius: 5px; 
    color: blue;
      
}
.is-hidden
{
    display: none;

}
