*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
::selection{
    background-color: rgba(255, 255, 255, 0.5);
    color: #000;
    box-shadow: 0 0 25px var(--shading-color);
}
:root{
    --background-color: #50B498;
    --card-color: #DEF9C4;
    --shading-color: #9CDBA6;
    --sections-color: #468585;
}
body{
    background: var(--background-color);
    height: 100vh;
    display: flex;
    justify-content: space-evenly;
    /* padding: 40px; */
    align-items: center;
    font-family: system-ui;
    color: #fff;
}
.left{
    background: var(--sections-color);
    width: 25%;
    height: 80%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    box-shadow: 0 0 25px var(--shading-color);
}
.left-divs{
    font-size: 50px;
}
.memory-game{
    width: 750px;
    height: 600px;
    display: flex;
    flex-wrap: wrap; 
    perspective: 1000px;
}
.memory-card{
    width: calc(25% - 20px);
    height: calc(33.333% - 10px);
    margin: 10px;
    position: relative;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform .5s;
    box-shadow: 0 0 25px var(--shading-color) ;
    border-radius: 5px;
    cursor: pointer;
}

.memory-card:active{
    transform: scale(.97);
    transition: transform .2s;
}
.memory-card.flip{
    transform: rotateY(180deg);
}
.front-face,
.back-face{
    width: 100%;
    height: 100%;
    padding: 20px;
    border-radius: 5px;
    position: absolute;
    background: var(--card-color);
    backface-visibility: hidden;
}
.front-face{
    transform: rotateY(180deg);
}
/* img{
    
    width: 100px;
} */
