@charset 'UTF-8';

body {
    background-color: #fff;
    font-family: Helvetica, Arial, sans-serif;
    margin: 0px;
    padding: 0px;
}

@media only screen and (max-device-width: 320px) and (orientation: landscape) {

    .content {
        display: none;
    } 
    
    body {
        background: url(../img/no_landscape.png);
        background-repeat: no-repeat;
        background-size: 100%;
    } 
}


/*
////////////////////////////////////////////////////

Die Navigation.

////////////////////////////////////////////////////
*/

nav {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 80%;
    height: 70%;
}

.nav-button {
    width: 70%;
    height: 20%;
    margin: 5%;
    border-radius: 10px;
    color: #fff;
    font-size: 20px;
    background-color: #38CAF2;
}

.footer-home {
    position: absolute;
    top: 90%; 
    height: 10%;
    font-size: 10px;
    color: #fff;
    vertical-align: middle;
}

.footer-home > h1 {
    font-size: 15px;
}

/*
////////////////////////////////////////////////////

Das Spiel.

////////////////////////////////////////////////////
*/

.home {
    position: absolute;
    top: 89%;
    right: 5%;
    width: 30px;
    height: 30px;
}

#game {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 80%;
    background: #1BB5E0;
}

.row {
    position: relative;
    height: 12%;
    border-style: solid; 
    border-width: 1px;
    border-color: #469BB3;
    
}

button {
    border: 1px solid grey;
    border-radius: 10px;
    color: white;
    background-color: grey;
    font-family: sans-serif;
    font-weight: bold;
    padding: 10px 10px;
}

#color-picker {
    position: absolute; 
    top: 0px; 
    left: 0px; 
    width: 80%; 
    height: 100%;
    background-color: black;
}

#color-picker button {
    font-size: 12px;
    width: 95%;
    height: 95%;
    
}

#color-picker div {
    height: 15%;
    width: 100%;
}

.controls {
    position: absolute; 
    width: 100%;
    height: 10%;
}

.controls button {    
    position: relative; 
    margin: 2%;
    top: 20%; 
    left: 10px; 
    font-size: 14px;
    width: 40%;
    height: 80%;
    background-color: #469BB3;
}

.actual-line {
    background-color: #38CAF2;
}

.answer {
    position: absolute;
    left: 0%;
    width: 20%;
    height: 100%;
}

.guess {
    position: absolute;
    left: 20%;
    width: 80%;
    height: 100%;
}

.guess-bubble {
    background: #469BB3;
    width: 30px;
    height: 30px;
    border-radius: 15px;
}

.answer-bubble {
    background: #469BB3;
    width: 18px;
    height: 18px;
    border-radius: 9px;
}

.answer-1 {
    position: absolute;
    left: 10%;
    top: 10%;
}

.answer-2 {
    position: absolute;
    right: 10%;
    top: 10%;
}

.answer-3 {
    position: absolute;
    left: 10%;
    bottom: 10%;
}

.answer-4 {
    position: absolute;
    right: 10%;
    bottom: 10%;
}

.guess-1 {
   position: absolute; 
    top: 22%;
    left: 12%;
}

.guess-2 {
    position: absolute;
    top: 22%;
    left: 33%;
}

.guess-3 {
    position: absolute;  
    top: 22%;
    right: 33%;
}
.guess-4 {
    position: absolute; 
    top: 22%;
    right: 12%;
}

/*
////////////////////////////////////////////////////

Anleitung und Hintergrund - Seiten.

////////////////////////////////////////////////////
*/

header, footer {
    text-align: center;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    background-color: #1BB5E0;
    text-transform: uppercase;
}

header > h1 {
    font-size: 20px;
    color: #fff;
    vertical-align: middle;
}

.footer-anleitung {
    position: absolute;
    top: 90%; 
    height: 10%;
}

.footer-hintergrund { 
    height: 10%;
    width: 100%;
}

.back {
    margin-top: 5px;
    font-size: 12px;
    width: 40%;
    vertical-align: middle;
    background-color: #469BB3;
}

section {
    padding: 5%;
    font-size: 14px;
    -webkit-hyphens: auto;
}

figure {
    margin-top: 20px;
}

figcaption {
    font-size: 10x;
    text-align:center;
    padding: 5%;
}

h1 {
    margin-left: 5%;
    font-weight: bold;
    font-size: 20px;
}

.text-anleitung {
    margin-top: 40px;
    font-size: 1em;
}

#video {
    width: 80%;
    margin-top: 5%;
    margin-left: 3%;
    border-color: #1BB5E0;
}
