body{
    padding: 0;
    margin: 0;
    background-color: #8ecae6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer{
    display: flex;
    justify-content: center;
    background-color: #F2E5BF;
    margin-top: 5px;
    margin-top: 30px;
}

#portfolio{
    text-decoration: none;
    color: inherit;
}

main {
    padding-top: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.winner{
    border-radius: 1rem;
    height: 99vh;
    width: 99vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    flex-direction: column;
}

.hide{
    display: none;
}

.game{
    margin-top: 10px;
    background-color: #219ebc;
    width: 70vh;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
}

.container{
    height: 70vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 10px;
}

.box{
    height: 15vmin;
    width: 15vmin;
    background-color: #F2E5BF;
    border-radius: 1rem;
    font-size: 3rem;
    cursor: pointer;
    border: none;
    background: white;
    color: inherit;
    box-shadow: 0 1px 5px black;
}

.box:hover{
    zoom: 1.02;
}

.reset, .newGame{
    margin-bottom: 5px;
    font-size: 1.5rem;
    height: 5vmin;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    background-color: #F2E5BF;
}

@media (max-width: 500px) {
    .game{
        width: 35vh;
        height: 50vh;
    }

    .winner{
        height: 100vh;
        width: 50vh;
    }

    .newGame, .reset{
        width: 10rem;
        height: 2rem;
    }
}