body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

.container {
    text-align: center;
    color: #333333; /* Gris oscuro */
}

h1, h2 {
    margin: 0;
}

h1 {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 2em;
}

h2 {
    margin-bottom: 20px;
    font-size: 1.2em;
    color: #555; /* Un tono de gris oscuro */
}

.game-board {
    display: grid;
    grid-template-columns: repeat(3, 100px); /* Cambiado numero columnas */
    grid-gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.card {
    width: 100px;
    height: 150px;
    perspective: 1000px;
    position: relative;
}

.card .front, .card .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.6s;
}

.card .front {
    background-color: #1e90ff;
    transform: rotateY(0);
}

.card .back {
    background-color: #fff;
    transform: rotateY(180deg);
}

.card .back img {
    width: 80px;
    height: 80px;
}

.card.flipped .front {
    transform: rotateY(180deg);
}

.card.flipped .back {
    transform: rotateY(0);
}

button {
    background-color: #1e90ff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1c86ee;
}
