/* styling of the body of the html */
*::before, *::after{
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
body{
    background: url("https://wbcbnews.com/wp-content/uploads/2017/10/MaxPixel.freegreatpicture.com-Digital-Computer-Coding-Html-Code-Programming-Web-1076533.jpg");
    background-size: cover ;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

/* styling the quiz rules box */
.quizRulesBox{
    position:absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#quizRulesBox{
    background-color: cornsilk;
    position: absolute;
    border-radius: 20%;
    width: 600px;
    padding: 0 50px 50px ;
    border: 10px double crimson;
}

.quizRulesBox::after{
    display: contents;
}
/* changing the colour of few words in the rules list */
#quizRulesBox .quizRuleTitle .ruleStyle .rules span{
    color: crimson;
}
/* style the container which holds the title stating "Quiz Rules"  */
#quizRulesBox .quizRuleTitle{
    height: 80px;
    width: 80%;
    border-bottom: 4px solid orchid;
    font-size: 75px;
    padding: 0 45px;
}

#quizRulesBox .quizRuleTitle .ruleStyle .rules{
    font-size: 14px;
    text-indent: 16%;
}
/* styling the start button */
#quizRulesBox .button #start,
#quizRulesBox .button #submit{
    display: block;
    font-size: 20px;
    color: rgb(122, 11, 104);
    border-radius: 20px;
    background: rgb(221, 183, 220); 
    top:30%;
    left:10%;
}
#question::before{
    content: none;
}
body #question{
    position: absolute;
    top: 20%;
    left: 20%;
    text-align: center;
    font-size: 35px;
    background-color: cornsilk;
    color: orchid;
    border-radius: 10%;
    border: 5px crimson double;
    width: 540px;
}

/* the font of the questions presented */
#questionElement{
    color: purple;
    font-size: 30px;
}

#answersElement{
    color: purple;
    font-size: 20;
}

#optionsElement{
    display: flex;
    align-items: center;
    flex-direction: column;
}

#timer{
    font-size: 25px;
}
