/* Algemene styling */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    color: black;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh; /* Zorgt ervoor dat de achtergrond de hele viewport bedekt */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #ff69b4, white);
    z-index: -1;
}



/* Willekeurige achtergrond met piconglas & Kobe */
#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.background-icon {
    position: absolute;
    width: 30px; /* Kleinere iconen */
    height: auto;
    opacity: 0.2;
}

/* Grote Kobe op de achtergrond met parallax effect */
#parallax-kobe {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

#parallax-kobe img {
    width: 250px;
    opacity: 0.4;
}

/* Dynamische fotogalerij met kleine foto's */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 20px;
}

.gallery img {
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    width: auto;
    height: 150px; /* Kleinere hoogte voor dynamisch effect */
}

/* Knoppen */
.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

button {
    padding: 15px 30px;
    font-size: 18px;
    background: pink;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #ff69b4;
}

/* Regen effect - BELANGRIJK: pas de URL aan naar jouw mapstructuur */
.rain-drop {
    position: fixed;
    width: 30px; 
    height: 30px;
    background: url("../elements/1.png") no-repeat center/contain;
    animation: fall 2s linear infinite; /* Snellere animatie voor vloeiend effect */
    z-index: 9999; /* Zorgt dat druppels boven alles zweven */
}

@keyframes fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
    }
}

/* Pop-up voor Kobe’s neus */
#nose-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    z-index: 1000;
    width: 80%;
    max-width: 500px;
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
}

video {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

#close-popup {
    margin-top: 10px;
    padding: 10px 20px;
    background: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

const style = document.createElement("style");
style.innerHTML = `
@keyframes fall {
    0% { transform: translateY(-10px) scale(1); opacity: 1; }
    100% { transform: translateY(calc(100vh + 100px)) scale(1); opacity: 1; }
}

`;
document.head.appendChild(style);
.rotating-glasses {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: -20px; /* Past de positie aan naast de datum */
}

.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px; /* Zorgt voor wat ruimte onder de titel */
}

.piconglas {
    width: 50px; /* Pas de grootte aan naar wens */
    height: auto;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Ruimte tussen de iconen en de afbeelding */
    margin: 30px 0; /* Extra ruimte boven en onder de afbeelding */
}

.title-image {
    width: 200px; /* Pas de grootte aan naar wens */
    height: auto;
}

.spinning-icon {
    width: 60px; /* Grootte van de draaiende iconen */
    height: auto;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Achter alles */
    pointer-events: none; /* Zorgt ervoor dat ze niet klikbaar zijn */
}

.background-icon {
    position: absolute;
    width: 50px; /* Grootte van de icoontjes */
    height: auto;
    opacity: 0.3; /* Licht doorschijnend voor een mooi effect */
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white; /* Kan je aanpassen naar een andere achtergrondkleur */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Zorgt dat het boven alles staat */
}

#loading-icon {
    width: 80px; /* Pas de grootte aan zoals gewenst */
    height: auto;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white; /* Pas aan naar een andere kleur als gewenst */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Zorgt ervoor dat het boven alles blijft */
}

#loading-icon {
    width: 150px; /* Maak het icoon groter */
    height: auto;
    animation: spin 2s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Voortgangsbalk styling */
#progress-container {
    width: 80%;
    max-width: 400px;
    height: 10px;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: #ff69b4; /* Roze voortgangsbalk */
    transition: width 0.5s ease-in-out;
}

/* Tekst onder de voortgangsbalk */
#loading-text {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}


