/******************
    User custom CSS
    ---------------

    In this file you can add your own custom CSS
    It will be loaded last, so you can override any other property.
    Also, it will never be updated. So if you inheritate a core template and just add here some CSS, you'll still benefit of all the updates
*/

/*Footer ausblendern*/
.footer {
  display:none;
}


/*Ab hier: Fragen abwechselnd hell und dunklen Hintergrund*/
.question-container:nth-child(odd) {
    background-color: #f9f9f9; /* Helle Farbe für ungerade Fragen */
}

.question-container:nth-child(even) {
    background-color: #ffffff; /* Weiß für gerade Fragen */
}

.question-container {

    padding: 15px; /* Innenabstand für jede Frage */
    margin-bottom: 10px; /* Abstand zwischen den Fragen */
    border-radius: 5px; /* Abgerundete Ecken für einen weicheren Look */

}


/*Ab hier: Nummern in den Aufgaben*/
.question-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px; /* Increased from 20px to 30px for more space between questions*/
    position: relative;
}

.task-number-box {
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    color: #666;
    font-weight: bold;
    border-radius: 50%;
    font-size: 14px;
    margin-right: 15px;
    border: 1px solid #ddd;
    margin-top: 5px; /* Added to align the number with the top of the question text */
}

.question-text {
    flex-grow: 1;
    padding-top: 5px; /* Added to create some space above the question text */
}

/* Hide the number for the last question */
.task-number-box.hide-number {
    display: none;
}

/* Adjust for smaller screens*/
@media (max-width: 768px) {
    .question-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-number-box {
        margin-bottom: 10px;
        margin-top: 0; /* Reset top margin on small screens*/
    }

    .question-text {
        padding-top: 0; /* Reset padding on small screens*/
    }
}

/*Tabelle - Anzeige Gitterlinien*/

.table {
    border-collapse: collapse;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 8px;
}

