/* Reusable fade-in-up animation for text */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: hero-fade-in-up 1.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

/* Reusable fade-in-up animation for images */
.fade-in-img {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    animation: hero-fade-in-up-img 2s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

@keyframes hero-fade-in-up-img {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* Animation for kruisje3 (close icon) */
.kruisje {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}
.kruisje:hover {
    transform: rotate(20deg) scale(1.1);
}
/* Eric Meyer compressed reset css */
a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

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

body {
    background-color: #3C6E47;

}

img {
    max-width: 100%;
    display: block;
}

header {
    margin-inline: 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2%;
    margin-bottom: 5%;


}

main {
    margin-inline: 5%;
}

html {
    scroll-behavior: smooth;
}



.main-nav a {
    padding: 10px;
    font-size: 1.2rem;
    font-weight: 500;

    text-decoration: none;
}

.menu-item {
    display: none;
    color: black;

}

.menu {
    color: #333333;

}


.myportfolio a {
    font-family: 'General Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #F9F5E3;
    text-align: center;
    min-width: 220px;
    text-decoration: none;
}

.myportfolio a:hover {
    color: #333333;
    transition: all 0.3s ease-in-out;
}

.nav-links {
    background: #F9F5E3;

    border-radius: 50px;
    padding: 10px 32px;
    text-align: center;
    max-width: 650px;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    height: 30px;
    color: #333333;
}

.nav-links a {
    font-family: 'General Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #333333;

    text-decoration: none;
    padding: 10px 20px;
}

.nav-links a:hover {
    color: #3C6E47;

    transition: all 0.3s ease-in-out;

}

.socials {
    display: flex;
    flex-direction: column;



}

.socials a {

    font-family: 'General Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;


    padding: 5px;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    color: #F9F5E3;
}

.socials a:hover {
    color: #333333;
    transition: all 0.3s ease-in-out;
}


.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F9F5E3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;

    display: none;
}




.hero-container {
    display: flex;


    margin-top: 100px;
    justify-content: space-between;

    margin-bottom: 100px;
    ;



}

.hero-text {
    max-width: 750px;
    opacity: 0;
    transform: translateY(40px);
    animation: hero-fade-in-up 2s cubic-bezier(0.23, 1, 0.32, 1) 0.2s forwards;
}

@keyframes hero-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 7vw, 4rem);
    color: #F9F5E3;
    margin-bottom: 20px;
    animation: anime 4s ease-in-out;
}

.highlight {
    font-family: 'General Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 7vw, 4rem);


}

.short-des {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(1.2rem, 5vw, 2rem);
    color: #F9F5E3;
    margin-bottom: 20px;
}

.intro-des {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: #F9F5E3;
    margin-bottom: 20px;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    /* of een percentage, bv. 30vw */
    height: 350px;
    /* zelfde als breedte voor een vierkant */


}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 50%;
    display: block;

}

.pijltje {
    position: absolute;
    left: -78%;
    top: -26%;
    max-width: 300px;
    width: 100%;
    transform: rotate(-10deg);
    pointer-events: none;
}

@media (max-width: 1200px) {

    .menu-item {
        display: block;
        height: 20px;
        color: #333333;


    }

    .nav-links {
        display: none;


    }

    .sidebar {
        width: 40%;
        /*40% van schermbreedte*/
    }

    .sidebar .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: none;
    }

    .sidebar .socials a {
        /*toont de socials in de sidebar*/
        display: flex;
        flex-direction: column;
        align-items: center;

        color: #333333;
    }

    .sidebar .socials a:hover {
        color: #3C6E47;
        transition: all 0.3s ease-in-out;
    }

    .myportfolio a {
        font-size: 1.5rem;
        background-color: #F9F5E3;
        color: #333333;
        border-radius: 50px;
        padding: 0.5rem 1rem;


    }



    .pijltje {
        position: absolute;
        left: -3%;
        top: 10%;
        max-width: 300px;
        width: 100%;
        transform: scaleY(-1) rotate(-39deg);
        pointer-events: none;
    }

    .hero-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image-container {
        width: 100%;
        height: auto;
        margin-bottom: 50px;
    }

    .hero-image {
        width: 100%;
        max-width: 250px;
        height: auto;

    }
}

@media (max-width: 800px) {

    .pijltje {
        position: absolute;
        left: -10%;
        top: 10%;
        max-width: 300px;
        width: 100%;
        transform: scaleY(-1) rotate(-39deg);
        pointer-events: none;

        max-width: 150px;
        width: 100%;
    }

    .sidebar .socials {
        display: none;
    }



}

.menu {
  color: #333333;
  transition: color 0.2s;
}
.menu-item:hover .menu {
  color: #3C6E47;
}

/* Animation for kruisje (close icon) in sidebar */
.sidebar .menu-item img.menu {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}
.sidebar .menu-item:hover img.menu {
    transform: rotate(20deg) scale(1.1);
}




@media (max-width: 500px) {

    .myportfolio {
        margin: 0 auto;
        margin-top: 20px;

    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text .highlight {
        font-size: 2rem;
    }

    .hero-text .short-des {
        font-size: 1.5rem;
    }

    .hero-text .intro-des {
        font-size: 1.2rem;
    }

    .hero-image-container {
        width: 100%;
        height: auto;
        margin-bottom: 30px;
    }

    .hero-image {
        width: 100%;
        max-width: 200px;
        height: auto;
    }

    .socials {
        display: none;

    }


}



h2 {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: 2rem;
    color: #333333;
    margin-bottom: 2%;

}

.passion-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #333333;
    padding: 2rem 0;
    width: 100%;
    position: relative;
    left: 50%;
    right: 50%;
    transform: translateX(-50%);
    justify-content: center;
    overflow: hidden;
    /* Zorgt voor symmetrie */
}



.passion-item {
    flex: 1 1 200px;
    /* Elk item neemt evenveel ruimte, minimaal 200px breed */
    max-width: 250px;
    /* Optioneel: maximale breedte */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;

}

.passion-item p {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #F9F5E3;
    margin-bottom: 0;
}




.container-work {
    background-color: #A8D5BA;
    padding-top: 10%;
    padding-inline: 5%;
    padding-bottom: 10%;

}




.text-arrow {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.arrow {
    width: 250px;
    height: auto;
    margin-left: 10px;
}

.work-des {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    line-height: 1.6;
    color: #333333;
    max-width: 900px;
    margin-bottom: 20px;

}


.link {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #F9F5E3;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    margin: 0 auto;

    a {
        color: #F9F5E3;
        text-decoration: none;
    }

}





h3 {
    color: #333333;
    font-family: "General Sans";
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;

    padding-top: 4rem  ;

}

.project-desc {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #333333;
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    line-height: 140%;
}

h4 {
    color: #333333;
    font-family: "General Sans";
    font-style: normal;
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    font-weight: 600;
    margin-top: 0.5rem;
}

.project-item img {
    width: 100%;
    max-width: 590px;
    object-fit: cover;
    display: block;

}

.project-info {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #333333;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}


.projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-evenly;
    gap: 2rem;
}

.my-projects {
margin-inline: 5%;
}

.project-item {
    margin: 0 auto;
}

@media (max-width: 800px) {
    .projects-container {
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .project-item {
        margin: 0 auto;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    transform: scale(1.03);
    transition: all 0.3s ease-in-out;

}

.breakline {
    width: 100%;
    height: 4rem;
    background-color: #333333;
    margin-bottom: 4rem;
}

.experiments {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;

}

@media (max-width: 1000px) {
    .pijltje-exp {
        display: none;


    }
}


.text-exp {
    max-width: 800px;
}

h5 {
    color: #F9F5E3;
    font-family: "General Sans";
    font-size: 3rem;
    font-style: normal;
    font-weight: 700;
}

.experiment-desc {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 5vw, 2rem);
    color: #F9F5E3;
    margin-top: 1rem;
    margin-bottom: 2rem;
    line-height: 140%;
}

.getintouch {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 10rem;
}

.projects-bg {
    background-color: #A8D5BA;
    padding-bottom: 2rem;



}

h6 {
    color: #F9F5E3;
    font-family: "General Sans";
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.text-touch {
    font-family: 'General Sans', sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    color: #F9F5E3;
    margin-bottom: 20px;
    text-align: center;
}

.socials-footer {
    display: flex;
    gap: 3rem;
    background-color: #F9F5E3;
    padding: 2rem 3rem;
    justify-content: center;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #333333;
}

.socials-footer a {
    color: #333333;
    text-decoration: none;
}

.socials-footer a:hover {
    color: #3C6E47;
    transition: all 0.3s ease-in-out;
}

.email-link {
    color: #333333;
    text-decoration: none;
}

.email-link:hover {
    color: #F9F5E3;
    transition: all 0.3s ease-in-out;
}

.white-text {
    color: #F9F5E3;
}

.project-info-white {
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #F9F5E3;
    margin-top: 0,5rem;
    margin-bottom: 1rem;
}


@media (max-width: 550px) {
  h3 {
    font-size: 1.5rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h5 {
    font-size: 1.3rem;
  }
  .project-desc,
  .experiment-desc {
    font-size: 1rem;
  }
  .project-info, .project-info-white {
    font-size: 0.95rem;
  }
}

