* {
     box-sizing: border-box;
}

body {
     font-family: Tahoma, Arial;
     font-size: 20px;
}

.quiz-app {
     margin: 20px auto;
     width: 800px;
     background-color: #f8f8f8;
     padding: 15px;
}

.quiz-app .quiz-info {
     display: flex;
     background-color: #fff;
     padding: 20px;
}

.quiz-app .quiz-info .category {
     flex: 1;
}

.quiz-app .quiz-info .count {
     flex: 1;
     text-align: right;
}

.quiz-app .quiz-area {
     background-color: #fff;
     padding: 20px;
     margin-top: 15px;
}

.quiz-app .quiz-area h2 {
     margin: 0;
}

.quiz-app .answers-area {
     background-color: #fff;
     padding: 0 20px 20px;
}

.quiz-app .answers-area .answer {
     background-color: #f9f9f9;
     padding: 15px;
}

.quiz-app .answers-area .answer:not(:last-child) {
     border-bottom: 1px solid #dfdfdf;
}

.quiz-app .answers-area .answer input[type="Radio"]:checked+label {
     color: #7B2CBF;
}

.quiz-app .answers-area .answer label {
     cursor: pointer;
     font-weight: bold;
     color: #777;
     font-size: 14px;
     margin-left: 5px;
     position: relative;
     top: -1px;
}

.quiz-app .submit-button {
     background-color: #7B2CBF;
     display: block;
     width: 100%;
     padding: 15px;
     border: none;
     color: #fff;
     font-weight: bold;
     font-size: 18px;
     cursor: pointer;
     border-radius: 6px;
     margin: 20px auto;
}

.quiz-app .submit-button:focus {
     outline: none;
}

.quiz-app .bullets {
     border-top: 1px solid #dfdfdf;
     background-color: #fff;
     display: flex;
     padding: 20px;
}

.quiz-app .bullets .spans {
     flex: 1;
     display: flex;
}

.quiz-app .bullets .spans span {
     width: 20px;
     height: 20px;
     background-color: #ddd;
     margin-right: 5px;
     border-radius: 50%;
}

.quiz-app .bullets .spans span.on {
     background-color: #7B2CBF;
}

.quiz-app .results span {
     font-weight: bold;
}

.quiz-app .results span.bad {
     color: #dc0a0a;
}

.quiz-app .results span.good {
     color: #009688;
}

.quiz-app .results span.perfect {
     color: #7B2CBF;
}
.results {
     padding: 20px;
     text-align: center;
     font-weight: bold;
     margin-top: 20px;
     background-color: white;
}
