*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Georgia, 'Times New Roman', Times, serif ;
}

body{
    color: #fff;
    background: black;
    overflow: hidden    ;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    
}

.navbar a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
    transition: 1.5s;
}

.navbar a:hover{
    color: rgb(124, 184, 164);
}

.main{
    min-height: 100vh;
    background: url(./image/rusa.jpeg) no-repeat;
    background-size: cover;
    background-position: center;
    transition: .3s ease;
    pointer-events: auto;
}

.main.active{
    filter: blur(15px);
    pointer-events: none;
}

.container{
    display: flex;
    height: 100vh;
    width: 200%;
}

.home {
    position: relative;
    left: -50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-content{
    max-width: 600px;
    display: flex;
    align-items: center;
    flex-direction: column;
    
}

.home-content h1{
    margin-top: 35px;
    margin-bottom: 35px;
    font-size: 30px;
    text-shadow: 0 0 10px rgba(0, 0, 0, .3);

}

.home-content p {
    font-size: 16px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, .3);
    margin-bottom: 25px;
}

.home-content .start-btn{
    width: 190px;
    height: 55px;
    background: aquamarine;
    border: 1px solid #000000;
    outline: none;
    border-radius: 20px;
    font-size: 18px;
    color: #000000;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: 1s;
}


.home-content .start-btn:hover{
    background: rgb(124, 184, 164);
    box-shadow: none;
}

.popup-info{ 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    width: 500px;
    background: #001858;
    padding: 25px;
    border-radius: 28px;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

.popup-info.active{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.popup-info h2{
    font-size: 50px;
    color: aqua;
}

.popup-info .info {
    display: inline-block;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    margin: 4px 0;
}

.popup-info .btn-group{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #999;
    margin-top: 10px;
    padding: 15px 0 7px;
}

.popup-info .btn-group .info-btn{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 45px;
    background: rgb(95, 216, 196);
    border: 2px solid rgb(95, 216, 196);
    outline: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    transition: .5s;
}

.popup-info .btn-group .info-btn:nth-child(1){
    background: transparent;
    color: rgb(95, 216, 196);
}

.popup-info .btn-group .info-btn:nth-child(1):hover{
    background: rgb(95, 216, 196);
    color: #fff;
}

.popup-info .btn-group .info-btn:nth-child(2):hover{
    background: rgb(79, 160, 146);
    border-color: rgb(95, 216, 196);
}

.quiz-section {
    position: relative;
    /* left: 0; */
    left: -50%;
    width: 100%;
    background:#0f0e17; 
    transition: .8s ease-in-out;
    transition-delay: .25s;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;

}


.quiz-section.active{
    left: 0;
}

.quiz-section .quiz-box{
    position: relative;
    width: 500px;
    background: transparent;
    border: 2px solid #a7a9be;
    border-radius: 6px;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    opacity: 0;
    pointer-events: none;
    transform: scale(.9);
    transition: 3s ease;
    transition-delay: 0s;
}

.quiz-section .quiz-box.active{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    transition: 1s ease;
    transition-delay: 1s;
}

.quiz-box h1 {
    font-size: 32px;
    text-align: center;
    background: linear-gradient(45deg, transparent, #a7a9be, transparent );
    border-radius: 6px;
}

.quiz-box .quiz-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #a7a9be; 
    margin-bottom: 30px;
}

.quiz-header span{
    font-size: 18px;
    font-weight: 500;
}

.quiz-header .header-score{
    background: #a7a9be;
    border-radius: 3px;
    padding: 7px;
}

.quiz-box .question-text{
    font-size: 24px;
    font-weight: 600;
}

.option-list .option{
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 3px;
    font-size: 17px;
    margin: 15px 0;
    cursor: pointer;
    transition: .3s; 
}

.option-list .option:hover{
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.option-list .option.correct{
    background: #00fff2;
    color: black;
    border: black;
}

.option-list .option.incorrect{
    background: #a60045;
    color: black;
    border: black;
}

.option-list .option.disabled{
    pointer-events: none;
}


.quiz-box .quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #a7a9be;
    padding-top: 20px;
    margin-top: 25px;
}

.quiz-footer .question-total{
    font-size: 16px;
    font-weight: 600;
}

.quiz-footer .next-btn{
    width: 100px;
    height: 45px;
    background: rgba(255, 255, 255, .1);
    border: 2px solid rgba(255, 255, 255, .1);
    outline: none;
    border-radius: 6px;
    color: rgba(255, 255, 255, .3);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    pointer-events: none;
    transition: .5s;
}


.quiz-footer .next-btn.active {
    pointer-events: auto;
    background:#a7a9be;
    border-color: #a7a9be;
    color: #fff;
}

.quiz-footer .next-btn.active:hover {
    background: #a7a9be;
    border-color: #a7a9be;
}

.quiz-section .result-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(.9);
    width: 500px;
    background: transparent;
    border: 2px solid #c40094;
    border-radius: 6px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s ease;
}

.quiz-section .result-box.active{
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);

}

.result-box h2{
    font-size: 52px
}

.result-box .percentage-container{
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0 40px;
}

.percentage-container .circular-progress{
    position: relative;
    width: 250px;
    height: 250px;
    background: conic-gradient(#c40094 3.6deg, rgba(255, 255, 255, .1)0deg);
    border-radius: 50%;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.percentage-container .circular-progress::before{
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    background: rgb(0, 0, 0);
    border-radius: 50%;
}

.circular-progress .progress-value{
    position: relative;
    font-size: 45px;
    font-weight: 600;
}

.percentage-container .score-text{
    font-size: 26px;
    font-weight: 600;
    margin-top: 20px;
}

.result-box .buttons{
    display: flex;
}

.buttons button{
    width: 130px;
    height: 47px;
    background: #c40094;
    border: 2px solid #c40094;
    outline: none;
    border-radius: 6px;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin: 0 20px 20px;
    cursor: pointer;
    transition: .5s;
}
.buttons button:nth-child(1):hover{
    background: #c4005c;
    border-color: #c40094;
}

.buttons button:nth-child(2){
    background: transparent;
    color: #c40094;
}

.buttons button:nth-child(2):hover{
    background: #c40094;
    color: #fff;
}

