/*
 * Fonts
 */
@font-face {
    font-family: 'Arcade Normal Regular';
    src: url('../fonts/arcade_n-webfont.eot');
    src: url('../fonts/arcade_n-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/arcade_n-webfont.woff') format('woff'),
         url('../fonts/arcade_n-webfont.ttf') format('truetype'),
         url('../fonts/arcade_n-webfont.svg#arcade_normalregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/*
 * General
 */
body {
    margin: 0;
    padding: 0;
    
    font-family: 'Arcade Normal Regular', monospace;
    font-size: 20px;
}

input[type=submit],
.btn {
    font-family: 'Arcade Normal Regular', monospace;
    font-size: 16px;
    background-color: #3df504;
    color: #000;
    padding: 15px;
    text-decoration: none;
}

input[type=text] {
    font-family: 'Arcade Normal Regular', monospace;
    font-size: 16px;
    background-color: #000;
    color: #fff;
    padding: 15px;
    text-decoration: none;
}

.btn {
    display: inline-block;
}

/*
 * Highscores
 */
.highscores,
.submit-highscore {
    display: block;
    position: absolute;
    top: -736px;
    
    width: 1180px;
    height: 636px;
    padding: 50px;

    background: #000;
    color: #fff;
    
    text-align: center;
    
    -webkit-transition: top 0.2s ease-in-out;
    -moz-transition: top 0.2s ease-in-out;
    -ms-transition: top 0.2s ease-in-out;
    -o-transition: top 0.2s ease-in-out;
    transition: top 0.2s ease-in-out;
}

.highscores.is-visible,
.submit-highscore.is-visible {
    top: 0;
}

.highscores h2 {
    font-weight: normal;
    color: #52ffda;
}

.submit-highscore h2 {
    font-weight: normal;
    font-size: 60px;
    line-height: 80px;
    color: #f50504;
    max-width: 900px;
    text-align: center;
    margin: 0 auto 30px auto;
}

.submit-highscore h3 {
    font-weight: normal;
    color: #24e9d5;
}

.submit-highscore h4 {
    font-weight: normal;
    color: #3df504;
}

.highscores table {
    width: 500px;
    margin: 20px auto 30px auto;
}

.highscores th,
.highscores td {
    font-weight: normal;
    padding: 10px;
}

.highscores th {
    font-weight: normal;
}

.highscores th:nth-child(1),
.highscores td:nth-child(1) {
    text-align: left;
}

.highscores th:nth-child(2),
.highscores td:nth-child(2) {
    text-align: center;
}

.highscores th:nth-child(3),
.highscores td:nth-child(3) {
    text-align: right;
}

.highscores tr:nth-child(1) { color: #f9ff00; }
.highscores tr:nth-child(2) { color: #dcdcdc; }
.highscores tr:nth-child(3) { color: #f10000; }
.highscores tr:nth-child(4) { color: #f5b72d; }
.highscores tr:nth-child(5) { color: #f6b491; }
.highscores tr:nth-child(6) { color: #efd000; }
.highscores tr:nth-child(7) { color: #f9ff00; }
.highscores tr:nth-child(8) { color: #35b900; }
.highscores tr:nth-child(9) { color: #52ffda; }
.highscores tr:nth-child(10) { color: #389bb6; }
.highscores tr:nth-child(11) { color: #3cda00; }
    
.submit-highscore form {
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
}

.letter-selection {
    display: inline-block;
}

.letter-selection a,
.letter-selection input {
    display: block;
    text-align: center;
}

.letter-selection input {
    text-transform: uppercase;
}

.letter-selection a {
    text-decoration: none;
    font-size: 30px;
    padding: 5px;
    color: #3df504;
}

.buttons {
    width: 100%;
    clear: both;
    text-align: center;
    margin-top: 30px;
}

.highscores .btn {
    display: none;
}

.highscores .btn.is-visible {
    display: inline-block;
}