*{
    margin: 0;
    padding: 0;
    font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#outer{
    width: 90vmin; 
    height: 90vmin;
    max-width: 80vw;
    max-height: 65vh;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column; 
    /* position: relative;
    top: 50px;
    left: 45px; */
    justify-content: space-evenly;
    align-items: center;
}
.rows{
    display: flex;
    justify-content: center;
    height:33.33%;
    width: 100%;
}
.boxes{
    display: flex;
    justify-content: center;
    /* padding-bottom: 15px; */
    align-items: center;
    width: 33.33%;
    height: 100%;
}
#box0{
    border-bottom: 0.5vh solid black;
    border-right: 0.5vh solid black;
}
#box1{
    border-bottom: 0.5vh solid black;
    border-right: 0.5vh solid black;
}
#box2{
    border-bottom: 0.5vh solid black;
}
#box3{
    border-bottom: 0.5vh solid black;
    border-right: 0.5vh solid black;
}
#box4{
    border-bottom: 0.5vh solid black;
}
#box5{
    border-bottom: 0.5vh solid black;
    border-left: 0.5vh solid black;
}
#box6{
    border-right: 0.5vh solid black;
}
#box7{
    border-right: 0.5vh solid black;
}
#output{
    /* position: relative;
    top: 70px;
    left: -20px; */
    /* margin-top: 2vh;
    display: flex;
    flex-direction: column;
    align-items: center; */
    flex-shrink: 0;
    margin-top: 1vh;
    /* width: 100%; */
    text-align: center;
}
#restart{
    display: inline-block;
    font-size: 0.9rem;
    /* remove block-level width */
    border-radius: 30%;
    margin-top: 0.5vh;
    padding: 0.3rem 0.8rem;
    background-color: yellow;
    color: red;
    cursor: pointer;
}
p{
    font-size: 2rem;
    text-transform: capitalize;
    color: rgb(16, 207, 221);
    font-weight: bolder;
    font-style: italic;
    /* margin-bottom: 0px; */
    text-align: center;
}
main{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2vh 0;
    gap: 1.5vh;
}
body{
    background-image:url('Nature.jpg') ;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    header h1 {
        font-size: 8vw;
    }
    p {
        font-size: 1.5rem;
    }
    #outer {
        width: 90vw;
        height: 90vw;
    }
    #restart {
        font-size: 0.9rem;
    }
}
@media (max-height: 500px) {
    #outer {
        height: 80vmin;
        width: 80vmin;
    }
}

