:root {
    /* Kleuren */
    --color-background: #fbf9f5;
    --color-dark-bg:  #f5f1ea;
    --color-navbar: #f1eae2;
    --color-primary: #121212;
    --color-secondary: #745237;
    --color-accent: #d9225f;
    --color-accent-secondary: #84646E;
    --color-divider: #888;
    --color-skill-text: #222;
    --color-skill-level: #888;
    --color-case-bg: #fff;
    --color-case-shadow: rgba(30, 30, 30, 0.15);
    --color-case-content: #878787;
    --color-h2-light: #e4d7c6;
    --color-h2-dark:  #d1bc9f;

    /* Fonts */
    --font-main: 'Inter', Arial, sans-serif;
    --font-secondary: 'Oswald', Arial, sans-serif;
    --font-accent: 'Playfair Display', 'Caveat', Arial, sans-serif;
    --font-size-base: 18px;
    --font-size-h1: 100px;
    --font-size-h2: 50px;
    --font-size-h3: 25px;
    --font-size-base-mobile: 16px;
    --font-size-accent: 20px;
    --font-size-h1-mobile: 50px;
    --font-size-h2-mobile: 40px;
    --font-size-h3-mobile: 22px;
    --font-size-accent-mobile: 18px;
    --font-weight-normal: 400;
    --font-weight-accent: 500;

    /* Overig */
    --border-radius-btn: 50px;
    --gap-main: 100px;
    --border-radius-main: 5px;
    --navbar-height: 70px;
    --intro-image-size: 300px;
    --container-max-width: 1200px;
    --nav-gap: 30px;
    --nav-gap-mobile: 20px;
}

/* ALGEMEEN */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 350;
    background-color: var(--color-background);
    color: var(--color-primary);
    overflow-x: hidden !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

/* HEADER */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: var(--navbar-height);
    color: var(--color-primary);
    width: 100vw;
    box-sizing: border-box;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1200;
    box-shadow: 0 12px 32px -12px rgba(30, 30, 30, 0.13);
}

.navbar .container {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    position: relative;
}

.navbar .nav-links {
    display: flex;
    gap: var(--nav-gap);
    margin-left: 0;
}


.navbar .nav-links a:hover {
    color: var(--color-accent);
}

/* .navbar .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
} */

.navbar .logo img {
    height: 45px;
}

/* Hamburger menu styling */
.hamburger-menu {
    width: 30px;
    height: 24px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1201;
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.3s ease-in-out, opacity 0.1s ease;
    position: relative;
}

/* Hamburger naar kruisje animatie */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Contact-link standaard verbergen */
.contact-link {
    display: none;
}

.container {
    max-width: var(--container-max-width);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    margin-top: 8%;
}

.intro-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* kijkhiernaar */
.home #intro {
    margin-top: 8%;
}

.kunstpagina #intro {
    display: block;
    margin-top: 10vw;
}

.projecthva #intro,
.talenoveral #intro {
    margin-top: 40%;
    margin-bottom: 40%;
    display: block;
}

h1 {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 450;
    font-size: var(--font-size-h1);
    line-height: 8.5rem;
    letter-spacing: 1px;

}

h2 {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 500;
    font-size: var(--font-size-h2);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: left;
}

/* playfair display subtitles */
.intro-subtitle,
.nav-links a,
.button,
h3 {
    font-size: var(--font-size-accent);
    font-weight: var(--font-weight-accent);
    font-family: var(--font-accent);
    color: var(--color-accent-secondary);
}

.projecthva h3,
.talenoveral h3 {
    color: var(--color-accent);
}

.nav-links a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.25s cubic-bezier(.77, 0, .18, 1);
}

p,a, #skills span, .site-footer span {
    font-size: var(--font-size-base);
    line-height: 1.8;
}

#skills h3,
#intro h3 {
    margin-bottom: 16px;
}

/* zwarte pijl */
.scroll-down-indicator {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 1.5s infinite;
}

/* Simpele bounce animatie voor aandacht */
@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.intro-text h1 .accent {
    color: var(--color-accent);
}

#intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-main);
    align-items: center;
}

.mask-effect {
  --g: 10%/45% 45% no-repeat conic-gradient(#000 0 0);
  --i: 0%;
  
  max-width: 500px;
  max-height: 500px;
  object-fit: cover;
  margin-left: auto; /* Dit duwt de afbeelding naar rechts */

  mask:
    left   var(--i) top    var(--g),
    bottom var(--i) left   var(--g),
    top    var(--i) right  var(--g),
    right  var(--i) bottom var(--g);

  filter: grayscale();
  transition: .35s linear;
  cursor: pointer;
}

/* Tijdens hover schuiven de stukken dicht + grijs wordt kleur */
.mask-effect:hover {
  --i: 10%;
  filter: grayscale(0);
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.case-card {
    width: 100%;
    justify-self: stretch;
    background: var(--color-case-bg);
    border-radius: var(--border-radius-main);
    border: 5px solid transparent;
    box-shadow: 0 8px 32px var(--color-case-shadow);
    text-decoration: none;
    color: var(--color-primary);
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition:
        background 0.3s cubic-bezier(.77, 0, .18, 1),
        border-color 0.5s cubic-bezier(.77, 0, .18, 1),
        box-shadow 0.5s cubic-bezier(.77, 0, .18, 1);
}

.case-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 16px 4px var(--color-accent);
}

.case-content {
    padding: 15px 20px;
}

.case-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-main);   
    margin-bottom: 0;
    display: block;
    background: none;
}

.skills-lists-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.skills-lists-row>div {
    flex: 1 1 0;
}

.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: none;
    /* Verwijder max-width zodat ze kunnen meegroeien */
    width: 100%;
}

.skills-divider {
    border: none;
    border-top: 2px solid var(--color-secondary);
    margin-bottom: 24px;
    width: 100%;
    margin-left: 0;
}

.skills-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--color-primary);
    min-height: 32px;
    /* optioneel, voor gelijke hoogte */
}

.skill-icon,
.skill-icon-placeholder {
    height: 28px;
    width: auto;
    /* <-- Laat de breedte automatisch schalen */
    margin-left: 18px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    /* Zorg dat ze exact gelijk zijn */
}

.skill-name {
    flex: 1;
}

.skill-level {
    margin-right: var(--gap-main);
    /* veel ruimte tussen naam en niveau */
    color: var(--color-accent-secondary);
    font-size: 1rem;
}

/* Plaats iconen rechts van de naam op desktop */
.skills-list li {
    flex-direction: row-reverse;
}

.skills-lists-row {
    display: flex;
    gap: 40px;
    margin-top: 0;
}

.about-me-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 10vw;
}

.about-me-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-primary);
}

/* kunst knop */
.button {
    background-color: var(--color-primary);
    color: var(--color-case-bg);
    padding: 10px 35px;
    border-radius: var(--border-radius-btn);
    cursor: pointer;
    font-family: var(--font-accent);
    font-weight: var(--font-weight-accent);
    display: inline-block;
    margin-top: 32px;
    width: auto;
    min-width: 120px;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background-color: var(--color-accent);
    color: var(--color-case-bg);
}

.site-footer {
    background: var(--color-primary);
    color: var(--color-background);
    padding: 30px 0 30px 0;
    position: relative;
    z-index: 5;
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0px;
    display: block;
}

/* Zorg dat anchors niet onder de vaste header verdwijnen */
#cases,
#skills,
#about_me,
#contact {
    scroll-margin-top: 90px;
}

#scrollToTopLogo {
    cursor: pointer;
}

.break-mobile {
    display: none;
}

@keyframes letter-bounce {
    0% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(2px);
    }

    80% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

.hover-letter {
    display: inline-block;
    cursor: pointer;
    will-change: transform;
}

.hover-letter.bouncing {
    animation: letter-bounce 0.45s cubic-bezier(.77, 0, .18, 1);
}

#menuOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 30, 30, 0.25);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

#menuOverlay.active {
    opacity: 1;
    pointer-events: auto;
    display: block;
}

.section1 {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    min-height: 55vh;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 0;    
}

.section1 .mockup {
    position: absolute;
    top: 10px;
    min-height: 60vw;
}

.mockup {
    width: 100%;
    border-radius: var(--border-radius-main);
    display: block;
}   

.section1 h1,
.art h1 {
    font-size: var(--font-size-h1);
    margin-bottom: 10px;
}

.steekwoorden {
    font-size: 1.1rem;
    color: var(--color-accent-secondary);
    margin-bottom: 18px;
    margin-top: 18px;
}

.section1 p {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.7;
    max-width: 700px;
}

/* project section rows*/
.first-row,
.second-row,
.third-row,
.end-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-main);
    align-items: start;
    margin-top: 5vw;
    margin-bottom: 5vw;
    padding: 10vw 0;
}

.end-row {
    margin-bottom: 0;
}

.first-row,
.third-row{
    direction: rtl; /* zodat de tekst normaal blijft */
}

.first-row p,
.third-row p {
    direction: ltr;
}

.section1 .container {
    position: relative;
    z-index: 2;
    margin-top: 0;
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 5vw;
    height: 100%;
    display: flex;
    align-items: center;
}

.section1 .introductie {
    background: rgba(251, 249, 245, 0.95);
    padding: 40px;
    border-radius: var(--border-radius-main);
    max-width: 600px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Force banner intro row layout */
.section1 .intro-row {
    width: 100%;
    display: block;
}

.section1 .intro-row {
    display: block;
}

.intro-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-main);
    align-items: center;
}

/* donkere achtergrond project pagina's */
.section3,
.section5 {
    background-color: var(--color-dark-bg);
}

.project-hva-video-col .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
}

.project-hva-video-col .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius-main);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.hva-proces h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 18px;
}

.project-hva-extra-text h2 {
    font-size: var(--font-size-h2);
    margin-bottom: 18px;
}

.project-hva-extra-text p {
    font-size: 1.1rem;
    color: #222;
    line-height: 1.7;
    max-width: 700px;
}

.extra-img {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    min-height: 180px;
}

.extra-img img {
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: contain;
    border-radius: var(--border-radius-main);
    display: block;
}
/* 
.projecthva .extra-img img {
    border: 2px solid    #d9225f;
} */

.project-hva-pdf-link {
    color: var(--color-accent);
    font-weight: 400;
    /* Maak de link dunner */
    text-decoration: underline;
    transition: color 0.2s;
    display: inline-block;
    margin-top: 10px;
}

.project-hva-pdf-link:hover {
    color: var(--color-accent);
}


.project-hva-section {
    margin-top: 100px;
    margin-bottom: 100px;
}

.slideshow-wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slideshow-images {
    width: 100%;
    aspect-ratio: 16/9;
    /* Houdt verhouding aan, werkt in moderne browsers */
    height: auto;
    /* Laat de hoogte afhangen van de breedte */
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-main);
    margin-bottom: 15px;
    /* Geen extra ruimte onder de images */
}

.slideshow-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* <-- was: cover */
    opacity: 0;
    transition: opacity 0.6s;
    z-index: 1;
}

.slideshow-images img.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: var(--color-primary);
    border: none;
    font-size: 28px;
    cursor: pointer;
    z-index: 3;
    transition: color 0.3s ease;
    padding: 0;
    width: auto;
    height: auto;
}

.slideshow-arrow:hover {
    color: var(--color-accent);
}

.slideshow-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: transparent;
    color: var(--color-primary);
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 4; /* above arrows */
    transition: color 0.3s ease;
    padding: 0;
    width: auto;
    height: auto;
}

.slideshow-zoom:hover {
    color: var(--color-accent);
}

/* Show zoom icon only on hover over slideshow */
.slideshow-zoom { opacity: 0; pointer-events: none; }
.slideshow-wrapper:hover .slideshow-zoom { opacity: 1; pointer-events: auto; }

.slideshow-prev {
    left: 5px;
}

.slideshow-next {
    left: auto;
    right: 5px;
}

.slideshow-wrapper {
    position: relative;
}

.artwork {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 10vw;
}

.artwork img {
    width: 100%;
    aspect-ratio: 4/6;
    object-fit: cover;
    display: block;
}

/* Hover zoom indicator for Kunst page gallery */
.kunstpagina .artwork img {
    position: relative;
    cursor: zoom-in;
}
.kunstpagina .artwork img::after {
    content: '';
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0A4.5 4.5 0 119.5 5a4.5 4.5 0 010 9z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}
.kunstpagina .artwork img:hover::after {
    opacity: 1;
}

/* lightbox zijn de artwork images en de inzoom functie */
#lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--border-radius-main);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.lightbox-img-wrapper {
    position: relative;
    display: inline-block;
}

/* Lightbox close: fixed, high contrast, consistent placement */
#lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, color 0.2s, background 0.2s, transform 0.1s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

#lightbox-close:hover,
#lightbox-close:focus {
    background: rgba(0, 0, 0, 0.75);
    outline: none;
}

/* Lightbox arrows: fixed, centered vertically, high contrast */
.lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, color 0.2s, background 0.2s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.lightbox-arrow:hover,
.lightbox-arrow:focus {
    background: rgba(0, 0, 0, 0.75);
    outline: none;
}

#lightbox-prev { left: 24px; }
#lightbox-next { right: 24px; }

@media (max-width: 600px) {
    #lightbox-close,
    .lightbox-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
        box-shadow: 0 3px 12px rgba(0,0,0,0.35);
    }
    #lightbox-prev { left: 16px; }
    #lightbox-next { right: 16px; }
    #lightbox-close { top: 16px; right: 16px; }
}

@media (max-width: 1300px) {

    .container,
    .footer-content,
    .navbar .container {
        max-width: 90vw;
        margin-left: 5vw;
        margin-right: 5vw;
    }

    .kunstpagina #intro {
        margin-top: 15vw;
    }

    .projecthva #intro,
    .talenoveral #intro {
    margin-top: 20vw;
    margin-bottom: 20vw;
}

    h1, .art h1 {
        font-size: 75px;
        line-height: 1.2em;
    }

    .case-card {
        width: 100%;
        max-width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 900px) {
    .about-me-grid {
        grid-template-columns: 1fr;
        margin-bottom: 20vw;
    }

    .slideshow,
    .project-hva-slideshow-text {
        width: 100%;
        text-align: left;
    }

    .slideshow-images {
        height: 200px;
    }

    .skills-lists-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .skill-name {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .skill-level {
        margin-left: 32px;
        text-align: right;
        display: block;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {

    .navbar .logo {
        position: static;
        transform: none;
    }

    .navbar .nav-links {
        display: flex;
        /* Altijd flex, niet display: none! */
        flex-direction: column;
        gap: var(--nav-gap-mobile);
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 360px;
        max-width: 50vw;
        height: 100vh;
        background: var(--color-background);
        padding: 100px 30px 30px 30px;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.07);
        z-index: 1100;
        transform: translateX(100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s cubic-bezier(.77, 0, .18, 1), opacity 0.3s;
    }

    .navbar .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links.active a {
        font-family: var(--font-accent);
        font-weight: var(--font-weight-accent);
        font-size: var(--font-size-accent);
    }

    .nav-links.active {
        padding-top: 30vw;
    }

    .hamburger-menu {
        display: flex;
    }

    .contact-btn {
        display: none;
    }

    .contact-link {
        display: block;
        color: var(--color-primary);
        text-decoration: none;
        font-size: 18px;
        font-family: var(--font-main);
        font-weight: 500;
    }

    .contact-link:hover {
        text-decoration: underline;
    }

    .container,
    .cases-section,
    .skills-section,
    .about-me-section {
        margin-left: 8vw;
        margin-right: 8vw;
        max-width: fit-content;
        margin-top: 10vw;
    }

    .navbar .container {
        margin-left: 8vw;
        margin-right: 8vw;
    }

    .home #intro {
        margin-top: 15vw;
    }

    .intro-text p {
        text-align: start;
    }

    h1 {
        font-size: var(--font-size-h1-mobile);
        line-height: 1.3;
        text-align: left;
    }

    h2 {
        font-size: var(--font-size-h2-mobile) !important;
    }

    .skills-section {
        max-width: 80%;
    }

    .skills-lists-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        max-width: 100%;
        margin-left: 8vw !important;
        margin-right: 8vw !important;
    }

    .break-mobile {
        display: block;
        width: 100%;
        height: 0;
    }

    .container.eindresultaat {
        display: block !important;
    }

    .about-img {
        width: 400px;
        height: 400px;
        object-fit: cover;
        margin: 0 auto;
    }

    .projecthva #intro,
    .kunstpagina #intro,
    .talenoveral #intro {
        margin-top: 30vw;
    }

    .art h1 {
        font-size: var(--font-size-h1-mobile);
        margin-bottom: 10px;
    }

    .artwork,
    .intro-row{
        display: block;
    }

    .artwork img {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .skills-divider {
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .hva-proces {
        margin-top: 50px;
    }

    .section1 h1 {
        font-size: var(--font-size-h1-mobile);
        margin-bottom: 10px;
    }

    h2 {
        font-size: var(--font-size-h2-mobile);
    }

    .intro-subtitle,
    .kunst-btn,
    h3 {
        font-size: var(--font-size-accent-mobile);
    }

    p, a, .site-footer span, .about-buttons a, #skills span{
        font-size: var(--font-size-base-mobile);
        line-height: 2;
    }

    .mask-effect {
        max-width: 100%;
        width: 100%;
        max-height: none;
        height: auto;
        margin-top: 10vw;
         --g: none;
        --i: none;
        mask: none;
        filter: none;
        transition: none;
        cursor: default;
    }

    .mask-effect:hover {
        --i: none;
        filter: none;
    }

    #intro {
        margin-top: 20vw;
        padding-bottom: 0;
    }

    .first-row,
    .second-row,
    .third-row,
    .end-row {
        display: block !important;
        grid-template-columns: 1fr;
        gap: 24px;
    }
    #intro {
        flex-direction: column;
        text-align: start;
        display: block !important;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .case-card {
        width: 100%;
        max-width: 100%;
    }

    .about-me-grid {
        display: block !important;
        flex-direction: column;
        gap: 0;
        margin-bottom: 20vw;
    }

    .about-me-section {
        max-width: 80vw;
        margin-left: 8vw;
        margin-right: 8vw;
        width: 100%;
        box-sizing: border-box;
    }

    .about-img {
        width: 80vw;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }

    .slideshow-wrapper {
        width: 100%;
        margin-top: 10vw;
    }
}

@media (max-width: 480px) {

    .cases-section,
    .skills-section,
    .about-me-section,
    .container {
        margin-left: 8vw;
        margin-right: 8vw;
        box-sizing: border-box;
        width: auto;
        max-width: 100%;
        margin-top: 15%;
    }

    .intro-text h1 {
        font-size: var(--font-size-h1-mobile);
        line-height: 1.15;
        text-align: start;
    }

    /* h1 margin top index */
    #intro {
        margin-top: 30%;
        margin-bottom: 20%;
    }

    .case-card {
        max-width: 98vw;
        min-width: 0;
        border-radius: var(--border-radius-main);
    }

    .case-content {
        padding: 10px 15px;
    }

    .cases-grid {
        gap: 20px;
    }

    .case-image {
        border-radius: var(--border-radius-main);
    }

    .skills-lists-row>div:last-child .skill-level {
        margin-left: 32px;
        /* vergroot deze waarde naar wens, bv. 32px of 40px */
        text-align: right;
        display: block;
    }
    .artwork img {
        max-width: 100%;
        height: auto;
    }

    .home #intro {
        margin-top: 30vw;
    }

}

@media (max-width: 400px) {

    .skills-list .skill-level,
    .soft-skills-list .skill-level {
        display: none !important;
    }

    .skills-list li {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        /* Flip order: icon appears right, name left */
        margin-bottom: 5px;
    }

    .skill-name {
        text-align: left;
        flex: 1;
    }

    .skill-icon {
        margin-right: 0;
    }

    #intro {
        padding-bottom: 0 !important;
    }
}