*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial,  sans-serif;
}

body{
    min-height: 100vh;
    background-color: rgb(166, 91, 0);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;

}

.header{
    text-align: center;
    margin-bottom: 40px;

}

.header h1{
    font-size: 40px;
    color: rgb(255, 248, 196);
    margin-bottom: 8px;
}

.header p{
    font-size: 16px;
    color: rgb(100, 83, 62);
    opacity: 0.8;
}

.main{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    width: 100%;
    max-width: 900px;
}

.game{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgb(83, 73, 62);
    border-radius: 16px;
    padding: 30px 20px;
    border: 2px solid rgb(127, 70, 0);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.game:hover{
    transform: translateY(-8px);
    border-color:rgb(106, 97, 24) ;
    box-shadow: 0 10px 25px rgb(0,0, 0,0.3);
}

.image{
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.image img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;

}

.game:hover .image img{
    transform: scale(1.1);
}

.game h2{
    font-size: 20px;
    color: white;
    text-align: center;
    transition: color 0.3s ease;
}

.game:hover h2{
    color: rgb(255, 248, 196);
}


 @media (max-width: 650px){
    .main{
        grid-template-columns: 1fr;
    }
 }