@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sen:wght@400;700;800&display=swap');

:root {
    --primary-color: rgb(255, 193, 0);
    --secondary-color: rgb(236, 236, 236);
}

#section-quiz {
    padding-top: 100px;
}

#section-quiz .section-title {
    margin: 0 auto;
    margin-bottom: 40px;
    max-width: 1140px;
}

/*#section-quiz .main-quiz {*/
/*    margin: 0 auto;*/
/*    max-width: 1140px;*/
/*}*/

#section-quiz main {
    background-image: url(../../assets/images/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    display: grid;
    width: 100%;
    padding: 0 100px;
    position: relative;
}

#section-quiz .side {
    height: 100%;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 10;
}

#section-quiz .quiz-accordion .quiz-accordion--title {
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 0;
}

#section-quiz .quiz-accordion.active .quiz-accordion--img {
    transform: rotate(180deg);
    transition: ease-in-out 0.5s;
}

#section-quiz .quiz-accordion .quiz-accordion--img {
    transition: ease-in-out 0.5s;
}

#section-quiz .side_image {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background: white;
}

#section-quiz .side_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#section-quiz .border-up {
    width: 100%;
    height: 10px;
    display: block;
    position: relative;
    background-color: var(--secondary-color);
}

#section-quiz .border-up::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
}

#section-quiz .border-down {
    content: "";
    width: 100%;
    height: 10px;
    display: block;
    background-color: var(--secondary-color);
}

#section-quiz .step-count {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    display: grid;
    background-color: var(--secondary-color);
    z-index: 1000;
}

#section-quiz .step-single-first {
    height: 10% !important;
    display: flex;
    flex-direction: column;
}

#section-quiz .step-single {
    height: 21%;
    display: flex;
    flex-direction: column;
}

#section-quiz .step-line {
    height: 100%;
    top: 0;
    transition: 0.5s;
    left: 0;
    display: block;
    width: 10px;
    background-color: var(--secondary-color);
    position: relative;
    z-index: -2;
}

#section-quiz .step-line .fill {
    width: 100%;
    height: 0;
    transition: 0.5s;
    background-color: var(--primary-color);
}

#section-quiz .step-number {
    border-radius: 50%;
    position: relative;
    left: -18px;
    background-color: rgb(255, 255, 255);
    min-width: 46px;
    min-height: 46px;
    font-size: 25px;
    color: rgb(212, 212, 212);
    font-weight: bold;
    display: grid;
    place-content: center;
}

#section-quiz .step-number::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    width: 54px;
    border-radius: 50%;
    height: 54px;
    z-index: -1;
    background-color: var(--secondary-color);
}

#section-quiz .step-number::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    z-index: -1;
    transition: 0.5s;
    border-radius: 50%;
    width: 54px;
    background-color: var(--primary-color);
}

#section-quiz .step-single.active .fill {
    height: 100%;
}

#section-quiz .step-single.active .step-number {
    color: rgb(0, 0, 0);
}

#section-quiz .step-single.active .step-number::after {
    height: 54px;
}

#section-quiz form {
    display: grid;
    height: 100%;
    position: relative;
    overflow: hidden;
}

#section-quiz .countdown h3 {
    font-size: 30px;
    font-family: "Jost";
    color: rgb(0, 0, 0);
    font-weight: normal;
}


#section-quiz .countdown {
    position: absolute;
    top: 0;
    right: 0px;
    background-color: var(--primary-color);
    width: 73px;
    height: 111px;
    display: grid;
    place-content: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;


}

#contact {
    background-size: contain;
}

#section-quiz #countdown-timer {
    display: block;
    font-weight: bold;
}

#section-quiz .wrapper {
    width: 90%;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

#section-quiz .wrapper section {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 10;
}

#section-quiz fieldset {
    flex: 1;
    margin-top: 20px;
    margin-bottom: 40px;
}

#section-quiz .quiz-question {
    font-size: 33px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

#section-quiz .radio-field {
    position: relative;
    /*max-height: 85px;*/
    width: 100%;
    margin-bottom: 25px;
    display: grid;
    align-items: center;
}

#section-quiz .radio-field input {
    -webkit-appearance: none;
    position: absolute;
    border: solid 3px var(--secondary-color);
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: 0.5s;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}

#section-quiz .radio-field label {
    font-size: 23px;
    color: rgb(0, 10, 56);
    font-weight: bold;
    display: flex;
    align-items: center;
    flex-direction: row;
    pointer-events: none;
    position: relative;
    z-index: 10;
    width: 90%;
    line-height: 40px;
    margin-bottom: 0;
}

#section-quiz .radio-field label::before {
    content: "X";
    display: flex;
    justify-content: center;
    align-self: stretch;
    align-items: center;
    text-align: center;
    line-height: 105px;
    top: 0;
    background-color: var(--secondary-color);
    max-width: 90px;
    width: 100%;
    height: unset;
    /*max-height: 85px;*/
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    font-size: 35px;
    color: rgb(0, 0, 0);
    font-weight: bold;
    margin-right: 10px;
    transition: 0.5s;
}

#section-quiz .radio-field .op1::before {
    content: "A";
}

#section-quiz .radio-field .op2::before {
    content: "B";
}

#section-quiz .radio-field .op3::before {
    content: "C";
}

#section-quiz .radio-field .op4::before {
    content: "D";
}

#section-quiz .radio-field input:checked {
    border-color: var(--primary-color);
}

#section-quiz .radio-field input:checked ~ label::before {
    background-color: var(--primary-color);
}

#section-quiz .radio-field input:checked::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
}

#section-quiz .radio-field input:checked::after {
    content: "";
    position: absolute;
    border-left: solid 3px rgb(0, 0, 0);
    border-bottom: solid 3px rgb(0, 0, 0);
    top: 40px;
    right: 30px;
    width: 25px;
    height: 15px;
    transform: rotate(-45deg);
    opacity: 0;
    z-index: 1000;

}


#section-quiz .next-prev {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    position: relative;
}

#section-quiz .next-prev button {
    border: solid 2px transparent;
    background-color: rgb(255, 255, 255);
    height: 70px;
    width: 230px;
    font-size: 18px;
    color: rgb(0, 0, 0);
    font-weight: bold;
}

#section-quiz .next-prev button i {
    position: relative;
    top: 2px;
    margin: 0 7px;

}

#section-quiz .next-prev .next {
    background-color: var(--primary-color);
}


#section-quiz .footer-line {
    background-color: rgb(0, 0, 0);
    width: 100%;
    height: 158px;
    position: absolute;
    left: 0;
    bottom: 0;
}

#section-quiz #close-btn {
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    right: 15px;
    top: 5px;
    color: #5512d4;
    transition: all 0.5s ease-in-out;
}

#section-quiz #close-btn:hover {
    scale: 1.1;
    opacity: 0.7;
}

#section-quiz #error1 div,
#section-quiz #error3 div,
#section-quiz #error4 div,
#section-quiz #error5 div,
#section-quiz #error2 div {
    position: absolute;
    top: -45px;
    right: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

#section-quiz #error1 .reveal,
#section-quiz #error3 .reveal,
#section-quiz #error4 .reveal,
#section-quiz #error5 .reveal,
#section-quiz #error2 .reveal {
    background: #fff;
    border-color: #000;
    color: #000;
}

#section-quiz #error1 .reveal span,
#section-quiz #error3 .reveal span,
#section-quiz #error4 .reveal span,
#section-quiz #error5 .reveal span,
#section-quiz #error2 .reveal span {
    background: orange;
    border-color: #000;
    width: 20px;
    height: 20px;
    color: #fff;
    font-weight: 700;
    margin-right: 5px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#section-quiz #error1 .reveal::before,
#section-quiz #error3 .reveal::before,
#section-quiz #error4 .reveal::before,
#section-quiz #error5 .reveal::before,
#section-quiz #error2 .reveal::before {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 25px;
    width: 15px;
    background: white;
    height: 15px;
    border-bottom: 1px solid;
    border-right: 1px solid;
    transform: rotate(45deg);
}
