@font-face {
    font-family: 'Coolvetica';
    font-style: normal;
    font-weight: 300;
    src: local('Coolvetica'), url('https://fonts.cdnfonts.com/s/13277/coolvetica.woff') format('woff');
}
h1 {
    font-size: 50px;
    font-weight: 300;
    text-align: center;
    margin: 0;
    padding: 15px 0;
}
.greenbtn {
    padding: 15px;
    width: unset;
    background: #0ab257;
    border: 1px solid #ffffff7e;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 200ms ease-in-out;
    &.play {
        width: 100%;
    }
    &:hover {
        background: #0ec262;
        border: 1px solid #ffffff7e;
    }
    &:active {
        background: #0b9b4e;
        border: 1px solid #ffffff7e;
    }
}
.prplbutton {
    padding: 15px;
    width: unset;
    background: #660ab2;
    border: 1px solid #ffffff7e;
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: 200ms ease-in-out;
    position: relative;
    &.play {
        width: 100%;
    }
    &:hover {
        background: #8110dd;
        border: 1px solid #ffffff7e;
    }
    &:active {
        background: #490780;
        border: 1px solid #ffffff7e;
    }
}
.play {
    &:not(:first-child) {
        margin-top: 20px;
    }
}
.discord {
    &:before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        background: url(./images/discord.svg);
        background-position: 0px 2px;
        background-size: 344px;
        opacity: .2;
        background-repeat: no-repeat;
        left: 0;
        top: 0;
        border-radius: 5px;
    }
}
body {
    margin: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    font: 14pt "Coolvetica", sans-serif;
    overflow-x: hidden;
    display: inline-block;
    & .topbar {
        height: 65px;
        background: #0009;
        width: 100%;
        position: fixed;
        z-index: 1000;
        & .toplogo {
            width: 45px;
            margin: 10px;
            float:left;
        }
        & .left {
            width: 100% !important;
        }
    }
    & .maincont {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        height: 100%;
        box-sizing: border-box;
        @media (max-width: 1270px) {
            width: calc(100% - 60px);
            margin: 0 auto;
        }
        & > * {
            float: left;
        }
        & .left {
            width: 50%;
            height: 100%;
            &.smaleft {
                width: 33.3333%;
            }
            & .link {
                transition: 200ms ease-in-out;
                padding: 10px;
                box-sizing: border-box;
                height: 100%;
                display: block;
                float: left;
                color: #fff;
                text-align: center;
                text-decoration: none;
                line-height: 45px;
                &:hover {
                    background: rgb(255, 255, 255);
                    color: #000;
                }
                @media (max-width: 445px) {
                    font-size: 20px;
                }
            }
            & .logo {
                display: inline-block;
                margin-top: 200px;
                & img {
                    width: 100%;
                }
            }
        }
        & .right {
            width: 50%;
            height: 100%;
            & .infobar {
                margin-top: 200px;
                background: linear-gradient(180deg, #0005, #000);
                box-shadow: 10px 10px #0008, inset -1px -1px #fff4, inset 1px 1px #fff4;
                padding: 20px;
                box-sizing: border-box;
                color: #fff;
                & p {
                    padding: 10px;
                    letter-spacing: 0.3px;
                    text-align: center;
                }
                @media (max-width: 854px) {
                    width: calc(100% - 60px);
                    margin: 0 auto;
                }
            }
        }
        & .smaleft {
            display: flex;
            flex-direction: column;
            justify-content: center;
            & .whiteBar {
                z-index: 1;
                width: 100%;
                border: 1px solid #aaa;
                background: #fff;
                box-sizing: border-box;
                padding: 10px 0;
                margin: 0;
                list-style: none;
                position: relative;
                & .Arrow {
                    position: absolute;
                    display: none;
                    border-right: 20px solid #868686;
                    border-bottom: 20px solid #0000;
                    border-top: 20px solid #0000;
                    top: calc(50% - 20px);
                    left: calc(100% + 21px);
                    &:before {
                        content: "";
                        position: absolute;
                        display: block;
                        border-right: 20px solid #ffffff;
                        border-bottom: 20px solid #0000;
                        border-top: 20px solid #0000;
                        top: -20px;
                        left: 1px;
                    }
                }
                & .whiteelm {
                    padding: 10px 15px;
                    font-size: 24px;
                    transition: 200ms ease-in-out;
                    position: relative;
                    &:hover {
                        background: #ccc;
                    }
                    &.active {
                        background: #ddd !important;
                        & .Arrow {
                            display: block;
                        }
                    }
                    @media (max-width:640px) {
                        font-size: 18px;
                    }
                }
            }
        }
        & .smaleft + .right {
            width: 66.6666%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
    }
    & section {
        width: 100%;
        background: #fff;
        &.fullheight {
            background: #eee;
            height: 100vh;
            @media (max-height: 920px) {
                height: 920px;
            }
            &:not(:last-child) {
                border-bottom: 5px solid #fff;
            }
        }
        &#about {
            background: url("./images/CorJungleCrisp.png");
            background-size: cover;
            & .left {
                @media (max-width: 854px) {
                    width: 100%;
                    height: 200px;
                    margin: 65px 0 0;
                    & .logo {
                        margin: 0 auto;
                        display: block;
                    }
                    & img { 
                        max-width: 346px;
                        width: 100%;
                        margin: 0 auto;
                        display: block;
                    }
                }
            }
            & .right {
                @media (max-width: 854px) {
                    width: 100%;
                    height: 68%;
                }
            }
        }
        &#staff {
            & h1 {
                font-size: 62px;
                padding-top: 45px;
            }
            & ul {
                list-style: none;
                padding: 0;
                display: inline-block;
                width: 100%;
                & li {
                    width: 50%;
                    text-align: center;
                    & div {
                        & > * {
                            float: left;
                        }
                        margin: 0 auto;
                        width: fit-content;
                    }
                    & img {
                        border: 1px solid #ccc;
                        border-radius: 50%;
                        width: 150px;
                        @media (max-width: 525px) {
                            width: 100px;
                        }
                    }
                    & span {
                        font-size: 32px;
                        margin-left: 20px;
                        line-height: 150px;
                        max-width: 150px;
                        @media (max-width: 525px) {
                            margin-left: 20px;
                            line-height: 100px;
                            max-width: 100px;
                        }
                    }
                    & p {
                        float: left;
                        width: 100%;
                        color: #666;
                        font-size: 18px;
                    }
                    @media (max-width: 854px) {
                        width: 100%;
                    }
                }
            }
        }
        &#maps {
            &:before {
                content: "";
                display: block;
                width: 100%;
                height: 100%;
                backdrop-filter: blur(10px);
                position: absolute;
                z-index: 1;
                @media (max-height: 920px) {
                    height: 920px;
                }
            }
            & .maincont {
                height: 88%;
                position: relative;
                z-index: 2;
                @media (max-width: 854px) {
                    height: 91%;
                }
            }
            .BigWhite {
                width: calc(100% - 40px);
                background: #fff;
                height: auto;
                margin-left: 40px;
                border: 1px solid #aaa;
                position: relative;
                & .innerWhite {
                    width: 100%;
                    height: 100%;
                    box-sizing: border-box;
                    padding: 20px;
                    @media (max-width: 675px) {
                        padding: 10px;
                    }
                    & img {
                        width: 100%;
                    }
                    & .header {
                        font-size: 54px;
                        margin: 10px 0;
                        padding: 0;
                        display: block;
                        @media (max-width: 854px) {
                            font-size: 32px;
                        }
                        @media (max-width: 675px) {
                            font-size: 24px;
                        }
                    }
                    & .description {
                        margin-top: 10px;
                        font-size: 20px;
                        font-style: italic;
                        color: #555;
                        @media (max-width: 854px) {
                            font-size: 18px;
                        }
                        @media (max-width: 475px) {
                            font-size: 14px;
                        }
                    }
                    & .textSource {
                        color: #5e60e9;
                    }
                }
            }
        }
    }
    & footer {
        width: 100%;
        border-top: 1px solid #0005;
        margin-top: 45px;
        background: linear-gradient(180deg, #f3f3f3, transparent);
        display: inline-block;
        box-shadow: 0 -10px 40px #00000017;
        & .maincont {
            display: flex;
            @media (max-width: 525px) {
                flex-direction: column;
            }
        }
        &:hover {
                & img {
                    opacity: 0 !important;
                }
                & .logobottom:before, img+span:before {
                    opacity: 1 !important;
                }
            }
        & .logobottom {
            margin: 20px 0 20px 20px;
            padding-right: 20px;
            float: left;
            width: 250px;
            text-align: center;
            border-right: 1px solid #ccc;
            color: #666;
            font-style: italic;
            position: relative;
            align-content: center;
            & img {
                opacity: 0.6;
                transition: 300ms ease-in-out;
                @media (max-width: 525px) {
                    width: 50px;
                    vertical-align: middle;
                }
            }
            &:before {
                content: url(./images/Coin.webp);
                opacity: 0;
                transition: 300ms ease-in-out;
                display: block;
                margin-top: -150px;
                position: relative;
                top: 155px;
                @media (max-width: 525px) {
                    display: none;
                }
            }
            @media (max-width: 525px) {
                width: 100%;
                border-right: 0;
                border-bottom: 1px solid #ccc;
                padding: 20px;
                margin: 0;
                box-sizing: border-box;
                & img+span:before {
                    content: "";
                    opacity: 0;
                    width: 50px;
                    height: 50px;
                    background:  url(./images/Coin.webp);
                    background-size: cover;
                    transition: 300ms ease-in-out;
                    position: relative;
                    display: inline-block;
                    vertical-align: middle;
                    margin-left: -54px;
                }
            }
        }
        & div {
            width: 100%;
            & ul {
                &:first-child {
                    width: 96px;
                }
                &:nth-child(2) {
                    width: 208px;
                }
                float: left;
                list-style: none;
                @media (max-width: 947px) {
                    width: 100% !important;
                    padding: 0 30px 0 40px;
                    box-sizing: border-box;
                }
                & li {
                    margin-bottom: 5px;
                    & a {
                        border: 1px solid #ddd;
                        background: #f9f9f9;
                        padding: 5px;
                        width: 100%;
                        display: block;
                        overflow: hidden;
                        &:hover:before {
                            content: "> ";
                            background: #333;
                            color: #fff;
                            position: relative;
                            display: block;
                            float: left;
                            width: 20px;
                            text-align: center;
                            height: 29px;
                            margin-top: -10px;
                            top: 5px;
                            left: -5px;
                            border-right: 1px solid #aaa;
                            box-shadow: 1px 0 0px #0004;
                            line-height: 30px;
                        }
                    }
                }
            }
        }
        & a {
            text-decoration: none;
            color: #000;
        }
    }
}