@import url('https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Audiowide&family=Bowlby+One&family=Bungee+Shade&family=Concert+One&family=Montserrat:ital,wght@0,400;0,700;0,900;1,500&family=Palanquin+Dark&family=Press+Start+2P&family=Righteous&family=Rubik+Mono+One&family=Rubik:wght@400;700;900&family=Silkscreen:wght@400;700&family=Source+Code+Pro:wght@700&family=Tourney:wght@100;400;900&family=Ubuntu:wght@400;700&display=swap');

/* https://colorhunt.co/palette/03001c301e675b8fb9b6eada
https://colorhunt.co/palette/635985443c6839305318122b
https://colorhunt.co/palette/8bbccc4c67935c2e7e000000
https://colorhunt.co/palette/f3efe043424222222222a39f */
body {
    background: #393053;
    padding: 0;
    margin: 0;
}

header {
    background: rgb(13, 0, 49);
    text-align: center;
    position: fixed;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    z-index: 100;
}

h1 {
    font-family: "Tourney";
    color: #22A39F;
    text-align: left;
    padding-left: 1.35rem;
    font-size: 1.9rem;
    padding-bottom: 0.28rem;
    margin: 0;
}

h2 {
    font-family: "Ubuntu";
    text-align: left;
    padding-left: 1.35rem;
    padding-top: 0;
    padding-right: 2rem;
    margin-top: 0;
    font-size: 0.8rem;

    color: #8BBCCC;
}

h2 a {
    text-decoration: none;
    color: #4C6793;
}

h2 a:hover {
    text-decoration: underline;
    color: #4C6793;
}

.logo {
    color: #4C6793;
    font-family: "Tourney";
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: 900;
    padding: 0.25rem;
}

.nav-toggle {
    display: none;
    padding: 0;
}

.nav-toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1rem;
    height: 100%;
    width: 2rem;
    display: inline-flex;
    align-items: center;
    cursor: pointer;

}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #67f2c8;
    height: 5px;
    width: 1.5em;
    border-radius: 2px;
    position: absolute;

}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 7px;
}

.nav-toggle-label span::after {
    top: 7px;
}



nav {
    position: absolute;
    text-align: left;
    top: 100%;

    left: 0;
    background-color: #443C68;
    width: 100%;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
}

nav ul {
    margin: 0;
    list-style: none;
    padding: 1rem 0 0 0;

}

nav li {
    margin-bottom: 1em;
    margin-left: 1em;
}

nav a {
    font-family: "Montserrat";
    color: #22A39F;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0;
    font-weight: 700;
    transition: opacity 150ms ease-in-out;

}

nav a:hover {
    color: #8BBCCC;
}

.nav-toggle:checked~nav {
    transform: scale(1, 1);
}

.nav-toggle:checked~nav a {
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;

}

.info {
    font-weight: bold;
    font-weight: 900;
    padding-top: 5rem;
    text-align: center;
    padding-bottom: 1rem;
}

.selected {
    color: #8e3fc6;
}

@media screen and (min-width: 800px) {
    h1 {
        font-family: "Tourney";
        color: #22A39F;
        text-align: left;
        padding-left: 5rem;
        font-size: 4.5rem;
        padding-bottom: 0.2rem;
        margin: 0;
    }

    h2 {
        font-family: "Ubuntu";
        text-align: left;
        padding-left: 5.2rem;
        padding-top: 0;
        padding-right: 16rem;
        margin-top: 0;
        font-size: 1.4rem;

        color: #8BBCCC;
    }

    h2 a {
        text-decoration: none;
        color: #4C6793;
    }

    h2 a:hover {
        text-decoration: underline;
        color: #4C6793;
    }

    a.logo {
        align-self: center;
    }

    .logo {
        font-family: "Tourney";
        font-size: 1.58rem;
        margin: 0;
        padding: 0;
        grid-column: 2 / span 1;


    }

    /* width */
    body::-webkit-scrollbar {
        z-index: -20;
        width: 12px;
    }

    /* Track */
    body::-webkit-scrollbar-track {
        z-index: -20;

        box-shadow: inset 0 0 8px rgb(0, 0, 0);
    }

    /* Handle */
    body::-webkit-scrollbar-thumb {
        z-index: -20;
        box-shadow: inset 0 0 3px rgb(0, 0, 0);

        background: rgb(77, 77, 77);
    }

    /* Handle on hover */
    body::-webkit-scrollbar-thumb:hover {
        background: #505050;
    }

    body {
        z-index: 10;
    }

    .nav-toggle-label {
        display: none;
    }

    html {
        display: block;
    }

    .info {
        margin: 0;

        font-weight: bold;
        font-weight: 900;
        padding-top: 5rem;
        text-align: center;
    }

    header {
        display: grid;
        background-color: rgb(13, 0, 49);
        grid-template-columns: 1fr auto minmax(600px, 4fr) 1fr;
    }

    nav {
        all: unset;
        margin-block: 0rem;
        grid-column: 3 / 4;
        display: flex;
        z-index: 999;
        justify-content: center;
        align-items: center;
        height: 1.5rem;
    }

    nav ul {
        display: flex;
        z-index: 999;
        justify-content: flex-end;
        align-items: center;
        padding: 0 0 0 0;
    }

    nav a {
        opacity: 1;
        font-family: "Montserrat";
        position: relative;
        transition: all 250ms;
        font-size: 1.1rem;
        z-index: 999;
        color: #22A39F;
        font-weight: 700;

        letter-spacing: 1px;
        font-weight: bold;
    }

    nav a:hover {
        text-shadow: 1px 1px 3px black;
    }

    nav a::before,
    .Highlight::before {
        content: "";
        display: block;
        height: 5px;
        background: #22A39F;
        position: absolute;
        bottom: -.75em;
        left: 0;
        right: 0;
        border-radius: 3px;
        transform: scale(0, 1);
        transform-origin: left;
        transition: transform ease-in-out 250ms;
    }

    nav a:hover::before {
        transform: scale(1, 1);
    }

    .Highlight::before {
        transform: scale(1, 1);
    }

    .Highlight {
        text-shadow: 1px 1px 3px black;
    }

    nav li {
        margin-left: 4rem;
        margin-bottom: 0;
    }

    .selected {
        color: rgb(13, 0, 49);
    }
}