* {
    box-sizing: border-box;
}

body,
html {
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

.header {
    overflow: hidden;
    background-color: #17153B;
    padding: 20px 10px;
    opacity: 0.8;
}

.header a {
    float: left;
    color: #C8ACD6;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 25px;
    border-radius: 4px;
}

.header a.logo {
    font-size: 2.5rem;
    font-weight: bold;
}

.header a:hover {
    background-color: #ddd;
    color: black;
}

.header a.active {
    background-color: purple;
    color: white;
}

.header a:not(.active):hover {
    background-color: #2E236C;
    color: white;
}

.header-right {
    float: right;
}

#canvas {
    background-color: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

/* Ensure the content sections are centered */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

.contact-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style each section */
section {
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Style section headers */
.section-header {
    font-size: 2.4rem;
    color: #C8ACD6;
    margin-bottom: 10px;
    text-shadow: 0 10px 8px rgba(67, 61, 139, 1);
    text-align: center;
}

.sub-header {
    font-size: 1.4rem;
    color: #C8ACD6;
    margin: 20px 0;
    text-align: center;
    text-shadow: 0 5px 4px rgba(67, 61, 139, 1);
}

/* Style section text */
.section p {
    font-size: 2rem;
    color: #C8ACD6;
    line-height: 1.6;
    max-width: 800px;
    /* Limit width for readability */
    margin: 0 auto 1.5rem auto;
    /* Center horizontally with spacing */
    padding: 0 1rem;
    /* Add padding for better spacing */
    text-align: left;
}

.skills-experience-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px;
    max-width: 90%;
    margin: auto;
}

.skills-section,
.experience-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 3px solid #C8ACD6;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    background-color: #17153B;
    gap: 20px;
    animation: slideUp 1s ease-out;
}

.skills-text {
    flex: 1;
    color: #C8ACD6;
    font-size: 1.2rem;
    /* Slightly smaller font for better readability */
    line-height: 1.8;
    /* Increase line spacing */
    max-width: 800px;
    /* Maintain max-width for centering */
    margin: 0 auto;
    /* Center horizontally */
    padding: 1.5rem 2rem;
    /* Add padding for more space around the text */
    text-align: left;
    /* Center-align text */
    letter-spacing: 0.5px;
    /* Add a bit of letter spacing */
    background-color: rgba(39, 38, 66, 0.9);
    /* Subtle background for contrast */
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
    transition: transform 0.2s ease-in-out;
    /* Hover effect */
}

.skills-text:hover {
    transform: scale(1.02);
    /* Slight grow effect on hover */
}

.experience-text {
    flex: 1;
    color: #C8ACD6;
    font-size: 1.2rem;
}

/* Image Styling */
.skills-image,
.experience-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;

}

.skills-image {
    scale: 2.5;
    padding: 10rem;
    overflow: hidden;
}

.experience-image {
    scale: 1.5;
    padding: 8rem;
    overflow: hidden;
}

.skills-image img,
.experience-image img {
    max-width: 90%;
    max-height: 300px;
    border-radius: 10px;
    border: 5px solid #2E236C;
    object-fit: cover;
}


.experience-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 3px solid #C8ACD6;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    background-color: #17153B;
    gap: 20px;
    animation: slideUp 1s ease-out;
}

.experience-text {
    flex: 1;
    color: #C8ACD6;
}

.experience-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience-image img {
    max-width: 90%;
    max-height: 300px;
    border-radius: 10px;
    border: 5px solid #2E236C;
    object-fit: cover;
}

/* New styles for the two-column experience list */
.experience-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px;
}

.experience-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.experience-list li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #C8ACD6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .experience-section {
        flex-direction: column;
    }

    .experience-columns {
        flex-direction: column;
        align-items: center;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .skills-section,
    .experience-section {
        flex-direction: column;
    }
}

/* Contact Page Form Styles */
.contact-container {
    background-color: #17153B;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: #C8ACD6;
    border: 3px solid #C8ACD6;
    border-radius: 15px;
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #C8ACD6;
    text-shadow: 0 10px 8px rgba(67, 61, 139, 1);
}

/* Form Group Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #C8ACD6;
    border-radius: 4px;
    background-color: #2E236C;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #C8ACD6;
    background-color: #353531;
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #ec4e20;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.1s ease;
}

button[type="submit"]:hover {
    background-color: #ff5722;
}

.mySlides {
    position: relative;
    display: none;
}

.projects-section {
    background-color: #f7f7f7;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.slideshow-container img {
    border-radius: 15px;
    border: 5px solid #2E236C;
    object-fit: cover;
    width: 100%;
}



img {
    vertical-align: middle;
}


/* Set image styles within slides */
.mySlides img {
    width: 100%;
    /* Make the images fill the container */
    height: auto;
    /* Maintain aspect ratio */

    /* Optional: Set a maximum height if desired */
    border: 10px solid #2E236C;
    border-radius: 10px;

}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    /* Position arrows vertically centered */
    transform: translateY(-50%);
    /* Adjust for half of their height */
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #C8ACD6;
    font-size: 2rem;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: left;
    text-shadow: 0 10px 8px rgb(45, 44, 56);
}



.text {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 8px;
}


.slideshow-wrapper {
    display: flex;
    flex-direction: column;
    /* Change to column layout for better control */
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    max-width: 90%;
}





.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 5px solid #C8ACD6;
    background-color: #2E236C;


}



.projects-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;

}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dots {
    text-align: center;
    margin-top: 10px;

}

/* The dots/bullets/indicators */
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    margin-bottom: 2rem;
    position: relative;

}

.dot.active {
    background-color: #ec4e20;
}

.active,
.dot:hover {}


.arrow-down {
    background: #C8ACD6;
    opacity: 0.6;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    transition: 0.4s ease;
    animation-name: arrow;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    padding: 0%;
    margin-bottom: 10rem;
    position: relative;

    left: 49.1%;



}

.arrow-black {
    height: 20px;
    width: 20px;
    border-top: 4px solid #2E236C;
    border-left: 4px solid #2E236C;
    transform: rotate(225deg);
    margin-left: 15px;
    margin-top: 14px;



}

@keyframes arrow {
    0% {
        transform: translateY(0%);

        opacity: 0;
    }


    100% {
        transform: translateY(100%);
        opacity: 0.6;

    }
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

/* Nieuwe styling voor project informatie en knoppen */
.project-info {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #C8ACD6;
    border-radius: 10px;
    max-width: 90%;
    margin: 20px auto;
    text-align: center;
}

.project-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.5;

}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;

}

.btn {
    padding: 10px 20px;
    background-color: #ec4e20;
    color: white;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 1.2rem;

}

.project-info .btn {
    margin: 10px;
    padding: 10px 20px;
    background-color: #2E236C;
    color: #C8ACD6;

}

.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 90%;
    margin: 40px auto;
    padding: 20px;
    background-color: #2E236C;
    border-radius: 15px;
    border: 5px solid #C8ACD6;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.video-section h2 {
    font-size: 2.4rem;
    color: #C8ACD6;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 10px 8px rgba(67, 61, 139, 1);
}

.video-container {
    width: 100%;
    max-width: 800px;
}

video {
    width: 100%;
    border-radius: 10px;
    border: 5px solid #2E236C;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.videoText {
    flex: 1;
    color: #C8ACD6;
    font-size: 1.2rem;
    /* Slightly smaller font for better readability */
    line-height: 1.8;
    /* Increase line spacing */
    max-width: 800px;
    /* Maintain max-width for centering */
    margin: 0 auto;
    /* Center horizontally */
    padding: 1.5rem 2rem;
    /* Add padding for more space around the text */
    text-align: left;
    /* Center-align text */
    letter-spacing: 0.5px;
    /* Add a bit of letter spacing */
    background-color: #17153B;
    /* Subtle background for contrast */
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}


.btn:hover {
    background-color: #ff5722;
}


@media (max-width: 768px) {
    .slideshow-wrapper {
        flex-direction: column;
        gap: 10px;
        /* Reduce gap between slideshow and project info */
    }

    .slideshow-text-block,
    .project-info {
        width: 90%;
    }
}

@media (max-width: 480px) {

    .slideshow-text-block,
    .project-info {
        padding: 15px;
        /* Adjust padding for small screens */
    }

    .btn {
        font-size: 0.9rem;
        /* Adjust button text size for smaller screens */
    }
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 20px;
    }

    .contact-container h2 {
        font-size: 24px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }

    button[type="submit"] {
        font-size: 16px;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(100%);
        /* Starts off-screen at the bottom */
        opacity: 0;
        /* Starts with opacity 0 */
    }

    50% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(0);
        /* Moves to its original position */
        opacity: 1;
        /* Ends with full opacity */
    }
}

.contact-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.circle {
    position: relative;
    width: 20rem;
    height: 20rem;
    margin: 2rem;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    opacity: 0.5;
    border: 6px solid #C8ACD6;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.circle:hover img {
    transform: scale(1.2);
}

.circle:hover {
    transform: scale(1.1);
    opacity: 1;
}

section.content,
section.contact-page,
section.projects-page {
    display: none;
}


/* Show the active section */
section.active {
    display: flex;
    flex-direction: column;
}

section.contact-page {

    flex-direction: row;
}