*{
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #258de89e;
    color: #14ccd6ba;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
        
    )
    ,url("game-886344_1280.jpg");
    background-repeat: no-repeat;
    background-size:cover;
    background-position:center center;
}
.game-container{
    text-align: center;
}
.memory-game{
    display: grid;
    grid-template-columns: repeat(4, 100px);
    gap: 10px;/*Espacio entre las cartas*/
    margin-top: 20px;
}
.card{
    width: 100px;
    height: 100px;
    background-color: #20ac8ebf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(36, 83, 211, 0.857);
}
.card .icon{
    display: none;
}
.card.flip .icon{
    display: block;
    color: #333;
}
.card.flip{
    background-color: #f0f0f0;
    color: #333;
}
button{
    color: rgb(13, 101, 101);
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
button:hover{
    background-color: #a0d4d3;
}
p{
    font-size: 18px;
    color: rgba(30, 96, 230, 0.921);
    word-break: break-word;
}