@media print {
  .removeAnswerButton, #startTimerButton, input {
    display: none !important;
  }
}

@font-face {
    font-family: "Virgil";
    src: url("Virgil.woff2");
    font-display: swap;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #000000;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    text-align: center;
    color: #0073e6;
    font-family: "Virgil", sans-serif;
    font-weight: bolder;
}

h2 {
    page-break-before: always;
}

.brano p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 17px;
    margin: 0 0 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

span#bold {
    text-transform: uppercase;
}

.question, .brano {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 20px;
    page-break-inside: avoid;
}

.question p {
    margin: 0 0 10px;
}

.answer {
    display: block;
    margin: 6px 5px;
}

.correct {
    background-color: #d4edda;
}

.incorrect {
    background-color: #f8d7da;
}

.blank {
    background-color: #e2e3e5;
}

button {
    display: block;
    width: 30%;
    padding: 10px;
    margin: 20px 0;
    font-size: 16px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: "Virgil", sans-serif;
    margin-left: auto;
    margin-right: auto;
}

button:hover {
    background-color: #005bb5;
}

.results {
    position: fixed;
    top: 20px;
    left: 20px;
    background-color: white;
    font-family: "Virgil", sans-serif;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.results {
    font-size: 18px;
}

.results .total {
    font-size: 20px;
    font-weight: bold;
}

.results .section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.results .total {
    display: flex;
    justify-content: space-between;
}

.results .total {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    margin-top: 5px;
}

.results div {
    flex: 1;
    text-align: center;
}

.results div:first-child {
    flex: 0.5;
    text-align: left;
    font-weight: bold;
}

.results p {
    margin: 5px 0;
}

.results .correct {
    color: green;
}

.results .incorrect {
    color: red;
}

.results .blank {
    color: gray;
}

.results .correct,
.results .incorrect,
.results .blank {
    background-color: transparent;
}

.score {
    font-size: 24px;
    position: fixed;
    background-color: white;
    font-family: "Virgil", sans-serif;
    border-radius: 10px;
    margin-top: 20px;
    left: 20px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

.download {
    font-size: 24px;
    position: fixed;
    background-color: rgb(88, 138, 255);
    font-family: "Virgil", sans-serif;
    border-radius: 10px;
    margin-top: 85px;
    left: 20px;
    padding: 15px;
    width: 230px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    z-index: 1000;
}

img {
    max-width: 100%;
    padding-top: 10px;
}

#startTimerButton,
#resetTimerButton,
#resetExamButton {
    display: block;
    width: 30%;
    padding: 10px;
    margin: 20px auto;
    font-size: 16px;
    background-color: #0073e6;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: "Virgil", sans-serif;
}

#startTimerButton:hover,
#resetTimerButton:hover,
#resetExamButton:hover,
.removeAnswerButton:hover {
    background-color: #005bb5;
}

.removeAnswerButton {
    display: block;
    width: 10%;
    padding: 10px;
    margin-right: 10px;
    margin-bottom: 0px;
    font-size: 16px;
    background-color: #e6000049;
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: "Virgil", sans-serif;
}

.countdown {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: white;
    font-family: "Virgil", sans-serif;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    font-size: 24px;
}
