@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

*
{
    box-sizing: border-box;
}
html
{
    color: white;
    background-color: #15151b;
    overflow-x: hidden;    
}
body
{
    margin: 0px;
    font-family: Rubik;
    position: relative;
}
nav
{
    background-color: #0D0D1080;
    min-height: 70px;
    width: 100%;
    position: fixed;
    display: flex;
    justify-content: space-between;
    z-index: 100;
}
#navLeft a, #navLeftMobile a
{
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    margin-right: 50px;
}
#navLeft h1, #navLeftMobile h1
{
    height: 70px;
    margin: 0px;
    margin-right: 20px;
    font-family: 'Noto Sans';
}
#navLeft, #navRight, #navLeftMobile, #navRightMobile
{
    display: flex;
    position: relative;
    width: max-content;
    align-items: center;
    height: 70px;
}
#navRight
{
    margin-right: 10px;
}
#navLeft
{
    margin-left: 10px;
}
nav img
{
    height: 70px;
}
.discordButton
{
    border-radius: 25px;
    border: 2px solid rgba(241, 242, 250, 0.5);;
    background-color: transparent;
    color: white;
    font-family: Rubik;
    padding: 5px;
    padding-inline: 20px;
    font-weight: bold;
    transition: all 0.3s;
    text-decoration: none;
}
.discordButton, .icoDiscord, .icoDiscordBig
{
    transition: all 0.3;
}
.discordButton:hover
{
    color: rgb(88, 101, 242) !important;
    background-color: white;
    border-color: white;
}
.discordButton:hover .icoDiscordBig, .discordButton:hover .icoDiscord
{
    background-image: url(assets/svg/discord.svg) !important;
}

header
{
    height: auto;
    width: 100%;
    max-width: 1000px;
    padding-top: 70px;
    margin: auto;
    /*background-color: #15151b;*/
}
header img
{
    display: block;
    margin: auto;
}
main
{
    max-width: 1000px;
    margin: auto;
}
main h1
{
    text-align: center;
}
section
{
    display: flex;
    justify-content: space-between;
}
section img
{
    border-radius: 10px;
}
hr
{
    border: 1px solid #202025;
}
#intro
{
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-top: 50px;
}
#intro h1
{
    text-align: left;
    font-size: 2em;
}
#intro a
{
    padding: 10px;
}
#intro .desc
{
    font-size:x-large;
    max-width: 50%;
}
#backgroundFade
{
    z-index: -1;
    display: block;
    position: absolute;
    top: 0px;
    width: 170%;
    max-height: 80%;
}
#backgroundFadeBottom
{
    z-index: -1;
    display:block;
    position: absolute;
    bottom: 0px;
    left: -200%;
    rotate: 180deg;
    height: 178%;
    width: 500%;
}
footer
{
    max-width: 1000px;
    margin: auto;
    position: relative;
}
footer a
{
    text-decoration: none;
    color: #ddd;
}
footer table
{
    width: 100%;
}
footer th
{
    text-align: left;
}
footer div
{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: small;
}
#mobileMenu
{
    display: none;
}
#navLeftMobile, #navRightMobile, #navMenuMobile, #linksMobile, #navMobile
{
    display: none;
}
@media (max-width: 768px) 
{
    *
    {
        font-size:medium;
    }
    body
    {
        overflow-x: hidden;
    }
    #navLeftMobile, #navRightMobile, #navMobile
    {
        display: flex;
    }
    #mobileMenuBtn
    {
        padding: 20px;
    }
    #navMobile
    {
        justify-content: space-between;
        width: 100%;
        background-color: #0D0D1080;
    }
    #navLeft, #navRight
    {
        display: none;
    }
    #navRightMobile
    {
        display: flex;
        align-items: center;
        height: 70px;
        margin-right: 20px;
    }
    main, footer
    {
        width: 100%;
        overflow: hidden;
    }
    #backgroundFade
    {
        width: 100%;
    }
    header img
    {
        max-width: 100%;
    }
    #intro
    {
        flex-direction: column;
    }
    #navMenuMobile
    {
        display: none;
        position: fixed;
    }
    section, #intro .desc
    {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }
    section div, section img
    {
        width: 95%;
        margin: auto;
    }
    section:nth-of-type(odd)
    {
        display: flex;
        flex-direction: column-reverse;
    }
    section:nth-of-type(even)
    {
        display: flex;
        flex-direction: column;
    }
    .overview
    {
        justify-content: center;
    }
    .overview h2, .overview p, .overview ul
    {
        text-align: center;
    }
    .overview ul
    {
        text-align: left;
        list-style-position: inside;
        padding: 0;
        margin-inline: auto;
        display: block;
        width: max-content;
    }
    footer
    {
        display: block;
    }
    footer th
    {
        text-align: center;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    footer table tr
    {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
    footer div span, footer div a
    {
        font-size: small; 
        margin: 20px;
    }
    footer td
    {
        margin-bottom: 10px;
    }
    #links
    {
        display: none;
    }
    #linksMobile
    {
        width: max-content;
        margin: auto;
        display: flex;
    }
    #intro h1, #intro
    {
        font-size: x-large;
        justify-content: center;
        text-align: center;
        max-width: 100%;
    }
    #intro h1, #intro .desc
    {
        position: relative;
        margin-bottom: 50px;
        margin-top: 20px;
    }
    #intro .desc
    {
        display: flex;
        justify-content: center;
    }
    #intro .desc p
    {
        display: flex;
        margin: auto;
        margin-top: 20px;
    }
    h1, h2
    {
        font-size: larger
    }
    nav
    {
        flex-direction: column;
        background-color: transparent;
    } 
    #mobileMenu
    {
        position: fixed;
        display: flex;
        flex-direction: column;
        top: 70px;
        width: 50%;
        height: 100vh;
        align-items: center;
        margin: 0;
        transition: all 0.5s;
        background-color: #202025;
        
    }
    header, main, footer, #navMobile
    {
        transition: all 0.5s;
    }
    #mobileMenu hr {width: 90%;}
    #mobileMenu a
    {
        width: 90%;
        text-align: center;
        color: white;
        padding: 20px;
        align-items: center;
        text-decoration: none;
    }
    #mobileMenu hr
    {
        border-color: #15151b;
    }
    #mobileMenu .discordButton
    {
        margin-top: 20px;
        margin-bottom: 20px;
        padding: 10px;
    }
    .menuToggleNav
    {
        background-color: #202025 !important;
        width: 50% !important;
        transition: all 0.5s;

    }
    .menuToggle
    {
        transform: translateX(-100%);
    }
    .contentToSide
    {
        transform: translateX(50%);
        transition: all 0.5s;
    }
}