* {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

:root {
    --primary-color: #a52929;
    --text-color: #ffffff;
    --background-light: #ffffff;
    --header-height: 100vh;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 110%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: #ffffff;
    background: linear-gradient(#7fadd3cc, #6ce8cb, #cdd37f, #c06b2a, #d12738, #d127a9);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    line-height: 1.5;
    overflow-x: hidden;
    font-size: large;
}

.header-background {
    background: linear-gradient(#80b4d400, #80b4d400, #7fadd3), 
    url("../afbeeldingen/OTHER/Background.jpg") center center fixed;
    background-size: cover;
    text-align: center;
    height: 100vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

nav {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px 0;
}

nav ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

.header-content img {
    max-width: 250px;
    border-radius: 50%;
}

.header-content h1, .header-content p {
    margin: 0.5rem 0;

}

.homepage {
    background-color: #ffffff; 
    padding-left: 40px;
    padding-right: 40px;
    margin: 40px;
    border-radius: 0.5%;
    text-align: center;
}

main > section > img {
    margin-left: 610px;
    width: 320px;
    height: 320px;
    }

    main > section > p {
        text-align: center;
        }

.pfp {
    max-width: 40%;
    height: auto; 
    border-radius: 50%; 
}

.drawings {
    display: grid;
    grid-template-columns: auto auto auto auto;
    padding: 15px;
    border-radius: 0.5%;
    text-align: center;
    margin-bottom: 10px;
}

.digital {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 400px;
    height: 400px;
    margin: 50px;
    margin-top: -20px;
    display: inline-flex;
    line-height: 200px;
}


.traditional {
    display: grid;
    grid-template-columns: auto auto auto;
    width: 400px;
    height: 400px;
    margin: 50px;
    margin-top: -20px;
    display: inline-flex;
    line-height: 200px;
}

.process {
    display: grid;
    grid-template-columns: auto auto auto auto;
    width: 300px;
    height: 300px;
    margin: 20px;
    margin-left: 50px;
    margin-top: -20px;
    display: inline-flex;
    line-height: 200px;
}


.OC {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    width: 300px;
    height: 300px;
    margin: 80px;
    margin-right: 110px;
    margin-top: -20px;
    display: inline-flex;
    line-height: 200px;
}

footer {
    text-align: center;
    padding: 10px;
}

footer ul {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

footer ul li a:hover {
    color: #e3e32b;
}

h2 {
    color: #ffffff;
    font-size: 2.3rem;
}

a {
    color: #ffffff;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #78d4cc;
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }
  
  .fotozahra {
        width: 50%; 
        margin: 0 auto; 
    }
}

@media (max-width: 768px) {
    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .header-content img {
        max-width: 150px;
    }

    .pfp {
        max-width: 80%;
        margin: 0 auto;
    }

    main > section > img {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: 80%;
    }

    .digital, .traditional, .process, .OC {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: auto;
    }

    .digital img,
    .traditional img,
    .process img,
    .OC img {
        width: 100px;
        height: auto;
    }

    .homepage {
        margin: 10px;
        padding: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    nav ul {
        padding: 10px 0;
    }
}