body {
    margin: 0;
    font-size: 16px;
    background-color: rgb(224, 228, 10);
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

img {
    position: relative;
    display: flex;
    margin: auto;
    padding-top: 30px;
}

#video {
    padding-top: 20px;
    display: flex;
    margin: auto;
}

.custom-box {
    background-color: rgb(39, 133, 220);
    max-width: 720px;
    margin: 40px auto;
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px #000;
    animation: fadeInRight 0.5s ease;
}

@keyframes fadeInRight {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0%s);
        opacity: 1;
    }

}

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

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

.home-box h3 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 25px;
}

.home-box h2 {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 25px;
}

.home-box p {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 22px;
    color: #fff;
    font-weight: 500;
}

.home-box p span {
    font-weight: 600;
}

.home-box .btn {
    margin-top: 20px;
}

.btn {
    padding: 15px 45px;
    background-color: rgb(224, 228, 10);
    color: #333;
    border: none;
    border-radius: 5px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 16px;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0px 0px 5px #000;
}

.quiz-box .question-number,
.quiz-box .question-text,
.quiz-box .option-container,
.quiz-box .next-question-btn .quiz-box .answers-indicator {
    width: 100%;
    float: left;
    text-align: center;
}

.option {
    box-shadow: 0px 0px 8px #333;
    margin-top: 20px;
}

.quiz-box .question-number {
    font-size: 18px;
    color: rgb(224, 228, 10);
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    line-height: 25px;
}

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

.quiz-box .option-container .option {
    background-color: rgb(225, 225, 225);
    padding: 15px;
    font-size: 16px;
    line-height: 22px;
    color: #000;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    position: relative;
    overflow: hidden;
}

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

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

    100% {
        opacity: 1;
    }

}

.quiz-box .option-container .option.correct::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(5, 196, 5);
    z-index: -1;
    animation: slideInLeft 0.5s ease forwards;
}

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

    100% {
        transform: translateX(0%);
    }

}

.quiz-box .option-container .option.wrong::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(247, 21, 51);
    z-index: -1;
    animation: slideInLeft 0.5s ease forwards;
}

.quiz-box .option-container .option.wrong {
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}

.quiz-box .option-container .option.correct {
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}

.quiz-box .btn {
    margin: 30px 0;
}

.quiz-box .answers-indicator {
    border-top: 1px solid #ccc;
}

.quiz-box .answers-indicator div {
    height: 40px;
    width: 40px;
    display: inline-block;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 25px;
}

.quiz-box .answers-indicator div.correct {
    background-color: rgb(5, 196, 5);
    background-image: url('smiley.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;

}

.quiz-box .answers-indicator div.wrong {
    background-color: rgb(247, 21, 51);
    background-image: url('sad.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;

}

.result-box {
    text-align: center;
}

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

.result-box h1 {
    font-size: 36px;
    line-height: 42px;
    color: #fff;
}

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

}

.result-box table td {
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-weight: 500;
    color: #fff;
    width: 50%;
    text-align: left;
    font-size: 18px;
}

.result-box .btn {
    margin-right: 20px;
}

@media(max-width: 767px) {
    .result-box .btn {
        margin-bottom: 15px;
    }

    body {
        padding: 15px;
    }

    img {
        width: 80%;
        position: relative;
        display: flex;
        margin: auto;
        padding-top: 30px;
    }

    #video {
        width: 400px;
        height: 225px;
        padding-top: 20px;
        display: flex;
        margin: auto;
    }
}

@media(max-width: 600px) {
    .quiz-box .answers-indicator div {
        height: 30px;
        width: 30px;
        display: inline-block;
        background-color: #ccc;
        border-radius: 50%;
        margin-right: 10px;
        margin-top: 25px;
    }

    /*img {
        width: 360px;
        height: 203px;
        position: relative;
        display: flex;
        margin: auto;
        padding-top: 30px;
    }

    #video {
        width: 360px;
        height: 203px;
        padding-top: 20px;
        display: flex;
        margin: auto;
    }*/
}