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

.body1{
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-container{
    width: 640px;
    height: 640px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 10px;
    perspective: 1000px;
}

.card{
    border: 1px solid white;
    border-radius: 10px;
    position: relative;
    background: #1485c7;
    transform-style: preserve-3d;
    transition: all .2s;
    box-shadow: 1px 1px 10px black;
}
.card:active{
    transform: scale(.95);
    transition: all .2s;
}
.card.flip{
    transform: rotateY(180deg);
}

.front,
.back{
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    backface-visibility: hidden;
}

.front{
    transform: rotateY(180deg);
}
/*
.score-board {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
  }
    /*