html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/***************
*   Index.html
****************/

body.index-container {
    overflow: hidden;
}

/* google map */
#map {
    height: 100%;
}

/* landing section */
.content {
    z-index: 2;

    background: white;

    position: absolute;
    top: 50%;
    left: 50%;

    width: 300px;
    height: 230px;
    margin-left: -150px;
    margin-top: -115px;

    padding: 20px 50px;
    border-bottom: solid darkgrey 2px;
}

#start-logo {
    position: relative;
}

button#start-game {
    margin-top: 30px;
    margin-left: 5px;
    border-bottom: 3px darkblue solid;
}

img.static-map {
    z-index: 1;

    height: 1197px;
    width: 3600px;

    position: absolute;
    top: 0;
    left: 0;
}

@-webkit-keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadein {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes backandforth {
    0% {
        left: 0;
    }
    50% {
        left: -1300px;
    }
    100% {
        left: 0;
    }
}

@keyframes backandforth {
    0% {
        left: 0;
    }
    50% {
        left: -1300px;
    }
    100% {
        left: 0;
    }
}

/* game section */
#overlay {
    display: block;
    position: fixed;

    z-index: 999999;

    width: 350px;
    height: 500px;
    top: 20px;
    left: 20px;
    padding: 10px;

    background-color: white;

    border-bottom: solid 2px darkgrey;
}

#panel-logo {
    margin-top: 10px;
}

.question-container {
    margin: 10px;
    height: 150px;

    display: table;
}

.question-container .card {
    position: relative;
    width: 100%;

    display: table-cell;

    height: 140px;
    vertical-align: middle;

    padding-left: 35px;
    padding-right: 35px;

    background-color: #8AC349;
    border-bottom: solid 2px green;
}

.question-container .card p.question {
    font-size: 1.5rem;
    letter-spacing: 1px;

    color: white;

    text-align: center;
    vertical-align: middle;
}

.answer-container {
    position: relative;
    width: 100%;
}

.answer-container p {
    color: #8AC349;

    text-transform: uppercase;

    font-size: 12px;
    font-weight: 600;
}

.answer-container .answer, .totalQuestion, .currentQuestion {
    text-transform: uppercase;
    font-size: 20px;
    color: black;
    font-weight: normal;
}

span.question {
    text-transform: uppercase;
    color: black;
}

span.question, span#countdown {
    font-size: 16px;
    font-weight: normal;
}

span#countdown {
    margin-left: 130px;
}

.label-custom {
    background-color: #8AC349;
    color: white;
}

.score {
    font-size: 24px;
    font-weight: 600;
}

#overlay img {
    max-width: 100%;
    max-height: 95px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.centered {
    position: fixed;
    top: 50%;
    left: 50%;
    /* bring your own prefixes */
    transform: translate(-50%, -50%);
}

#distance-popup {
    display: table;
    /*box-shadow: 10px 10px rgba(0, 0, 0, 0.4);*/

    z-index: 1;

    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding-top: 30px;

    background-color: white;
}

#distance-popup p {
    text-align: center;
    font-size: 1.2rem;
}

#success-popup {
    display: table;

    z-index: 2;

    width: 125px;
    height: 125px;
    border-radius: 50%;
    padding-top: 30px;

    background-color: white;
}

#success-popup p {
    padding-top: 11%;

    text-align: center;
    font-size: 16px;

    text-transform: uppercase;
    color: #8AC349;
}

button#validation-answer, button#next-question {
    border-bottom: 3px darkgreen solid;
}

button#game-over {
    border-bottom: 3px darkred solid;
}

/* ending section */
.content-ending {
    background: white;

    position: absolute;
    top: 50%;
    left: 50%;

    width: 500px;
    height: 450px;
    margin-left: -250px;
    margin-top: -225px;

    padding: 20px 50px;

    border-bottom: solid darkgrey 2px;
}

button#play-again, input#form-result-submit {
    border-bottom: 3px darkblue solid;
}

button#show-scoreboard, #hide-scoreboard {
    border-bottom: 3px darkgrey solid;
}

input#form-result-username {
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 35px;
    padding: 0 10px;
    margin-right: 25px;
    margin-bottom: 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

input#form-result-username:focus {
    border-color: rgba(11, 153, 239, 0.8);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(11, 153, 239, 0.8);
    outline: 0 none;
}

/***************
*   admin.html
****************/
li.listed-question {
    margin-bottom: 10px;
    cursor: ns-resize;
}
button.modify {
    margin-left: 5px;
}

button.delete {
    margin-left: 5px;
}

#mapAdmin {
    height: 55rem;
    margin-bottom: 15px;
}

#update-order-panel {
    margin-bottom: 10px;
}