@font-face {
    font-family: 'tiny';
    src: url("fonts/TINY5x3GX.ttf");
}

@font-face {
    font-family: 'momo-nono-B';
    src: url('./fonts/momo-nono-B.woff2') format('woff2');
/*    font-feature-settings: 'ss01'1;*/
    font-display: swap;
}
@font-face {
    font-family: 'momo-nono-C';
    src: url('./fonts/momo-nono-C.woff2') format('woff2');
/*    font-feature-settings: 'ss01'1;*/
    font-display: swap;
}

@font-face {
    font-family: 'momo-nono';
    src:
        url('./fonts/momo-nono-A.woff2') format('woff2');
/*    font-feature-settings: 'ss01'1;*/
    font-display: swap;
}

/*
* {
    font-family: 'momo-nono', 'momo-nono-B', 'momo-nono-C';
    font-display: swap; }
*/

body {
    font-family: 'momo-nono', 'momo-nono-B', 'momo-nono-C' !important; 
    font-display: swap;
    margin: 0;
    color: var(--k);
}

::-moz-selection {
    /* Code for Firefox */
    color: var(--c);
    background: none;
}

::selection {
    color: var(--c);
    background: none;
}

/* ---------------------------------------------- general ------------------------------------------- */

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    line-height: 0;
    mix-blend-mode: multiply;
    transform-origin: center;
    overflow: hidden;
}

.container:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    mix-blend-mode: screen;
}

#containerblue:after {
    background: var(--c);
}

#containeryellow:after {
    background: var(--y);
}

#containerpink:after {
    background: var(--m);
}

#containerblack:after {
    background: var(--k);
}

#titleContainer {
    z-index: 99;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    cursor: default;
}

h1 {
    -webkit-mix-blend-mode: multiply;
    /* For older WebKit browsers */
    mix-blend-mode: multiply;
    margin-block-start: 0;
    margin-block-end: 0;
    padding-bottom: 2rem;
    font-weight: 80;
    font-size: 20vw;
    font-family: tiny;
    position: fixed;
}

img {
    height: 50svh;
    background: white;
    position: relative;
    transform: scale(1);
    pointer-events: none;
}

#headline-1 {
    color: var(--y);
}

#headline-2 {
    color: var(--c);
}

#headline-3 {
    color: var(--m);
}

a:not(h1 a) {
    color: var(--c);
    text-decoration: none;
}

h1 a{
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--m);
}

#content {
    position: fixed;
    top: 50%;
    left: 50%;
    mix-blend-mode: multiply;
    transform: translate(-50%, -50%);
}
.home #content{
    pointer-events: none;
}
.error #content{
}


.overlay {
    transform-origin: center;
    mix-blend-mode: multiply;
}

/* original

#blue {
    filter: invert(48%) sepia(92%) saturate(943%) hue-rotate(156deg) brightness(87%) contrast(103%);
}

#yellow {
    filter: invert(99%) sepia(100%) saturate(4448%) hue-rotate(1deg) brightness(106%) contrast(102%);
}

#pink {
    filter: invert(28%) sepia(52%) saturate(2703%) hue-rotate(312deg) brightness(107%) contrast(104%);
}

#black {
    filter: invert(0%) sepia(2%) saturate(0%) hue-rotate(239deg) brightness(104%) contrast(100%);
}
*/


#errorContent {
    margin: 0;
    text-align: center;
    font-size: 4.5svh;
    transform: translateY(3.5svh);
}

/* ---------------------------------------------- bottomnav ------------------------------------------- */

#bottomnav {
    z-index: 1;
    font-family: 'momo-nono', 'momo-nono-B', 'momo-nono-C';
    font-display: swap;
    font-size: 3.5svh;
    display: flex;
    position: fixed;
    bottom: 3.5svh;
    text-align: center;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-around;
}


.navItem {
    display: flex;
    flex: 1;
    flex-direction: column-reverse;
    width: calc(100% / 3);
    align-items: center;
}

.navItem .title {
    cursor: pointer;
    color: var(--c);
    font-size: 6svh;
}

.navItem .title:hover {
    color: var(--m);
}

.navItem .description {
    /*
    text-shadow:
            1px 1px 0 var(--c),
            -1px 1px 0 var(--m),
            -1px -1px 0 var(--y),
            1px -1px 0 var(--k);
*/
    line-height: 0.25svh;
    display: none;
}
