* {
    box-sizing: border-box;
    font-family: Arial, Tahoma, sans-serif;
    border-radius: 5px;
    margin: 0;
}

.control-buttons {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(255, 235, 205, 0.9);
}

.control-buttons span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(83, 76, 67);
    color: white;
    padding: 25px;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
}

.info-container {
    width: 90%;
    max-width: 1080px;
    margin: 20px auto;
    background-color: #f6f6f6;
    padding: 20px;
    font-size: 24px;
    display: flex;
    justify-content: space-between;
    border: 2px solid #2196f3;
    border-radius: 5px;
}

.game-container {
    display: flex;
    ;
    width: 90% + 20px;
    max-width: 1080px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 20px auto;
}

.stop-clicking {
    pointer-events: none;
}

.game-card {
    height: 200px;
    transition: transform .5s;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    flex: 1 0 200px;
    margin: 0 10px 20px
}

.front {
    background-color: rgb(50, 49, 49);
    line-height: 200px;
}

.front::before {
    content: '?';
    color: white;
    font-size: 140px;
    font-weight: bold;
}

.back {
    background-color: rgb(50, 49, 49);
    transform: rotateY(180deg);
}

.back img {
    width: 140px;
    border-radius: 10px;
    ;
    margin-top: 30px;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    backface-visibility: hidden;
    border: 5px solid #2196f3;
}

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

.signature {
    width: 100%;
    height: 10%;
    padding: 50px;
    background-color: rgb(50, 49, 49);
    text-align: center;
    font-size: 30px;
    color: white;

}
