body {
    background-color: #393f4d;
}

input {
    font-size: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    outline: 0;
}

:root {
    --title-c: #feda6a;
}

#top .data {
    padding: 0 1em !important;
}

#top_players {
    margin: auto;
}

#message {
    text-align: center;
    font-size: 26px;
    color: #feda6a;
}

#message a {
    color: #008AC1;
}
#message a:hover {
    color: #64AB20;
}

#timer {
    font-size: 12px;
    margin-bottom: 4em;
}

#timer #counter {
    font-family: 'Roboto Mono', monospace;
    font-size: 4em;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

#timer span {
    color: #1d1e22;
}

#main_container {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin-bottom: 4em;
}

#left {
    margin-left: 6em;
}

#right {
    margin: 0 auto;
}

#title {
    font-size: 26px;
    color: #ffffff;
    text-align: center;
    margin: 1em 0 1.2em 0;
}

#title img {
    width: 40%;
}

#title h1,
#title h3 {
    font-size: 1.2em;
}

#title h1 {
    margin: 0;
}
#title h3 {
    margin: 0.4em 0 0 0;
}

.text_banner {
    font-size: 10px;
    color: #ffffff;
    background-color: #1d1e22;
    width: 40em;
    padding: 1em 2em;
    border-radius: 1em;
}

.text_banner p {
    font-size: 1.5em;
    font-weight: 520;
}
.text_banner ul {
    font-size: 1.5em;
    font-weight: 500;
}

.text_banner h2 {
    font-size: 2em;
}

.text_banner .note {
    font-style: italic;
    font-weight: 300;
}

.text_banner .highlight {
    color: #feda6a;
}

.text_banner .formula {
    font-weight: 700;
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", "serif";
}

.text_banner .formula .var {
    font-size: 1.1em;
    font-weight: 400;
    font-style: italic;
    color: #feda6a;
}

.text_banner ul .title {
    font-weight: 700;
    color: #feda6a;
}

.text_banner a {
    color: #008AC1;
}
.text_banner a:hover {
    color: #64AB20;
}

#prizes table {
    font-size: 1.5em;
    border-collapse: collapse;
    margin-bottom: 2em;
}

#prizes table td:first-child {
    vertical-align: bottom;
}

#prizes table td:nth-child(2) {
    padding: 0 0.6em;
}

#prizes table td {
    border-bottom: 0.1em solid #797979;
}

#prizes table .place {
    font-size: 1.4em;
    font-weight: 700;
}

#prizes table .prizing {
    font-weight: 600;
    text-align: right;
}

#prizes table .gold_amount {
    font-size: 1.4em;
    color: #feda6a;
}

#prizes table .gold_image {
    width: 2em;
    margin-left: 0.3em;
}

#prizes table .prem_image {
    width: 2em;
    margin-left: 0.3em;
    margin-top: 0.2em;
}

#prizes table .tank_name {
    line-height: 2.4em;
    margin-left: 0.4em;
    color: #feda6a;
}
    

#input {
    text-align: center;
    font-size: 12px;
    margin-bottom: 4em;
}

#main_container .title {
    text-align: center;
    font-size: 1.8em;
    color: var(--title-c);
    border-bottom: 2px solid var(--title-c);    
}

#input label {
    position: relative;
    box-sizing: content-box;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    line-height: 2em;
}

#input label span {
    font-size: 1.8em;
}

#input label input[type=text]{
    font-size: 1.6em;
    font-weight: 700;
    margin-left: 0.6em;
    height: 2em;
    border-radius: 0.2em;
    padding: 0 0.6em;
    color: #fff;
    background-color: #1d1e22;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    margin-right: -0.2em;
}

#input label button#platform {
    font-size: 1.6em;
    text-transform: uppercase;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: -o-inline-flex;
    display: inline-flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    background-color: #fff;
    border: none;
    border-radius: 0 0.2em 0.2em 0;
    outline: 0;
}

#input button#enter {
    font-size: 1.6em;
    text-transform: capitalize;
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: -o-inline-flex;
    display: inline-flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    height: 2em;
/*    margin-left: 1.4em;*/
    padding: 0 0.6em;
    background-color: #fff;
    border: none;
    border-radius: 0.2em;
    outline: 0;
}

#input button#reset {
    margin-top: 1em;
}

#input label button#platform[val=p] {
    background-color: #0b66b6;
}

#input label button#platform[val=x] {
    background-color: #107c10;
}

#input h4 {
    font-size: 1.2em;
    max-width: 26em;
    margin: 0 auto;
/*    padding-left: 0.9em;*/
    text-align: center;
    color: #ffffff;
}

#input h4.neutral {
    color: #ffffff;
}
#input h4.success {
    color: #4BB543;
}
#input h4.warning {
    color: #FFBF00;
}

#table_unavailable {
    font-size: 12px;
    text-align: center;
    width: 50%;
    margin: auto;
    color: #B7B7B7;
}

#table_unavailable span {
    font-size: 2.6em;
}



@media only screen and (max-width: 980px) {
    #message {
        font-size: 22px;
    }
    #title h1,
    #title h3 {
        font-size: 1.1em;
    }
    #left {
        margin-left: 4em;
    }
    .text_banner {
        font-size: 9px;
    }
    #input,
    #timer,
    #table_unavailable {
        font-size: 10px;
    }
}

@media only screen and (max-width: 860px) {
    #message {
        font-size: 18px;
    }
    #title img {
        width: 50%;
    }
    #title h1,
    #title h3 {
        font-size: 1em;
    }    
    #left {
        margin-left: 2em;
    }
    .text_banner {
        font-size: 8px;
    }
    #calculator,
    #input,
    #controls,
    #parts,
    #timer {
        font-size: 9px;
    }
    #table_unavailable {
        font-size: 8px;
        width: 80%;
    }
}

@media only screen and (max-width: 700px) {
    #message {
        font-size: 16px;
    }
    #main_container {
        flex-direction: column;
        align-items: center;
    }
    #right {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        flex-direction: column;
    }
    #prizes {
        order: 1;
    }
    #timer {
        order: 2;
    }    
    #input {
        order: 3;
    }
    #left {
        margin-left: 0;
        margin-bottom: 4em;
    }
    #input {
        margin-top: 4em;
    }
    #timer {
        margin-top: 4em;
        margin-bottom: 0;
    }
    #title img {
        width: 60%;
    }
}

@media only screen and (max-width: 560px) {
    #message {
        font-size: 14px;
        width: 80%;
        margin: auto;
    }
    #table_unavailable {
        font-size: 7px;
        width: 90%;
    }
}

@media only screen and (max-width: 460px) {
    #title h1,
    #title h3 {
        font-size: 0.8em;
    }
    #title img {
        width: 70%;
    }
}

@media only screen and (max-width: 370px) {
    #message {
        font-size: 12px;
    }
    #title h1,
    #title h3 {
        font-size: 0.7em;
    }    
    .text_banner {
        font-size: 7px;
    }
    #table_unavailable {
        font-size: 6px;
    }    
}

@media only screen and (max-width: 340px) {
    #title img {
        width: 76%;
    }
    #timer {
        font-size: 60px;
    }
    #left {
        margin-bottom: 2em;
    }
    .text_banner {
        font-size: 6.6px;
    }
    #input,
    #timer {
        font-size: 8px;
    }
    #input,
    #parts {
        margin-top: 4em;
    }
    #table_unavailable {
        font-size: 6px;
    }    
}











