@media only screen and (min-width: 1025px) and (orientation: landscape) {
    body::before {
        content: "";
        display: block;
        position: fixed;
        top: 3vh;
        left: 20vw;
        width: 724px;
        height: 278px;
        background-image: url("../image/logo_W4U.svg");
        background-size: 17.1vw 6.65vw;
        background-repeat: no-repeat;
        z-index: 90;
        pointer-events: none;
    }

    body,
    * {
        margin: 0;
        padding: 0;
    }

    * {
        box-sizing: border-box;
    }

    body {
        min-height: 100vh;
        overflow: hidden;
        background: linear-gradient(
            to bottom,
            #6992b8 0%,
            #dceffa 50%,
            #5b82a0 100%
        );
        animation: gradientAnimation 30s ease-in-out infinite;
        background-size: 100% 200%;
    }

    @keyframes gradientAnimation {
        0%,
        100% {
            background-position: 0% 33%;
        }
        50% {
            background-position: 0% 66%;
        }
    }

    nav {
        padding: 1.8vw;
    }

    nav ul {
        float: right;
        margin-top: 0.6vh;
        margin-right: 20vw;
    }

    nav li {
        display: inline-block;
        float: left;
    }

    nav li:not(:first-child) {
        margin-left: 2vw;
    }

    nav a {
        font-size: 1.8vh;
        font-family: "Barlow Condensed", sans-serif;
        font-weight: 600;
        color: #48637b;
        text-decoration: none;
        letter-spacing: 0.005vh;
        display: inline-block;
        outline: none;
        background-color: rgba(255, 255, 255, 0.65);
        box-shadow: 0vw 0.3vh 0.6vh rgba(0, 0, 0, 0.2);
        border-radius: 0.15vw;
        padding: 0.1vw 0.2vw;
        position: relative;
        border-radius: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        text-transform: uppercase;
        height: 30px;
        width: 90px;
        opacity: 1;
        border: 0.5px solid rgba(22, 76, 167, 0.6);
    }

    nav a span {
        color: rgba(22, 76, 167, 1);
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0.35px;
    }

    nav a:hover {
        color: #5e81a2;
        text-decoration: none;
        animation: rotate 0.7s ease-in-out both;
    }

    nav a:hover span {
        animation: storm 0.7s ease-in-out both;
        animation-delay: 0.06s;
    }

    @keyframes rotate {
        0% {
            transform: rotate(0deg) translate3d(0, 0, 0);
        }
        25% {
            transform: rotate(3deg) translate3d(0, 0, 0);
        }
        50% {
            transform: rotate(-3deg) translate3d(0, 0, 0);
        }
        75% {
            transform: rotate(1deg) translate3d(0, 0, 0);
        }
        100% {
            transform: rotate(0deg) translate3d(0, 0, 0);
        }
    }

    @keyframes storm {
        0% {
            transform: translate3d(0, 0, 0) translateZ(0);
        }
        25% {
            transform: translate3d(4px, 0, 0) translateZ(0);
        }
        50% {
            transform: translate3d(-3px, 0, 0) translateZ(0);
        }
        75% {
            transform: translate3d(2px, 0, 0) translateZ(0);
        }
        100% {
            transform: translate3d(0, 0, 0) translateZ(0);
        }
    }

    #clouds {
        position: fixed;
        z-index: -1;
        width: 100%;
        height: 100vh;
    }

    .cloud {
        width: 200px;
        height: 60px;
        background: #fff;
        border-radius: 200px;
        position: relative;
    }

    .cloud:before,
    .cloud:after {
        content: "";
        position: absolute;
        background: #fff;
        width: 100px;
        height: 80px;
        top: -15px;
        left: 10px;
        border-radius: 100px;
        transform: rotate(30deg);
    }

    .cloud:after {
        width: 120px;
        height: 120px;
        top: -55px;
        left: auto;
        right: 15px;
    }

    .x1 {
        left: 525px;
        top: 15%;
        transform: scale(0.75);
        opacity: 0.01;
        animation: moveclouds 28s linear infinite;
    }

    .x2 {
        left: 200px;
        transform: scale(0.6);
        opacity: 0.01;
        animation: moveclouds 50s linear infinite;
        top: 25%;
    }

    .x3 {
        left: -250px;
        top: 35%;
        transform: scale(0.8);
        opacity: 0.01;
        animation: moveclouds 40s linear infinite;
    }

    .x4 {
        left: 470px;
        top: 45%;
        transform: scale(0.75);
        opacity: 0.01;
        animation: moveclouds 36s linear infinite;
    }

    .x5 {
        left: -150px;
        top: 48%;
        transform: scale(0.8);
        opacity: 0.01;
        animation: moveclouds 45s linear infinite;
    }

    .x6 {
        left: 320px;
        top: 51%;
        transform: scale(0.3);
        opacity: 0.01;
        animation: moveclouds 20s linear infinite;
    }

    @keyframes moveclouds {
        0% {
            margin-left: 1200px;
        }
        100% {
            margin-left: -1200px;
        }
    }

    #body-container {
        position: absolute;
        top: 23.5vh;
        left: 50%;
        transform: translateX(-50%);
        width: 60vw;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

	#kolommen {
	    column-count: 2;
	    column-gap: 20px;
	    column-width: 300px;
	}

    h1.inhoud {
        margin-top: 0.55vh;
        font-family: "Merriweather", serif;
        font-weight: 700;
        font-size: 1.45vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    h2.inhoud {
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-size: 1.45vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    h3.inhoud {
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-size: 1.45vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    h3.no-underline {
        font-family: "Lato", sans-serif;
        font-weight: 400;
        color: #404040;
        font-size: 1.45vh;
        text-decoration: none;
    }

    .mailto {
        font-family: "Lato", sans-serif;
        color: #006699;
        font-weight: 400;
        font-size: 1.45vh;
        text-decoration: none;
    }

    .rest-text {
        visibility: visible;
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-size: 1.45vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.65;
    }

    .afbeelding {
        margin-top: 3px;
        width: 300px;
        float: left;
        margin-right: 12px;
        border-radius: 7px;
    }

    .reset {
        font-family: "Lato", sans-serif;
        color: #006699;
        font-size: 1.45vh;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 4vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.25);
        box-shadow: 0vw 0.6vh 1.2vh rgba(0, 0, 0, 0.15);
        border-radius: 0.4vw;
        padding: 0.6vw 0.9vw;
    }

    #resetbtn {
        font-family: "Lato", sans-serif;
        color: #fff;
        font-size: 1.45vh;
        padding: 3px 6px;
        border: none;
        border-radius: 0.3vw;
        background-color: rgba(160, 160, 160, 0.35);
        cursor: pointer;
        margin-right: 10px;
        transition: background-color 0.3s ease;
    }

    #resetbtn:hover {
        background-color: rgba(192, 192, 192, 0.25);
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    body::before {
        content: "";
        display: block;
        position: fixed;
        top: 3vh;
        left: 10vw;
        width: 724px;
        height: 278px;
        background-image: url("../image/logo_W4U.svg");
        background-size: 30.8vh 12vh;
        background-repeat: no-repeat;
        z-index: 90;
        pointer-events: none;
    }

    body,
    * {
        margin: 0;
        padding: 0;
        font-family: "Barlow Condensed", sans-serif;
    }

    body {
        min-height: 100vh;
        background: linear-gradient(
            to bottom,
            #b2c8da 0%,
            #dfe6f0 50%,
            #8dacc6 100%
        );
    }

    #clouds {
        display: none;
    }

    .cloud {
        display: none;
    }

    #body-container {
        position: absolute;
        top: 23.5vh;
        left: 50%;
        transform: translateX(-50%);
        width: 80vw;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    #kolommen {
        column-count: 2;
        column-gap: 4vw;
        column-width: 38vw;
    }

    h1.inhoud,
    h2.inhoud,
    h3.inhoud {
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-size: 1.7vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    h1.inhoud {
        font-weight: 700;
    }

    h3.no-underline {
        font-family: "Lato", sans-serif;
        color: #404040;
        font-size: 1.6vh;
        text-decoration: none;
        color: inherit;
    }

    .mailto {
        font-family: "Lato", sans-serif;
        color: #404040;
        font-size: 1.6vh;
        text-decoration: none;
        color: inherit;
    }

    .rest-text {
        visibility: visible;
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-size: 1.55vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.65;
    }

    .afbeelding {
        margin-top: 0.35vh;
        width: 24vw;
        float: left;
        margin-right: 0.5vw;
        border-radius: 5px;
    }

    .reset {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-family: "Lato", sans-serif;
        color: #006699;
        font-size: 1.6vh;
        width: 98vw;
        height: 4vh;
        background-color: rgba(211, 211, 211, 0.8);
        box-shadow: 0vw 0.3vh 0.6vh rgba(0, 0, 0, 0.15);
        border-radius: 6px;
        padding: 4px 3vw;
    }

    #resetbtn {
        background-color: #006699;
        font-family: "Lato", sans-serif;
        color: white;
        font-size: 1.2vh;
        padding: 0.5vh 1.6vh;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    h4.no-underline {
        margin: 0;
        font-family: "Lato", sans-serif;
        font-size: 1.6vh;
        color: #006699;
        text-decoration: none;
    }

    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        background: rgba(31, 34, 39, 0.7);
        opacity: 0;
        transition: all 0.2s ease;
    }

    .nav-container ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

    .nav-container li {
        display: block;
        float: none;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }

    .nav-container li:not(:first-child) {
        margin-left: 0;
    }

    .nav-container a {
        padding: 10px 25px;
        opacity: 0;
        color: white;
        font-family: "Barlow", sans-serif;
        font-size: 2.1vh;
        line-height: 1.8;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.02vh;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-container li:nth-child(1) a {
        transition-delay: 0.2s;
    }

    .nav-container li:nth-child(2) a {
        transition-delay: 0.3s;
    }

    .nav-container li:nth-child(3) a {
        transition-delay: 0.4s;
    }

    .nav-container li:nth-child(4) a {
        transition-delay: 0.5s;
    }

    .nav-open {
        position: fixed;
        right: 10vw;
        top: 10px;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 9999;
        border-radius: 50%;
    }

    .nav-open i {
        display: block;
        width: 20px;
        height: 2px;
        background: #1f2227;
        border-radius: 2px;
        margin-left: 14px;
    }

    .nav-open i:nth-child(1) {
        margin-top: 16px;
    }

    .nav-open i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }

    .nav-open i:nth-child(3) {
        margin-top: 4px;
    }

    #nav:checked + .nav-open {
        transform: rotate(45deg);
    }

    #nav:checked + .nav-open i {
        background: white;
        transition: transform 0.2s ease;
    }

    #nav:checked + .nav-open i:nth-child(1) {
        transform: translateY(6px) rotate(180deg);
    }

    #nav:checked + .nav-open i:nth-child(2) {
        opacity: 0;
    }

    #nav:checked + .nav-open i:nth-child(3) {
        transform: translateY(-6px) rotate(90deg);
    }

    #nav:checked ~ .nav-container {
        z-index: 9990;
        opacity: 1;
    }

    #nav:checked ~ .nav-container ul li a {
        opacity: 1;
        transform: translateY(0);
    }
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
    body::before {
        content: "";
        display: block;
        position: fixed;
        top: 2vh;
        left: 3vw;
        width: 724px;
        height: 278px;
        background-image: url("../image/logo_W4U.svg");
        background-size: 26.1vh 10vh;
        background-repeat: no-repeat;
        z-index: 90;
        pointer-events: none;
    }

    * {
        font-family: sans-serif;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: sans-serif;
        min-height: 144vh;
        height: auto;
        margin: 0;
        padding: 0;
        background: linear-gradient(
            to bottom,
            #b2c8da 0%,
            #dfe6f0 50%,
            #8dacc6 100%
        );
        background-attachment: fixed;
    }

    #body-container {
        padding-top: 14vh;
        width: 94vw;
        margin-left: 3vw;
        margin-right: 3vw;
    }

    #kolommen {
        column-count: initial;
    }

    h1.inhoud {
        font-family: "Merriweather", serif;
        font-weight: 700;
        font-size: 1.55vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    h2.inhoud {
        font-family: "Merriweather", serif;
        font-weight: 600;
        font-size: 1.55vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    h3.inhoud {
        font-family: "Merriweather", serif;
        font-weight: 400;
        font-size: 1.55vh;
        color: #404040;
        letter-spacing: 0.01em;
        line-height: 1.7;
    }

    .afbeelding {
        margin-top: 0.35vh;
        width: 66vw;
        float: left;
        margin-right: 1.5vw;
        border-radius: 5px;
    }

    .reset {
        display: flex;
        justify-content: space-between; /* Verdeel de resetknop en de tekst */
        align-items: center; /* Verticaal centreren */
        font-family: "Lato", sans-serif;
        color: #006699;
        font-size: 1vh;
        width: 90%; /* Laat de resetbalk de volle breedte nemen */
        background-color: rgba(
            211,
            211,
            211,
            0.8
        ); /* Lichtgrijze achtergrond */
        box-shadow: 0vw 0.3vh 0.6vh rgba(0, 0, 0, 0.15);
        border-radius: 5px;
        padding: 8px 16px; /* Padding om de inhoud wat ruimte te geven */
        padding-left: 3vw; /* Linker ruimte van 3vw */
        padding-right: 3vw; /* Rechter ruimte van 3vw */
    }

    #resetbtn {
        background-color: #006699;
        color: white;
        font-size: 1.2vh;
        padding: 0.8vh 1.6vh;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    h4.no-underline {
        font-family: "Lato", sans-serif;
        color: #006699;
        font-size: 1.3vh;
        margin: 0;
        text-decoration: none;
    }

    .mailto {
        font-family: "Lato", sans-serif;
        color: #006699;
        font-size: 1.3vh;
        text-decoration: none;
    }

    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: -1;
        background: rgba(31, 34, 39, 0.7);
        opacity: 0;
        transition: all 0.2s ease;
    }

    .nav-container ul {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
    }

    .nav-container li {
        display: block;
        float: none;
        width: 100%;
        text-align: right;
        margin-bottom: 10px;
    }

    .nav-container li:not(:first-child) {
        margin-left: 0;
    }

    .nav-container a {
        padding: 10px 25px;
        opacity: 0;
        color: white;
        font-family: "Barlow", sans-serif;
        font-size: 2.1vh;
        line-height: 1.8;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 0.02vh;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-container li:nth-child(1) a {
        transition-delay: 0.2s;
    }

    .nav-container li:nth-child(2) a {
        transition-delay: 0.3s;
    }

    .nav-container li:nth-child(3) a {
        transition-delay: 0.4s;
    }

    .nav-container li:nth-child(4) a {
        transition-delay: 0.5s;
    }

    .nav-open {
        position: fixed;
        right: 10px;
        top: 10px;
        display: block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        z-index: 9999;
        border-radius: 50%;
    }

    .nav-open i {
        display: block;
        width: 20px;
        height: 2px;
        background: #1f2227;
        border-radius: 2px;
        margin-left: 14px;
    }

    .nav-open i:nth-child(1) {
        margin-top: 16px;
    }

    .nav-open i:nth-child(2) {
        margin-top: 4px;
        opacity: 1;
    }

    .nav-open i:nth-child(3) {
        margin-top: 4px;
    }

    #nav:checked + .nav-open {
        transform: rotate(45deg);
    }

    #nav:checked + .nav-open i {
        background: white;
        transition: transform 0.2s ease;
    }

    #nav:checked + .nav-open i:nth-child(1) {
        transform: translateY(6px) rotate(180deg);
    }

    #nav:checked + .nav-open i:nth-child(2) {
        opacity: 0;
    }

    #nav:checked + .nav-open i:nth-child(3) {
        transform: translateY(-6px) rotate(90deg);
    }

    #nav:checked ~ .nav-container {
        z-index: 9990;
        opacity: 1;
    }

    #nav:checked ~ .nav-container ul li a {
        opacity: 1;
        transform: translateY(0);
    }
}
.hidden {
    display: none;
}
