*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    height: 100vh;
    display: flex;
    background-image: url('./img/banner.png');
    flex-direction: column;
   
}

.title{
    margin: auto;
    align-items: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 100px;
    
  
    color: rgb(25, 61, 129);
}
.memory-game{
    height: 640px;
    width: 640px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    
}

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

.card:active{
    transform: scale(0.97);
    transition: transform 0.3s;
}

.card-front,
.card-back{
    width: 100%;
    height: 100%;
    padding: 20px;
    position: absolute;
    border-radius: 50px;
    background: rgba(54, 189, 189, 0) ;
    backface-visibility: hidden;
    
    
}

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

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