Spaces:
Sleeping
Sleeping
| /* style.css */ | |
| :root { | |
| --primary: #FFA000; | |
| --secondary: #D84315; | |
| --light: #F5F5F5; | |
| --dark: #263238; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: #f8f9fa; | |
| color: var(--dark); | |
| max-width: 800px; | |
| margin: 0 auto; | |
| padding: 20px; | |
| line-height: 1.6; | |
| } | |
| #start-container, .quiz-container, .results-container { | |
| background: white; | |
| border-radius: 12px; | |
| box-shadow: 0 5px 15px rgba(0,0,0,0.1); | |
| padding: 25px; | |
| margin-top: 20px; | |
| } | |
| .header { | |
| text-align: center; | |
| margin-bottom: 30px; | |
| } | |
| .header h1 { | |
| color: var(--primary); | |
| margin-bottom: 10px; | |
| } | |
| .header p { | |
| color: #666; | |
| font-size: 1.1rem; | |
| } | |
| input, button { | |
| width: 100%; | |
| padding: 12px 15px; | |
| margin: 10px 0; | |
| border-radius: 8px; | |
| font-size: 1rem; | |
| } | |
| input { | |
| border: 1px solid #ddd; | |
| } | |
| button { | |
| background: var(--primary); | |
| color: white; | |
| border: none; | |
| font-weight: bold; | |
| cursor: pointer; | |
| transition: background 0.3s; | |
| } | |
| button:hover { | |
| background: #e65100; | |
| } | |
| .quiz-question { | |
| margin-bottom: 25px; | |
| padding-bottom: 15px; | |
| border-bottom: 1px solid #eee; | |
| } | |
| .quiz-question:last-child { | |
| border-bottom: none; | |
| } | |
| .results-box { | |
| padding: 15px; | |
| border-radius: 8px; | |
| margin: 15px 0; | |
| border-left: 4px solid var(--primary); | |
| background: #fff8e1; | |
| } | |
| .correct { | |
| border-left-color: #4CAF50; | |
| background: #e8f5e9; | |
| } | |
| .incorrect { | |
| border-left-color: #F44336; | |
| background: #ffebee; | |
| } | |
| @media (max-width: 768px) { | |
| body { | |
| padding: 10px; | |
| } | |
| #start-container, .quiz-container, .results-container { | |
| padding: 15px; | |
| } | |
| } |