body {
    background-color: white;
    margin: 0;
    font-family: "Avenir", sans-serif;
    min-height: 100vh;
}

header {
    display: flex;
    position: relative;
    width: 100%;
    height: 92px;
    justify-content: space-between;
    align-items: center;
    background-image: linear-gradient(to bottom, rgba(245, 246, 252, 0.52), rgba(19, 83, 117, 0.73)),
    url('images/logo_basic.png');
    background-size: cover;
    background-position: center;
    padding: 0 20px;
    box-sizing: border-box;
}
  
header .headertext {
    display: flex;
    text-align: center;
    color: white;
    font-family: "Avenir", sans-serif;
    font-size: 2rem;
    align-items: center;
    padding-right: 5%;
}

.acknowledgements {
    font-size: 0.8rem;
    padding: 20px 0;
    text-align: center;
}

.body-text {
    padding: 40px 100px;
    max-width: 80%;
    margin: 0 auto;
    box-sizing: border-box;
}

.body-text .homebutton {
    background-color: rgba(116, 159, 203, 0.866);
    color: #F9FAF8;
    text-align: center;
    font-weight: bold;
    border-radius: 9px;
    border: none;
    margin-right: 50px;
    cursor: pointer;
    padding: 8px 16px;
    transition: background-color 0.3s ease;
}

.body-text .homebutton:hover {
    background-color: rgba(116, 159, 203, 1);
}

.contentcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}

.e-learning {
    border: solid;
    border-color: rgba(168, 168, 180, 0.971);
    padding: 20px;
    border-radius: 13px;
    width: 100%;
    max-width: 808px;
    height: auto;
    min-height: 600px;
    box-sizing: border-box;
}

.footer {
    position: relative;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.itemcontainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 100px;
    justify-content: flex-start;
    align-items: stretch;
    box-sizing: border-box;
}

.itemlist {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.logoregel {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0px;
    width: 100%;
    box-sizing: border-box;
}

.pdfbutton {
    background-color: rgba(183, 142, 161, 0.681);
    color: #010101;
    text-align: center;
    font-weight: bold;
    border-radius: 9px;
    border: none;
    margin-right: 50px;
    cursor: pointer;
    padding: 8px 16px;
    min-width: 278px;
    transition: background-color 0.3s ease;
}

.pdfbutton:hover {
    background-color: rgba(183, 142, 161, 1);
}

.pdfcontainer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 35px;
}

.sidebar {
    width: 178px;
    min-width: 178px;
    max-width: 178px;
    background-image: linear-gradient(to bottom, rgba(204, 204, 204, 0.037), rgba(153, 153, 153, 0.72));
    background-color: rgba(30, 65, 109, 0.572);
    opacity: 1;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
    
.sidebar .sideItem {
    padding: 12px 5px 5px 12px;
    font-size: 15px;
    display: block;
    border-bottom: 1px solid #10558d;
    color: white;
    position: relative;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar .sideItem:hover {
    color: #031e2b;
    background: white;
    border-right: 2px solid rgb(5, 68, 104);
}

.tegel {
    padding-right: 50px;
}

.wiki {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Video styles */
.video {
    width: 100%;
    max-width: 800px;
    margin: 20px 0;
    padding: 20px;
    background-color: #fff;
    /*border: 1px solid #dee2e6; */
    border-radius: 8px;
    /*box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

.video iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 4px;
}

.video h3 {
    margin: 15px 0;
    color: #333;
}

.video p {
    color: #666;
    line-height: 1.6;
}

/* Quiz styles */
.quiz-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;
    margin-top: 20px;
    position: relative;
}

.quiz-logo {
    position: absolute;
    top: 20px;
    right: 20px;
}

.quiz-logo img {
    width: 100px;
    height: auto;
}

.option-button {
    display: block;
    width: 100%;
    padding: 20px;
    margin: 10px 0;
    font-size: 1.1em;
    text-align: left;
    background-color: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-button:hover {
    background-color: #e9ecef;
}

.option-button.correct {
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.option-button.incorrect {
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.question-text {
    font-size: 1.0em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.week-info {
    color: #6c757d;
    margin-bottom: 20px;
}

.explanation-box {
    margin-top: 30px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.explanation-box strong {
    color: #28a745;
}

@media screen and (max-width: 1024px) {
    .body-text {
        padding: 20px 40px;
        max-width: 100%;
    }

    .itemcontainer {
        padding: 20px 40px;
    }

    .e-learning {
        min-height: 500px;
    }
}

@media screen and (max-width: 768px) {
    header {
        height: auto;
        min-height: 92px;
        flex-direction: column;
        padding: 10px;
    }

    header .headertext {
        font-size: 1.5rem;
        padding-right: 0;
        margin-top: 10px;
    }

    .body-text {
        padding: 20px;
    }

    .itemcontainer {
        padding: 20px;
    }

    .logoregel {
        padding: 0 20px;
    }

    .e-learning {
        min-height: 400px;
    }

    .pdfbutton {
        margin-right: 0;
        width: 100%;
        max-width: 278px;
    }
}

@media screen and (max-width: 480px) {
    header {
        min-height: 70px;
    }

    header .headertext {
        font-size: 1.2rem;
    }

    .body-text {
        padding: 15px;
    }

    .itemcontainer {
        padding: 15px;
    }

    .e-learning {
        min-height: 300px;
    }

    .tegel {
        padding-right: 0;
    }
}
