* {
    margin: 0;
}

.gridindex {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "kleur"
    "titelinfo"
    "titel"
    "vandaag"
    "fvl"
    "alle"
    "fk"
    "gegevens"
    "map"
    "footer";
}

.streepje {
    background-color: #fafafa;
    padding-top: 1px;
}

.titelinfo {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    text-align: center;
    color:white;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-weight: 600;
    font-size: 15px;
    background-color: rgb(22, 46, 79);;;
    grid-area: titelinfo;
    padding: 10px 10px;
}

.nav img {
    float: left;
    width: auto;
    height: 50px;
    padding: 5px;
}

.nav {
    grid-area: titel;
    background-color: white;
    width: 100%;
    z-index: 10;
    text-align: center;
    top: 5;
    border-bottom: solid 1px #222222;
    position: sticky; top: 0; width: 100%;
}

.nav a {
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-size: 17px;
    text-decoration: none;
    color: rgb(22, 46, 79);;
    font-weight: 600;
    padding: 15px 100px;
    display: inline-block;
    animation-name: nav-out;
    animation-duration: 0.5s;
    float: right;
}

.nav a:hover {
    animation-name: nav;
    animation-duration: 0.5s;
    color: #aaaaaa;
}

.opfoto {
    grid-area: vandaag;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 150px 20%;
    font-size: 20px;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    font-weight: 600;
    background-image: url(indeximg.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: solid 1px #222222;
    color: white;
}

.opfoto p {
    line-height: 40px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.25);
}

.opfoto .fototext {
    font-size: 35px;
    text-shadow: 2px 2px 5px black;
    padding-bottom: 50px;
}

.fvl {
    grid-area: fvl;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    margin-left: 25%;
    margin-right: 25%;
    font-size: 15px;
    padding: 50px 0px;
    line-height: 30px;
}

.fvl ul {
    color: rgb(22, 46, 79);
}

.fvl ul span {
    color: #222222;
    font-weight: 600;
    line-height: 50px;
}

.fvl p {
    color: rgb(22, 46, 79);
    font-weight: 600;
    line-height: 100px;
    font-size: 30px;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
}

.fotokleur {
    grid-area: fk;
    background-color: #fafafa;
    padding: 50px 0px;
    text-align: center;
}

.fotos {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 10px 50px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.fotos img {
    width: 400px;
    height: auto;
    gap: 50px;
}

.map {
    grid-area: map;
    width: 100%;
}

.gegevens {
    color: #222222;
    grid-area: gegevens;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    margin-left: 25%;
    margin-right: 25%;
    font-size: 25px;
    padding: 50px 0px;
    line-height: 50px;
}

.gegevens p {
    color: rgb(22, 46, 79);
    font-weight: 600;
    line-height: 20px;
    font-size: 30px;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
}

footer {
    grid-area: footer;
    color: #646769;
    font-family: 'Open Sans', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
    padding: 40px;
    font-size: 20px;
    background-color: #222222;
    text-align: center;
}

@keyframes nav {
    from {color: rgb(22, 46, 79);}
    to {color: #aaaaaa;}
}

@keyframes nav-out {
    to {color: rgb(22, 46, 79);;}
    from {color: #aaaaaa;}
}

@media only screen and (max-width: 1200px) {
    .nav img {
        float: none;
    }

    .nav p {
        float: none;
    }

    .nav {
        display: none;
        position: relative;
    }

    .opfoto {
        font-size: 15px;
        padding: 100px 10%;
    }

    .opfoto .fototext {
        font-size: 25px;
    }

    .fvl {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 15px;
        line-height: 30px;
        text-align: center;
    }

    .fvl p {
        font-size: 20px;
        line-height: 50px;
    }

    .fotos {
        padding: 5px 5px;
    }

    .fotos img {
        width: 40%;
    }

    .gegevens {
        margin-left: 5%;
        margin-right: 5%;
        font-size: 20px;
        line-height: 40px;
        padding: 50px 10%
    }

    .gegevens p {
        font-size: 25px;
        line-height: 50px;
    }

    #images img {
        width: 45%;
        height: auto;
    }

}