body {
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
    text-align: center;
    background-color: white;
    color: #323335;
}

nav,
footer {
    margin: 0em;
}

h2,
h3,
h4 {
    font-family: 'Oswald', sans-serif;
}

header {
    background-color: white;
    height: 4em;
}

nav {
    background-color: white;
    padding: 1px;
    font-family: 'Lato', sans-serif;
    letter-spacing: 2px;
    position: fixed;
    z-index: 1;
    width: 100%;
}

ul {
    padding: 0.7em;
    /* breedte navigatiebalk */
}

nav a {
    color: black;
    font-size: 1em;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: darkseagreen;
    cursor: pointer;
}

nav a::after {
    background-color: #323335;
    opacity: 1;
    position: absolute;
}

li {
    display: inline;
    padding: 1.5em;
    /* ruimte tussen nav a */
    list-style-type: none;
}

li>a {
    border-bottom: 1px solid transparent;
}

li>a:visited {
    border-bottom: 1px solid;
    transition: border 0s ease-out;
}

li>*:first-child::before {
    white-space: pre;
}


/* --------- Home page --------- */

main>div {
    height: 37em;
    margin-top: -5.2em;
    display: block;
    position: relative;
}

main>div::after {
    content: "";
    background: url(Fotos/Pipp.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 150%;
    opacity: 0.3;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

div section {
    width: 20em;
    height: 20em;
    margin: 0em 0em 0em 2em;
    text-align: left;
}

h1 {
    color: #323335;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2em;
    padding: 11em 0em 0em 0em;
    margin: 0em;
}

div section h2 {
    font-size: 1em;
    text-transform: uppercase;
    text-align: left;
    margin-top: 0em;
    width: 18em;
}

div section a {
    margin-top: 0em;
}


/*----responsive-----*/

@media(min-width: 53em) {
    main>div::after {
        background-size: 145%:
    }
    main>div {
        height: 39em;
        margin-top: -3.2em;
    }
    h1 {
        font-size: 3em;
        padding: 8.5em 0em 0em 0em;
        margin: 0em;
    }
    div section h2 {
        font-size: 1.8em;
        width: 30em;
    }
    div section {
        width: 40em;
    }
}


/*-------responisive-------*/

@media(min-width: 80em) {
    main>div::after {
        background-size: 100%;
    }
    main>div {
        height: 47em;
        margin-top: -3.2em;
        display: block;
        position: relative;
    }
    h1 {
        font-size: 4em;
        padding: 6em 0em 0em 0em;
        margin: 0em 0em;
    }
    div section h2 {
        font-size: 1.8em;
        margin: 0em 0em 1em 0em;
        width: 30em;
    }
    div section {
        width: 40em;
        height: 40em;
    }
}

div section a {
    background-color: black;
    border-radius: 0.5em;
    box-shadow: 0 3px 3px dimgrey;
    color: white;
    display: inline-block;
    padding: 1em 1.2em;
    text-decoration: none;
}

div section a:hover {
    background-color: #333;
}


/* ------------ Welkom ------------ */

section.welkom {
    background-color: white;
    height: 20em;
    margin: auto;
}

section.welkom h2 {
    font-size: 2em;
    margin: auto;
    margin-top: 0em;
    margin-bottom: 0em;
    text-transform: uppercase;
}

section:nth-child(2) p {
    font-size: 1.1em;
    margin: auto;
    margin-top: 2em;
    text-align: justify;
    width: 20em;
}

@media(min-width: 53em) {
    section:nth-child(2) p {
        width: 30em;
    }
    section.welkom h2 {
        margin-top: 3em;
    }
    section.welkom {
        height: 25em;
    }
}


/* --------------- Footer ----------- */

footer {
    background-color: #00001a;
    color: white;
    padding-top: 0.5em;
    padding-bottom: 1em;
}

footer p {
    font-size: 1em;
}

footer p:last-child {
    font-size: 0.8em;
}

a.go:hover {
    background-color: lightpink;
}


/* -------------------------PAGINA PORTFOLIO----------------- */

main>article {
    background-color: white;
}

main>article h1 {
    font-size: 2.5em;
    padding: 1.2em;
}

section[name=portfolio] {
    display: grid;
    grid-template-areas: "h3" "article1";
    grid-template-columns: 1fr;
    margin: auto;
    margin-bottom: 5em;
}

section[name=portfolio] a {
    margin: auto;
}

@media(min-width: 53em) {
    section[name=portfolio] {
        display: grid;
        grid-template-areas: "h3       h3" "article1 article2 ";
        grid-template-columns: 1fr 1fr;
        max-width: 53em;
        margin: auto;
        margin-bottom: 10em;
    }
    li {
        padding: 4em;
        /* ruimte tussen nav a */
    }
    main>article h1 {
        font-size: 3em;
    }
}

@media(min-width: 80em) {
    section[name=portfolio] {
        height: 78em;
        display: grid;
        grid-template-areas: "h3       h3       h3" "article1 article2 article3 ";
        grid-template-columns: 1fr 1fr 1fr;
        max-width: 80em;
        margin: auto;
        margin-bottom: 10em;
    }
    li {
        padding: 4em;
        /* ruimte tussen nav a */
    }
}

section[name=portfolio] a {
    color: black;
    text-decoration: none;
    background-color: white;
    width: 350px;
    height: 250px;
    padding: 20px;
    display: inline-block;
    margin: 1em;
}

[name=portfolio] article a [name=piano],
[name=portfolio] article a [name=puck],
[name=portfolio] article a [name=transavia],
[name=portfolio] article a [name=Game],
[name=portfolio] article a [name=alliteratie],
[name=portfolio] article a [name=beyond],
[name=portfolio] article a [name=HHB],
[name=portfolio] article a [name=oba],
[name=portfolio] article a [name=Game2]{
    width: 24em;
    height: 18em;
    margin: -1em;
    margin-right: 1em;
    margin-top: -1.1em;
}

[name=portfolio] article a [name=obie]{
    width: 110%;
    margin-right: 0em;
    margin-left: 0em;
    margin: -1em;
}
[name=portfolio] article a [name=board]{
    width: 24em;
    height: 18em;
    margin: -1em;
}

.container {
    position: relative;
    width: 50%;
}

.container img {
    display: block;
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    top: 1;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: darkseagreen;
}

.container:hover .overlay {
    opacity: 0.95;
}

.overlay h2 {
    font-size: 2em;
    color: white;
    text-align: center;
    padding-left: 1em;
    margin-top: 4em;
    position: absolute;
    text-transform: uppercase;
}

.overlay h3 {
    font-size: 1.3em;
    text-transform: uppercase;
    color: black;
    padding-top: 7.2em;
    text-align: left;
    padding-left: 1.5em;
}


/* ------------------------PAGINA ABOUT-------------------- */

[name=overmij] p {
    text-align: justify;
    width: 400px;
    margin: auto;
}

[name=overmij] img:first-of-type {
    width: 400px;
    height: 500px;
    margin: auto;
    margin-top: 2em;
}

[name=overmij] article img:nth-of-type(2) {
    width: 400px;
    height: 500px;
    margin: auto;
    margin-top: 2em;
}


/*--------------------*/

@media(min-width: 20em) {
    [name=overmij] article {
        margin-bottom: 10em;
    }
    [name=overmij] p {
        text-align: justify;
        width: 380px;
        display: block;
    }
    [name=overmij] img:first-of-type {
        width: 380px;
        height: 450px;
        margin: auto;
        margin-top: 2em;
        display: block;
    }
    [name=overmij] article img:nth-of-type(2) {
        width: 380px;
        height: 480px;
        margin: auto;
        margin-top: 2em;
    }
}


/* ---------------------------*/

@media(min-width: 53em) {
    [name=overmij] article {
        display: grid;
        grid-template-areas: "p     img " "img";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        max-width: 53em;
        margin: auto;
        margin-bottom: 10em;
    }
    [name=overmij] p {
        text-align: justify;
        width: 450px;
        margin-top: 0em;
        margin-right: 5em;
        display: inline;
    }
    [name=overmij] img:first-of-type {
        width: 350px;
        height: 430px;
        display: inline;
        margin-top: 0em;
    }
    [name=overmij] article img:nth-of-type(2) {
        width: 400px;
        height: 500px;
        display: block;
        margin: 0em;
        margin-top: -9em;
    }
}

@media(min-width: 80em) {
    [name=overmij] article {
        display: grid;
        grid-template-areas: "p     img " "img";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        max-width: 65em;
        margin: auto;
        margin-bottom: 10em;
    }
    [name=overmij] p {
        text-align: justify;
        width: 550px;
        margin-top: 0em;
        margin-right: 5em;
        display: inline;
    }
    [name=overmij] img:first-of-type {
        width: 400px;
        height: 500px;
        display: inline;
    }
    [name=overmij] article img:nth-of-type(2) {
        width: 400px;
        height: 500px;
        display: block;
        margin-top: -15em;
    }
}


/* -------------------PAGINA CONTACT------------------- */

main>section {
    display: flex;
    flex-direction: column;
}

main>section h1 {
    font-size: 3em;
    padding: 1.2em;
    margin-bottom: -0.5em;
}

h1+p {
    padding: 20px;
    font-size: 16px;
    width: 500px;
    text-align: justify;
    margin-left: 7em;
}

p>a {
    color: black;
}

form {
    margin-left: 7em;
    text-align: left;
}

fieldset {
    border: none;
}

label {
    display: block;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0.5em;
}

[type=text],
[type=email] {
    border: 1px solid lightgrey;
    border-radius: 0.5em;
    color: black;
    font-size: 1em;
    margin-bottom: 2em;
    display: block;
    width: 32em;
    height: 2em;
}

[type=text]:nth-of-type(3) {
    height: 15em;
    margin-bottom: 3em;
}

[type=submit] {
    background-color: grey;
    border: none;
    border-radius: 0.8em;
    box-shadow: 0 3px 3px darkgrey;
    color: white;
    padding: 0.7em 1em;
    font-size: 1em;
    margin-bottom: 5em;
}

[type=submit]:hover {
    background-color: lightgrey;
}

[type=text],
[type=email]:focus {
    outline: none;
}

main>a>img {
    width: 2.5em;
    height: 2.5em;
    margin-bottom: 2em;
}


/* ----------------PAGINA BEDANKT------------- */

p.bedankt {
    font-size: 20px;
    font-weight: bold;
}

img.bedankt {
    width: 50px;
}


/* --------------- ANDERE PAGINAS --------------- */

[name=opdrachten] article {
    display: grid;
    grid-template-columns: 1fr;
}

[name=opdrachten] img {
    margin: auto;
    margin-bottom: 1em;
    width: 90%;
    display: block;
}

[name=spelen]{
    text-align: left;
    margin-left: 1em;
}

@media(min-width: 20em) {
    [name=opdrachten] h1 {
        font-size: 2em;
        padding: 1em;
    }
}

[name=opdrachten] article img:first-of-type {
    width: 26em;
    height: 20em;
    margin: auto;
    margin-bottom: 2em;
    display: inline;
}

[name=cave]{
    width: 90%;
    margin-bottom: 2em;
}

[name=conceptboard]{
    width: 90%;
    margin-top 0em;
}


[name=poster]{
    width: 90%;
    margin-top: 0em;
    margin-bottom: 2em;
}

[name=opdrachten] p:first-of-type {
    display: inline;
    width: 380px;
    text-align: justify;
    margin: auto;
    margin-bottom: 3em;
    margin-top: 1em;
}

embed {
    margin: auto;
    width: 90%;
    height: 25em;
    margin-bottom: 5em;
}

[name=jacht]{
    height: 19em;

}


/*-----responsive-----*/

@media(min-width: 53em) {
    [name=opdrachten] article {
        display: grid;
        grid-template-areas: "img     p " "img     p ";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
    [name=opdrachten] h1 {
        font-size: 2em;
    }
    [name=opdrachten] article img:first-of-type {
        width: 35em;
        height: 25em;
        margin: 1em;
        margin-left: 8em;
        margin-bottom: 7em;
        display: inline;
    }
    [name=opdrachten] img {
        width: 20%;
        margin: 1em;
        display: inline;
    }
    [name=opdrachten] p:first-of-type {
        width: 30em;
        padding-left: 3em;
    }
    embed {
        width: 50%;
        height: 35em;
        margin-bottom: 50px;
        margin-left: -29em;
    }
}

iframe {
    width: 100%;
    height: 200px;
    margin-bottom: 1em;
}

[name=linkspel] {
    width: 100%;
    height: 167px;
    margin-bottom: 2em;
    margin-top: 1em;
}

@media(min-width: 53em) {
    iframe {
        width: 560px;
        height: 315px;
    }
    [name=linkspel] {
        width: 552px;
        height: 167px;
    }
}

[name=opdrachten] p:nth-child(3) {
    text-align: left;
    padding-left: 4em;
}

#puck {
    width: 50%;
    margin-bottom: 50px;
}

.meni {
    width: 50%;
    height: 500px;
    margin-bottom: 50px;
}

.filmpje {
    width: 30%;
}

.ISGA {
    width: 40%;
    height: 700px;
}

.vid {
    width: 100px;
    margin: 30px;
}

.vorm {
    width: 700px;
    margin-left: 40px;
    margin-right: 40px;
}

[name=gif] {
    width: 90%;
}




