:root {
    --primary-color: #5865f3;
    --primary-color-light: #808aff;
    --primary-color-background: #414bba;
    --font-color-light: #bbb;
    --font-color-light2: #999;
	--font-color: #000;
    --background: #fff;
    --background-light: #eee;
	--background-shadow: #ddd;
    --background-light2: #ccc;
    --background-light3: #bbb;
    --theme-switch-img: url("/images/icons/darkmode/moon.png");
    --theme-inversion: 1;
    --shadow-color: rgba(127,127,127, 0.5);
    --shadow-color-dark: rgba(50,50,50, 0.5);
    --default-button-text-color: #fff;
    --default-button-color: #888;

    color: var(--font-color);
    font-family: 'Inter', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: min(1.25em, calc(100vw / 25));
}

@font-face {
    font-family: 'Inter var';
    src: url("/fonts/Inter-roman.var.woff2")
}

@font-face {
    font-family: ggSans;
    src: url("/fonts/gg_sans_Semibold.ttf");
}

.lightmode {
    --font-color: #000;
    --background: #fff;
    --background-light: #eee;
	--background-shadow: #ddd;
    --background-light2: #ccc;
    --background-light3: #bbb;
    --theme-switch-img: url("/images/icons/darkmode/moon.png");
    --theme-inversion: 1;
}

.darkmode {
    --font-color: rgb(255, 255, 255);
	--background: #222;
	--background-light: #333;
	--background-shadow: #444;
    --background-light2: #555;
    --background-light3: #777;
    --theme-switch-img: url("/images/icons/darkmode/sun.png");
    --theme-inversion: 0;
}

* {
    font-size: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--font-color);
    background-color: var(--background);
}

main {
    overflow: hidden;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    line-height: 1.5em;
}

.viewportContainer {
    min-height: 100vh;
}

.nextSectionButton {
    display: block;
    position: relative;
    width: max-content;
    margin: 0 auto;
    font-size: 1.25rem;
    padding-left: 1em;
    margin-top: 1em;
}

.nextSectionButton:hover {
    cursor: pointer;
}

.nextSectionButton::before {
    content: ' ';
    position: absolute;
    display: block;
    width: 1rem;
    height: 0.1rem;
    background-color: var(--font-color);
    z-index: 10;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    left: -1.7rem;
}

.nextSectionButton::after {
    content: ' ';
    position: absolute;
    display: block;
    width: 1rem;
    height: 0.1rem;
    background-color: var(--font-color);
    z-index: 10;
    top: 50%;
    transform: rotate(-45deg) translateY(-50%);
    left: -1rem;
}

.primarySpan {
    color: var(--primary-color-light)
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
    font-weight: normal;
}

/* scrollbar sizing */
/* width */
::-webkit-scrollbar {
    width: 0.75rem;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--background);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--background-light2);
    border-radius: calc(0.75rem/2);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--background-light3);
}

.defaultSection, .defaultSectionWide {
    margin: 0 auto;
    padding: 1rem;
    max-width: 900px;
    box-sizing: content-box;
}

.defaultSection > h1, .defaultSectionWide > h1 {
    text-align: center;
    font-size: 3em;
}

.defaultSectionWide {
    max-width: 1200px;
}

.defaultButton {
    background-color: var(--default-button-color);
    padding: 0.5em 1em;
    border-radius: 5px;
    transition: all 0.1s linear;
    user-select: none;
    text-align: center;
    color: var(--default-button-text-color)
}

.compactCenterButton {
    max-width: max-content;
    margin: 0 auto;
}

.defaultButton:hover {
    cursor: pointer;
    filter: brightness(1.2);
}

.defaultButton:active {
    transform: translateY(5px);
    filter: brightness(0.9);
}

.primaryButton {
    background-color: var(--primary-color);
}

.backgroundButton {
    background-color: var(--background);
    color: var(--font-color)
}

.placeholderVideo {
    border: 4px solid var(--font-color);
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    border-radius: 40px;
    aspect-ratio: calc(16/9);
    opacity: 0.4;
    overflow: hidden;
}

.placeholderVideo::before {
    content: " ";
    display: block;
    width: 200vw;
    height: 200vw;
    background-image: linear-gradient(45deg, var(--font-color) 10%, transparent 10%, transparent 90%, var(--font-color) 90%, var(--font-color));
    background-size: 1px 20px;
    background-position: 0 0, 0 0;
    transform: rotate(45deg) translateX(-100vw);
}

.profileCircleSizer {
    position: relative;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    box-sizing: border-box;
}

.successCircle {
    position: relative;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    box-sizing: border-box;
    margin: 0 auto;
}

.placeholderCircle {
    position: relative;
    border: 2px solid var(--font-color);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.4;
    overflow: hidden;
    box-sizing: border-box;
}

.placeholderCircle::before {
    content: " ";
    display: block;
    width: 200vw;
    height: 200vw;
    background-image: linear-gradient(45deg, var(--font-color) 25%, transparent 25%, transparent 75%, var(--font-color) 75%, var(--font-color));
    background-size: 1px 6px;
    background-position: 0 0, 0 0;
    transform: rotate(45deg) translateX(-100vw);
}

.separatorWaves, .bottomSeparatorWaves {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.separatorWaves > *, .bottomSeparatorWaves > * {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 250px;
    width: 100vw;
    transform: translateY(calc(var(--i) * 50px + 20px)) scale(1);
    animation: waveMove 5s ease infinite;
}

.bottomSeparatorWaves > * {
    width: 100vw;
    transform: translateY(calc(50px - var(--i) * 50px)) scale(-1,-1) ;
    animation: bottomWaveMove 5s ease infinite;
}

@keyframes waveMove {
    0% {
        transform: translateY(calc(var(--i) * 50px)) scale(1.5);
    }
    50% {
        transform: translateY(calc(var(--i) * 50px + 20px)) scale(1);
    }
    100% {
        transform: translateY(calc(var(--i) * 50px)) scale(1.5);
    }
}

@keyframes bottomWaveMove {
    0% {
        transform: translateY(calc(50px - var(--i) * 50px)) scale(-1.5,-1.5) ;
    }
    50% {
        transform: translateY(calc(30px - var(--i) * 50px)) scale(-1,-1) ;
    }
    100% {
        transform: translateY(calc(50px - var(--i) * 50px)) scale(-1.5,-1.5) ;
    }
}

.smallLogo {
    border-radius: 50%;
    height: 4em;
    min-width: 4em;
}

.inlineIcon {
    width: 3em;
}

.evenSpacer {
    display: flex;
    gap: 1em;
    align-items: center;
}

.splitter {
    display: flex;
    gap: 1em;
}
@media screen and (max-width:120ch) {
    .splitter {
        flex-direction: column;
    }
    .bannerSplit {
        flex-direction: column;
    }
}

.leftRightSplitter {
    display: block;
}

.leftRightSplitter > *:first-child {
    margin-bottom: 2em !important;
}

.showcaseImage {
    max-width: 100%;
}



.placeholderBoxImg {
    width: 500px;
    aspect-ratio: 1;
    max-width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.underline {
    font-size: 1em;
    text-decoration: underline;
}

.primaryContainer {
    background-color: #5865f2;
    color: white;
}

.singleReview {
    position: relative;
    line-height: 1.5em;
    padding: 0 1em;
}
.singleReview::before{
    content: '“';
    position: absolute;
    display: block;
    top: 0.2em;
    left: 0;
    font-size: 2em;
}
.singleReview::after{
    content: '”';
    position: absolute;
    display: block;
    bottom: -0.2em;
    right: 0;
    font-size: 2em;
}

.singleTestimonial {
    padding: 0.01em 0;
}

.primaryContainerBlock {
    margin: 2em 0;
}

.linkButton {
    position: relative;
    display: inline-block;
    margin-bottom: calc(6px + 0.5em);
}

.linkButton::after {
    content: "→";
    font-family: 'Inter var';
}

.linkButton::before {
    content: " ";
    display: block;
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--font-color);
}

.linkButton:hover {
    cursor: pointer;
}


.statsList {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

@media screen and (max-width:768px) {
    .statsList {
        flex-direction: column;
        gap: 1em
    }
}

.statsList > * {
    flex-grow: 1;
    width: 100%;
    text-align: center;
    font-weight: bold;
}

.statsList > * > * {
    font-size: 1.25em;
}

.faqList {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-bottom: 4em;
}

.faqList > * {
    font-size: 1.25em;
    font-weight: bold;
    padding: 0.5em 1em;
    box-shadow: 0 0 0.5em 0 var(--background-shadow);
    border-radius: 10px;
}

.faqExpand {
    font-weight: normal;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s ease;
    margin-top: 0;
}

.faqList > *:active .faqExpand {
    max-height: 12em;
    margin-top: 1em;
}

.faqListActive,
.faqList > *:hover {
    cursor: pointer;
    box-shadow: 0 0 0.5em 0 var(--primary-color);
}

.faqListActive .faqExpand, .faqList > *:hover .faqExpand {
    max-height: 12em;
    margin-top: 1em;
}

.buildersList {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
    margin-bottom: 4em;
}

.buildersList > * > img {
    width: 10em;
    height: 10em;
    border-radius: 50%;
}

.buildersList h1, .buildersList h2 {
    margin: 0.25em 0;
    text-align: center;
}

.buildersList h2 {
    font-size: 1.25em;
}

.socialsList {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.social {
    width: 2em;
}

.animateHide {
    opacity: 0;
    transition: all 1s ease;
    --horFade: 0;
    --vertFade: 0;
    transform: translate(calc(-100px * var(--horFade)), calc(-100px * var(--vertFade)));
    filter: blur(2px);
}

.animateHideList > *:nth-child(2) {
    transition-delay: 200ms;
}

.animateHideList > *:nth-child(3) {
    transition-delay: 400ms;
}

.animateHideList > *:nth-child(4) {
    transition-delay: 600ms;
}

.show {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

@media(prefers-reduced-motion) {
    .animateHide {
        transition: none;
    }
}

.discordScreenshotsContainer {
    width: 100%;
    height: 100%;
    min-width: min(400px, 100vw);
    min-height: min(800px, 100vh);
    max-height: 100vh; 
    position: relative;
}

.discordScreenshots {
    height: 150%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%)rotate(-15deg);
}

@media screen and (max-width: 767px) {
    .discordScreenshotsText {
        background-image: linear-gradient(rgba(0,0,0,0) 0%,rgba(0,0,0,0.8) 40%, rgba(0,0,0,1) 100%);
    }
    #see-the-difference {
        display: none;
    }
}

@media screen and (min-width:768px) {
    .leftRightSplitter {
        display: grid;
        grid-auto-flow: column dense;
        gap: 2em;
        --i: 1;
    }

    .leftRightSplitter > *:first-child {
        margin-bottom: 0 !important;
    }
    
    .leftRightSplitter > * {
        grid-column-start: calc( 2 - var(--i));
        align-self: center;
    }
    
    .leftRightSplitter > *:first-child {
        grid-column-start: calc(1 + var(--i));
    }

    .ourStoryP {
        max-width: 35ch;
    }
}

.ourStoryP {
    
    line-height: 1.5em;
    margin-bottom: 2em;
}

.primaryText {
    font-size: inherit;
    color: var(--primary-color);
}

.reasonCards p {
    line-height: 1.5em;
}

.reasonCards h1 {
    font-size: 2.5em;
}

.videoThumbnail {
    background-image: url(/images/mainVideoThumbnail.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    border: 2px solid var(--shadow-color-dark);
}

.videoThumbnail::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    transition: all 0.2s ease-out;
    box-shadow: 0 0 1em 0 var(--shadow-color-dark);
}

.videoThumbnail::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    
    border-left: 30px solid white;

    transform: translate(calc(-50% + 5px),-50%);
    opacity: 0.75;
    transition: all 0.2s ease-out;
}

.videoThumbnail:hover::after {
    opacity: 1;
}

.videoThumbnail:hover {
    cursor: pointer;
}

.videoIframe {
    width: 100%;
    aspect-ratio: 16/9;
}