* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}




.flipped {
    background-color:red;
    transform: rotateY(180deg);
}

.centertext {
    font-size:180px;
    color:white;
    text-align: center;
    display:flex;
    justify-content: center;
    align-items: center;
}

.memory-game {
    /* width: 700px; */
    /* height: 100%; */
    /* margin: auto; */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    /* flex-wrap: wrap; */
    perspective: 1000px;
}

.memory-card {
    width: calc(25% - 10px);
    height: calc(40% - 10px);
    margin: 5px;
    position: relative;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform .5s;
    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;
    position: absolute;
    border-radius: 5px;
    background: #430cb9;
    backface-visibility: hidden;
    border: solid white;
    border-width: 5px;
}

.cover {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    height: 100%;
}

.front-face {

    transform: rotateY(180deg);
}

.match>.front-face {
    background: #7c0281;
}


.menu-width {
    width:75px;
    background-color:cadetblue;
}
a {
    text-decoration: none; 

}
a:link { 
    text-decoration: none; 
} 
a:visited { 
    text-decoration: none; 
} 
a:hover { 
    text-decoration: none; 
} 
a:active { 
    text-decoration: none; 
}