@font-face {
    font-family: "Pizel";
    src: url("/assets/Pizel.ttf");
    font-weight: 100;
    font-style: normal;
}

*
{
    box-sizing: border-box;
    font-family: "Pizel";
    line-height: 22px;
    font-size: 16px;
}

html
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
}

@media screen and ( max-width: 800px ) 
{
    html
    {
        align-items: start;
    }
}

@keyframes noise {
    0% {
        --noise-factor: 0;
    }

    50% {
        --noise-factor: 1;
    }

    100% {
        --noise-factor: 0;
    }
}

@property --noise-factor 
{
    syntax: "<number>";
    inherits: false;
    initial-value: 0;
}

body
{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min( 100%, 800px );
    height: 100%;
    margin: 0;
    padding: 2rem;
    padding-top: 2rem;

    animation: noise 30s linear infinite;
    transition: --noise-factor 30s linear;
    background: repeating-radial-gradient(
        circle at 50% 0%,
        #101010,
        #101010 calc( 0.0475px ),
        #303030 calc( 0.049px - 0.000002px * ( var( --noise-factor ) * 2 - 1 ) ),
        #202020 calc( 0.01px )
    );
    background-color: #101010;
    color: hsl( 192, 0%, 80% );
}

body > div
{
    margin-top: auto;
    margin-bottom: auto;
    min-height: 600px;
}

a
{
    color: hsl( 192, 0%, 100% );
    text-decoration-color: hsla( 192, 0%, 100%, 0.75 );
}

a:hover
{
    color: hsl( 192, 0%, 90% );
    text-decoration-color: hsla( 192, 0%, 90%, 0.75 );
}

nav
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1ch;

    border-bottom: 0.1rem solid hsla( 192, 0%, 100%, 0.75 );
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

main
{
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

p
{
    margin: 0;
    text-indent: 2rem;
    margin-block-start: 0em;
    margin-block-end: 0em;
}

.bold-text
{
    font-weight: 1000;
    font-size: 18px;
    line-height: 24px;
}

.centered-small-image
{
    display: flex;
    justify-self: center;
    width: 10rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.fit-image
{
    width: 100%;
}

.page-title
{
    color: hsl( 192, 0%, 100% );
}

.less-significant-text
{
    color: hsla( 192, 0%, 100%, 0.5 );
}

.crossed-out-text
{
    text-decoration: line-through;
    text-decoration-color: hsla( 192, 0%, 100%, 1 );
}