*{box-sizing: border-box;}


    body{
    background-color:#ffffff;
    font-family:Verdana;
    }

    nav{
        width: 100%;
        height: 5%;
        background-color: #E7D74B;
        position: sticky;
        top: 0;
    }
    nav li {
        float: right;
        margin-top: 2.4%;
    }

    nav ul{
        list-style: none;
        font-size: large;
    }

    nav li:nth-child(3) a {
        color: #D34F42;
    }
    
    nav a{
        text-decoration: none;
        font-size:25px ;
        font-weight: bolder;
        color:#4FB9AB;
        padding: 10px;
        transition: 0.5s;
    }

    nav img{
        width: 11.0%;
        margin-left: 1.8%;
    }

    a:link {
        background-color: #E7D74B;
        border: 5px solid #E7D74B;
        border-radius: 20px;
      }
      
      a:visited {
        background-color: #E7D74B;
        border: 5px solid #E7D74B;
        border-radius: 20px;
      }
      
      a:hover {
        background-color: #ffe600;
        border: 5px solid #ffe600;
        border-radius: 20px;
      }
      
      a:active {
        background-color: #FF8D01;
        border: 5px solid #FF8D01;
        border-radius: 20px;
      } 

    #hoofd{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows:500px 1fr;
        gap: 10px;
    }

    main{
        grid-area: 1 / 4 / 2 /8;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-rows: 85px 1fr 85px 1fr;
        gap: 10px;
    }

    main :nth-child(1){
        grid-area: 1 / 1 / 2 /8;
    }

    main :nth-child(2){
        grid-area:2 / 1 / 2 /3;
        padding-left: 5%;
        padding-right: 3%;
    }

    main :nth-child(3){
        grid-area:3 / 1 / 4 /3;
        padding-left: 5%;
        padding-right: 2%;
    }

    main :nth-child(4){
        grid-area:2 / 3 / 3 /5;
        padding-left: 5%;
        padding-right: 3%;
    }

    main :nth-child(5){
        grid-area: 2 / 3 / 4 /5;
        padding-left: 5%;
        padding-right: 3%;
        margin-top: 68.2%;
    }

    figure{
        grid-area: 1 / 1 / 3 /4;
    }

    figure img{
        width: 100%;
        border-radius: 38%;
    }

    section{
        grid-area:2 / 4 / 3 /8;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 71.6%;
        gap: 20px;
    }

    section :nth-child(1){
        width: 83%;
        border: 5px solid #FED329;
        border-radius: 20px;
        grid-area: 1 / 1 / 2 /2;
        margin-bottom: 10%;
    }

    section :nth-child(2){
        width: 78.8%;
        border: 5px solid #3D4597;
        border-radius: 20px;
        grid-area: 1 / 2 / 3 /2;
        margin-bottom: 5%;
    }

    section :nth-child(3){
        width: 76%;
        border: 5px solid #C02823;
        border-radius: 20px;
        grid-area: 1 / 3 / 3 /4;
        margin-bottom: 5%;
    }

    footer{
        background-color: #E7D74B;
        padding: 20px;
        overflow: hidden;
        width:100%;
        position: absolute;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 10px 40px;
        gap: 10px;
    }

    footer :nth-child(1){
        grid-area: 1/1/2/2;
    }

    footer :nth-child(2){
        grid-area: 1/3/2/4;
        text-align: right;
    }

    footer :nth-child(3){
        grid-area: 2/3/3/4;
        text-align: right;
    }