body {
    font-family: 'Imprima', sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 20px;
}

main {
    margin: 60px;
    max-width: 1500px;
}

.quiz-flex {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.image-container {
    flex: 0 0 300px;
}

.image-container img {
    max-width: 100%;
    border-radius: 6px;
    display: none;
}

.content-container {
    flex: 1;
}

h1 { color: #333; }
h2 { color: #555; margin-bottom: 25px;}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    background-color: #e0e0e0;
    margin: 10px 0;
    padding: 14px;
    font-size: 17px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

li:hover {
    background-color: #d0d0d0;
}

.selected {
    background-color: #a0c4ff;
}

.selected:hover {
    background-color: #a0c4ff;
}

.progress-bar {
    width: 100%;
    background: #eee;
    height: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.progress {
    height: 100%;
    width: 0%;
    background: #4caf50;
    border-radius: 10px;
    transition: 0.3s;
}

.nav-buttons {
    margin-top: 20px;
}

button {
    padding: 10px 15px;
    margin-right: 10px;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}

button:disabled {
    background: #999;
    cursor: not-allowed;
}

button:hover:not(:disabled) {
    background: #555;
}


/* Drag Bereich */
.drag-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.drag-item {
    background-color: #e0e0e0;
    padding: 14px 18px;
    border-radius: 6px;
    cursor: grab;
    font-size: 18px;
    transition: 0.2s;
    margin-top: 10px;
}

.drag-item:hover {
    background-color: #d5d5d5;
}

.drop-container {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.drop-zone {
    flex: 1;
    min-height: 180px;
    background: #f7f7f7;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 15px;
}

.drop-zone h3 {
    margin-top: 0;
    color: #444;
}


.match-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.match-item {
    padding: 10px;
    background: #eee;
    border: 1px solid #999;
    border-radius: 8px;
    cursor: pointer;
}

.match-item.selected {
    background: #cce5ff;
}

#lines {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Ergebnis Seite */
.result-container {
    text-align: center;
    padding: 40px;
}
.result-container h2 {
    font-size: 28px;
    color: #333;
}
.result-container p {
    font-size: 20px;
    color: #555;
}

.pin-input {
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 5px;
    width: 200px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.pin-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    outline: none;
}