* {
    padding: 0;
    margin: 0;
}

:root {
    --bordercolor: #282828;
    --maintextcolor: #ffffff;
    --mainbackgroundcolor: rgba(0, 0, 0, .9);
    --backgroundcolor: #101010;
    --gold: #a88245;
    --selectedcolor: #787878;
    --headerfontsize: 20px;
    --subheaderfontsize: 18px;
    --textfontsize: 16px;
    --subtextfontsize: 14px;
}

body {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    background-color: var(--mainbackgroundcolor);
    color: #ffffff;
}

header {
    width: 100%;
    height: 56px;
}

button {
    background-color: inherit;
    border: none;
}

a {
    text-decoration: none;
    color: inherit;
}

main {
    display: flex;
    width: 100vw;
    height: auto;
    margin-top: .5rem;
    flex-direction: row;
    border: 1px solid var(--bordercolor);
    border-right-width: 0;
    border-left-width: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

footer {
    display: flex;
    width: 100vw;
    margin: 1rem 0;
    flex-direction: row;
    align-items: center;
}

footer div {
    display: flex;
    width: 33vw;
    flex-direction: column;
    align-items: center;
}

footer div img {
    width: 32px;
    margin-bottom: .5rem;
}

footer div a {
    margin: 0 1rem;
    font-size: var(--textfontsize);
}

footer p {
    width: 34vw;
    text-align: center;
    font-size: var(--textfontsize);
}

#shade {
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    opacity: .75;
    z-index: 99;
    background-color: #212121;
}

#nav_left {
    display: flex;
    position: fixed;
    width: 256px;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    flex-direction: column;
    background-color: var(--mainbackgroundcolor);
    transition: margin-left .45s ease-in-out;
}

#nav_right {
    display: flex;
    position: fixed;
    width: 256px;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 100;
    flex-direction: column;
    background-color: var(--mainbackgroundcolor);
    transition: margin-right .45s ease-in-out;
}

.header_title_container {
    display: flex;
    padding: 0.5rem;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.header_img {
    width: auto;
    height: 48px;
}

.mobile_button {
    display: flex;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.mobile_button_content {
    width: 24px;
    height: 24px;
}

.navbar_container {
    display: flex;
    flex-direction: column;
    padding: 0 1rem 1rem 1rem;
}

.navbar_link_container {
    display: flex;
    width: auto;
    height: 36px;
    flex-direction: row;
    align-items: center;
}

.navbar_svg {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
}

.navbar_link {
    font-size: var(--subheaderfontsize);
}

.mobile_hide {
    display: none;
}

.logo_container {
    display: flex;
    padding: 0.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: auto;
    height: 48px;
}

.main_content {
    display: flex;
    flex-direction: column;
}

.headermiddle {
    display: flex;
    width: 100vw;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bordercolor);
    background-color: #0c0c0c;
}

.headermiddle h1 {
    font-size: var(--headerfontsize);
    font-weight: 600;
    text-align: center;
    overflow: hidden;
}

.flexcontainer {
    display: flex;
    margin: 1rem;
    flex-direction: column;
    align-items: center;
}

.news_container {
    display: flex;
    padding-bottom: 1rem;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.news_container + .news_container {
    padding-top: 1rem;
    border-top: 1px solid var(--bordercolor);
}

.news_img {
    width: 64px;
    height: 64px;
    margin: 0 .5rem;
}

.news_text_container {
    display: flex;
    flex-direction: column;
}

.news_text_container h2 {
    font-size: var(--subheaderfontsize);
    font-weight: 600;
}

.news_text_container p {
    margin-top: .5rem;
    font-size: var(--textfontsize);
    white-space: pre-line;
}

.downloada + .downloada {
    margin-top: 1rem;
    font-size: var(--textfontsize);
}

.errormessage {
    margin-bottom: .5rem;
    font-weight: 500;
    font-size: var(--subtextfontsize);
    color: rgb(220, 38, 38);
}

.successmessage {
    margin-top: .5rem;
    font-weight: 500;
    font-size: var(--subtextfontsize);
    color: rgb(5, 150, 105);
}

.settingsheader {
    font-size: var(--subheaderfontsize);
    z-index: 10;
    color: var(--gold);
}

.inputcontainermiddle {
    display: flex;
    width: 75vw;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.svgimg {
    width: 1rem;
    height: 1rem;
    padding: 0.5rem;
    border: 1px solid var(--bordercolor);
    border-right-width: 0;
    border-radius: 0.5rem 0 0 0.5rem;
    background-color: #0b0b0b;
}

.fieldinput {
    width: 100%;
    height: 2rem;
    border: 1px solid var(--bordercolor);
    border-radius: 0 0.5rem 0.5rem 0;
    background-color: #0b0b0b;
    font-size: var(--subtextfontsize);
    text-indent: 0.5rem;
    color: #454545;
    outline: none;
}

.fieldinput:focus {
    border-color: var(--selectedcolor);
}

.submitbutton {
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bordercolor);
    border-radius: 0.5rem;
    background-color: #121212;
    font-size: var(--subtextfontsize);
    color: #ffffff;
    cursor: pointer;
}

.submitbutton:hover {
    opacity: 0.90;
}

.twofacode {
    margin-top: 0.75rem;
    font-size: var(--subtextfontsize);
}

.accountcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account_innercontainer {
    display: flex;
    width: calc(100% - 2px);
    flex-direction: row;
    justify-content: center;
    border: 1px solid var(--bordercolor);
}

.account_innercontainer a {
    margin: .5rem;
    font-size: var(--textfontsize);
}

.colorchange a:nth-child(odd), .colorchange div:nth-child(odd) {
    background-color: #0f0f0f;
}
.colorchange a:nth-child(even), .colorchange div:nth-child(even) {
    background-color: #0d0d0d;
}

.selecteda {
    color: var(--selectedcolor);
}

.account_settings_container {
    display: flex;
    margin-top: 1.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.account_settings_inner_container {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
}

.char_container {
    display: flex;
    margin-top: 1rem;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.chardiv {
    display: flex;
    width: 33%;
    padding: 1rem;
    flex-direction: column;
    align-items: center;
}

.char_name {
    margin-top: .5rem;
    font-size: var(--subheaderfontsize);
}

.char_name sup {
    font-size: var(--textfontsize);
    color: var(--gold);
}

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

.char_subcontainer {
    display: flex;
    margin-top: .5rem;
    flex-direction: column;
    align-items: center;
}

.char_subcontainer h3 {
    font-size: var(--textfontsize);
}

.char_subcontainer h4 {
    margin-top: .25rem;
    font-size: var(--subtextfontsize);
    color: var(--gold);
}

.vote_container {
    display: flex;
    width: 95%;
    flex-direction: column;
    align-items: center;
}

.vote_container p {
    width: 100%;
}

.vote_container p, .vote_container a {
    margin-bottom: .5rem;
    font-size: var(--textfontsize);
    line-height: calc(var(--textfontsize) + 8px);
}

.vote_container a {
    margin-left: .5rem;
}

.vote_subcontainer {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
}

.vote_subcontainer p {
    width: unset;
}

.vote_subcontainer p + p {
    margin-left: 0.5rem;
}

.border-color-500 {
    border-color: #ef4444;
}

.sidebar_section {
    display: flex;
    flex-direction: column;
    background-color: var(--backgroundcolor);
}

.sidebar_header_container {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    background-color: #0c0c0c;
    border-bottom: 1px solid var(--bordercolor);
}

.sidebar_header_container h1 {
    margin-left: 16px;
    font-size: var(--headerfontsize);
    font-weight: 600;
}

.sidebar_container {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    flex-wrap: nowrap;
}

.sidebar_a {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--bordercolor);
    font-size: var(--textfontsize);
}

.inputcontainer_left {
    display: flex;
    width: 100%;
    margin-bottom: 0.75rem;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}

.checkbox_container input {
    width: 1rem;
    height: 1rem;
    margin-right: .5rem;
}

.checkbox_container label {
    font-size: var(--subtextfontsize);
    font-weight: 500;
}

.inputcontainer_col {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-left: 0.5rem;
}

.inputcontainer_col a {
    font-size: var(--subtextfontsize);
}

.ranking_sub_container {
    display: flex;
    padding: 0.5rem 1rem;
    flex-direction: row;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--bordercolor);
}

.ranking_sub_container p {
    font-size: var(--textfontsize);
}

.ranking_sub_container p:first-child {
    padding-right: 0.5rem;
    color: var(--gold);
}

.status_container {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bordercolor);
}

.status_container p {
    font-size: var(--textfontsize);
    padding: 0.5rem 1rem;
}

.status_container img {
    width: 24px;
    height: 24px;
    padding: 0.5rem 1rem;
}

.border-r {
    border-right: 1px solid var(--bordercolor);
}

@media (min-width: 640px) {
    footer {
        width: 75vw;
    }

    footer div {
        width: 33%;
    }

    footer p {
        width: 34%;
    }

    .inputcontainermiddle {
        width: 45vw;
    }

    .accountcontainer {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .account_innercontainer {
        width: calc(50% - 2px);
    }

    .account_settings_container {
        flex-direction: row;
    }

    .account_settings_inner_container:first-child {
        border-right: 1px solid var(--bordercolor);
    }

    .chardiv {
        width: 25%;
    }
}

@media (min-width: 1024px) {
    :root {
        --headerfontsize: 22px;
        --subheaderfontsize: 20px;
        --textfontsize: 18px;
        --subtextfontsize: 16px;
    }

    body {
       
    }

    header {
        height: auto;
    }

    main {
        width: 1000px;
        margin: 0 auto;
        border: 1px solid var(--bordercolor);
    }

    #nav_left {
        position: static;
        width: unset;
        height: auto;
        left: unset;
        top: unset;
        z-index: unset;
        flex-direction: row;
        justify-content: center;
        background-image: url("../images/navbar.png");
        background-position: top;
        background-repeat: no-repeat;
        background-color: unset;
        transition: unset;
    }

    #nav_right {
        position: static;
        width: calc(25% - 1px);
        height: auto;
        right: unset;
        top: unset;
        z-index: unset;
        transition: unset;
        background-color: unset;
        border-left: 1px solid var(--bordercolor);
    }

    .header_title_container {
        display: none;
    }

    .mobile_button {
        display: none;
    }

    .navbar_container {
        display: flex;
        width: 1000px;
        flex-direction: row;
        padding: unset;
    }

    .navbar_link_container {
        width: 20%;
        height: auto;
        padding-top: .5rem;
        flex-direction: row;
        justify-content: center;
        align-items: unset;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .navbar_svg {
        display: none;
    }

    .mobile_hide {
        display: flex;
    }

    .mobile_show {
        display: none;
    }

    .awithhover:hover {
        color: var(--selectedcolor);
    }

    .awithhover::before, .awithhover::after {
        display: inline-block;
        font-size: inherit;
        opacity: 0;
        -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
        -moz-transition: -moz-transform 0.3s, opacity 0.2s;
        transition: transform 0.3s, opacity 0.2s;
    }

    .awithhover::before {
        margin-right: 0.5rem;
        content: "❯";
        color: var(--selectedcolor);
        -webkit-transform: translateX(1.25rem);
        -moz-transform: translateX(1.25rem);
        transform: translateX(1.25rem);
    }

    .awithhover::after {
        margin-left: 0.5rem;
        content: "❮";
        color: var(--selectedcolor);
        -webkit-transform: translateX(-1.25rem);
        -moz-transform: translateX(-1.25rem);
        transform: translateX(-1.25rem);
    }

    .awithhover:hover::before, .awithhover:hover::after, .awithhover:focus::before, .awithhover:focus::after {
        opacity: 1;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        transform: translateX(0px);
    }

    .logo_container {
        width: 1000px;
        height: 23.5rem;
        padding: unset;
        margin: 0 auto;
    }

    .logo {
        width: auto;
        height: auto;
    }

    .main_content {
        width: 75%;
        display: flex;
        flex-direction: column;
        background-color: var(--backgroundcolor);
    }

    .headermiddle {
        width: 100%;
    }

    .flexcontainer {
        width: 100%;
        margin: 1rem 0;
    }

    .news_img {
        width: 128px;
        height: 128px;
    }

    .news_text_container p {
        width: 95%;
    }

    .news_text_container img {
        width: 90px;
        height: 45px;
    }

    .inputcontainermiddle {
        width: 50%;
    }

    .svgimg {
        width: 1.25rem;
        height: 1.25rem;
        padding: .625rem;
    }

    .fieldinput {
        height: 2.5rem;
    }

    .account_settings_inner_container {
        width: 45%;
    }

    .account_settings_inner_container .inputcontainermiddle {
        width: 75%;
    }

    .chardiv {
        margin: 1rem;
    }

    .char_maincontainer {
        justify-content: space-around;
    }
}

@media (min-width: 1280px) {
    main {
        width: 1200px;
    }

    footer {
        width: 1200px;
    }

    .navbar_container {
        width: 1200px;
    }

    .logo_container {
        width: 1200px;
    }

    .logo_container a {
       padding-top: 3rem;
       padding-left: 14rem;
    }

    .account_innercontainer {
        width: calc(25% - 2px);
    }
}
