* {
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #000;
    color: #fff;
}

a:link,
a:visited {
    color: green;
    text-decoration: none;
}

a:hover,
a:active {
    color: lime;
    text-decoration: underline;
}

img {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

input {
    width: 100%;
}

#canvas,
label {
    display: flex;
    justify-content: center;
    align-items: center;
}

p {
    animation: rainbow 7s linear infinite;
}

@keyframes rainbow {
    0% {
        box-shadow: 0 0 20px red;
    }

    14% {
        box-shadow: 0 0 20px orange;
    }

    28% {
        box-shadow: 0 0 20px yellow;
    }

    42% {
        box-shadow: 0 0 20px green;
    }

    57% {
        box-shadow: 0 0 20px blue;
    }

    71% {
        box-shadow: 0 0 20px indigo;
    }

    85% {
        box-shadow: 0 0 20px violet;
    }

    100% {
        box-shadow: 0 0 20px red;
    }
}

.color {
    width: 24px;
    height: 24px;
    border: 1px solid #5B6170;
    cursor: pointer;
    margin-right: 5px;
}

.nav {
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 1rem;
}
