*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    
    font-family: Arial, sans-serif;
   text-align: center;
   background-color: #D4BEE4;
   
}
.game-name {
    font-size: 1.5vw;
    margin-top: 20px;
    color: #0a0114ac;
    flex-grow: 1;
    flex-shrink: 2;
}
.img-container {
    display:flex;
    justify-content: center;
    align-items: center;
    height: auto;
}
.img-container img {
    width: 10vw;
    height: 10vw;
    margin: 2rem;
    border-radius: 1.5rem;
    border: 2px solid #333;
    transition: transform 0.3s ease;
    background-color: white;
}
.score{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    gap: 5rem;


}
.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem; /* Control the spacing as needed */
    padding: 1.5rem 0; /* Optional: top-bottom breathing room */
    min-height: 100%; /* Use min-height instead of fixed height */
    box-sizing: border-box;
    flex-wrap: wrap;
}

.msg-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #a36ab8;
    padding: .75rem;
    border-radius: 1.5rem;
    cursor: pointer;
    margin: 3rem 0;
    display: inline;
    border: 2px solid #333;
    transition: all 0.3s ease;
}
.msg {
    font-size: 1.1rem;
    color: #35374B;
    text-align: center;
    font-weight: bolder;
}
#game-instructions {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1rem;
}
.img-container img{
    object-fit: cover;
    transition: transform 0.3s ease;
}
#gunId {
    object-fit: contain; /* Ensures the gun image fits well */
}
#snakeId, #waterId, #gunId {
    transition: transform 0.3s ease;
}
#snakeId:hover, #waterId:hover, #gunId:hover {
    transform: scale(1.1); /* Slightly enlarge the image on hover */
    border-radius: 1.5rem;
}
.msg-container:hover {
    background-color: #0a0114ac; /* Lighter background on hover */
    transform: scale(1.05); /* Slightly enlarge the message container on hover */
}
#result-msg {
    font-size: 1rem;
    color: #EEF1FF;
}