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

body {
    background-color: rgba(235, 197, 197, 0.498);
    text-align: center;
    padding: 1rem;
    color:palevioletred;
}

#head{
font-family: 'Franklin Gothic Medium', 'Arial Narrow';
font-style: italic;
font-weight: bolder;
text-decoration-line:  underline;
}
.container {
    min-width: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.game {
    width: 60vmin;
    height: 60vmin;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5vmin;
}
.box {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.3);
    font-size: 8vmin;
    color: white;
    background-color:rgb(218, 167, 167);
    display: flex;
    justify-content: center;
    align-items: center;
}
#reset-btn,
#new-btn {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    background-color: palevioletred;
    color: white;
    border-radius: 1rem;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}
#msg {
    color: palevioletred;
    font-size: 5vmin;
}
.msg-container {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
}

.hide {
    display: none;
}

/*   Responsivness    */
@media (max-width: 480px) {
    .game {
        width: 90vmin;
        height: 90vmin;
        gap: 2vmin;
    }

    .box {
        font-size: 14vmin;
    }

    #reset-btn,
    #new-btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    #msg {
        font-size: 8vmin;
    }
}
@media (max-width: 768px) {
    .game {
        width: 80vmin;
        height: 80vmin;
    }

    .box {
        font-size: 10vmin;
    }
}
