html {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    /* Lichte achtergrondkleur */
    color: #fff;
    position: fixed;
    width: 100%;
    /* overflow: auto; */
    /* Zorg ervoor dat de inhoud scrollbaar is */
    overflow: auto;
    overflow-x: hidden;
    cursor: none;
    /* Verberg de standaard muiscursor */
    background: transparent;
    /* Prevent scrollbars */
}

.custom-cursor {
    position: fixed;
    width: 20px;
    /* Grotere breedte */
    height: 20px;
    /* Grotere hoogte */
    background-color: rgba(0, 255, 255, 0.8);
    /* Lichte kleur cyan */
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(0, 255, 255, 1.2), 0 0 60px rgba(0, 255, 255, 1), 0 0 90px rgba(0, 255, 255, 0.8);
    transform: translate(-50%, -50%);
    z-index: 2;
}

@media (max-width: 768px) {
    .custom-cursor {
        display: none;
    }

    body {
        cursor: initial !important;
    }
}


header {
    background-color: #fff2;
    border-bottom: #fff3 3px solid;
    color: #fff;
    padding: 20px 0;
    z-index: 1;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.2rem;
}

nav ul li a:hover {
    color: #9bcfe4;
}

.logo {
    height: 50px;
}

.large-logo {
    display: block;
    margin-bottom: 50px auto;
    margin-top: 20px auto;
    height: 300px;
    position: relative;
    left: -20px;
    z-index: 2;
    /* Zorg ervoor dat het logo boven de cirkel blijft */
    max-width: 100%;
    /* Make logo responsive */
}

.logo-container {
    position: relative;
    padding-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500px;
    /* Pas de grootte aan naar wens */
    height: 200px;
    max-width: 100%;
    /* Make container responsive */
    margin: auto;
}

.circle-background {
    position: absolute;
    width: 500px;
    /* Grootte van de cirkel */
    height: 500px;
    background: radial-gradient(circle, rgba(0, 162, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(15px);
    z-index: 1;
    max-width: 100%;
    /* Make background responsive */
    max-height: 100vh;
}

.centered-content {
    max-width: 1200px;
    margin: 0 auto;
    /* background-color: #fff; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 50px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: calc(10vh);
    /* Zorg ervoor dat de div automatisch in het midden van het scherm staat */
    width: 100%;
    /* Ensure full width on small screens */
    box-sizing: border-box;
    /* Include padding in width */
}

.categorie-project p {
    font-size: large;
}

.home,
.projecten,
.over-mij,
.contact,
.categorie-projecten,
.categorie2-projecten,
.categorie3-projecten,
.categorie4-projecten {
    text-align: center;
    width: 100%;
    /* Full width for responsive behavior */
}

.categorie,
.categorie2,
.categorie3,
.categorie4 {
    display: block;
    transition: transform 0.3s;
    width: 100%;
    /* Full width for responsive behavior */
}

.categorie5 {
    padding-bottom: 20px;
}


.categorie:hover,
.categorie2:hover,
.categorie3:hover,
.categorie4:hover {
    transform: scale(1.05);
}

.categorie img,
.categorie2 img {
    max-width: 100%;
    /* Responsive images */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 10px;
}

.categorie3 img,
.categorie4 img {
    max-width: 100%;
    /* Responsive images */
    height: auto;
    /* Maintain aspect ratio */
    border-radius: 10px;
}

.categorie h2 {
    margin-top: 20px;
    color: #47f3ff;
}

.categorie2,
.categorie4 {
    margin-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
    position: relative;
    top: 150px;
}

.categorie3 {
    margin-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
    position: relative;
}

.categorie p,
.categorie2 p,
.categorie3 p,
.categorie4 p {
    font-size: 25px;
}

.project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.project p {
    margin-top: 20px;
}

/* From Uiverse.io by SelfMadeSystem */
/*
More comprehensive version at shenanigans.shoghisimon.ca/collection/css-rain-bg/
 */

section.contact {
    width: 350px;
    max-width: 90vw;
}

section.contact * {
    box-sizing: border-box;
}

section.contact input {
    display: block;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
}

section.contact textarea {
    width: 100%;
    padding: 10px;
}


section.contact textarea,
section.contact input {
    border: 1px solid #47f3ff;
    border-radius: 5px;
    background-color: #000;
    color: #47f3ff;
}

section.contact button {
    width: 100%;
    height: 50px;
    background-color: #47f3ff;
    border: none;
    border-radius: 5px;
    margin-top: 20px
}

canvas {
    display: block;
}

canvas#c {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}
/* Responsive navigation */
@media (max-width: 768px) {
    nav ul {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    nav ul li a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 5px;
    }
}