html {
    background-color: #FFF3DA;
    color: #B33E24;
    font-family: 'Jura', sans-serif;
    font-size: 20px;
    font-weight: 600;
    user-select: none;
}

.scene {
    opacity: 0;
    transition: opacity 1s ease;
}

.scene.visible {
    opacity: 1;
}

.introscherm {
    width: 100%;
    height: 100vh;
}

.introscherm > img {
    width: 100%;
    height: 100vh;
    display: block;
    overflow: hidden;
    object-fit: cover;
}

.introscherm section,
.outroscherm section {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    width: 90%;
}

h1 {
    font-family: 'Kirang Haerang';
    font-size: 96px;
    text-align: center;
    width: 90%;
    font-weight: 400;
}

h2,
h3 {
    font-family: 'Kirang Haerang';
    font-size: 50px;
    text-align: center;
    line-height: 45px;
    width: 90%;
    font-weight: 400;
}

button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

button img {
    display: block;
    width: auto;
    height: auto;
}

.introscherm button {
    width: 198px;
    height: auto;
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 67%;
}

.introvideo {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

video,
iframe {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.introvideo button {
    position: absolute;
    right: 50px;
    bottom: 50px;
    width: 97px;
    height: auto;
}

.outrovideo {
    width: 100%;
    height: 100vh;
}

.outrovideo button.next_scene {
    position: absolute;
    right: 50px;
    bottom: 50px;
    width: 97px;
    height: auto;
}

.outrovideo button.previous_scene {
    position: absolute;
    left: 50px;
    bottom: 50px;
    width: 105px;
    height: auto;
}

.nikkelinfo1 section {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    width: 80%;
    font-size: 36px;
    line-height: 67.2px;
    text-align: center;
}

.nav_buttons button.next_scene {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 156px;
    height: auto;
}

.nav_buttons button.previous_scene {
    position: fixed;
    bottom: 50px;
    left: 50px;
    width: 105px;
    height: auto;
}

.nav_buttons button.reset_scene {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 300px;
    height: auto;
}

.nikkelinfo2 h1 {
    margin-bottom: 40px;
}

.nikkelinfo2__container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.nikkelinfo2__content {
    display: flex;
    align-items: center;
    gap: 5%;
    width: 84%;
    justify-content: center;
}

.nikkel_img {
    width: 700px;
    height: auto;
    flex-shrink: 0;
}

.nikkelinfo2 section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 40%;
    line-height: 28px;
}

.nikkelinfo3 h2 {
    position: fixed;
    top: 0%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    padding: 8% 0px 20px 0px;
    z-index: 2;
    background-color: #FFF3DA;
}

.nikkelinfo3 section {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    font-size: 28px;
    line-height: 39.2px;
    margin-top: 250px;
}

.nikkelinfo3 section img {
    width: 517px;
    height: auto;
}

#vraag_nikkel {
    width: 60%;
    text-align: center;
    padding: 20px 0px;
    margin: 400px auto;
}

.scroll_down {
    width: 50px;
    height: auto;
    position: fixed;
    transform: translate(-50%, -50%);
    right: 80px;
    top: 50%;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce-horizontal {
    0%, 100% {
        transform: translateX(0) rotate(-90deg);
    }
    50% {
        transform: translateX(-20px) rotate(-90deg);
    }
}

/* Scroll signifiers verticaal */
.economisch .scroll_down,
.co2 .scroll_down,
.arbeider .scroll_down,
.schip .scroll_down {
    position: fixed;
    right: 50px;
    top: 40%;
    width: 50px;
    height: auto;
    transform: translate(-50%, -50%);
    animation: bounce 2s infinite;
}

/* Scroll signifiers horizontaal */
.ontbossing .ontbossing__scroll {
    position: fixed;
    left: 80px;
    top: 45%;
    width: 50px;
    height: auto;
    transform: translate(-50% -50%) rotate(-90deg);
    animation: bounce-horizontal 2s infinite;
}

/* Wereldkaart scene */
.wereldkaart {
    position: relative;
    height: 100vh;
    background-color: #B33E24;
    color: #F8E3CC;
    overflow: hidden;
}

.wereldkaart__frame {
    position: relative;
    width: 92%;
    height: 100%;
    margin: 0 auto;
}

.wereldkaart__map-figure {
    margin: 0;
}

.wereldkaart__title {
    position: absolute;
    top: 30px;
    left: 40px;
    font-size: 54px;
    letter-spacing: 2px;
    text-align: center;
    width: auto;
}

.wereldkaart__legend {
    position: absolute;
    text-align: center;
    top: 35px;
    right: 50px;
    font-family: 'Kirang Haerang', cursive;
    font-size: 36px;
    letter-spacing: 2px;
    color: #F8E3CC;
}

.wereldkaart__map {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: auto;
}

.wereldkaart p {
    width: 500px;
    line-height: 28px;
    position: absolute;
    bottom: 100px;
    right: 40px;
}

.wereldkaart__pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wereldkaart__pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Jura', sans-serif;
    font-size: 20px;
    color: #F8E3CC;
}

.wereldkaart__pin--indonesie {
    pointer-events: auto;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.wereldkaart__pin img {
    width: 50px;
    height: auto;
}

.wereldkaart__pin--canada { top: 16%; left: 21%; }
.wereldkaart__pin--rusland { top: 15%; left: 71%; }
.wereldkaart__pin--filipijnen { top: 47%; left: 82%; }

.wereldkaart__pin--indonesie {
    transform: scale(1.2);
    top: 58%;
    left: 75%;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1.2);
    }
    10% {
        transform: scale(1.3);
    }
    15% {
        transform: scale(1.2);
    }
    22% {
        transform: scale(1.3);
    }
    27% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1.2);
    }   
}

.wereldkaart__pin--indonesie:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.wereldkaart__terug {
    position: absolute;
    left: 40px;
    bottom: 30px;
    width: 120px;
    height: auto;
}

/* Hub scene */
.hub {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #B33E24;
    overflow: hidden;
}
.hub__map {
    position: absolute;
    top: -30%;
    left: -10%;
    width: 90%;
    height: auto;
}

.hub__icons {
    position: absolute;
    inset: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hub__icon {
    position: absolute;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: pulse 3s infinite;
}

.hub__icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4)) brightness(1.1);
}

.hub__icon--economisch { top: 26%; left: 25%; }
.hub__icon--co2 { top: 59%; left: 42%; }
.hub__icon--arbeider { top: 63%; left: 52%; }
.hub__icon--ontbossing { top: 53%; left: 60%; }
.hub__icon--schip { top: 40%; left: 47%; }

.hub__icon--economisch img { width: 80px; }
.hub__icon--co2 img { width: 90px; }
.hub__icon--arbeider img { width: 60px; }
.hub__icon--ontbossing img { width: 100px; }
.hub__icon--schip img { width: 180px; }

.hub button.next_scene {
    width: 110px;
}

/* Hub scenes */
.economisch,
.co2,
.arbeider,
.ontbossing,
.schip {
    background-color: #693115;
    color: #FFF3DA;
    width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.schip {
    min-height: 100vh;
    overflow-y: visible;
    overflow-x: hidden;
}

.economisch h1,
.co2 h1,
.arbeider h1,
.ontbossing h1,
.schip h1 {
    color: #FFF3DA;
    text-align: center;
    margin: 50px auto 0 auto;
    font-size: 96px;
    position: relative;
    z-index: 2;
}

.economisch video,
.co2 video,
.arbeider video,
.ontbossing video,
.schip video,
.economisch iframe,
.co2 iframe,
.arbeider iframe,
.ontbossing iframe,
.schip iframe {
    width: 65%;
    height: auto;
    display: block;
    margin: 50px auto 200px auto;
}

.arbeider .video-container {
    width: 65%;
    margin: 50px auto 200px auto;
    aspect-ratio: 16 / 9;
}

.arbeider .video-container iframe {
    width: 100%;
    height: 100%;
    margin: 0;
}

.co2 .video-container {
    width: 65%;
    margin: 50px auto 200px auto;
    aspect-ratio: 16 / 9;
}

.co2 .video-container iframe {
    width: 100%;
    height: 100%;
    margin: 0;
}

.economisch .video-container {
    width: 65%;
    margin: 50px auto 200px auto;
    aspect-ratio: 16 / 9;
}

.economisch .video-container iframe {
    width: 100%;
    height: 100%;
    margin: 0;
}

.economisch article,
.co2 article,
.arbeider article,
.ontbossing article,
.schip article {
    width: 80%;
    display: flex;
    flex-direction: row;
    gap: 6%;
    margin: 200px auto 200px auto;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 220px);
}

.economisch article section,
.co2 article section,
.arbeider article section,
.ontbossing article section,
.schip article section {
    flex: 1 1 56%;
    max-width: 56%;
}

.economisch article img,
.co2 article img,
.arbeider article img,
.ontbossing article img,
.schip article img {
    flex: 0 0 34%;
    width: auto;
    max-width: 480px;
    height: auto;
    align-self: center;
}

.co2 article {
    margin: 140px auto 140px auto; 
}
.co2 article img {
    flex: 0 0 50%; 
    max-width: 820px;
    width: 50%;
}
.co2 article section {
    flex: 1 1 54%;
    max-width: 54%;
}

/* Witregels tussen alinea's */
.economisch article section p + p,
.co2 article section p + p,
.arbeider article section p + p,
.ontbossing article section p + p,
.schip article section p + p {
    margin-top: 12px;
}

/* Tussenafbeeldingen */
.economisch > img,
.co2 > img,
.arbeider > img,
.ontbossing > img,
.schip > img {
    display: block;
    margin: 100px auto;
    width: 70%;
    max-width: 1100px;
    height: auto;
    object-fit: cover;
}

/* Horizontaal scrollbare afbeelding */
.ontbossing {
    position: relative;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    background-color: #693115;
}

.ontbossing__bg {
    display: block;
    width: 210vw;
    height: 100vh;
    background-image: url("../assets/ontbossing_bg.svg");
    background-repeat: no-repeat;
    background-size: auto 100%; 
    background-position: left center;
    pointer-events: none;
    user-select: none;
}

/* Ontbossingcontent over achtergrond */
.ontbossing h1,
.ontbossing video,
.ontbossing p,
.ontbossing button {
    position: relative;
    z-index: 1;
}

/* Schip scene */
.schip__layer {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 140px 0 0 0; 
    overflow: hidden;
}

.schip__waves {
    display: block;
    width: 100%;
    height: auto;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.schip__ship {
    position: absolute;
    width: 400px;
    height: auto;
    left: 15%;
    top: 0;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    will-change: transform;
}

.schip__text {
    position: absolute;
    width: 580px;
    line-height: 28px;
    font-size: 20px;
    z-index: 2;
}

.schip__text--top { top: 3%; right: 10%; }
.schip__text--mid { top: 37%; left: 10%; }
.schip__text--bottom { bottom: 23%; right: 10%; }

.schip .previous_scene {
    z-index: 2;
}

.economisch article section h2,
.co2 article section h2,
.arbeider article section h2,
.ontbossing article section h2,
.schip article section h2 {
    font-family: 'Kirang Haerang', cursive;
    font-size: 96px;
    margin: 0 0 24px 0;
    color: #FFF3DA;
    text-align: left;
    line-height: 0.9;
}

.economisch article section p,
.co2 article section p,
.arbeider article section p,
.ontbossing article section p,
.schip article section p {
    font-family: 'Jura', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #FFF3DA;
    max-width: 680px;
    text-align: left;
    font-weight: 600;
}

.outroscherm h1 {
    width: 100%;
    text-align: center;
}

.outroscherm p {
    width: 849px;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
}

