/************/
/* CSS FILE */
/************/

:root {

    /* ACHTERGROND */
    --background-color: white;
    /*NAVBAR TEXT-KLEUR*/
    --navbartext-color: white;
    /* TEXT-KLEUR*/
    --text-color: #342E2E;
    /*MAINTEXT BACKGROUND-KLEUR*/
    --maintext-backgroundcolor: #342E2E;
    /* FONT-TEXT */
    --fonttext: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* BODY */

body {
    background-color: var(--background-color);
}

/* HEADER */

header nav {
    display: flex;
    background-color: #342E2E;

    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 1em;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 2em;
}

header nav ul li {
    list-style-type: none;
}

header nav ul li a:hover {
    color: #9A7C58;
}

header nav img {
    width: 8em;
}

header nav ul li a{
    color: var(--navbartext-color);
    font-family: var(--fonttext);

    text-decoration: none;
    padding: 0;
}

/* MAIN */

/* MAIN SECTION 1 */

main section:nth-of-type(1) {
    margin-top: 0.3em;
}

main section:nth-of-type(1) video {
    width: 100%;
    height: 100%;
}

/* MAIN SECTION 2 */

main section:nth-of-type(2) { /* TEXT AFBEELDING */
    display: flex;
    justify-content: space-evenly;

    margin-top: -8.5em;
    font-size: 0.9vw;
}

main section:nth-of-type(2) img { /* TEXT AFBEELDING COMPUTER */
    width: 18em;
}

main section:nth-of-type(2) img:nth-of-type(4) { /* TEXT AFBEELDING MOBIEL */
    display: none;
}

/* MAIN SECTION 3 */

main section:nth-of-type(3) {
    display: flex;

    margin-top: 5em;
    font-size: 1.3vw;
}

main section:nth-of-type(3) article:nth-of-type(1) {
    display: flex;
    align-items: center;
    flex-direction: column;

    width: 50%;
}

main section:nth-of-type(3) article:nth-of-type(1) h1 {
    font-family: var(--fonttext);
    margin-top: 0;
}

main section:nth-of-type(3) article:nth-of-type(1) p {
    font-family: var(--fonttext);
    width: 80%;
}

main section:nth-of-type(3) article:nth-of-type(2) {
    display: flex;
    justify-content: center;

    width: 50%
}

main section:nth-of-type(3) article:nth-of-type(2) img {
    width: 30em;
    height: 30em;
}

/* MAIN SECTION 4 */

main section:nth-of-type(4) {
    display: flex;
    flex-direction: row-reverse;

    margin-top: 5em;
    font-size: 1.3vw;
}

main section:nth-of-type(4) article:nth-of-type(1) {
    display: flex;
    align-items: center;
    flex-direction: column;

    width: 50%;
}

main section:nth-of-type(4) article:nth-of-type(1) h1 {
    font-family: var(--fonttext);
    margin-top: 0;
}

main section:nth-of-type(4) article:nth-of-type(1) p {
    font-family: var(--fonttext);
    width: 80%;
}

main section:nth-of-type(4) article:nth-of-type(2) {
    display: flex;
    justify-content: center;

    width: 50%
}

main section:nth-of-type(4) article:nth-of-type(2) img {
    width: 30em;
    height: 30em;
}

/* FOOTER */

footer {
    text-align: center;
    background-color: #342E2E;
    color: #fff;
    font-family: Arial, sans-serif;

    margin-top: 2em;
    padding: 0.5em;
}

footer p:nth-of-type(1) {
    padding-bottom: 1em;
}

footer a {
    color: #9A7C58;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* MOBIEL FORMAAT*/

@media (width < 40em) {

    /* HEADER */

    header nav {
        display: grid;
        font-size: 3.5vw;
        padding-left: 0;
    }

    header nav a { /* LOGO */
        display: flex;
        justify-content: center;
        padding-bottom: 1em;
    }

    header nav ul {
        display: flex;
        justify-content: center;
        padding: 0;
    }

    /* MAIN */

    main section:nth-of-type(2) { /* TEXT AFBEELDING */
        display: flex;
        justify-content: space-evenly;

        margin-top: -2em;
        font-size: 4vw;
    }

    main section:nth-of-type(2) img {
        display: none;
    }

    main section:nth-of-type(2) img:nth-of-type(4) {
        display: flex;
    }

    main section:nth-of-type(3) {
        display: flex;
        flex-direction: column;
        align-items: center;

        font-size: 3vw;
    }

    main section:nth-of-type(3) article:nth-of-type(1) {
        width: 100%;
        padding-bottom: 2em;
    }

    main section:nth-of-type(4) {
        display: flex;
        flex-direction: column;
        align-items: center;

        font-size: 3vw;
    }

    main section:nth-of-type(4) article:nth-of-type(1) {
        width: 100%;
        padding-bottom: 2em;
    }

    footer {
        font-size: 3vw;
    }
}