html,
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    color: white;
    margin: 0;
    scrollbar-color: white black;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.5;
}

body.lighter {
    background-color: #212121;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

a {
    color: white;
}

a:hover,
a:focus-visible {
    color: #bbbbbb;
    outline: none;
}

.fixed-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.grid-center {
    display: grid;
    justify-content: center;
    align-content: center;
}

#noisePaneTitle {
    user-select: none;
    cursor: pointer;
    filter: url(#filter);
    padding: 64px;
    margin: 0;
    text-align: center;
    text-decoration: none;
}

#noisePaneTitle>h1 {
    font-size: 48px;
    margin: 0;
}

#noisePaneTitle>.pointer {
    position: absolute;
    right: 0%;
    top: 50%;
    height: 96px;
    z-index: -1;
    pointer-events: none;
}

.hidden-svg {
    position: fixed;
    top: 100%;
    left: 0;
}

.aspect-16_9 {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
}

img.middle {
    object-position: center;
}

img.bottom {
    object-position: bottom;
}

img.contain {
    object-fit: contain;
    background: none;
}

.carousel {
    height: auto;
    overflow-y: hidden;
    overflow-x: overlay;
    display: flex;
    gap: 16px;
    scroll-snap-type: x mandatory;
    margin-top: 16px;
    user-select: none;
}

.carousel>* {
    max-width: 100%;
    max-height: 420px;
    display: inline-block;
    scroll-snap-align: center;
    background: #171717;
    border-radius: 4px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #212121;
}

::-webkit-scrollbar-thumb {
    background: white;
}

::-webkit-scrollbar-thumb:hover {
    background: #eeeeee;
}

::-webkit-scrollbar-thumb:active {
    background: #cccccc;
}

iframe {
    width: auto;
    border: none;
}

.dummy-iframe {
    pointer-events: none;
}

.content {
    padding: 16px 32px;
}

.content p {
    max-width: 840px;
}

ul {
    max-width: 840px;
    list-style: none;
    padding: 0;
}

.hidden {
    display: none;
    visibility: hidden;
}

.top {
    background: black;
    position: relative;
}

.top>h1 {
    margin: 16px 32px 0px 32px;
    padding: 16px 0px 32px 0px;
    animation: page-title 2.5s linear infinite;
    user-select: none;
    display: inline-block;
    width: min-content;
    animation-play-state: paused;
}

.top>h1:hover {
    animation-play-state: running;
    color: #F98B8B;
}

.top>h1:active {
    animation-duration: 1s;
    color: #5C95FF;
}

@keyframes page-title {
    0% {
        font-family: Arial, Helvetica, sans-serif;
    }

    10% {
        font-family: 'Courier New', Courier, monospace;
    }

    20% {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    30% {
        font-family: 'Times New Roman', Times, serif;
    }

    40% {
        font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    }

    50% {
        font-family: Georgia, 'Times New Roman', Times, serif
    }

    60% {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
    }

    70% {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    }

    80% {
        font-family: Consolas, 'Courier New', Courier, monospace;
    }

    90% {
        font-family: Verdana, Geneva, Tahoma, sans-serif;
    }
}

#tabs {
    justify-content: left;
    width: auto;
    display: none;
    visibility: hidden;
    overflow-x: auto;
    margin: 0px 128px 0px 32px;
    position: relative;
}

#tabs.visible {
    display: flex;
    visibility: visible;
}

#tabs a {
    display: block;
    padding: 16px 32px;
    text-decoration: none;
}

#tabs a.active {
    background-color: #212121;
}

@media screen and (max-width: 560px) {
    .top>h1 {
        margin-bottom: 0;
    }

    #tabs {
        flex-wrap: wrap;
        margin: 0;
        padding-bottom: 32px;
    }

    #tabs a {
        width: 50%;
    }
}

@media screen and (max-width: 360px) {
    #tabs a {
        width: 100%;
    }
}

#big-image {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;

    display: grid;
    justify-content: center;
    align-content: center;
    padding: 32px;
}

#big-image>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    padding: 32px;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    background: black;
    padding: 4px 8px;
    margin: 0px 4px;
}

#fren {
    position: absolute;
    right: 32px;
    bottom: 0;
    height: 64px;
    image-rendering: pixelated;
    translate: 0 12.5%;
    user-select: none;
}

#fren.interactable {
    cursor: pointer;
}

.note {
    color: #cccccc;
    font-size: 0.8em;
}

h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 0.25em;
}

.testimonies>li>img {
    vertical-align: middle;
    margin: 0px 16px 16px 0px;
    border-radius: 4px;
    background: #313338;
    max-width: 100%;
}

.cool-image {
    display: block;
    width: 100%;
    max-width: calc(240px * 16 / 9);
    height: auto;
    aspect-ratio: auto;
    image-rendering: pixelated;
    animation: hue-rotate 10s linear infinite;
}

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

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