/* Base styles */

#resumewrapper {
    padding: 0 2rem 0 2rem;
}


@font-face {
    font-family: 'JD';
    src: url('../fonts/JournalDingbats2.ttf') format('truetype');
    font-weight: 400;
    /* Normal weight */
    font-style: normal;
}

@font-face {
    font-family: 'Monument';
    src: url('../fonts/MonumentGrotesk-Regular.ttf') format('truetype');
    font-weight: 400;
    /* Normal weight */
    font-style: normal;
}

/* Medium Weight */
@font-face {
    font-family: 'Monument';
    src: url('../fonts/MonumentGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    /* Medium weight */
    font-style: normal;
}

/* Bold Weight */
@font-face {
    font-family: 'Monument';
    src: url('../fonts/MonumentGrotesk-Bold.ttf') format('truetype');
    font-weight: 700;
    /* Bold weight */
    font-style: normal;
}


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

:root {
    --primary-color: #666666;
    /* Dark Blue */
    --accent-color: #e0e0e0;
    /* Bright Red */
    --background-color: #ffffff;
    /* Dark Background */
    --text-color: #000000;
    /* Light Text */
    --border-color: #e4e4e4;
    /* Light Gray */
    --border-size: 1px;
}

body,
html {
    font-family: 'Monument', sans-serif;
    /* Set the custom font */
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1.3rem;
    letter-spacing: -0.015rem;
    color: var(--text-color);
    margin: 0;
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 1rem;
}

body img,
video {
    border-radius: 0.3rem;
}

h1 {
    text-indent: 0rem;
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    font-weight: normal;
    line-height: 1.1;
    padding-bottom: 1rem;
}

h2 {
    font-size: clamp(2.4rem, 3vw, 2.8rem);
    font-weight: normal;
    line-height: 1.1;
}

h3 {
    padding-bottom: 0.7rem;
    font-weight: 500;
    line-height: 1.1 !important;
    font-size: 1.4em;
    text-decoration: none;
    width: 100%;
    margin-top: 0;
}

h4 {
    line-height: 1.3 !important;
    font-size: 1.1rem;
    font-weight: 500;
}

h5 {
    font-size: clamp(1rem, 2vw, 4rem);
    font-weight: 400;
    line-height: 1.05;
    padding-right: 0.5rem;
}

h6 {
    font-weight: 300;
    font-size: clamp(0.9rem, 1vw, 3rem);
    font-weight: normal;
    line-height: 1.3;
}


.eyebrow {
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #868686;
}



a:link,
a:visited {
    color: var(--text-color);
}

a:hover,
a:active {
    color: var(--accent-color);
}

/* Main Structure */

.container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 0rem;
    flex-wrap: wrap;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background-color: var(--text-color);
    width: 0%;
    z-index: 10;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        /* Final state */
    }
}

.introcontainer {
    width: 99%;
}

.introcontainer p {
    padding-bottom: 1rem;

}

#nav {
    width: auto;
    position: fixed;
    top: 1rem;
    left: 1.5rem;
    z-index: 11;
    font-weight: 500;
    text-transform: uppercase;
}

.btn {
    display:inline-block;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 999px;
    background-color: #000;
    color: #fff !important;
    padding: 0.6rem 1rem 0.6rem 1rem;
    margin-right: 0.3rem;
    margin-bottom: 1rem;
}

.btn:hover {
    background-color: #1300bc;
    color: #fff;
}



.image-container {
    width: 100%;
    /* Set the div to be 100% of the width */
    height: 340px;
    /* Set initial height to zero */
    background-color: #2ecc71;
    background-size: cover;
    /* Make the image cover the div while maintaining aspect ratio */
    background-position: center;
    /* Center the image */
    background-repeat: no-repeat;
    /* Avoid repeating the image */
}



.fixed a:visited:hover {
    color: black;
}

.top-mobile {
    display: none;
}



/* Portfolio Block */

.content-wrapper {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.portfolioitemcontainer {
    transition: background-color 0.7s ease;
}

.portfolioitemcontainer p {
    font-weight: 500;
    font-size: 0.92rem;
}

.portfolioitemcontainer.active {
    background-color: #ff0000;
    /* Change to your desired active color */
}

.portfolioitemcontainer.inactive {
    background-color: #2ecc71;
}

.left {
    flex: 1.4;
    padding: 0;
    order: 0;
}

.left img,
.left video {
    max-width: 100%;
    height: auto;
    display: block;
    background-color: transparent;
    margin-top: var(--border-size);
}

.center {
    flex: 1;
    padding: 0 0rem 0 0;
    overflow-y: none;
    order: -1;
}

.center p {
    padding-bottom: 1rem;
}

.center a {
    font-size: 0.75rem;
}

.right {
    width: 100%;
    padding-top: 1.2rem;
    display: flex;
    flex-direction: row;
    text-transform: uppercase;
}


.container-opzet {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.block-opzet {
    flex: 1;
    min-width: 25%;
    /* Ensures each block takes 25% width on larger screens */
    text-align: center;
    padding: 10px;
}

.block-opzet img {
    width: 100%;
    height: auto;
    /* Maintains aspect ratio */
}

.block-opzet p {
    margin-top: 10px;
    font-size: 0.8rem;
}

.divider {
    width: 100%;
    height: 7rem;
    background-color: #fff;
}


.logos {
    display: flex; /* Centers content horizontally and vertically */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    width: 55%; /* 50% of the page width */
    margin: 0 auto; /* Centers the div itself within the page */
    height: auto; /* Optional: set a height if needed */
}

.logos img {
    width: 100%; /* Makes the image scale with the parent container's width */
    height: auto; /* Maintains the aspect ratio of the image */
}

/* Ensure the SVG images are sized correctly */




@media (max-width: 800px) {

    body,
    html {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .block-opzet {
        min-width: 50%;
        /* Full width on smaller screens */
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    h5 {
        font-size: clamp(1rem, 2vw, 4rem);
        font-weight: normal;
    }

    #nav {
        width: auto;
        position: fixed;
        top: 1rem;
        left: 1rem;
        z-index: 11;
        font-weight: 500;
        font-size: 1rem;
        text-transform: uppercase;
    }
    

    .introcontainer {
        width: 99%;
    }

    .portfolioitemcontainer {
        transition: background-color 0.7s ease;
    }

    .scrollable {
        padding: 0rem;
    }


    .container {
        gap: 1rem;
        padding: 0rem;
    }

    .scrollable {
        width: 100%;
        height: auto;
        position: static;
    }

    .portfolioitemcontainer {
        flex-direction: row;
    }

    .content-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }


    .left {
        order: -1;
    }

    .center {
        width: 100%;
        max-width: 1000px;
        order: 0;
    }

    .divider {
        height: 4rem;
    }

    .logos {
        display: flex; /* Centers content horizontally and vertically */
        justify-content: center; /* Horizontal centering */
        align-items: center; /* Vertical centering */
        width: 100%; /* 50% of the page width */
        margin: 0 auto; /* Centers the div itself within the page */
        height: auto; /* Optional: set a height if needed */
    }
    .card {
        flex: 0 0 80%; /* 80% of the container's width */
        max-width: 300px !important; /* Maximum width for larger screens */
        border: 0px solid #ddd; /* Optional border */
        border-radius: 8px; /* Rounded corners */
        overflow: hidden; /* Prevent content overflow */
        padding: 0rem;
        scroll-snap-align: center; /* Ensure each card snaps to center */
    }
}


/* Container for the entire slider */
.slider-container {
    overflow-x: auto; /* Allow horizontal scrolling */
    width: 100%; /* Full-width container */
    position: relative; /* Allows for better layout control */
    scroll-snap-type: x mandatory; /* Enable snap-to-item behavior */
    display: flex; /* Flex container for consistent alignment */
}

/* Inner slider track */
.slider {
    display: flex; /* Arrange cards in a row */
    gap: 15px; /* Space between cards */
    scroll-snap-align: start; /* Ensure cards align at start */
}

/* Individual cards */
.card {
    flex: 0 0 80%; /* 80% of the container's width */
    max-width: 400px; /* Maximum width for larger screens */
    border: 0px solid #ddd; /* Optional border */
    border-radius: 8px; /* Rounded corners */
    overflow: hidden; /* Prevent content overflow */
    padding: 0rem;
    scroll-snap-align: center; /* Ensure each card snaps to center */
}

/* Card image */
.card img {
    width: 100%; /* Full width of the card */
    height: auto; /* Maintain aspect ratio */
}

/* Card description */
.card p {
    padding: 10px; /* Space around the text */
    font-size: 16px; /* Readable text size */
    text-align: center; /* Center-align the description */
}



