@import url('https://fonts.googleapis.com/css2?family=Geist+Pixel&family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    user-select: none;
}

table {
    width: 100vw;
    height: 95vh;
    border-collapse: collapse;
}


td {
    border: 1px solid #0000FD;
    margin: 0;
    padding: 0;
}

.ctrl {
    height: 5vh;
    background-color: #0000FD;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: "Geist Pixel";
    font-size: 1em;
    text-transform: uppercase;
}

button {
    font-family: "Geist Pixel";
    background-color: white;
    font-size: 1em;
    text-transform: uppercase;
    cursor: pointer;
}

.info {
    position: absolute;
    background-color: #0000FD;
    font-family: "Geist Pixel";
    color: white;
    width: 50vw;
    height: 50vh;
    top: 20vh;
    left: 25vw;
    margin: 0;
    z-index: 999999;
    user-select: text;
}

.buttons,
.misc {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}


.info::selection {
    background-color: #dbfe01;
    color: black;
}

.head {
    font-family: "Geist Pixel";
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

    span {
        font-size: 2em;
    }
}

.sub {
    margin-top: 0;
    margin-bottom: 5%;
}

.rules {
    padding: 1vh;
    font-family: 'IBM Plex Mono';
    text-align: justify;
    font-size: 1.5vh;
    margin: auto;

    p {
        text-align: justify;
        margin: 0;
    }
}

a {
    color: white;
}

.patterns {
    width: 100%;
    text-align: right;
}

pre {
    text-align: left;
    white-space: pre-line;
}

.comment {
    position: absolute;
    bottom: 0;
    font-size: 0.4em;
}

.cls {
    user-select: none;
    padding: 5px 10px;
}

.wither:hover {
    background-color: black;
    color: white;
}

.bloom:hover {
    background-color: #dbfe01;
}

img {
    width: 50px;
    height: 50px;
}

.home {
    background-color: #0000FD;
    height: 50px;
    width: 50px;
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
}

.back {
    background-color: #0000FD;
    height: 50px;
    width: 50px;
    position: fixed;
    top: 0;
    left: 0;
    cursor: pointer;
}

@media screen and (max-width: 500px) {
    .info {
        width: 100vw;
        height: 85vh;
        top: 0;
        left: 0;
    }

    table {
        height: 85vh;
    }

    .ctrl {
        height: 15vh;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .buttons,
    .misc {
        padding: 0;
        margin: 0;
        width: 90%;
        justify-content: space-between;
        align-items: center;
    }
}

/**************slide section**************/

input[type=range] {
    -webkit-appearance: none;
    width: 10vw;
    min-width: 80px;
    max-width: 160px;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    box-shadow: inset 0.1em 0.1em 0em 0 #E68B2C, inset -0.1em -0.1em 0em 0 #E68B2C;
}

input[type=range]::-ms-track {
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 2px solid black;
    border-style: outset;
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;
    background: #ffffff;
    margin-top: -0.5em;
}

input[type=range]::-moz-range-thumb {
    height: 2em;
    width: 1em;
    cursor: pointer;
    background: #ffffff;
}

input[type=range]::-ms-thumb {
    border: 2px solid black;
    border-style: outset;
    height: 1.5em;
    width: 1.5em;
    cursor: pointer;
    background: #ffffff;
}


input[type=range]::-webkit-slider-runnable-track {
    height: 0.4em;
    cursor: pointer;
    border: 1px solid black;
    border-style: outset;
    background: white;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: white;
}

input[type=range]::-moz-range-track {
    height: 0.4em;
    cursor: pointer;
    border: 1px solid black;
    border-style: outset;
    background: white;
}

input[type=range]::-ms-track {
    height: 0.4em;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    border-width: 16px 0;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    border: 1px solid black;
    border-style: outset;
    background: white;
}

input[type=range]:focus::-ms-fill-lower {
    background: white;
}

input[type=range]::-ms-fill-upper {
    border: 1px solid black;
    border-style: outset;
    background: white;
}

input[type=range]:focus::-ms-fill-upper {
    background: white;
}