body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    background-color: #f5f5f5;
    color: #333;
}
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}
.quiz-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px;
    background-color: #e8f4f8;
    border-radius: 5px;
}
.question {
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #3498db;
    border-radius: 5px;
}
.question-text {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1em;
}
.options {
    margin-left: 15px;
}
.option {
    margin-bottom: 10px;
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}
.option:hover {
    background-color: #f0f0f0;
}
.option.selected {
    background-color: #3498db;
    color: white;
    border-color: #2980b9;
}
.option.correct {
    background-color: #2ecc71;
    color: white;
    border-color: #27ae60;
}
.option.incorrect {
    background-color: #e74c3c;
    color: white;
    border-color: #c0392b;
}
.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s;
}
#prev-btn {
    background-color: #95a5a6;
    color: white;
}
#prev-btn:hover {
    background-color: #7f8c8d;
}
#next-btn, #submit-btn {
    background-color: #3498db;
    color: white;
}
#next-btn:hover, #submit-btn:hover {
    background-color: #2980b9;
}
#start-btn {
    background-color: #2ecc71;
    color: white;
    display: block;
    margin: 30px auto;
    padding: 15px 40px;
    font-size: 1.2em;
}
#start-btn:hover {
    background-color: #27ae60;
}
#results {
    display: none;
    margin-top: 30px;
    padding: 20px;
    background-color: #e8f4f8;
    border-radius: 5px;
    text-align: center;
}
#score {
    font-size: 1.5em;
    font-weight: bold;
    color: #2c3e50;
}
#restart-btn {
    background-color: #e67e22;
    color: white;
    margin-top: 20px;
}
#restart-btn:hover {
    background-color: #d35400;
}
.intro {
    text-align: center;
    margin-bottom: 30px;
}
.progress-container {
    width: 100%;
    background-color: #ecf0f1;
    border-radius: 5px;
    margin-bottom: 20px;
}
.progress-bar {
    height: 10px;
    background-color: #3498db;
    border-radius: 5px;
    width: 0%;
    transition: width 0.3s;
}


img {
  display: block;
  max-width: 100%;
  margin: 20px 0;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
