body {
    font-family: 'Teko', sans-serif;
    margin: 0;
    color: white;
    overflow-x: hidden;
    max-width: 1920px;
    margin: 0 auto; /* Center de pagina */
}

html, body {
    
    
    font-family: 'Teko', sans-serif;
    color: white;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(closest-side, #000000, #ffffff);
    z-index: -1;
    transition: background 0.5s;
}



.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 275px;
    height: 100vh;
    background-color: #333;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: left;
    z-index: 1;
    text-align: left;
}

.profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

.name {
    font-family: 'Teko', sans-serif;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
    padding-left: 20px;
    padding-right: 20px;
}

.function {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    color: #ccc;
    margin-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

.menu a {
    display: block;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 32px;
}

.menu a:hover {
    background-color: #555;
}

.switch-container {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}



h2 {
    position: relative;
    left: -20px;
    font-size: 48px;
    font-weight: bold;
    color: black;
    margin: 20px 0;
    margin-top: 80px;
    padding-left: 20px;
    text-align: left;
}

.about-me-sec {
    margin-left: 270px;
    padding: 20px;
}

.about-me {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.about-box {
    background-color: #f4f4f4;
    padding: 40px;
    width: 40%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    
}

.about-box h3 {
    margin-bottom: 10px;
    font-size: 36px;
    color: #333;
}

.about-box p {
    font-size: 24px;
    color: #555;
}

.program-icons {
    padding-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.program-icons img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 5px;
    transition: transform 0.2s;
}

.program-icons img:hover {
    transform: scale(1.1);
}

.projects {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-box {
    position: relative;
    width: 30%;
    background-color: #f4f4f4;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    height: 250px;
    cursor: pointer;
}

.project-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.project-box:hover::after {
    background-color: rgba(0, 0, 0, 0.6);
}

.project-box img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    display: block;
}

.project-box h3 {
    margin: 10px 0;
    font-size: 36px;
    color: #333;
}

.project-box p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    color: white;
    font-size: 24px;
    text-align: center;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-box:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.project-box:hover p {
    opacity: 1;
}

.skills-sec {
    margin-left: 270px;
    padding: 20px;
}

.skills {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.skill-box {
    background-color: #f4f4f4;
    padding: 40px 200px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.skill-box h3 {
    margin-bottom: 20px;
    font-size: 36px;
    color: #333;
}

.program-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.program-icons img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.2s;
}

.program-icons img:hover {
    transform: scale(1.1);
}

.about-me-sec,
.projects-sec,
.school-projecten-sec,
.skills-sec {
    margin-left: 275px;
    padding: 20px;
    width: calc(100% - 275px);
    box-sizing: border-box;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    visibility: hidden;
    opacity: 0;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 4px 8px;
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 24px;
    z-index: 10;
    transition: opacity 0.1s ease-in-out;
    pointer-events: none;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.project-box a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    width: 100%;
}



header {
    position: fixed;  /* Zorg ervoor dat de header bovenaan blijft */
    top: 0;
    left: 0;
    width: 100%;  /* Maak de header even breed als de pagina */
    background-color: #444;  /* Nieuwe achtergrondkleur voor de header */
    color: white;  /* De kleur van de tekst */
    padding: 10px 20px;  /* Padding om ruimte rondom de knop te creëren */
    z-index: 10;  /* Zorg ervoor dat de header boven andere elementen blijft */
    display: flex;
    align-items: center;
}

.home-button {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: transparent;  /* Maak de achtergrond van de knop transparant */
    border: 2px solid white;  /* Voeg een witte rand toe rondom de knop */
    
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 0;  /* Zorg ervoor dat de knop aan de linkerkant blijft */
}

.home-button:hover {
    background-color: white;  /* Verander de achtergrondkleur bij hover */
    color: #555;  /* Verander de tekstkleur bij hover naar donkergrijs */
}


header {
    display: flex;
    justify-content: flex-start; /* Zorg dat de knoppen links uitlijnen */
    align-items: center;
    padding: 10px 20px;
    background-color: #333; /* Donkere achtergrondkleur */
    color: white;
    
}

header a {
    text-decoration: none; /* Verwijder onderstreping van links */
    color: white;
    font-size: 18px;
    margin-right: 20px; /* Ruimte tussen de knoppen */
    padding: 10px 15px;
    background-color: #555; /* Knopachtergrondkleur */
    transition: background-color 0.3s ease;
}

header a:hover {
    background-color: #777; /* Hover-effect voor knoppen */
}

.home-button,
.back-button {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: transparent; /* Maak de achtergrond van de knop transparant */
    border: 2px solid white; /* Voeg een witte rand toe rondom de knop */
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-left: 0; /* Zorg ervoor dat de knop aan de linkerkant blijft */
}

.home-button:hover,
.back-button:hover {
    background-color: white; /* Verander de achtergrondkleur bij hover */
    color: #555; /* Verander de tekstkleur bij hover naar donkergrijs */
}

.box-section {
    display: flex;
    flex-direction: column; /* De boxen onder elkaar plaatsen */
    justify-content: flex-start; /* Begin direct bovenaan */
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-top: 0; /* Verwijdert de marge boven de box-sectie */
    margin-bottom: 0;
    margin-top: 80px;
}

/* Styling voor elke box */
.box {
    display: flex;
    align-items: center;
    background-color: #f4f4f4;
    padding: 20px;
    width: 50%;  /* Breedte kan aangepast worden */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    flex-direction: row; /* Afbeelding en tekst naast elkaar */
}

/* Styling voor de afbeelding in de box */
.box-image {
    width: 150px; /* Pas de breedte aan naar wens */
    height: auto;
    object-fit: cover;
    margin-right: 20px;
}

/* Styling voor de inhoud van de box (h3 en p) */
.box-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%; /* Zorgt ervoor dat de tekst de rest van de ruimte opvult */
}

/* Styling voor de titel in de box */
.box-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

/* Styling voor de beschrijving in de box */
.box-description {
    font-size: 24px;
    color: #555;
    text-align: left;
}

/* Hover effect voor de boxen */
.box:hover {
    transform: scale(1.05); /* Verhoogt de grootte van de box bij hover */
}

.box-link {
    display: flex;
    flex-direction: row; /* Zorg ervoor dat de afbeelding en tekst naast elkaar blijven */
    text-decoration: none; /* Verwijder de standaard onderstreping van links */
    color: inherit; /* Zorg ervoor dat de tekstkleur behouden blijft */
    width: 100%; /* Zorg dat de link de hele box bedekt */
    height: 100%; /* Zorg dat de link de hele box bedekt */
}

.box-link:hover {
    transform: scale(1.05); /* Zorg dat de hover-effecten werken */
}

.content-section {
    display: flex;
    justify-content: space-between; /* Plaats de box en GIF naast elkaar */
    align-items: flex-start; /* Zorg dat ze bovenaan uitlijnen */
    gap: 20px; /* Ruimte tussen de box en de GIF */
    padding: 20px;
    margin-top: 100px; /* Zorg dat de inhoud niet overlapt met de header */
}

.left-box {
    background-color: #f4f4f4; /* Lichtgrijze achtergrond */
    padding: 20px;
    margin-top: 10px;
    margin-left: 120px; /* Ruimte aan de linkerkant */
    width: 31%; /* Breedte van de box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionele schaduw */
    margin-top: 40px;
    text-align: left;
}

.left-box h3 {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.left-box p {
    font-size: 24px;
    color: #555;

}

.right-gif {
    width: 45%; /* Breedte van de GIF-container */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 60px; /* Ruimte aan de rechterkant */
}

.gif-image {
    width: 100%; /* Zorg dat de GIF de container vult */
    height: auto;
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionele schaduw */
}

.content-section {
    display: flex;
    justify-content: space-between; /* Plaats de elementen naast elkaar */
    align-items: flex-start; /* Zorg dat ze bovenaan uitlijnen */
    gap: 20px; /* Ruimte tussen de elementen */
    padding: 20px;
    margin-top: 40px; /* Voeg ruimte toe tussen secties */
}

.left-gif,
.right-image {
    width: 45%; /* Beide elementen nemen 45% van de breedte in */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gif-image,
.image {
    width: 80%; /* Zorg dat de afbeelding of GIF de container vult */
    height: auto;
    margin-top: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionele schaduw */
}

.right-image{
    display: flex;
    justify-content: center;
    align-items: center;
    
    margin-right: 60px; /* Ruimte aan de rechterkant */
}

.left-gif {
    width: 45%; /* Breedte van de GIF-container */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 60px; /* Ruimte aan de linkerkant */
}

.single-box {
    background-color: #f4f4f4; /* Lichtgrijze achtergrond */
    padding: 20px 40px; /* Voeg interne ruimte toe */
    margin: 20px auto; /* Center de box en voeg ruimte boven en onder toe */
    width: 50%; /* Breedte van de box */
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optionele schaduw */
    text-align: center; /* Centreer de tekst */
}

.single-box p {
    font-size: 24px;
    color: #555; /* Donkergrijze tekstkleur */
   
}

.video-container {
    display: flex;
    justify-content: center; /* Centreer de video horizontaal */
    margin: 20px auto; /* Voeg ruimte boven en onder toe */
    width: 80%; /* Beperk de breedte van de video-container */
    background-color: #f4f4f4;
}

.video-container iframe {
    width: 100%; /* Zorg dat de video de volledige breedte van de container vult */
    height: 500px; /* Stel een vaste hoogte in voor de video */
   
    
    
}

.photo-section {
    display: flex;
    justify-content: center; /* Centreer de foto horizontaal */
    align-items: center; /* Centreer de foto verticaal */
    padding: 20px;
    margin-top: 20px;
}



.photo-image {
    margin-top: 60px;
    margin-left: 60px;
    width: 40%; /* Zorg dat de foto de container volledig vult */
    height: auto;
    display: block;
}

.divider {
    border: none; /* Verwijder de standaard rand */
    border-top: 2px solid black; /* Voeg een zwarte streep toe */
    margin: 20px 0; /* Voeg ruimte boven en onder de streep toe */
    width: 80%; /* Beperk de breedte van de streep */
    margin-left: auto; /* Centreer de streep */
    margin-right: auto;
}

.character-gallery {
    margin: 40px auto 0 auto;
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.gallery-image {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border: solid 2px #000000;
    background: #f4f4f4;
}



.single-box h3 {
    text-align: left;
    margin-bottom: 10px;
    font-size: 36px;
    font-weight: bold;
    color: #333;
}

.single-box p {
    text-align: left;
    color: #555;
    font-size: 24px;
}

/* Hamburger button styling */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 5px 0;
    background: #555;
    border-radius: 2px;
    transition: all 0.3s;
}

.gallery-image2 {
    width: 30%;
    height: 30%;
    object-fit: cover;
    
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    background: #f4f4f4;
}



/* Responsive styles */
@media all and (max-width: 900px) {
    .sidebar {
        position: fixed;
        left: -275px;
        top: 0;
        width: 250px;
        height: 100vh;
        background: #222;
        z-index: 1000;
        transition: left 0.3s;
        box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    }
    .sidebar.open {
        left: 0;
    }
    .hamburger {
        display: flex;
    }
    .about-me-sec,
    .projects-sec,
    .school-projecten-sec
    .skills-sec {
        margin-left: 0;
        width: 100%;
    }
    .sidebar .menu a {
        font-size: 28px;
    }
    .sidebar .profile-image,
    .sidebar .name,
    .sidebar .function {
        padding-left: 10;
        padding-right: 0;
        text-align: left;
    }
    body {
        overflow-x: hidden;
    }
}


@media all and (max-width: 850px) {
   .projects{
    flex-direction: column;
    align-items: center;
    gap: 20px;
   }
   .about-me{
    flex-direction: column;
    align-items: center;
    gap: 20px;
   }
   

    .content-section{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        
    }
    .gallery-row {
        flex-direction: column;
        align-items: center;
    }
}
