* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: hsl(215, 100%, 93%);
    color: hsl(215, 100%, 100%);
    font-family: sans-serif;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.container {
    width: 800px; 
    height: 1000px; 
    margin: 50px auto; 
    background-color: hsl(215, 100%, 16%);
    display: flex;
    overflow: hidden;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    box-shadow: 0 20px 40px hsl(221, 15%, 16%, 0.8);
    position: relative;
}

.score-details {
    width: 800px;
    height: 50px;
    background-color: hsl(215, 100%, 22%);
    display: flex;
    justify-content: space-between;
    padding: 15px;
    
}

.game-area {
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    grid-template-rows: repeat(30, 1fr);
}

.game-area .apple {
    background-color: hsl(355, 100%, 49%);

}

.game-area .snake {
    background-color: hsl(126, 100%, 49%);
}

#replay-btn {
    background-color: hsl(120, 100%, 50%); 
    color: white; 
    border: none; 
    border-radius: 5px; 
    padding: 15px 30px; 
    font-size: 18px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
    position: absolute; 
    top: 20px; 
    right: 20px; 
}
    
#replay-btn:hover {
    background-color: hsl(120, 100%, 40%); 
}
    
#replay-btn:active {
    background-color: hsl(120, 100%, 30%); 
}
