@keyframes filter-animation {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

body {
    font-family: "Source Code Pro", monospace;
    margin: 0;
}

h1 {
    line-height: 1;
}

.page-wrapper {
    font-weight: 500;
    background-color: #ffff6f;
    min-height: 100dvh;
    animation: filter-animation 3600s linear infinite; /*1 hour*/
}

.page {
    display: flex;
    flex-direction: column;
    gap: 48px;
    /*max-width: 700px;*/
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 60px;
    color: #000000E0;
}

.page-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


.level {
    display: flex;
    position: relative;
    flex-wrap: wrap;
}


.tile {
    display: grid;
    position: relative;
    flex-shrink: 0;
    grid-template-columns: repeat(auto-fill, var(--pixelSize));
    grid-template-rows: repeat(auto-fill, var(--pixelSize));
    /*border-radius: 16px;*/
    overflow: hidden;
    width: var(--tileWidth);
    height: var(--tileHeight);
}

.cell {
    width: var(--pixelSize);
    height: var(--pixelSize);
    flex-shrink: 0;
}

.hoverable:hover {
    outline: 4px solid blue;
    z-index: 10;
    /*zoom: 150%;*/
}