#quiz h2 {
    text-align: center;
    margin: 0 0 1rem 0;
}

#quiz h2 a {
    color: #008099;
}

#quiz h3 {
    text-align: center;
    margin: 0 0 3rem 0;
}

.quiz-container {
    position: relative;
    max-width: 102.4rem;
    margin: 0 auto;
}

#quiz-header,
#quiz-start-screen,
#quiz-results-screen,
#quiz-counter {
    overflow: hidden;
    text-align: center;
}

#quiz-start-screen {
    opacity: 1;
    animation-name: fade-startscreen-ani;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
    animation-timing-function: ease;
}

#quiz-counter {
    font-size: 1.6rem;
}

.question {
    font-family: 'OpenSans-Semibold', Arial, Helvetica, sans-serif;
    margin: 3rem 0;
}

.main ul.answers {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.main ul.answers li {
    text-indent: 0;
    margin: 0 0 1rem 0;
}

.main ul.answers li:before {
    content: "";
    padding: 0;
}

.answers a {
    display: block;
    padding: 0.5em 1em;
    margin-bottom: 0.5em;
    color: #333333;
    background: #ffffff;
    -webkit-transition-property: background;
    transition-property: background;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}

.answers a.correct {
    background: #14C0CC;
    animation-name: scale-ani;
    animation-duration: 0.5s;
    animation-iteration-count: 1;
    animation-fill-mode: backwards;
    animation-timing-function: ease;
}

.answers a.incorrect {
    background: rgb(190, 0, 20);
}

.answers a.correct,
.answers a.incorrect {
    color: rgb(255, 255, 255);
}

.answers a.correct:after {
    content: " \2714";
    float: right;
}

.answers a.incorrect:after {
    content: " \2718";
    float: right;
}

#quiz-controls {
    background: transparent;
}

#quiz-response {
    display: block;
    margin: 3rem 0;
}

#quiz-buttons {
    background: transparent;
    text-align: center;
    margin: 3rem 0;
}

#quiz-buttons a,
.quiz-container .quiz-button {
    padding: 1.2rem 2rem 1.1rem 2rem;
}

#quiz-buttons a {
    display: inline-block;
    background: #008099;
    color: #ffffff;
}

.start-button {
    font-family: 'OpenSans-Semibold', Arial, Helvetica, sans-serif;
    line-height: 1.5;
    display: block;
    width: 15rem;
    height: 15rem;
    padding: 3rem 0 0 0;
    margin: 5rem auto;
    border-width: 1.5rem;
    border-style: solid;
    border-color: #14C0CC;
    border-radius: 7.5rem;
    background: 0 0;
    outline: 0;
    hyphens: none;
    text-transform: uppercase;
    animation-name: start-button-ani;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: backwards;
    animation-timing-function: ease;
}

.quiz-conclude {
    display: none;
    margin-top: 3rem;
}

#quiz-form {
    max-width: 80rem;
    margin: 0 auto;
}

#quiz-statistics {
    max-width: 80rem;
    margin: 0 auto 4rem auto;
}

#score-number {
    display: block;
    position: relative;
    z-index: 3;
    width: 10rem;
    height: 10rem;
    line-height: 10rem;
    font-size: 7rem;
    color: rgb(235, 235, 235);
    border-radius: 5rem;
    top: 0;
    margin: 4rem auto;
    transform: scale(1);
    background-color: #008099;
    opacity: 1;
    -webkit-transition-property: transform opacity;
    transition-property: transform opacity;
    -webkit-transition-duration: 3s;
    transition-duration: 3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

#score-number.start {
    transform: scale(1.75);
    opacity: 0;
}

#average-result {
    position: relative;
    top: 0.1rem;
    font-size: 3rem;
    color: #008099;
    padding: 0 0.5rem;
}

.scale-img:hover {
    transform: scale(1.15);
}

.sharing {
    margin: 4rem 0 2rem 0;
}

/* Quiz State Overrides */

.quiz-results-state #quiz-controls {
    background: none;
    padding: 0;
}

.quiz-results-state #quiz-buttons a {
    background: #616366;
    color: rgb(255, 255, 255);
}

.quiz-auswertung-element {
    margin: 0 0 2rem 0;
}

.right {
    color: #008099;
}

.wrong {
    color: rgb(190, 0, 20);
}

.question-count {
    position: relative;
    display: inline-block;
    background-color: rgb(192, 192, 192);
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    border-radius: 1.2rem;
    color: rgb(255, 255, 255);
    text-align: center;
    margin: 0 0.4rem 0 0;
}

@keyframes scale-ani {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fade-startscreen-ani {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes start-button-ani {
    0% {
        border-color: #14C0CC;
    }
    
    50% {
        border-color: #008099;
    }

    100% {
        border-color: #14C0CC;
    }
}

@media only screen and (min-width: 900px) {

    .bg-quiz,
    .bg-quiz .bg-overlay {
        position: relative;
        height: 0;
        padding-bottom: 25%;
    }

    .bg-quiz .bg-overlay .inner {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 auto;
    }

}
