
@media (max-width: 768px) {
    /* Styles for smaller screens */
    .buttonvisueel {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: black;
        color: white;
        text-decoration: none;
        font-size: 36px;
        border-radius: 5px;
        transition: background-color 0.3s ease; 
        width: 90%;
        height: calc(calc(100vh - 70px - 25px - 15px) / 2);
    }

    .vormgeving-gallery .gallery-item img {
        max-width: 100%;
        max-height: 250px;
        object-fit: contain; /* Ensures the image retains its original dimensions */
        display: block;
        padding: 0; /* Remove padding */
        gap: 0; /* Remove gaps between items */
        margin: 0; /* Remove margins */
       
    }


    .fotografie-page {
        overflow: visible !important;
    }

    .gallery-wrapper {
        height: auto;
        width: 100%;
    }

    .gallery-scroll {
        display: flex !important;
        overflow-y: auto !important;
       
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
        scroll-behavior: smooth;
    }

    .gallery {
        flex-direction: column !important;
        height: auto !important;
        width: 100% !important;
    }

    .gallery-item {
        width: 100%;
        height: auto;
        min-height: 250px;
        flex-shrink: 0;
    }

    .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Gill Sans', sans-serif;
    padding-top: 71.2px;
    margin-bottom: 38px;
    display: flex;
    flex-direction: column;
}

.index {
    background-image: url('afbeeldingen/Roos\ Van\ Waveren-74-2.webp'); /* Change this to your image path */
    background-size: cover; /* Cover the entire screen */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100vw;
    background-color: white;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: clamp(1rem, 2vw + 1rem, 36px); /* min, flexible range, max */
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

header h1 a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from the h1 element */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* nav ul li {
    display: inline;
} */

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #333;
}


nav.dropdown {
    position: relative;
}

.dropbtn {
    padding: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: white;
}

.dropbtn img {
    height: 100%;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #444;
}

.dropdown-content {
    display: none; 
    position: absolute;
    right: 0;
    background-color: #444;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content li {
    padding: 10px;
}

.dropdown-content li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0 10px;
}

.dropdown-content li a:hover {
    background-color: #555;
}

.dropdown-content.show {
    display: block;
}

.italic {
    font-style: italic;
}

.fotografie-page {
    overflow: hidden;
}

.button-position {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 109.2px);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    width: 100%;
    max-height: 100%;
    flex-wrap: wrap;
    padding-top: 10px;
}


.button:hover {
    background-color: #2a2b2b;
}

.button { 
    width: 90%; 
    height: 25vh;
}

.scroll-btn {
    display: none;
}

/* Footer Styles */
footer {
    background-color: white;
    color: whitesmoke;
    padding: 10px;
    text-align: right;
    position: fixed;
    bottom: 0;
    padding-right: 5%;
    width: 100%;
}

footer a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

footer i {
    margin-right: 5px;
}

/* Wrapper for the gallery and buttons */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 95%; /* Adjust width as needed */
    height: calc(100vh - 70px);
    margin: 0 auto;
}

/* Scrollable area */
.gallery-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto; /* Enables horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 10px; 
    scroll-snap-type: x mandatory; /* Optional: adds snap to each image */
}

.gallery {
    display: flex;
    align-items: stretch;
    height: 100%;
    flex-wrap: nowrap; /* No wrapping, all images in one line */
    flex-direction: row;
}

.vormgeving-gallery {
    width: 750px;
    max-width: 89vw;
    height: auto;
}

.scroll-vormgeving-gallery {
    display: flex;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap; /* No wrapping, all images in one line */
    flex-direction: row;
}

div.vormgeving-scroll {
    padding: unset;
}

.gallery-item {
    padding: 1px;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
    width: auto;
    min-width: fit-content;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: contain;
}

.scroll-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Styles for alternating image/description */
.post-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px;
}

.post {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post:nth-child(odd) {
    flex-direction: row;
}

.post:nth-child(even) {
    flex-direction: row-reverse;
}

.post img {
    /* width: 350px; */
    max-width: 89vw;
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.description {
    flex: 1;
    padding: 15px;
}

.description h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 1.5em;
}

.quote {
    font-style: italic;
}

.description p {
    margin: 10px 0 0;
    color: #555;
    line-height: 1.6;
    max-width: 900px;
}

/* About Page Layout */
.about-page {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Ensure it wraps on smaller screens */
    align-items: center; /* Align items vertically in the center */
    gap: 20px; /* Space between photo and text */
}

.about-photo {
    flex: 1; /* Flex grows to fill space */
    min-width: 200px; /* Minimum width for the photo */
}

.about-photo img {
    width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for the image */
}

.about-text {
    flex: 2; /* Flex grows more than the photo */
}

.about-text p {
    margin-bottom: 15px; /* Space between paragraphs */
    line-height: 1.6; /* Improve readability */
}

/* Contact Page Layout */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info p {
    margin: 10px 0; /* Space between paragraphs */
}

.contact-info a {
    color: #333; /* Change link color as desired */
    text-decoration: none; /* Remove underline */
}

.contact-info a:hover {
    text-decoration: underline; /* Underline on hover for clarity */
}


/* Scrollable Gallery */
.scrollable-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px; /* Space between images */
    padding: 20px;
    width: 85%;
    margin: 0 auto;
}

.scrollable-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Project description styling (taking 1 column) */
.project-description {
    grid-column: span 1; /* Takes 1 column like a vertical image */
    background-color: #f0f0f0; /* Light background for contrast */
    padding: 30px;
    border-radius: 10px;
    h2 {
        margin-bottom: 10px;
    }
}


/* Horizontal Image (Spanning 2 Columns) */
.horizontal-image {
    grid-column: span 2; /* Spans 2 columns */
}


/* Default styles */
.container {
    max-width: 100%;
    overflow: hidden;
}

/* .gallery-scroll {
    overflow-x: auto; /* Enable horizontal scroll */
    /* white-space: nowrap;
    scroll-behavior: smooth;
    padding: 10px 0;
} */ 

/* .gallery {
    display: inline-flex; /* Keep items in a row */
/* } */

/* .gallery-item {
    flex: 0 0 auto; Prevent images from shrinking */
    /* width: auto;
    margin: 0 10px;
} */ 

/* Scroll buttons */
.scroll-btn {
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    font-size: 24px;
    padding: 5px 10px;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
}


/* buttons van de visueel keuzepagina menu */

.buttonvisueel {
    /* display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    text-decoration: none;
    font-size: 36px;
    border-radius: 5px;
    transition: background-color 0.3s ease; */
    width: 85%;
    /* height: 80vh;
    text-transform: uppercase;
    text-align: center;
    text-shadow: black 1px 1px 5px;

    padding: 30px;
    background-size: 120%; 
    background-position: center;
    background-repeat: no-repeat; Do not repeat the image */
}

.fotografie {
    background-image: url('afbeeldingen/R1-09716-0000.webp');
}

.vormgeving {
    background-image: url('afbeeldingen/DSC00431.webp');
}

/* Three columns section */
.three-columns {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    margin: 20px 0;
}

  @media (max-width: 768px) {
    .three-columns {
        flex-direction: column;
        gap: 40px;
    }
  }

.column {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 0;
    text-align: center;
}

.inhurenalscvtekst{
    text-align: center;
}

@media (min-width: 769px) {
    .inhurenalscvtekst{
        padding-left: 25%;
        padding-right: 25%;
    }
}

@media (max-width: 768px) {
    .italictextcvpadding {
        padding-right: 20px;
        padding-left: 20px;
    }
}

/* wat de intellicode voorstelt: */
    .post-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .post {
        display: flex;
        flex-direction: column;
        gap: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 5px;
        background-color: #fff;
    }

    .post img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

    .post iframe {
        max-width: 100%;
        border-radius: 5px;
    }

    .description {
        padding: 10px;
    }

    .description h3 {
        margin: 0 0 10px;
    }

    .description p {
        margin: 0 0 10px;
    }

    .quote {
        font-style: italic;
        color: #555;
    }

    footer {
        text-align: center;
        padding: 10px;
        background-color: #f4f4f4;
    }

    footer a {
        text-decoration: none;
        color: #333;
    }

    @media (max-width: 768px) {
        .post-container {
            padding: 10px;
        }

        .post {
            padding: 10px;
        }

        .description {
            padding: 5px;
        }
    }


.post {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

    @media (min-width: 768px) {
        .post-container {
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .post {
            flex: 1 1 calc(48% - 20px);
            margin: 10px;
        }
    }

    @media (max-width: 480px) {
        body {
            font-size: 14px;
            margin: 0;
            padding: 0;
        }
    
        .post-container {
            padding: 5px;
            flex-direction: column;
            gap: 10px;
        }
    
        .post {
            padding: 5px;
            width: 100%;
        }
    
        .description {
            padding: 5px;
        }
    
        img {
            max-width: 100%;
            height: auto;
        }

        iframe {
            max-width: 100%;
        }
    }
    @media (max-width: 480px) {
    body {
        font-size: 14px;
        margin: 0;
        padding: 0;
    }

    .post-container {
        padding: 5px;
        flex-direction: column;
        gap: 10px;
    }

    .post {
        padding: 5px;
        width: 100%;
    }

    .description {
        padding: 5px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    iframe {
        max-width: 100%;
    }
}

@media (min-width: 769px) {
    /* Styles for larger screens */

    .button {
        width: 45%;
        min-width: fit-content;
        height: 36vh;
    }

    .gallery-item {
        width: calc(85vw / 3);
    }

    .post img, .post .gallery-item img {
        height: 400px;
    }

    .about-content {
        flex-direction: row;
        text-align: left;
    }

    .contact-info {
        align-items: flex-end;
        text-align: right;
    }

    .buttonvisueel{
        width: 45%;
        min-width: fit-content;
        height: 80vh;
    }

    .buttons {
        display: flex;
        justify-content: center;
        gap: 25px;
        width: 100%;
        max-height: 100%;
        flex-wrap: wrap;
    }

    .gallery {
        display: flex;
        align-items: center;
        height: 100%;
        flex-wrap: nowrap; /* No wrapping, all images in one line */
        gap: 5px;
    }

    .gallery-item {
        padding: 3px;
        height: 98%;
        display: flex;
        justify-content: center;
        width: auto;
        min-width: fit-content;
    }

    /* Wrapper for the gallery and buttons */
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 85%; /* Adjust width as needed */
    height: calc(100vh - 109.2px);
    margin: 0 auto;
}


.post {
    display: flex;
    margin-bottom: 40px;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.scroll-vormgeving-gallery {
    display: flex;
    align-items: center;
    height: 100%;
    flex-wrap: nowrap; /* No wrapping, all images in one line */
    flex-direction: row;
    gap: 5px;
}
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Gill Sans', sans-serif;
    padding-top: 71.2px;
    margin-bottom: 38px;
    display: flex;
    flex-direction: column;
}

.index {
    background-image: url('afbeeldingen/Roos\ Van\ Waveren-74-2.webp'); /* Change this to your image path */
    background-size: cover; /* Cover the entire screen */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    top: 0;
    width: 100vw;
    background-color: white;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: clamp(1rem, 2vw + 1rem, 36px); /* min, flexible range, max */
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

header h1 a {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Inherit color from the h1 element */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

/* nav ul li {
    display: inline;
} */

nav ul li a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #333;
}


nav.dropdown {
    position: relative;
}

.dropbtn {
    padding: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background-color: white;
}

.dropbtn img {
    height: 100%;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #ffffff;
}

.dropdown-content {
    display: none; 
    position: absolute;
    right: 0;
    background-color: #000000;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 6px;
}

.dropdown-content li {
    padding: 10px;
}

.dropdown-content li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0 10px;
}

.dropdown-content li a:hover {
    background-color: #555;
}

.dropdown-content.show {
    display: block;
}


.button-position {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100vh - 109.2px);
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    text-decoration: none;
    font-size: 36px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    text-align: center;
    padding: 30px;
}

.button:hover {
    background-color: #2a2b2b;
}


/* Footer Styles */
footer {
    background-color: white;
    color: whitesmoke;
    padding: 10px;
    text-align: right;
    position: fixed;
    bottom: 0;
    padding-right: 5%;
    width: 100%;
}

footer a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}

footer i {
    margin-right: 5px;
}

/* Scrollable area */
.gallery-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto; /* Enables horizontal scrolling */
    scroll-behavior: smooth; /* Smooth scrolling */
    width: 100%;
    height: 100%;
    /* max-height: 100%; */
    /* padding: 10px; */
    scroll-snap-type: x mandatory; /* Optional: adds snap to each image */
}



.vormgeving-gallery {
    width: 750px;
    max-width: 89vw;
    height: auto;
}

div.vormgeving-scroll {
    padding: unset;
}



.gallery-item img {
    width: auto;
    height: 100%;
    border-radius: 5px;
}

.scroll-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Styles for alternating image/description */
.post-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px;
}


.post:nth-child(odd) {
    flex-direction: row;
}

.post:nth-child(even) {
    flex-direction: row-reverse;
}

.post img {
    /* width: 350px; */
    max-width: 89vw;
    /* height: 400px; */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}

.description {
    flex: 1;
    padding: 15px;
}

.description h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 1.5em;
}

.quote {
    font-style: italic;
}

.description p {
    margin: 10px 0 0;
    color: #555;
    line-height: 1.6;
    max-width: 900px;
}

/* About Page Layout */
.about-page {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.about-content {
    display: flex;
    flex-wrap: wrap; /* Ensure it wraps on smaller screens */
    align-items: center; /* Align items vertically in the center */
    gap: 20px; /* Space between photo and text */
}

.about-photo {
    flex: 1; /* Flex grows to fill space */
    min-width: 200px; /* Minimum width for the photo */
}

.about-photo img {
    width: 100%; /* Responsive image */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners for the image */
}

.about-text {
    flex: 2; /* Flex grows more than the photo */
}

.about-text p {
    margin-bottom: 15px; /* Space between paragraphs */
    line-height: 1.6; /* Improve readability */
}

/* Contact Page Layout */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-info h2 {
    margin-bottom: 15px;
}

.contact-info p {
    margin: 10px 0; /* Space between paragraphs */
}

.contact-info a {
    color: #333; /* Change link color as desired */
    text-decoration: none; /* Remove underline */
}

.contact-info a:hover {
    text-decoration: underline; /* Underline on hover for clarity */
}


/* Scrollable Gallery */
.scrollable-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    gap: 20px; /* Space between images */
    padding: 20px;
    width: 85%;
    margin: 0 auto;
}

.scrollable-gallery img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}


/* Project description styling (taking 1 column) */
.project-description {
    grid-column: span 1; /* Takes 1 column like a vertical image */
    background-color: #f0f0f0; /* Light background for contrast */
    padding: 30px;
    border-radius: 10px;
    h2 {
        margin-bottom: 10px;
    }
}


/* Horizontal Image (Spanning 2 Columns) */
.horizontal-image {
    grid-column: span 2; /* Spans 2 columns */
}


/* Default styles */
.container {
    max-width: 100%;
    overflow: hidden;
}

.gallery-scroll {
    overflow-x: auto; /* Enable horizontal scroll */
    white-space: nowrap;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.gallery {
    display: inline-flex; /* Keep items in a row */
}
 

/* Scroll buttons */
.scroll-btn {
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
    position: absolute;
    z-index: 1;
    font-size: 24px;
    padding: 5px 10px;
}

.left-btn {
    left: 0;
}

.right-btn {
    right: 0;
} 

/* buttons van de visueel keuzepagina menu */

.buttonvisueel {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    color: white;
    text-decoration: none;
    font-size: 36px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    /* width: 45%; */
    /* min-width: fit-content; */
    /* height: 80vh; */
    text-transform: uppercase;
    text-align: center;
    text-shadow: black 1px 1px 5px;

    padding: 30px;
    background-size: 120%; 
    background-position: center;
    background-repeat: no-repeat; /* Do not repeat the image */
  
}

.fotografie {
    background-image: url('afbeeldingen/R1-09716-0004.webp');
}

.vormgeving {
    background-image: url('afbeeldingen/DSC00431.webp');
}

/* Bold and Italic Text */
.bold-italic {
    font-weight: bold;
    font-style: italic;
}

