@import url("https://fonts.googleapis.com/css2?family=Barlow&display=swap");
:root {
    --borderRadius: 5px;
    --white: #e5e8eb;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: "Barlow", sans-serif;

    background-color: #163b41;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    color: #e5e8eb;
    font-size: 1.1em;
    font-weight: 400;
    font-style: normal;
    overflow-y: auto;
}

b {
    font-weight: 700;
}
.pageHeader {
    position: absolute;
    top: 0;
    font-size: 1.1em;
    opacity: 0.5;
    padding-top: 5px;
    text-align: center;
}

.pageHeader h5 {
    color: #e5e8eb;
    font-weight: 700;
    font-size: 1.2em;
    margin-top: 0.5em;
}
.containet{
    min-height: 100vh;
    display: flex;
    align-content: center;
    align-items: center;
}

.contentContainer {
    width: 100%;
    max-width: 1080px;
    margin-top:3em;
    padding: 3em 0;
    z-index: 5;
    line-height: 1.42em;
}
.contentContainer a {
    padding: 5vw;
    background: transparent;
    color: #00b592;
    border: 0px;
    font-weight: bold;
    padding: 2px;
}
.containerButtons {
    /*display: flex;
        width: 100%;
    */
    justify-content: space-between;
    align-items: center;

    padding: 0 20px;
    box-sizing: border-box;
    z-index: 6;
}
.containerButtons a:nth-child(1) {
    position: fixed;
    display: block;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.containerButtons a:nth-child(2) {
    position: fixed;
    display: block;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contentWrapper {
    display: flex;
    flex-wrap: wrap;
}
.navigationButton {
    border: none;
    color: white;
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: var(--borderRadius);
        opacity: .3
}
.button:hover {
    background-color: #355b61;
}
.video-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}
video {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 1080px;
    border-radius: var(--borderRadius);
}

.e-header {
    font-size: 2em;
    margin: 0.5em 0;
    box-sizing: border-box;
    font-weight: 600;
    
}

.e-header-s {
    color: #f18f01;
    font-size: 1.4em;
    opacity: 0.8;
}

hr {
    border-top: 1px solid #eee;
    margin-bottom: 20px;
    margin-top: 20px;
}

.e-img {
    width: 100%;
    border-radius: var(--borderRadius);
    filter: drop-shadow(0px 8px 25px rgba(255, 255, 255, 0.5));
    -webkit-filter: drop-shadow(0px 8px 25px rgba(255, 255, 255, 0.5));
}

.ardaStepIndication {
    background: white;
    border: 1px solid #f0f0f0;
    padding: 20px 20px 10px;
    border-radius: 5px;
    color: black;
    width: 100%;
    margin: 10px auto;
    box-sizing: border-box;
}
.ardaStepIndication p {
    margin: 0 0 10px;
    line-height: 1.6;
}
.ardaStepIndication img {
    width: 30px;
    float: left;
    margin-right: 5px;
}

.navigationButton {
    padding: 3em 1.2em;
    margin: 0.8em;
    background-color: #01b592;
}

.e-header-s {
    margin: 0 0 10px;
}


/* question css*/
main {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 1.3em;
    column-count: 1;
    column-gap: 20px;
    margin: auto;
    padding: 1% 0px;
    max-width: 920px;
    text-align: center;
    transition: all 0.6s ease;
}
.vraag {
    border-radius: var(--borderRadius);
    background-color: white;
    -webkit-box-shadow: 0px 8px 25px rgba(255, 255, 255, 0.5);
    box-shadow: 0px 8px 25px rgba(255, 255, 255, 0.5);
    margin-bottom: 3vh;
    padding: 2em 10px;
    color: #030d26;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.antwoord,
.checkButton {
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    border-color: transparent;
    border-radius: var(--borderRadius);
    margin-bottom: 3vh;
    background: #00b592;
    color: white;
    padding: 0.5em;
    cursor: pointer;
    font-family: "Barlow", sans-serif;
    font-size: 1em;

    text-align: center;
}

.antwoord:hover {
    background: #00c9a3;
    transform: translateY(-2px);
    box-shadow: 0px 4px 15px rgba(0, 181, 146, 0.4);
}

.antwoord:focus {
    outline: none;
}

#antwoordenContainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    transition: all 0.6s ease;
}

.explanation {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: var(--borderRadius);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    max-height: 0;
    overflow: hidden;
}

.explanation.popUp {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-height: 500px;
    padding: 1.5em 1.5em;
    margin-top: 2vh;
    margin-bottom: 2vh;
}

.explanationText {
    line-height: 1.6em;
    color: #e5e8eb;
}

.pop-up-text {
    font-size: 2rem;
    color: #61dafb;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s, transform 0.3s;
}

.pop-up-text.visible {
    opacity: 1;
    transform: scale(1);
    animation: popUp 0.5s forwards;
}

.antwoord {
    margin: 10px;
    padding: 1em 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1em;
    position: relative;
}

.antwoord.hidden {
    opacity: 0;
    transform: translateX(-30px) scale(0.8);
    max-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
}

.antwoord.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0px 8px 25px rgba(0, 181, 146, 0.6);
    animation: selectAnswer 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes selectAnswer {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

/* triangle button */
.triangle-right {
    width: 0;
    height: 0;
    border-top: 1em solid transparent;
    border-bottom: 1em solid transparent;
    border-left: 1.6em solid white; /* Arrow color */
    border-radius: 2px;
}

.triangle-left {
    width: 0;
    height: 0;
    border-top: 1em solid transparent;
    border-bottom: 1em solid transparent;
    border-right: 1.6em solid white; /* Arrow color */
    border-radius: 2px;
}

.close-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    color: white;
    font-size: 38px;
    cursor: pointer;
    background-color: #00575f;
    padding: 15px;
    padding-bottom: 20px;
    line-height: 0.2;
    border-radius: 5px;
    font-weight: 500;
    z-index: 6;
}

.ardaStepVerdieping {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 5px;
}

.close-btn:hover {
    background-color: #00b592;
}

.ardaStepFinishedHeader {
    max-width: 800px;
    margin: auto;
    text-align: center;
    margin-bottom: 3em;
}
.verdiepingContainer {
    display: flex;
    flex-wrap: wrap;
    gap:1.5em;
}
.verdiepingContainer div {
    box-sizing: border-box;
    flex: 1;
}
.afronden-button {
    text-align: center;
    position: fixed;
    bottom: 0px;
    left: 0px;
    z-index: 100;
    margin: auto;
    padding: 1em;
    backdrop-filter: blur(5px);
    background-color: rgba(12, 12, 12, 0.1);
    width: 100%;
}

.modulesContainer {
    grid-gap: 30px;
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 768px) {
    .button {
        padding: 20px 10px;
        font-size: 14px;
    }
    .containerButtons {
        padding: 0 1px;
    }
    .contentContainer {
        width: 85vw;
    }
    .navigationButton {
        margin: 0;
    }
}
@media (max-width: 480px) {
    .button {
        padding: 16px 8px;
        font-size: 12px;
        margin: 0;
    }
}
@media (max-width: 920px) {
    .modulesContainer {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .col-md-6 {
        width: 50%;
        float: left;
    }
}

@keyframes popUp {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}
