html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}
html, body {
    background-color: #111;
    width: 100%;
    height: 100%;
    color: white;
    font-size: 20px;
    letter-spacing: -0.1em;
    word-spacing: 0.4em;
    line-height: 1.2em;
    font-weight: 400;
    font-family: 'Bungee Hairline',  Helvetica, Arial, sans-serif;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}
a,
a:hover,
a:visited,
a:active {
    color: #2386ff;
    text-decoration: none;
}
button {
    border: none;
    padding: 20px;
    font-weight: bold;
    font-size: 1.4em;
    cursor: pointer;
    background-color: white;
    color: black;
    border-radius: 4px;
}
#container {
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
#sound {
    position: fixed;
    padding: 20px;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    color: black;
    cursor: pointer;
    font-size: 20px;
    z-index: 999;
}
#box {
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    margin-top: 60px;
}
#root {
    width: 100%;
    height: 100%;
}
#popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2em;
    text-align: center;
    padding: 40px;
    background-color: black;
    border-radius: 10px;
    border: 2px solid white;
    max-height: 100%;
    overflow-y: scroll;
    z-index: 999999;
}
#footer {
    font-size: 0.8em;
    color: #bbb;
    text-align: center;
    position: fixed;
    bottom: 0px;
    padding: 20px;
    font-size: 14px;
    width: 100%;
    word-spacing: 0.4em;
}
#message {
    font-size: 24px;
    text-align: center;
    padding: 40px;
    transition: opacity 0.5s linear;
}
#randomize {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 20px;
}
.row {
    display: flex;
    width: 100%;
}
.cell {
    flex: 1;
    aspect-ratio: 1/1;
    border-width: 0px;
    transition: background-color 0.15s linear, filter 0.1s linear, transform 0.1s linear;
}
.ssso {
    border-left-style: solid;
}
.ssos {
    border-bottom-style: solid;
}
.soss {
    border-right-style: solid;
}
.osss {
    border-top-style: solid;
}
.ssoo {
    border-bottom-left-radius: 50%;
    border-bottom-style: solid;
    border-left-style: solid;
}
.soso {
    border-right-style: solid;
    border-left-style: solid;
}
.soos {
    border-bottom-right-radius: 50%;
    border-bottom-style: solid;
    border-right-style: solid;
}
.osso {
    border-top-left-radius: 50%;
    border-top-style: solid;
    border-left-style: solid;
}
.osos {
    border-top-style: solid;
    border-bottom-style: solid;
}
.ooss {
    border-top-right-radius: 50%;
    border-top-style: solid;
    border-right-style: solid;
}
.sooo {
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-style: solid;
    border-right-style: solid;
    border-left-style: solid;
}
.osoo {
    border-bottom-left-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-style: solid;
    border-top-style: solid;
    border-left-style: solid;
}
.ooso {
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    border-top-style: solid;
    border-right-style: solid;
    border-left-style: solid;
}
.ooos {
    border-bottom-right-radius: 50%;
    border-top-right-radius: 50%;
    border-bottom-style: solid;
    border-right-style: solid;
    border-top-style: solid;
}
.oooo {
    border-radius: 50%;
    border-style: solid;
}
