:root {
    --primary-color: #DE3163;
    --darkmode-text-color: #ffffff;
    --darkmode-background: #050505;
    --darkmode-secondary: #423b3d;
    --darkmode-accent: #e38296;
    --lightmode-text-color: #050505;
    --lightmode-background: #fafafa;
    --lightmode-secondary: #e9e2e4;
    --lightmode-accent: #d02f4f;
}

@media (prefers-color-scheme: dark) {
    :root {
        --text-color: var(--darkmode-text-color);
        --background: var(--darkmode-background);
        --secondary: var(--darkmode-secondary);
        --accent: var(--darkmode-accent);
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --text-color: var(--lightmode-text-color);
        --background: var(--lightmode-background);
        --secondary: var(--lightmode-secondary);
        --accent: var(--lightmode-accent);
    }
}

.loginButton {
    background-color: #5865F2;
    color: var(--text-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 600,
        'GRAD' 0,
        'opsz' 48,
}

.material-symbols-rounded {
    font-variation-settings:
        'FILL' 1,
        'wght' 600,
        'GRAD' 200,
        'opsz' 48
}

body {
    background-color: var(--background);
    color: var(--text-color);
    font-family: 'inter', sans-serif;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.headerMobile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hamburgerMenu {
    padding: 0;
    margin-right: 1rem;
    height: 24px;
    background: none;
    border: none;
}

.ruby {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.ruby img {
    width: 3rem;
    height: auto;
    margin-left: 1rem;
}

.ruby h1 {
    margin-left: 0.5rem;
}

.mobileRight {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.mobileUser {
    display: none;
    flex-direction: row;
    align-items: center;
    margin-right: 1rem;
}

.userIconMobile {
    width: 2rem;
    height: auto;
    margin-right: 0.5rem;
    border-radius: 50%;
}

.userNameMobile {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.seeMoreUser {
    margin: 0;
    padding: 0;
    margin-left: 0.5rem;
    height: 24px;
    width: 24px;
    display: flex;
    align-content: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.accountOptions {
    position: absolute;
    top: 4rem;
    right: 3rem;
    background-color: var(--background);
    border: 1px solid var(--secondary);
    border-radius: 5px;
    z-index: 2;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0;
    width: 10rem;
}

.logoutButton {
    padding: 0.5rem 0;
    margin-left: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
}

.navWrapperMobile {
    display: none;
    z-index: 2;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--background);
}

.closeNavMobile {
    padding: 0;
    margin-right: 1rem;
    height: 24px;
    background: none;
    border: none;
}

.navHiddenList {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
}

.navHiddenList li {
    margin: 1rem;
}

.navLink {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.loginButtonMobile {
    position: absolute;
    background-color: #5865F2;
    color: var(--text-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    bottom: 2rem;
    width: 15rem;
    left: calc(50% - 7.5rem);
}

.discordLogo {
    height: 1.2rem;
    margin-right: 0.75rem;
}

.introHeader {
    width: 100%;
    text-align: center;
    font-weight: 900;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.introHeader h1 {
    max-width: 1200px;
}

.introHeader p {
    font-weight: 400;
    margin: 0;
    padding: 0 1rem;
    max-width: 600px;
}

.rubySpan {
    background-image: linear-gradient(90deg,
            rgba(255, 65, 108, 1) 0%,
            rgba(255, 75, 43, 1) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

button {
    border: none;
    border-radius: 5px;
    color: var(--text-color);
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.introHeaderButtons {
    margin-top: 2rem;
}

@media (min-width: 750px) {
    .introHeader {
        font-size: 2.5rem;
    }

    .introHeader p {
        font-size: 1.5rem;
    }

    .introHeaderButtons {
        margin-top: 3rem;
    }
}

.addToDiscord {
    background-color: var(--primary-color);
    margin-right: 0.25rem;
}

.learnMore {
    background-color: var(--secondary);
    margin-left: 0.25rem;
}

.listContainerMobile {
    width: 100%;
    margin-top: 10rem;
}

.hiddenList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listItem {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.listImage {
    width: calc(100% - 3rem);
    height: auto;
    border-radius: 5px;
    margin-left: 1.5rem;
}

.listItem h2 {
    margin: 1rem 1.2rem;
    font-weight: 700;
}

.listItem li {
    margin: 0.75rem 0;
    font-weight: 400;
    font-size: medium;
    max-width: calc(100% - 1rem);
}

.listContainerDesktop {
    display: none;
}

.final {
    margin-bottom: 5rem;
    font-size: 0.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headerDesktop {
    display: none;
}

@media (max-width: 1000px) {
    .discordLogo {
        display: none;
    }
    .loginButton {
        max-height: 2rem;
    }

    .navLink {
        font-size: 1.2rem;
    }
}

@media (max-width: 370px) {
    .userNameMobile {
        max-width: 45px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }

    .ruby img {
        margin-left: 0;
    }

    .mobileUser {
        margin-right: 0.1rem;
    }
}

@media (min-width: 370px) and (max-width: 400px) {
    .userNameMobile {
        max-width: 60px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }

    .hamburgerMenu {
        margin-right: 0.35rem;
    }

    .mobileUser {
        margin-right: 0.25rem;
    }
}

@media (min-width: 400px) and (max-width: 500px) {
    .userNameMobile {
        max-width: 100px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (min-width: 500px) and (max-width: 600px) {
    .userNameMobile {
        max-width: 115px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (min-width: 600px) and (max-width: 700px) {
    .userNameMobile {
        max-width: 130px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (min-width: 700px) and (max-width: 750px) {
    .userNameMobile {
        max-width: 145px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (min-width: 750px) and (max-width: 900px) {
    .userNameDesktop {
        max-width: 50px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (min-width: 900px) and (max-width: 1000px) {
    .userNameDesktop {
        max-width: 225px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1100px) {
    .userNameDesktop {
        max-width: 250px;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }

    .body {
        overflow-x: hidden;
    }
}

@media screen and (min-width: 750px) {
    .listContainerMobile {
        display: none;
    }

    .headerMobile {
        display: none;
    }

    .headerDesktop {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding-bottom: 1rem;
    }

    .desktopUser {
        display: none;
        flex-direction: row;
        align-items: center;
        margin-right: 1rem;
    }

    .userIconDesktop {
        width: 2.5rem;
        height: auto;
        margin-right: 0.75rem;
        border-radius: 50%;
    }

    .userNameDesktop {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--text-color);
    }

    .navList {
        display: flex;
        flex-direction: row;
        align-items: center;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .navList li {
        margin: 0 1.5rem;
    }

    .listContainerDesktop {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 22rem;
    }

    .hiddenListDesktop {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 1200px;
    }

    .listItemDesktop {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin-bottom: 10rem;
        height: min-content;
    }

    .listItemItem {
        max-width: 400px;
        height: 100%;
    }

    .listItemItem h2 {
        font-size: 2.1rem;
        font-weight: 700;
    }

    .listImageDesktop {
        width: 750px;
        max-width: calc(100% - 400px);
        height: auto;
        border-radius: 10px;
    }

    .BulletPointsDesktop {
        width: 100%;
    }

    .listItemItem li {
        margin: 0.75rem 0;
        font-weight: 500;
        font-size: 1.2rem;
        max-width: 300px;
    }

    .final {
        font-size: 1.2rem;
    }

    #welcomeMessage {
        margin-left: 50px;
    }

    #levelImage {
        margin-right: 50px;
    }

    #economyImage {
        margin-left: 50px;
    }

    #gameImage {
        margin-right: 50px;
    }

    #moderationImage {
        margin-left: 50px;
    }
}