@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@1,300&family=Poppins:wght@500&display=swap');
*{
    font-family: 'Nunito', sans-serif;
    font-family: 'Poppins', sans-serif;
    /* padding: 0; */
    box-sizing: border-box;
}

.flex{
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #DAE2F8;  
    background: -webkit-linear-gradient(to right, #D6A4A4, #DAE2F8);  
    background: linear-gradient(to right, #D6A4A4, #DAE2F8); 

}
.body{
    min-height: 100vh;
    color: #777;
}

.wrapper{
    background-color: azure;
    padding: 1.5rem 4rem 3rem 4rem;
    width: 950px;
    height: 500px;
    border-top-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    box-shadow: 0 4px 6px rgb(0, 0, 0 / 10%), 0 1px 3px rgb(0, 0, 0 / 10%);
}

.quiz-title{
    text-align: center;
    font-size: 2.5rem;
}
.quiz-score{
    text-align: center;
    font-weight: 600;
    font-size: 1.5rem;
    border: 5px solid #EAECC6;
    margin-bottom: 1rem;
    font-weight: bold;
    width: 100px;
    height: 50px;
    margin: 0.5rem auto;
    color: purple;
}

.quiz-question{
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.quiz-question .category{
    font-size: 1rem;
    font-weight: 400;
    color: #777;
}

.quiz-options li{
    border-radius: 0.5rem;
    font-weight: 600;
    margin: .7rem 0;
    padding: 0.4rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: antiquewhite;
    border: #777;
    box-shadow: 0 4px 0 plum;
}

.quiz-options :hover{
    color: #DAE2F8;
    background-color: #614385;
    box-shadow: 0 4px 0 #EAECC6;
}

.quiz-options li:active{
    transform: scale(0.97);
}

.selected{
    background-color: #614385 !important;
    color: #000000!important;
    box-shadow: 0 4px 0 #EAECC6!important;
    border-color: #DAE2F8!important;
}
.quiz-foot {
    display:flex;
    justify-content: center;
  }

.quiz-foot button{
    border: none;
    border-radius: 0.5rem;
    outline: 0;
    padding: rem 3.5rem;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:0 4px 0 0 #777;
    display:block;
    width: 8rem;
}

.quiz-foot button:hover{
    background-color: blueviolet;
    box-shadow:0 4px 0 0 614385;
}
.quiz-foot button:active{
    transform: scale(0.95);
}
#play-again{
    display: none;
}

@media(max-width: 678px){
    .quiz-title{
        font-size: 1.5rem;
    }
    .wrapper{
        width: 100%;
        padding: 1rem 2rem 2rem 2rem;
    }
}