body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.mainContainer {
    display: flex;
    flex-direction: column;
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.065), 0px 0px 3px rgba(0, 0, 0, 0.048), inset 0px 0px 3px rgba(255, 255, 255, 0.1);
}

.memory-game {
    display: grid;
    grid-template-columns: repeat(4, 100px);
    gap: 10px;
}

.card {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    color: #d1d1d100;
    border-radius: 7px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0) 100%), #c7c7c7;
    box-shadow: 0px 0px 7px rgba(66, 66, 66, 0.092);
}
.card:hover {
    box-shadow: 0px 0px 10px rgba(66, 66, 66, 0.22);
    transition: all 0.2s ease-in-out;
}
.card:active {
    background: linear-gradient(180deg, rgba(196, 196, 196, 0.17) 0%, rgba(255, 255, 255, 0) 100%), #c7c7c7;
}
.card.flipped {
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    color: black;
}
.card.matched {
    transition: all 0.2s ease-in-out;
    background-color: #6ebf22;
    color: rgb(255, 255, 255);
}

#resetButton {
    margin-top: 20px;
    border: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0) 100%), #007AFF;
    box-shadow: 0px 1px 2.5px rgba(0, 122, 255, 0.24), 0px 0px 0px 0.5px rgba(0, 122, 255, 0.12);
    border-radius: 7px;
    font-family: 'calibri';
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    color: white;
    padding: 20px;
    font-size: 25px;
}
#resetButton:hover {
    box-shadow: 0px 0px 10px rgba(17, 124, 255, 0.257);
    background-color: #0f83ff;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
#resetButton:active {
    background-color: #0072ec
}
