:root {
    --text-color: #ffffff;
    --background-color: #181822;
    --color-primary: #A246A4;
    --color-primary-contrast: #ffffff;
}

* {
    font-family: "VT323", monospace;
    font-weight: 400;
    font-style: normal;
}

html, body {
    width: 100vw;
    margin: 0;
    background-color: var(--background-color);
    scrollbar-color: #424242 #686868;
}

nav {
    height: 100px;
    padding: 20px;
    z-index: 1000;
    position: sticky;
    top: 0;
    transition: .3s;
}

nav > .columns {
    margin: 0 !important;
}

nav.nav-scrolled {
    background-color: var(--background-color);
    box-shadow: 0 2px 8px 0 rgba(162, 70, 164, .4);
}

nav.nav-scrolled > .columns {
    max-width: 900px;
    width: 100%;
}

h1, h2, h3, h4, h5, h6, p {
    color: var(--text-color);
    line-height: 1;
}

.primary {
    color: var(--color-primary);
}

.btn {
    width: fit-content;
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-primary-contrast);
    border-radius: 5px;
}

a {
    width: fit-content;
}

.btn:hover {
    opacity: .9;
}

.opacity-7 {
    opacity: .7;
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 6px;
}

.slide {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-1 {
    position: relative;
    width: 100vw;
    height: calc(100vh - 82px);
    overflow: hidden;
    flex-direction: column;
    display: flex;
    align-items: center;
}

.languages {
    line-height: 0;
    position: absolute;
    top: 40px;
    right: 20px;
    background-color: var(--background-color);
}

.section-1 h3 {
    color: var(--color-primary);
}

.section-1 h3 span {
    background-color: var(--color-primary);
    width: 20px;
    height: 20px;
    margin-left: 15px;
    flex: 0 0 20px;
}

.text-square {
    background-color: var(--color-primary);
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.w-60 {
    width: 60%;
}

.section-1 h3 span:first-child {
    background-color: #804bcc;
}

.section-1 h3 span:last-child {
    background-color: #383845;
}

.section-2 {
    position: relative;
    width: 100vw;
    overflow: visible;
    background-color: var(--background-color);
    padding: 20px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.section-2:not(:last-child):after {
    content: '';
    width: 2px;
    height: 150px;
    background-color: var(--color-primary-contrast);
    display: block;
    position: absolute;
    bottom: -25%;
    left: 50%;
    z-index: 2;
    opacity: .6;
}

.section-1 > .section-1-bg > .columns {
    max-width: 900px;
    width: 100%;
    z-index: 2;
}

.section-1 > .columns {
    max-width: 900px;
    z-index: 2;
}

.section-2 > .columns {
    max-width: 900px;
}

.section-3 {
    margin-top: 100px;
    padding: 20px;
}

.section-3 > .columns {
    max-width: 900px;
}

.feature {
    background-color: #383845;
    padding: 20px 25px;
    height: 100%;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 8px;
}

.feature p {
    font-size: 20px;
}

#activities, #community {
    background-color: #433654;
}

.section-1 .section-1-bg {
    width: 100%;
    height: 700px;
    background-image: url("/assets/guild-home.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    image-rendering: pixelated;
}

.section-1 .home-png {
    width: 230px;
    height: 497px;
    image-rendering: pixelated;
}

.section-1 h1 {
    line-height: 1;
}

.margin-left-desktop {
    margin-left: 25px;
}

#nav-cta {
    display: none;
}

nav.nav-scrolled #nav-cta {
    display: unset;
}

footer > .columns {
    width: 100%;
}

footer > .columns > .column {
    max-width: 900px;
    border-top: dashed 2px var(--color-primary);
}

footer a {
    color: var(--color-primary);
    font-size: 20px;
}

footer p {
    font-size: 20px;
}

.pixel-corners {
    clip-path: polygon(
            0px calc(100% - 20px),
            4px calc(100% - 20px),
            4px calc(100% - 12px),
            8px calc(100% - 12px),
            8px calc(100% - 8px),
            12px calc(100% - 8px),
            12px calc(100% - 4px),
            20px calc(100% - 4px),
            20px 100%,
            calc(100% - 20px) 100%,
            calc(100% - 20px) calc(100% - 4px),
            calc(100% - 12px) calc(100% - 4px),
            calc(100% - 12px) calc(100% - 8px),
            calc(100% - 8px) calc(100% - 8px),
            calc(100% - 8px) calc(100% - 12px),
            calc(100% - 4px) calc(100% - 12px),
            calc(100% - 4px) calc(100% - 20px),
            100% calc(100% - 20px),
            100% 20px,
            calc(100% - 4px) 20px,
            calc(100% - 4px) 12px,
            calc(100% - 8px) 12px,
            calc(100% - 8px) 8px,
            calc(100% - 12px) 8px,
            calc(100% - 12px) 4px,
            calc(100% - 20px) 4px,
            calc(100% - 20px) 0px,
            20px 0px,
            20px 4px,
            12px 4px,
            12px 8px,
            8px 8px,
            8px 12px,
            4px 12px,
            4px 20px,
            0px 20px
    );
}

.pixel-corners-small {
    clip-path: polygon(
            0px calc(100% - 6px),
            3px calc(100% - 6px),
            3px calc(100% - 3px),
            6px calc(100% - 3px),
            6px 100%,
            calc(100% - 6px) 100%,
            calc(100% - 6px) calc(100% - 3px),
            calc(100% - 3px) calc(100% - 3px),
            calc(100% - 3px) calc(100% - 6px),
            100% calc(100% - 6px),
            100% 6px,
            calc(100% - 3px) 6px,
            calc(100% - 3px) 3px,
            calc(100% - 6px) 3px,
            calc(100% - 6px) 0px,
            6px 0px,
            6px 3px,
            3px 3px,
            3px 6px,
            0px 6px
    );
}

.pixel-corners-xs {
    clip-path: polygon(
            0px calc(100% - 2px),
            2px calc(100% - 2px),
            2px 100%,
            calc(100% - 2px) 100%,
            calc(100% - 2px) calc(100% - 2px),
            100% calc(100% - 2px),
            100% 2px,
            calc(100% - 2px) 2px,
            calc(100% - 2px) 0px,
            2px 0px,
            2px 2px,
            0px 2px
    );
}

@media (max-width: 767px) {

    nav {
        height: 70px;
        padding: 0;
    }

    .reverse-columns {
        flex-direction: column-reverse;
        display: flex;
    }

    .reverse-rows {
        flex-direction: row-reverse;
    }

    .reverse-rows .text-square.ml-4 {
        margin-left: 0 !important;
        margin-right: 1rem !important;
    }

    .has-text-right {
        text-align: unset !important;
    }

    .section-1 {
        height: auto;
    }

    .section-1 .section-1-bg {
        height: auto;
        padding-bottom: 80px;
    }

    .section-1 .section-1-bg h1 {
        margin-top: 3rem;
    }

    .section-1 .section-1-bg > .columns {
        flex-direction: column-reverse;
        display: flex;
    }

    .section-1 .section-1-bg > .columns > .column {
        align-items: center;
        text-align: center;
    }

    .section-1 .home-png {
        width: 200px;
        height: 400px
    }

    .welcome {
        padding-left: 20px;
        padding-right: 20px;
    }

    .w-60 {
        width: auto;
    }

    .section-2:not(:last-child):after {
        position: relative;
        height: 2px;
        width: 100%;
        left: unset;
        bottom: unset;
        margin-top: 20px;
    }

    .section-2 {
        margin-bottom: 0 !important;
    }

    .margin-left-desktop {
        margin-left: 0;
    }

    .section-1 .blob {
        height: 70%;
    }

    .section-3 {
        margin-top: 20px !important;
    }

}