body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #FFFFFF; /* Text color */
    background-color: #121212; /* Background color */
    transition: background-color 0.5s ease-in-out, color 0.5s ease-in-out; /* Transition effect for background-color and text color */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;


}

main {
    flex: 1; /* Allow main content to expand and push the footer to the bottom */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the content horizontally */
    text-align: center; /* Center the text */
    max-width: 1200px; /* Set a maximum width */
    margin: 0 auto; /* Center each section */
}

nav {
    max-width: 100%; /* Prevent nav from exceeding the screen */
    overflow-x: hidden; /* Hide any overflow */
}


.light-theme {
    background-color: #ffffff; /* Lichte achtergrond */
    color: #000000; /* Donkere tekstkleur */
}

header {
    background: #8f0101;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

nav .tabs {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
}

nav .tabs li {
    padding: 10px 15px; /* Adjust padding for mobile screens */
    font-size: 0.9rem; /* Slightly smaller font size */
    cursor: pointer;
    transition: background 0.3s;
    flex: 1; /* Make tabs share available space */
    text-align: center; /* Center text within tabs */
}

nav .tabs li:hover {
    background: #000000;
}

nav .tabs li.active {
    background: #000000;
    color: #ffffff;
}

.profile-img {
    width: 180px;
    height: auto;
    border-radius: 0;
    object-fit: cover;
    clip-path: inset(0 20px 0 0);
}

.tab-content {
    display: none; /* Hide all tab contents by default */
    padding: 20px;
    
}

.tab-content.active {
    display: block; /* Show only active tab content */
}

footer {
    position: relative; /* Remove 'fixed' to allow it to flow with content */
    width: 100%;
    background-color: rgb(0, 0, 0);
    color: rgb(82, 80, 80);
    text-align: center;
    padding: 10px; /* Add padding for better spacing */
}

html, body {
    max-width: 100%;
    overflow-x: hidden; /* Disable horizontal scrolling */
    margin: 0; /* Reset margins */
    padding: 0;
}

.image-row {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping of images */
    justify-content: center; /* Center align the images */
    gap: 10px; /* Reduce the gap for smaller screens */
}

.image-row img {
    width: 100%; /* Allow image to scale with its container */
    max-width: 300px; /* Limit to a reasonable maximum size */
    height: auto; /* Maintain aspect ratio */
}


.image-row figcaption {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9rem; /* Adjust font size for mobile */
}

@media screen and (max-width: 768px) {
    main {
        padding: 10px; /* Reduce padding on smaller screens */
        display: flex; /* Use flexbox for alignment */
        flex-direction: column; /* Stack children vertically */
        align-items: center; /* Center align horizontally */
        text-align: center; /* Center the text content */
    }

    .tab-content {
        padding: 10px; /* Adjust section padding */
        max-width: 100%; /* Ensure it doesn't exceed the screen width */
    }

    header {
        padding: 15px; /* Adjust header spacing */
        text-align: center; /* Ensure the header is centered */
    }

    nav .tabs {
        justify-content: center; /* Center the navigation tabs */
        gap: 5px; /* Add some space between wrapped tabs */
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    nav .tabs li {
        font-size: 0.9rem; /* Reduce tab font size */
        padding: 9px 10px; /* Adjust tab spacing */
        text-align: center; /* Center align individual tabs */
    }
}



.container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding: 10px;
}

section {
    width: 100%;
    padding: 20px;
    text-align: center; /* Center text in each section */
}

/* Styling for the theme button */
.theme-button {
    position: fixed; /* Fixed position on the viewport */
    top: 10px; /* Distance from the top */
    right: 10px; /* Distance from the right */
    background-color: transparent; /* Transparent background */
    border: none; /* Remove border */
    cursor: pointer; /* Pointer cursor on hover */
    z-index: 1000; /* Ensure it's above other elements */
}

.theme-button img {
    width: 30px; /* Adjust size of the SVG */
    height: 30px;
    transition: transform 0.5s ease-in-out; /* Smooth scale transition */
}

.theme-button:hover img {
    transform: scale(1.2); /* Slightly enlarge on hover */
}

.theme-button img.fade-out {
    opacity: 0; /* Make it invisible */
    transform: scale(0.8); /* Slightly shrink */
}

.theme-button img.fade-in {
    opacity: 1; /* Make it visible */
    transform: scale(1); /* Reset to original size */
}

a {
    color: #8f0101; /* Change to your desired color */
}

a:hover {
    color: #ff4500; /* Hover color */
}
