/* *** COLORS ***
    YELLOW: #f2dc77
*/

/** ******** PAGE STYLING ******** **/
body {
    padding: 0;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

header {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    height: 90px;
    width: 100%;
    padding: 20px 50px;
    background-color: transparent;
    transition: all 0.2s linear;
    z-index: 999;
}
header.scrolled {
    background-color: white;
}
header.scrolled #title {
    color: #f2dc77;
}

header #title {
    color: white;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Neucha', cursive;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    transition: all 0.3s linear;
}

section {
    min-height: 200px;
    overflow: auto;
}

section .content {
    margin: auto;
    padding: 20px;
    max-width: 1000px;
}

section h2 {
    margin: 10px 20px;
    padding: 5px 15px;
    font-size: 35px;
    color: white;
    font-family: 'Neucha', cursive;
    background-color: #bbb;
    width: max-content;
}

footer {
    text-align: center;
    padding: 30px;
    background: white;
    color: #cfcfcf;
    transition: all .5s;
}
footer:hover {
    color: #9b9b9b;
}

a { color: #535353; }
a:hover { color: #1b1b1b; }

/* ***************** HOME ****************** */
section#splash {
    box-sizing: border-box;
    padding-top: 90px;
    min-height: 100vh;
    background: url('/images/bg1.png') fixed; /* Background pattern from Toptal Subtle Patterns */
    text-align: center;
}

.welcome-block {
    color: grey;
    margin-bottom: 70px;
    margin-top: 0;
    font-size: 120%;
}

.welcome-block strong {
    font-family: 'Neucha', cursive;
    font-size: 170%;
}

.game-container {
    text-align: center;
    display: inline-block;
    opacity: 1;
    transition: opacity 0.3s linear;
}
.game-container:hover {
    opacity: .8;
}

.game-container p {
    display: inline-block;
    padding: 5px 15px;
    font-size: 30px;
    color: rgb(150,150,150);
    font-family: 'Neucha', cursive;
    background-color: white;
    margin: 10px 30px;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}

.ball {
    margin: auto;
    border: 7px solid white;
    padding: 5px;
    width: 180px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}

.ball .ball-in {
    box-sizing: border-box;
    padding: 26px;
    background-color: white;
    height: 180px;
    width: 180px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0,0,0,.2);
}

.scroll-down {
    margin-top: 40px;
    font-size: 80px;
    color: white;
    opacity: .5;
}


/* **************** RESULTS ********************** */
section#results {
    background: url('/images/photo-irina-murza.jpg') fixed center;
    background-size: cover;
}

.tbd {
    padding: 30px 0 70px 0;
    font-size: 25px;
    text-align: center;
    text-shadow: 0 0 8px white;
}

.star_is_born {
    font-size: 35px;
    text-align: center;
    font-family: 'Neucha', cursive;
    text-shadow: 0 0 20px white;
    font-weight: bold;
}

.game-results {
    margin: 10px;
    padding: 10px;
    border: 5px solid white;
    background: rgba(255,255,255,0.4);
}

.game-results span {
    font-family: 'Neucha', cursive;
    font-size: 150%;
}

.game-results img {
    height: 20px;
    margin-right: 10px;
}

ul.ranking {
    list-style-type: none;
}

.game-results .ranking img {
    height: 15px;
    margin: 0;
}

ul.ranking li {
    font-size: 14px;
}
ul.ranking li span {
    font-size: 130%;
}
ul.ranking li:nth-of-type(1) {
    font-size: 20px;
}

/* **************** GAMES ********************** */
section#games {
    background: url('/images/bg2.png') fixed; /* Background pattern from Toptal Subtle Patterns */
    text-align: center;
}

section#games .game-stats {
    border: 5px solid white;
    margin: 30px 0;
    padding-bottom: 20px;
}

section#games .game-stats h3 {
    padding: 10px;
    margin: 0 0 15px 0;
    background-color: white;
    color: #f2dc77;
}

section#games .game-stats h3 img {
    height: 20px;
}

section#games .stat {
    display: inline-block;
    margin: 0 30px;
}

section#games .stat .number {
    font-size: 90px;
    color: white;
    font-family: 'Neucha', cursive;
    text-shadow: 0 0 5px rgba(0,0,0,.2);
}

section#games .stat .label {
    margin-top: -20px;
    color: rgb(100,100,100);
}

/* **************** PARTICIPATION ********************** */
section#participation {
    background: url('/images/photo-nynne-schroder.jpg') fixed center;
}

#participate_form {
    padding: 20px;
    text-align: center;
}

#participate_form .form_part {
    box-sizing: border-box;
    display: inline-block;
    min-width: 280px;
    text-align: center;
    background: rgba(250,250,250,.8);
    padding: 10px 10px 20px 10px;
    margin: 10px;
    border: 4px solid white;
    font-size: 18px;
    transition: border-color 1s;
}

#participate_form .form_part.form_names {
    padding: 10px 0;
    width: 90%;
}
#participate_form .form_part.form_names label:last-of-type {
    margin-left: 20px;
}

#participate_form .form_part.ok {
    border-color: #35d735;
}

#participate_form select, #participate_form input {
    padding: 5px;
    font-size: 150%;
}

#participate_form #participate_button {
    padding: 10px 15px;
    font-size: 120%;
}

/* **************** MOBILE ********************** */
@media screen and (max-width:1000px) {
    .scroll-down { display: none; }
    .welcome-block { margin-bottom: 0; }
    section#games .stat .number { font-size: 60px; }
    .game-container { margin-top: 20px; }
    .game-container p { font-size: 26px; }
    section h2 { margin: 10px -10px; font-size: 25px; }
    #participate_form { padding: 0; }
    #participate_form .form_part.form_names input { font-size: 20px; }
}
