:root{
  --f-sm:14px;
  --f-main:16px;
  --f-md:18px;

  @media screen and (max-width:991px) {
    --f-sm:12px;
    --f-main:14px;
    --f-md:16px;
  }
  @media screen and (max-width:765px) {
    --f-sm:10px;
    --f-main:12px;
    --f-md:14px;
  }
}
* {
    box-sizing: border-box;
  }
  body {
    font-family: Tahoma, Arial;
    font-size: var(--f-main);
  }
  .quiz-app {
    margin: 20px auto;
    width: 90%;
    min-width: 340px;
    max-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;
    font-size: var(--f-md);
  }
  .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: #0075ff;
  }
  .quiz-app .answers-area .answer label {
    cursor: pointer;
    font-weight: bold;
    color: #777;
    font-size: var(--f-sm);
    margin-left: 5px;
    position: relative;
    top: -1px;
  }
  .quiz-app .submit-button {
    background-color: #0075ff;
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: var(--f-md);
    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%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;

    @media screen and (max-width:765px) {
      width: 15px;
      height: 15px;
    }
}
  .quiz-app .bullets .spans span.on {
    background-color: #0075ff;
  }
  .quiz-app .results{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .quiz-app .results a{
    background-color: #0075ff;
    color: #fff;
    text-decoration: none;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}
  .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: #0075ff;
  }