html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
*, *::before, *::after {
    box-sizing: inherit;
}
img {
    margin-top: 1rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
}
h1 {
    text-decoration: none;
    color: #252D34;
    font-family: 'DynaPuff', cursive, sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 1.5rem;
}
header {
    width: 100%;
    height: 100%;
    background-color: white;
}
nav > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #AC86DD;
    display: flex;
    justify-content: center;
    align-items: center;
}
.nav {
    font-family: "bryant-web", sans-serif;
}
li {
    float: left;
}
li a {
  display: block;
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 1.3rem;
  text-decoration: none;
}
li a:hover {
    background-color: #986fce;
    transition: 200ms;
}
nav {
    font-family: sans-serif;
}
a {
    text-decoration: none;
    color: #252D34;
}
.active-page {
    display: block;
    background-color: #986fce;
}
h2 {
    font-family: 'DynaPuff', cursive, sans-serif;
    font-size: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}
section {
    font-family: sans-serif;
    color: #252D34;
}
.over-mij {
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 2.5rem;
}
.over-mij2 {
    background-color: #B6BF89;
    padding-left: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 2.5rem;
}
.skills {
    list-style: circle;
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    margin-left: 2.5rem;
    padding-left: 2rem;
}
.talen {
    font-family: "bryant-web", sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    margin-left: 2.5rem;
}
.email {
    max-width: 300px;
    padding: 1rem;
    background-color: #B6BF89;
    text-align: center;
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin: 1rem;

    grid-column: 1;
    grid-row: 2;
}
.mail-h3 {
    font-family: 'DynaPuff', cursive, sans-serif;
    margin: 1rem;
    font-size: 1.5rem;
}
h3 {
    font-family: 'DynaPuff', cursive, sans-serif;
    margin: 2.5rem;
    font-size: 1.5rem;
}
.boektopia {
    background-color: #B6BF89;
    padding: 1rem;
    margin-top: 1rem;
}
.pegasus {
    padding: 1rem;
    margin-top: 1rem;
}
.proj-img {
    padding: 2rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    align-content: space-around;
}
p {
    font-family: "bryant-web", sans-serif;
}
.p-proj {
    font-family: "bryant-web", sans-serif;
    margin: 2.5rem;
    font-size: 1.15rem;
}
.margin {
    margin-bottom: 12rem;
}
.contact-p {
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 2.5rem;
}
.index {
    font-family: 'DynaPuff', cursive, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr) ;
    grid-template-rows: 15rem;
    justify-items: center;
    align-items: center;
}
.indexp {
    font-family: 'DynaPuff', cursive, sans-serif;
    font-size: 1.5rem;
    }
.index2 {
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    margin-top: 10rem;
    margin-bottom: 2rem;
    margin-left: 2.5rem;
    display: flex;
    justify-content: center;
}
.index-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.index-flex:hover {
    transform: scale(1.3);
    transition: all 0.5s ease-in-out ;
}


footer {
    font-family: sans-serif;
    color: #252D34;
    background-color: #AC86DD;
    padding-bottom: 20px;
    bottom: 0;
    width: 100%;
    height: auto;
    position: fixed;
}
.footer {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 1rem;
}
.footer-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.mail {
    font-family: "bryant-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 1rem;
}
.contact {
    font-family: 'DynaPuff', cursive;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 1rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,10rem);
    justify-items: center;
}
.contact-img {
    grid-column: 2;
    grid-row: 1,2;
    justify-self: start;
}
.header-flex {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.header-logo {
    height: 80px;
}
.footer-logo {
    height: 100px;
}

.top:link, .top:visited {
    background-color:white;
    border: white solid;
    border-radius: 25px;
    font-family: "bryant-web", sans-serif;
    padding: 1rem;
    position: fixed;
    bottom: 1.8rem;
    z-index: 999;
    right: 1.8rem;
}
.top:hover, .top:active {
    background-color: #B6BF89;
    border: #B6BF89 solid;
    border-radius: 25px;
    font-family: "bryant-web", sans-serif;
    padding: 1rem;
    position: fixed;
    bottom: 1.8rem;
    z-index: 999;
    right: 1.8rem;
}

@media screen and (100px <= width <=500px ) {
    .mail {
        font-size: 0.8rem;
    }
    .top:link, .top:visited {
        padding: 0.5rem;
        bottom: 0.5rem;
        right: 0.5rem;
        background-color:white;
        border: white solid;
        border-radius: 25px;
        font-family: "bryant-web", sans-serif;
        position: fixed;
        z-index: 999;
    }
    .top:active {
        padding: 0.5em;
        bottom: 0.5rem;
        right: 0.5rem;
        background-color: #B6BF89;
        border: #B6BF89 solid;
    }
    h1 {
        font-size: 1.6rem;
        margin-left: 1.5rem;
        margin-right: 1.2rem;
    }
    .active-page {
        padding: 2rem;
    }
   .index {
    display: grid;
    grid-template-columns: 18.5rem;
    grid-template-rows: repeat(6, 15rem);
    justify-items: center;
    align-items: center;
    justify-content: center;
   } 
   .index2 {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
   }
   .over-mij {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
   }
   .over-mij2 {
    padding-right: 1.5rem;
   }
   .skills {
    margin-left: 1.5rem;
   }
   .contact-p {
    margin-left: 1.5rem;
   }
   .top :active {
    background-color: #B6BF89;
    padding: 0.8rem;
    bottom: 1.3rem;
    right: 1.3rem;
   }
   .footer-flex {
    justify-content: flex-start;
    align-items: flex-start;
   }
   .contact-grid {
    grid-template-rows: 1fr 1fr 3fr;
    grid-template-columns:1fr;
    align-items: center;
    justify-items: center;
   }
   .contact-img {
    grid-row: 3;
    grid-column: 1;
    margin-bottom: 10rem;
    justify-self: center;
   }
   .header-logo {
    height: 3rem;
   }
   .mail {
    margin-right: 1rem;
   }
   .footer-logo {
    height: 60px;
   }
}
@media screen and (500px <= width <=900px ) {
    .index {
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
    grid-template-rows: 15rem 15rem;
    justify-items: center;
    align-items: center;
    }
    .email {
        margin-left: 2rem;
    }
    .contact-img {
        margin-left: 1.1rem;
    }
    .contact-img {
    justify-self: center;
}
}
@media screen and (900px <= width <=1200px ) {
    .index {
    display: grid;
    grid-template-columns: repeat(3, 1fr) ;
    grid-template-rows: 15rem 15rem;
    justify-items: center;
    align-items: center;
    }
    .email {
        margin-left: 2rem;
    }
    .contact-img {
        margin-left: 1.1rem;
    }
    .contact-grid {
    margin-bottom: 15rem;
}
}
@media screen and (1200px <= width <=1400px ) {
    .index {
        display: grid;
    grid-template-columns: repeat(6, 1fr) ;
    grid-template-rows: 15rem;
    justify-items: center;
    align-items: center;
    }
}