Files
Pubquiz/style.css.backup
2026-05-25 06:49:06 +02:00

392 lines
6.7 KiB
Plaintext

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: linear-gradient(135deg, #1a5276 0%, #2c3e50 100%);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
padding: 20px;
}
.container {
background: white;
border-radius: 20px;
padding: 40px;
max-width: 800px;
width: 100%;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
text-align: center;
}
h1 {
color: #1a5276;
margin-bottom: 10px;
font-size: 2.5rem;
}
.subtitle {
color: #7f8c8d;
font-size: 1.2rem;
margin-bottom: 30px;
}
.page {
display: none;
}
.page.active {
display: block;
}
.progress {
display: flex;
justify-content: center;
gap: 10px;
margin-bottom: 30px;
flex-wrap: wrap;
}
.progress-dot {
width: 15px;
height: 15px;
border-radius: 50%;
background: #bdc3c7;
border: 2px solid white;
}
.progress-dot.active {
background: #e74c3c;
}
.progress-dot.completed {
background: #27ae60;
}
.question-container {
text-align: left;
margin-bottom: 20px;
}
.question-number {
color: #1a5276;
font-weight: bold;
font-size: 1rem;
margin-bottom: 15px;
}
.question-text {
font-size: 1.5rem;
color: #2c3e50;
margin-bottom: 20px;
line-height: 1.6;
}
.question-image {
max-width: 100%;
max-height: 400px;
margin: 20px auto;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
display: none;
}
.question-image.show {
display: block;
}
.answers-container {
background: #f8f9fa;
border-radius: 15px;
padding: 20px;
margin: 20px 0;
text-align: left;
}
.answer-item {
margin: 15px 0;
padding: 15px;
background: white;
border-radius: 10px;
border-left: 4px solid #e74c3c;
}
.answer-label {
font-weight: bold;
color: #2c3e50;
margin-bottom: 10px;
}
.answer-item.selected {
background: #e8f5e9;
border-left-color: #4caf50;
box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}
.answer-item:hover {
background: #f5f5f5;
}
.answer-text {
color: #7f8c8d;
}
.answer-image {
max-width: 100%;
max-height: 200px;
margin-top: 10px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}
.btn {
background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
color: white;
border: none;
padding: 15px 40px;
font-size: 1.2rem;
border-radius: 50px;
cursor: pointer;
margin: 10px;
transition: transform 0.2s, box-shadow 0.2s;
font-weight: bold;
}
.btn-secondary {
background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}
.btn-secondary:hover {
box-shadow: 0 10px 20px rgba(52, 152, 219, 0.3);
}
.answers-grid {
display: grid;
gap: 15px;
margin-top: 20px;
}
.answers-grid.two-columns {
grid-template-columns: repeat(2, 1fr);
}
.answers-grid.three-columns {
grid-template-columns: repeat(3, 1fr);
}
.answers-grid.four-columns {
grid-template-columns: repeat(4, 1fr);
}
.answers-grid.one-column {
grid-template-columns: 1fr;
justify-items: center;
}
.answers-grid.five-plus-columns {
grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 600px) {
.answers-grid.two-columns,
.answers-grid.three-columns,
.answers-grid.four-columns {
grid-template-columns: 1fr;
justify-items: center;
}
}
/* Theme Classes */
.croatia-theme {
background: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #90e0ef 100%);
}
.croatia-theme h1 {
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.croatia-theme .btn {
background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
}
.croatia-theme .btn:hover {
box-shadow: 0 10px 20px rgba(241, 196, 15, 0.4);
}
.croatia-theme .question-text {
color: #1a5276;
}
.croatia-theme .answer-item {
border-left-color: #f1c40f;
}
/* Dutch Theme - Dutch Flag Colors with Orange Accent */
.dutch-theme {
background: linear-gradient(135deg, #ff4040 0%, #ffd1ad 50%, #0071ff 100%)
}
.dutch-theme h1 {
color: #21468b;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
.dutch-theme .btn {
background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
}
.dutch-theme .btn:hover {
box-shadow: 0 10px 20px rgba(255, 153, 0, 0.4);
}
.dutch-theme .question-text {
color: #1a365d;
}
.dutch-theme .answer-item {
border-left-color: #ff6600;
}
/* Culture Theme - Warm Earth Tones */
.culture-theme {
background: linear-gradient(135deg, #8b4513 0%, #d2691e 50%, #cd853f 100%);
}
.culture-theme h1 {
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.culture-theme .btn {
background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}
.culture-theme .btn:hover {
box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}
.culture-theme .question-text {
color: #2c1810;
}
.culture-theme .answer-item {
border-left-color: #ffd700;
}
/* Friends Theme - Friendly Blue and Green */
.friends-theme {
background: linear-gradient(135deg, #4CAF50 0%, #2196F3 100%);
}
.friends-theme h1 {
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.friends-theme .btn {
background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
}
.friends-theme .btn:hover {
box-shadow: 0 10px 20px rgba(255, 107, 107, 0.4);
}
.friends-theme .question-text {
color: #1a2a3a;
}
.friends-theme .answer-item {
border-left-color: #4CAF50;
}
/* Other Styles */
.group-name {
font-size: 1.3rem;
color: #e74c3c;
margin-bottom: 10px;
font-weight: bold;
}
.recap-item {
margin: 20px 0;
padding: 20px;
background: #f8f9fa;
border-radius: 15px;
text-align: left;
}
.recap-question {
font-size: 1.2rem;
color: #2c3e50;
margin-bottom: 15px;
font-weight: 500;
}
.recap-answers {
display: flex;
flex-direction: column;
gap: 10px;
}
.recap-answer-item {
padding: 12px 15px;
border-radius: 8px;
}
.recap-answer-item.correct {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
border-left: 4px solid #28a745;
color: #155724;
}
.recap-answer-item.incorrect {
background: #fff5f5;
border-left: 4px solid #e74c3c;
color: #e74c3c;
}
.recap-answer-label {
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 5px;
}
.recap-answer-text {
font-size: 0.95rem;
}
.recap-image {
max-width: 100%;
max-height: 150px;
margin-top: 10px;
border-radius: 8px;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
@media (max-width: 600px) {
.container {
padding: 25px;
}
h1 {
font-size: 1.8rem;
}
.question-text {
font-size: 1.2rem;
}
.btn {
padding: 12px 30px;
font-size: 1rem;
}
}