html {
    --bg: rgb(20, 20, 20);
    --color: rgb(220, 220, 220);
    --cAccent: rgb(120, 120, 120);
    --bgOpacity: rgba(24, 24, 24, .2);
    --bgOpacity2: rgba(24, 24, 24, .4);
    --bgAccent: rgb(204, 204, 204);
    --accent: rgb(80, 160, 128);
    --accentOp: rgb(80, 160, 128, .6);
    --accentOp2: rgb(80, 160, 128, .4);
    --accentSec: rgb(180, 28, 28);

    --textsize: 20px;
    --h2: 2.441rem;
    --h5: 1.25rem;

    --gap: 40px;
    --padding: 60px;

    background: var(--bg);
    color: var(--color);
    font-family: "Clash Display", sans-serif;
    font-size: var(--textsize);
    scroll-behavior: smooth;
}
html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    display: flex;
    flex-direction: column;
}

p {
    font-size: var(--textsize);
    letter-spacing: 2%;
    line-height: 1.5;
    margin: 0;
}
h6 {
    margin: 1rem 0;
    font-weight: 600;
    margin: 0;
}
h5 {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
}
h4 {
    font-size: 1.5625rem;
    font-weight: 400;
    letter-spacing: -0.5%;
    margin: 0;
}
h3 {
    font-size: 1.95rem;
    font-weight: 400;
    letter-spacing: -0.5%;
    line-height: 1.3;
    margin: 0;
}
h2 {
    font-size: 2.441rem;
    font-weight: 400;
    letter-spacing: -1.5%;
    line-height: 1.2;
    margin: 0;
}
h1 {
    font-size: 3.815rem;
    font-weight: 400;
    letter-spacing: -1.5%;
    line-height: 1.1;
    margin: 0;
}
mark {
    background: none;
    color: var(--accent);
}

#menu {
    z-index: 101;
    position: fixed;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(30px);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap);
    padding-bottom: 100px;
    box-sizing: border-box;
    top: 0;
}
#menu a {
    color: var(--color);
    text-decoration: none;
    cursor: pointer;
}
#menu a:hover {
    text-decoration: underline;
}
.overlayActive {
    position: fixed;
    width: 100%;
    top: var(--scroll-top);
}
.menuShow {
    animation: menuFadeIn 0.3s ease forwards;
    display: flex !important;
}
.menuHide {
    animation: menuFadeOut 0.3s ease forwards;
}
@keyframes menuFadeIn {
    0% {
        display: none;
        opacity: 0;
    }
    1% {
        display: flex;
        opacity: 0;
    }
    100% {
        display: flex;
        opacity: 1;
    }
}
@keyframes menuFadeOut {
    0% {
        display: flex;
        opacity: 1;
    }
    99% {
        display: flex;
        opacity: 0;
    }
    100% {
        display: none;
        opacity: 0;
    }
}

#pages {
    width: 100%;
    min-height: 100vh;
    background: var(--bgOpacity);
    overflow: hidden;
}
#backgroundImg {
    position: fixed;
    top: -2vh;
    left: -2vw;
    height: 110vh;
    width: 104vw;
    margin: 0;
    z-index: -2;
    background-image: url(img/himmlisch.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(8px);
}
body::before {
    content: "";
    position: fixed;
    top: -8px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 10;
    pointer-events: none;

    background-image: url(img/himmlisch.jpg);
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    filter: blur(8px);

    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
body::after {
    content: "";
    position: fixed;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 10;
    pointer-events: none;

    background-image: url(img/himmlisch.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: blur(4px);

    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}
.page {
    width: 100%;
}

#fixedHeader {
    position: absolute;
    top: 0;
    z-index: 99;
}
.headerShow {
    position: fixed !important;
    animation: headerFadeIn 1s ease forwards;
    z-index: 2;
}
.headerHide {
    animation: headerFadeOut 1s ease forwards;
    z-index: 2;
}
@keyframes headerFadeIn {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}
@keyframes headerFadeOut {
    0% {
        position: fixed;
        top: 0;
    }
    99% {
        top: -100%;
    }
    100% {
        position: absolute;
    }
}

.header {
    width: 100%;
    padding: var(--padding);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
#headerLinks {
    display: flex;
    flex-direction: row;
    gap: var(--padding);
    align-items: center;
    margin-right: auto;
    margin-left: calc(60px + var(--padding)*2);
}
#headerLinks a {
    cursor: pointer;
    text-decoration: none;
    color: var(--color);
    text-shadow: 0 0 8px var(--bg);
}
#headerLinks a:hover {
    text-decoration: underline;
}
#headerLinks h5 {
    margin: 0;
}
#headerLogo, #headerMenu {
    position: relative;
    height: 60px;
}
#headerMenu img, #headerLogo img {
    position: absolute;
    height: 100%;
    top: 0;
    cursor: pointer;
    transition: .2s;
}
#headerMenu img:hover, #headerLogo img:hover {
    scale: 1.1;
    transition: .2s;
}
#headerMenu img {
    right: 0;
}
#headerLogo img {
    left: 0;
}
.center {
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin: 0;
	position: absolute;
}
@media screen and (max-width: 1400px) {
    #headerLinks {
        display: none;
    }
}
@media screen and (max-width: 700px) {
    html {
        --padding: 28px;
    }
    .disappear {
        display: none;
    }
}