@font-face {
    font-family: 'MyCustomFont';
    src: url('fonts/Far_Mitra.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'MyCustomFont', sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 700px;
    text-align: right;
}

h1, h2, h3 {
    color: #0056b3;
}

form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

form input[type="text"] {
    width: calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button, .button {
    background-color: #007bff;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    text-decoration: none;
    display: inline-block;
}

button:hover, .button:hover {
    background-color: #0056b3;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

#timer {
    font-size: 1.2em;
    font-weight: bold;
    color: #d9534f;
}

.question-block {
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    background-color: #fafafa;
}

.option {
    margin: 10px 0;
}

.option label {
    margin-right: 10px;
    font-weight: normal;
}

.result-details p {
    font-size: 1.2em;
    line-height: 1.6;
}