@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');


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

body{
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: red;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: #2980B9;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}


.quiz-contianer{
    width: 600px;
    height: 300px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transform: translateX(-30%) translateY(-40%);

    

}

.the-quiz{
    padding: 50px;
    

}

#question{
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}
.answer{
    margin-bottom: 10px;
}

#answers label{
    font-size: 1.2rem;
    font-weight: 300;
    cursor: pointer;
   
}


#submit{
    display: block;
    width: 100%;
    height: 50px;
    background-color: rgb(158, 36, 158);
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    border: none;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    transition: all ease-in 0.2s;
}

#submit:hover{
    background-color: rgb(105, 14, 105);

}

#final-score{
    text-align: center;
    margin-top: 30px;
    color: purple;
    font-size: 2rem;
}