*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}


body{
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Nunito', sans-serif;
    font-weight:400;
}


header, footer{
    background: #222831;
    color: white;
    height:3.75rem;
}
 
main{
    padding:40px;
}

nav{
    width:60vw;
    height:100%;
    margin:0 auto; /*Opzoeken*/
}

nav > ul{
    display:flex;
    list-style:none;
    height:100%;
    width:100%;
    align-items: center;
    justify-content: space-evenly;
    gap:20px;
}

nav > ul >li{
    width:100%;
    height:100%;

}

.active{
    background:rgb(48, 90, 153);
}


nav > ul > li > a{
    height:100%;
    width:100%;
    display:block;
    text-align:center;
    line-height:60px;
    text-decoration:none;
    color:white;
}

ul{
    display: flex;
    list-style: none;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}


h1{
    font-size: 250%;
    margin-bottom: 20px;
    border-bottom:1px solid black;
    font-weight:500;
}   

section{
    width:60vw;
    margin:0 auto;
    padding:40px;
}

article{
    width:60vw;
    margin: 0 auto;
    padding:40px;
}


.box{
    width:100%;
    height:25rem;
    position:relative;
    padding:0;
    margin-bottom:40px;
}

.box > a > figure{
    width:100%;
    height:100%;
}

.box > a > figure > img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50px;
}

.box > a > figure > img:hover{
    transform:none;
}


.box > a > section{
    position:absolute;
    bottom:0%;
    left:0%;
    padding:40px;
    color:white;
    width:100%;
    height:100%;
    background:linear-gradient(transparent 60%,black);
    border-radius:50px;
    display:flex;
    justify-content:flex-end;
    flex-direction:column; /*Opzoeken*/
}


figure{
    margin-bottom:40px;
}

img{
    width: 100%;
    border-radius: 5px;
    transition: 0.2s transform;
}

img:hover{
    transform: scale(1.05);
}



p{
    margin-bottom: 40px;

}

p:last-of-type{
    margin-bottom:0;
}


figcaption{
    font-size:80%;
    font-style: italic;
    font-weight:400;
}

audio{
    display:block;
    margin-top:20px;

}

video{
    width:100%;
    margin-bottom:40px;
    border-radius:5px;
}

.top{
    width:5rem;
    height:5rem;
    background:#222831;
    border:none;
    font-size: 150%;
    font-family: 'Montserrat', sans-serif;
    border-radius:5px;
    color:white;
    position:fixed;
    bottom:120px;
    right:120px;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
}

footer{
    height: 5vw;
    margin:0 auto;

}

footer > p{
    width:60vw;
    margin:0 auto;
    padding-left:40px;
}

@media screen and (max-width:1000px) {
    article{
        width: 100%;
    }
    footer > p{
        width:80vw;
    }
    img:hover{
        transform:none;
    }
    .top{
    width:3.75rem;
    height:3.75rem;
    bottom:3.75rem;
    right:3.75rem;
    }

    header{
        height:auto;
    
    }

    nav{
        width:100vw;
    }

    nav > ul{
        display:block;
    }
}

@media screen and (max-width: 600px) {
    body{
        font-size:16px;

    }
    article{
        width:100%;
        padding:20px;
    }
    h1{
        font-size:180%;
    }
    footer > p{
        width:100vw;
        padding-left:20px;
    }
    
}

