.e-test{
    position: relative;
    margin-top: 120px;
    padding-top: 20px;
    min-height: 100vh;
    background: url(../img/quiz/question.png);
    background-size: 100vw 100vh;
    align-items: center;
    transition: .6s ease;    
}

.e-test .title-01{
    margin-bottom: 1.2em;
    text-align: center;
    font-size: 3em;
    font-weight: 800;
    color: var(--second-color);
    opacity: .2;
}

.e-test .title-02{
    margin: 0 auto;
    max-width: 500px;
    font-size: 2.5em;
    font-weight: 700;
    color: var(--hover-color);
    transform: translateY(-60px);
    border-bottom: 5px solid var(--second-color);
}

/*.title-02:before{
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    right: 11.8em;
    bottom: 0;
    background: var(--second-color);
}*/

.custom-box{
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight{
    0%{
        transform: translateX(40px);
        opacity: 0;
    }
    100%{
        transform: translateX(0px);
        opacity: 1;
    }
}

.custom-box.hide{
    display: none;
}

.custom-box::before,
.custom-box::after{
    content: "";
    clear: both;
    display: table;   
}

.quiz-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 50px;
    align-items: center;
    margin-top: -1.5em;
    margin-bottom: 20px;
    margin-right: 20px;
    margin-left: 50%;
}

.quiz-box h3{
    font-size: 2em;
    color: var(--hover-color);
}

.quiz-box p{
    padding-bottom: 50px;
    font-weight: 600;
    font-size: 1.5em;
    line-height: 1.7em;
    text-align: center;
    color: var(--second-color);
}

.quiz-box .btn{
    margin-top: 1.5em;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: 500;
    background: var(--hover-color);
    border-radius: 5px;
    color: #fff;
    box-shadow: var(--box-shadow);
    cursor: pointer;
}

.quiz-box ul li >i{
    color: var(--second-color);
    margin-right: 20px;
    font-size: 2em;
}

.quiz-box ul li{
    text-align: justify;
    margin-top: 15px;
    font-size: 1.2em;
    color: var(--first-color);    
}

.quiz-box ul li span{
    font-size: 1.2em;
    font-weight: 600;
}

/*======= Einstufungstest Fragebogen ========*/

.quiz-box.test{
    background-color: var(--second-color);
    border-radius: 10px;
    padding: 30px;
}

.question-number{
    font-size: 2em;
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid var(--hover-color);
    padding-bottom: 10px;
    line-height: 25px;
}

.question-text{
    padding: 20px;
    color: #fff;
    line-height: 28px;
    font-weight: 400;
    padding: 20px 0;
    margin: 0;
    font-size: 1.5em;
}

.option-container .option{
    /*min-width: 500px;*/
    background-color: var(--third-color);
    padding: 13px 15px;
    font-size: 1.2em;
    line-height: 22px;
    color: var(--first-color);
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    position: relative;
    overflow: hidden;
}

.option-container .option.already-answered{
    pointer-events: none;
}

@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 100%;
    }
}

.option-container .option.correct::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: green;
    z-index: -1;
    animation: slideInLeft .5s ease forwards;
}

@keyframes slideInLeft{
    0%{
        transform: translateX(-100%);
    }
    100%{
        transform: translateX(0%);
    }
}

.option-container .option.correct{
    color: #fff;
}

.option-container .option.wrong::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: red;
    z-index: -1;
    animation: slideInLeft .5s ease forwards;
}
.option-container .option.wrong{
    color: #fff;
}

.answer-indicator{
    margin-top: 10px;
    border-top: 1px solid var(--third-color);
}

.answer-indicator div{
    height: 30px;
    width: 30px;
    display: inline-block;
    background-color: var(--third-color);
    border-radius: 50%;
    margin-right: 3px;
    margin-top: 1.2em;
}

.answer-indicator div.correct{
    background-color: green;
    background-image: url(../img/quiz/correct.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

.answer-indicator div.wrong{
    background-color: red;
    background-image: url(../img/quiz/wrong.png);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

/*======= Ergebnisse ========*/
.result-box h1{
    font-size: 2.5em;
    line-height: 42px;
    color: var(--second-color);
}

.result-box table{
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;

}

.result-box table td{
    border: 1px solid var(--first-color);
    padding: 8px 15px;
    font-size: 1.2em;
    font-weight: 400;
    color: var(--first-color);
    width: 50%;
}

