*{
    margin: 0px;
    overflow: hidden;
   
    
}
h1{
    background: #161623; 
    color: aliceblue;
    text-align: center;
    font-size: 2.5rem;
    padding-top: 1rem;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #161623;  
    flex-wrap: wrap;
}
.container::before {
    content: '';
    position: absolute;
        top: 0;
        left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(#f00, #f0f);
    clip-path: circle(20% at right 70%);
}

.container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(#2196f3, #e91e63);
    clip-path: circle(20% at 10% 10%);
}


.cards{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    z-index: 1;
}

.game{
    height: 68vmin;
    padding: 2rem;
    width: 68vmin;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    margin-bottom: 7rem;
    justify-content: center;
    gap: 1.5vmin;
    flex-wrap: wrap;
    border-radius: 15px;
    box-shadow: 20px 20px 50px rgba(0,0,0,0.5);
    border-left: 1px solid rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    
}
.box{ 
    height: 18vmin;
    width: 18vmin;
    color: #b0413e;
    background-color: #c0c0b8;
    flex-wrap: wrap;
    display: flex;
    transition: all 0.3s ease;
    color: rgb(33, 33, 31);
    font-size: 2rem;
    text-align: center;
    align-items: center;
    justify-content: center;
}
.box:hover {
    background-color: #fffbfa; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); 
    cursor:pointer;
}
.reset {
    margin-right: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
   margin-top: -7.5rem;
   margin-bottom: 1rem;
}
.resetGame{
    color: #c0c0b8;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid #c0c0b8;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 2rem;
}

.resetGame:hover {
    background-color: #c0c0b8;
    color: #161623;
}

.hide{
    display: none;
}
.overlay,
.msg-container {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 74vh;
    width: 86vh;
    transform: translate(-50%, -50%);
    background-color: rgba(151, 148, 148, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;  
    z-index: 10;
}
.msg-container .p {
    
    margin-top: 10rem;
    margin-bottom: 10px;
    color: #13130f;
    font-size: 5vmin;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.msg-container .newGame {
    background-color: rgba(1, 0, 0, 0.9);
    margin-top: 10px;
    color: #c0c0b8;
    padding: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
 
}

