@font-face {
    font-family: "Bodar";
    src: url("../fonts/BODAR.ttf") format("truetype");
}

body {
    background-color: #F5F5EA;
    max-width: 100%;
}

header {
    height: 6rem;
    max-width: 100%;
    position: sticky;
    z-index: 1000;
    top: 0;
    background-color: #FFFFF6;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
}

header a {
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 4rem;
    color: #4C5861;
    font-size: 1.5rem;
    font-family: "arial";
    font-weight: 500;
    text-decoration: none;
}

header img {
    width: 4rem;
    height: auto;
    margin-right: 4rem;
}

#herosection {
    max-width: 100%;
    height: auto;
}

#werk img {
    width: 20rem;
    height: auto;
    display: block;
    z-index: 0;
}

#werk h1 {
    margin-top: 10rem;
    margin-bottom: 4rem;
    color: #4C5861;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    font-size: 4rem;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
}

#werk h2 {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    color: #4C5861;
    font-size: 2rem;
    font-family: "arial";
}

.button-werk {
    background-color: #4C5861;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    font-weight: 500;
    border-radius: 10rem;
    border: none;
    padding-top: 0.4rem;
    padding-bottom: 0.3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

.button-werk:hover {
  background-color: #F5F5EA;
  border: 0.1rem solid #4C5861;
  color: #4C5861;
}

#werk article {
    position: relative;
    display: block;
    width: 20rem;
    margin-bottom: 3rem;
}

#werk article::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: #4c58615b;
    transition: opacity 0.3s ease;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

#werk article:hover::after {
    opacity: 0;
}

.portfolio {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.tekst h1 {
    color: #F5F5EA;
    font-size: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
}

#over img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#over p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 25rem;
}

.tekst {
    width: 35rem;
    height: 35rem;
    padding: 10rem;
    background-color: #4C5861;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.button-cv {
    margin-top: 2rem;
    background-color: #4C5861;
    border: 2px solid #F5F5EA;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    font-weight: 500;
    border-radius: 10rem;
    padding-top: 0.4rem;
    padding-bottom: 0.3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-transform: uppercase;
    text-decoration: none;
    max-width: 8rem;
    text-align: center;
}

.button-cv:hover {
  background-color: #F5F5EA;
  color: #4C5861;
}

.over {
    display: flex;
    align-items: center;
    justify-content: right;
    margin-bottom: 10rem;
    flex-wrap: wrap;
}

#over {
    position: relative;
    margin-top: 10rem;
}


#skills {
    color: #4C5861;
    font-family: arial;
    font-size: 1.2rem;
    display: flex;
    flex-direction: row;
    margin-bottom: 10rem;
    flex-wrap: wrap;

}

#skill {
    margin-left: 6rem;
    min-width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


#skills h1 {
    color: #4C5861;
    font-size: 4rem;
    margin-bottom: 5rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
}

#skills img {
    width: 40rem;
    height: auto;
}

.skill {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.bar {
    width: 20%;
    height: 0.5rem;
    background-color: #F5F5EA;
    border-radius: 2rem;
    overflow: hidden;
    border: 2.5px solid #4C5861;
}

.fill {
    height: 100%;
    background-color: #4C5861;
    border-radius: 2rem;
}

.fill-90 {
    width: 90%;
}

.fill-70 {
    width: 70%;
}

.fill-60 {
    width: 60%;
}


#contact {
    background-color: #4C5861;
    padding: 6rem;
    margin-bottom: -10rem;
}

.contact {
    display: flex;
    align-items: center;
    justify-content: right;
    flex-wrap: wrap;
}

#contact h2 {
    color: #F5F5EA;
    font-size: 3rem;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    max-width: 27rem;
    text-align: right;
    width: auto;
    margin-right: -1.8rem;
    z-index: 1;
}

#contact img {
    width: 45rem;
    height: auto;
}

#contact p {
    color: #F5F5EA;
    font-size: 1.2rem;
    font-family: "arial";
    font-weight: 700;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
    font-family: "arial";
    font-weight: bold;
    color: #F5F5EA;
    margin-bottom: 1.7rem;
    margin-top: 2rem;
}

.gegevens {
    margin-left: 37.5rem;
}

#contact .iconen {
    display: flex;
    gap: 1.5rem;
}

#contact .iconen a img {
    height: 3rem;
    width: auto;
}

    #contact .iconen a img:hover {
transform: scale(1.04);
}

.naast {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-top: 2rem;
}


#footer {
    background-color: #FFFFF6;
    color: #4C5861;
    padding: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10rem;
}

.links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.links img {
    height: 4rem;
    width: auto;
    margin-bottom: 3rem;
}

.links p {
    font-size: 0.9rem;
    color: #4C5861;
    margin: 0;
    font-family: "arial";
}

.rechts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.rechts nav {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-family: "arial";
    font-weight: bold;
    margin-bottom: 3rem;
}

.rechts nav a {
    text-decoration: none;
    font-weight: bold;
    color: #4C5861;
    font-size: 1.3rem;
}

#footer .iconen {
    display: flex;
    gap: 1.5rem;
}

#footer .iconen img {
    height: 3rem;
    width: auto;
}

    #footer .iconen img:hover {
transform: scale(1.04);
}

#CV {
    width: 75%;
    height: auto;
}

#CV-pagina {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.uitleg {
    width: 35rem;
    height: 35rem;
    padding: 10rem;
    background-color: #4C5861;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.uitleg h2 {
    color: #F5F5EA;
    font-size: 4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    max-width: 10rem;
}

.werk {
    display: flex;
    align-items: center;
    justify-content: right;
    margin-bottom: 10rem;
    margin-top: 10rem;
    flex-wrap: wrap;
}

.portfolio img {
    width: 25rem;
    height: auto;
}

#harfi-werk img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#harfi-werk p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 28rem;
}

#harfi-werk {
    position: relative;
    margin-top: 10rem;
}

#harfi-werk h1 {
    color: #4C5861;
    font-size: 4rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    max-width: 30rem;
}

#Plot-werk img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#Plot-werk p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 28rem;
}

#Plot-werk {
    position: relative;
    margin-top: 10rem;
}

#Plot-werk h1 {
    color: #4C5861;
    font-size: 4rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    width: 28rem;
}

#studioldb-werk h1 {
    color: #4C5861;
    font-size: 4rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    width: 40rem;
}

#studioldb-werk img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#studioldb-werk p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 30rem;
}

#studioldb-werk {
    position: relative;
    margin-top: 10rem;
}

#studioldb-werk h2 {
    min-width: 28rem;
}

#plein-werk h1 {
    color: #4C5861;
    font-size: 4rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    max-width: 40rem;
}

#plein-werk img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#plein-werk p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 28rem;
}

#plein-werk {
    position: relative;
    margin-top: 10rem;
}

#elephant-werk h1 {
    color: #4C5861;
    font-size: 4rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
}

#elephant-werk img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#elephant-werk p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 20rem;
}

#elephant-werk {
    position: relative;
    margin-top: 10rem;
}

#elephant-werk h2 {
    min-width: 28rem;
}

#zee-werk h1 {
    color: #4C5861;
    font-size: 4rem;
    text-transform: uppercase;
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    width: 40rem;
}

#zee-werk img {
    width: auto;
    height: 41rem;
    margin-right: -2rem;
    z-index: 1;
}

#zee-werk p {
    margin-top: 1.5rem;
    color: #F5F5EA;
    font-size: 1rem;
    font-family: "arial";
    padding: 0.3rem;
    line-height: 1.3;
    width: 25rem;
}

#zee-werk {
    position: relative;
    margin-top: 10rem;
}

#zee-werk h2 {
    min-width: 28rem;
}

.portfolio2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.portfolio2 img {
    width: 20rem;
    height: auto;
}

#terug img {
    width: 4rem;
    height: 4rem;
}

#terug {
    gap: 5rem;
    display: flex;
    flex-direction: row;
    margin-left: 7rem;
}

#terug2 img {
    width: 4rem;
    height: 4rem;
}

#terug img:hover {
transform: scale(1.04);
}

#terug2 {
    display: flex;
    flex-direction: row;
    margin-left: 12rem;
    margin-top: 2rem;
}



#willekeurig {
    background-color: #F5F5EA;
    padding: 2rem;
    margin-top: 7rem;
}

#willekeurig h2 {
    font-family: "Bodar", Arial, Helvetica, sans-serif;
    font-size: 2rem;
    margin-top: 5rem;
    text-align: center;
    color: #4C5861;
}

#willekeurig-links {
    padding: 0;
    margin: 5rem auto;
    max-width: 56rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#willekeurig-links li {
    position: relative;
    width: 17rem;
    height: auto;
    overflow: hidden;
    transition: transform 0.2s ease;
}

#willekeurig-links li::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #4c58615b;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    aspect-ratio: 1 / 1;
}

#willekeurig-links li:hover::after {
    opacity: 1;
}

#willekeurig-links li img {
    display: block;
    width: 100%;
    height: auto;
}

#willekeurig-links a {
    text-decoration: none;
    color: #4C5861;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

#willekeurig-links img {
    width: auto;
    height: 17rem;
    display: block;
}

#willekeurig-links span {
    font-family: Arial;
    font-weight: bold;
    font-size: 1.3rem;
    margin: 1.5rem 0;
    color: #4C5861;
}







@media (max-width: 600px) {


    header img {
        width: 3rem;
        height: auto;
    }

    header a {
        font-size: 1rem;
        margin: 1rem;
    }

    header nav {
        gap: 0rem;
    }

    #herosection {
        max-width: 100%;
    }



    #werk {
        max-width: 100%;
    }

    #werk h1 {
        font-size: 3rem;
    }



    #over h1 {
        font-size: 3rem;
        margin-left: -6rem;
    }

    #over p {
        font-size: 1rem;
        margin-left: -6rem;
    }

    .button-cv {
        margin-left: -6rem;
    }

    .over {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .over img {
        margin-left: -2rem;
    }

    .tekst {
        width: 36%;
        height: 20rem;
    }



    #skills h1 {
        font-size: 3rem;
        margin-top: 5rem;
        margin-left: -2rem;
    }

    .skill {
        margin-left: -2rem;

    }

    #skills div {
        font-size: 1rem;
        margin-right: -5rem;
    }

    #skills img {
        width: 100%;
        height: 100%;
    }



    #contact h1 {
        font-size: 3rem;
    }

    #contact img {
        width: 100%;
        height: 100%;
        margin-bottom: 2rem;
    }

    #contact h2 {
        font-size: 2rem;
        text-align: left;
        margin-bottom: 3rem;
        margin-top: 3rem;
    }

    .naast {
        display: block;
    }

    .gegevens {
        display: block;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    #contact p {
        font-size: 1rem;
    }



    footer img {
        width: 3rem;
        height: auto;
    }

    .rechts nav a {
        font-size: 1rem;
        margin-top: 3rem;
    }

    footer nav {
        gap: 0rem;
    }

    .iconen {
        display: block;
    }


    .uitleg {
        height: 20rem;
        width: 44%;
    }

    .uitleg h2 {
        font-size: 2rem;
        margin-left: -6rem;
    }

    .uitleg p {
        font-size: 1rem;
        margin-left: -6rem;
        max-width: 22rem;
    }

    .werk {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .werk img {
        margin-left: -2rem;
        min-width: 100%;
    }

    .tekst {
        width: 36%;
        height: 20rem;
    }

    #terug h1 {
        font-size: 3rem;
        max-width: 20rem;
    }

    #terug {
        margin-left: 3rem;
    }

    #terug2 {
        margin-left: 4rem;
    }

    #CV {
        width: 100%;
        margin-top: 3rem;
    }

}