html {
    --bg: rgb(8, 8, 12);
    --color: rgb(228, 228, 228);
    --colorAccent: rgb(120, 120, 120);
    --bgAccent: rgb(16, 16, 20);
    --bgAccentOpacity: rgba(12, 12, 16, .6);
    --accent: rgb(108, 172, 220);

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

    --gap: 40px;
    --padding: 120px;

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

p {
    font-size: var(--textsize);
    letter-spacing: default;
    line-height: 1.5;
}
h6 {
    margin: 1rem 0;
    font-weight: 600;
	margin: 0;
}
h5 {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.5%;
	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%;
    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);
}


#header {
    width: 100%;
    padding: var(--gap) var(--padding);
    box-sizing: border-box;
    background: var(--bgAccent);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
#header h3 {
    margin: 0;
}
.socialLinks {
    height: 40px;
    display: flex;
    flex-direction: row;
    gap: var(--gap);
}
.socialLinks img {
    height: 100%;
    width: auto;
    opacity: .6;
    transition: .2s;
}
.socialLinks img:hover {
    opacity: 1;
    transition: .2s;
}
#menu {
    width: 100%;
    padding: var(--gap) var(--padding);
    box-sizing: border-box;
    background: var(--bgAccentOpacity);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
#menu h5 {
    margin: 0;
}
#menu a {
    color: var(--color);
    text-decoration: none;
}
#menu a:hover {
    text-decoration: underline;
}
#mobileMenu {
    position: fixed;
    z-index: 99;
    top: var(--gap);
    right: var(--gap);
    display: none;
}
#mobileMenu img {
    height: 40px;
}
#mobileMenuCont {
    top: 0;
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100vh;
    transition: .2s;
    background: var(--bgAccentOpacity);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
	gap: var(--gap);
    padding: var(--padding);
    box-sizing: border-box;
    display: none;
}
#mobileMenuCont a {
    color: var(--color);
    text-decoration: none;
}
.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;
    }
}
.pageTitle {
    width: 100%;
    padding: var(--padding);
    box-sizing: border-box;
    display: flex;
	gap: var(--gap);
    flex-direction: column;
    justify-content: space-between;
}
.pageTitle h2, .pageTitle p {
    margin: 0;
}
.page {
	width: 100%;
}
#footerTop {
    width: 100%;
    background: var(--bgAccent);
    height: var(--padding);
    border-radius: 50% 50% 0 0;
}
.footer {
    width: 100%;
    padding: 0 var(--padding) var(--padding) var(--padding);
    box-sizing: border-box;
    background: var(--bgAccent);
    position: relative;
    overflow: visible;
    display: flex;
    justify-content: center;
}
.footerContent {
    width: calc(1000px + var(--gap));
    max-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--gap);
    box-sizing: border-box;
}
.footerContent a {
    color: var(--color);
    text-decoration: none;
    cursor: pointer;
}
.footerContent a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 930px) {
    #header h3 {
        display: none !important;
    }
}
@media screen and (max-width: 700px) {
    html {
        --padding: 60px;
    }
    .socialLinks img {
        height: 32px;
		margin-top: 4px;
    }
    #menu {
        display: none;
    }
    #mobileMenu {
        display: block;
    }
	#header {
		background: var(--bgAccentOpacity);
		box-shadow: 0 0 8px var(--bgAccentOpacity);
	}
}
@media screen and (max-width: 360px) {
    html {
        --padding: 40px;
    }
}
@media screen and (max-width: 430px) {
    html {
        --padding: 52px;
    }
}