html {
    font-family: 'Satoshi', sans-serif;
    font-size: 18px;
    background: #faf3e2;
    overflow-x: hidden;
}

html, a {
    color: #011627;
}

body {
    margin: 0;
}

h1, h2, h3 {
    font-weight: 400;
    font-family: 'Zodiak', serif;
    text-align: center;
}

h1, h2, h3, h4, h5 {
    margin: 0
}

h1 {
    font-size: 10em;
    line-height: 1.2em;
}

h2 {
    font-size: 5em;
}

h3 {
    font-size: 3em;
}

h4 {
    font-size: 2em;
}
h5 {
    font-size: 1.5em;
}

.fullscreen {
    min-height: calc(100vh - 2em);
    width: calc(100vw - 2em);
    margin: 1em;
    position: absolute;
    top: 0;
    left: 0;
}

.cover {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.25);
    border-radius: 5em;
    max-height: none;
}
.cover-small {
    width: 100%;
    height: 33vh;
    object-fit: cover;
    border-radius: 100px;
    filter: brightness(0.25);
    z-index: -1;
    position: absolute;
}
.cover-container {
    height: 33vh;
    margin-bottom: 1em;
}

.header {
    color: #faf3e2;
    position: relative;
    text-align: center;
}
.header a:visited, .header a:link {
    color: #faf3e2;
}

.row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 1em 1.5em 1em;
    gap: 1em;
    flex-wrap: wrap;
}

.col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img, video {
    width: 40vw;
    max-height: 50vh;
}
img {
    object-fit: contain;
}

p {
    max-width: 40em;
}

.footer {
    position: fixed;
    bottom: 1em;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    margin: 1em;
    z-index: 10;
    width: calc(100vw - 2em);
    user-select: none;
}

.nav {
    font-weight: bold;
    display: flex;
    flex-direction: row;
    gap: 0.25em;
    padding: 0.5em;
    background: rgba(218, 202, 160, 0.5);
    color: black;
    align-items: center;
    justify-content: center;
    border-radius: 2em;
    max-width: 90vw;
    flex-wrap: wrap;
    backdrop-filter: blur(5px);
}
.nav * {
    padding: 0.4em 0.8em 0.4em 0.8em;
    border-radius: 1em;
    cursor: pointer;
    transition: 0.4s;
}
.nav div:hover {
    background: rgba(213, 178, 91, 0.2);
}
.selected {
    background: rgba(213, 178, 91, 0.8);
}
.selected:hover {
    background: rgba(213, 178, 91, 0.95) !important;
}

.hidden {
    animation: fadeout 0.3s forwards ease-in;
}

.hidden-now {
    visibility: hidden !important;
    display: none;
}

.shown {
    animation: fadein 0.4s forwards ease-out;
    animation-delay: 0.3s;
    visibility: hidden;
}

@keyframes fadeout {
    from {
        opacity: 1;
        filter: blur(0px);
        visibility: visible;
    }
    99%  {
        opacity: 0;
        filter: blur(30px);
    }
    100% {
        visibility: hidden;
        display: none;
    }
}
@keyframes fadein {
    from {
        visibility: visible;
        opacity: 0;
        filter: blur(30px);
    }

    to {
        visibility: visible;
        opacity: 1;
        filter: blur(0px);
    }
}

@media (max-width: 700px) {
    h1 {
        font-size: 6em;
    }
    h2 {
        font-size: 3.5em;
    }
    h3 {
        font-size: 2.5em;
    }
    h4 {
        font-size: 1.5em;
    }
    h5 {
        font-size: 1.1em;
    }
    .row {
        flex-direction: column;
    }
    .inv {
        flex-direction: column-reverse;
    }
    img, video {
        width: 100%;
    }
    .footer {
        font-size: 0.7em;
    }
    .nav {
        font-size: 0.8em;
    }
    .nav-container {
        margin-top: 0.5em;
    }
    .fullscreen {
        margin-top: 3em;
        min-height: calc(100vh - 4em);
    }
    .cover-small {
        height: 20vh;
    }
    .cover-container {
        height: 20vh;
    }
    .cover {
        border-radius: 3em;
    }
}