
       
body {
    margin: 0;
    background: rgb(133, 134, 136);
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}
h1 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw; /* Volledige breedte */
    height: 10vh; /* Hoogte aanpassen indien nodig */
    margin: 0;
    animation: scaleTitle 10s ;
    z-index: -1;
    
    }
    
    @keyframes scaleTitle {
    0% { font-size: 1rem; opacity: 1; }
    50% { font-size: 4rem; opacity: 0; }
    100% { font-size: 2rem; opacity: 1; }
    }


@keyframes titleAnimation {
0% { color: white; transform: rotate(0deg); }
50% { color: rgb(93, 99, 100); }
100% { color: lightblue; transform: rotate(360deg); }
}


* {
box-sizing: border-box;
margin: 0;
padding: 0;
}



.container {
display: flex;
flex-wrap: wrap;
gap: 20px;
align-items: flex-start;
justify-content: center;
max-width: 1500px;
margin: auto;
padding: 20px;
}

.image-container {
flex: 1 1 300px;
max-width: 100%;
}

.image-container img {
width: 100%;
height: auto;
display: block;
border-radius: 5px;
}

.links-container {
flex: 300px;
display: grid;
gap: 10px;
background-color: #f9f9f9;
padding: 15px;
border-radius: 5px;
}

.links-container a {
display: block;
background-color: #e0e0e0;
padding: 10px;
text-decoration: none;
color: #333;
border-radius: 5px;
text-align: center;
}

.links-container a:hover {
background-color: #ccc;
}



/* Op grotere schermen (desktop) komt de tekst naast de afbeelding */
@media (min-width: 768px) {
.container {
flex-direction: row; /* Afbeelding links, tekst rechts */
align-items: flex-start;
justify-content: center;
gap: 20px; /* Ruimte tussen afbeelding en tekst */
}
.image-container img {
width: 70vw; /* Beperk breedte van afbeelding op desktop */
max-width: 700px;
}
p {
text-align: left;
}
.links-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
font-size: 1rem;
}
}

p {
max-width: 600px; /* Beperkte breedte voor leesbaarheid */
padding: 10px;
}
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .links-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        width: 100%;
        font-size: 0.6rem;
    }
}
@media (min-width: 500px) {
    .image-container img {
        max-width: 1000px;
    }
}






/* Extra schaalbaarheid voor kleine schermen */
@media (max-width: 600px) {

@keyframes scaleTitle {
0% { font-size: 0.5rem; opacity: 1; }
50% { font-size: 2rem; opacity: 0; }
100% { font-size: 1rem; opacity: 1; }
}

}
.info-button {
position: fixed;
top: 10px;
right: 10px;
width: min(90px, 12vmin);
height: min(90px, 12vmin);
color: white;
font-size: min(20px, 2vmin);
font-weight: bold;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
border-radius: 10px;
box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.9);
z-index: 1;
animation: fadeInfoButton 6s infinite alternate ease-in-out;
}

/* Popup achtergrond */
.popup-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(154, 160, 167, 0.9);
justify-content: center;
align-items: center;
z-index: 1000;
}



/* Sluitknop */
.close-popup {
position: absolute;
top: 10px;
right: 10px; /* Kleinere afstand zodat het netjes blijft */
font-size: 60px;
cursor: pointer;
color: rgb(244, 4, 4);
font-weight: bold;
}
/* Volledig scherm popup */
#externalPopup {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: white;
z-index: 1000;
}
#externalPopup iframe {
width: 100%;
height: 90vh;
border: none;
}
.back-button {
display: block;
width: 100%;
text-align: center;
background-color: black;
color: white;
padding: 15px;
cursor: pointer;
font-size: 16px;
border: none;
}
.popup-content {
font-family: Arial, sans-serif;
font-size: 10px;
position: relative; /* Dit is cruciaal zodat de sluitknop goed gepositioneerd wordt */
background-color: white;
padding: 20px;
border-radius: 10px;
width: min(400px, 80%);
text-align: left;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
color: black; /* Zorgt ervoor dat de tekst zichtbaar is */
z-index: 1000;
}

@keyframes fadeInfoButton {
0% {
background-color: #080808; /* Donkergrijs */
}
50% {
background-color: #ff6600; /* Fel oranje */
}
100% {
background-color: #080808; /* Terug naar donkergrijs */
}
}




.bottom-container {
position:absolute;
bottom: 20px; /* Afstand vanaf de onderkant */
font-family: Arial, Helvetica, sans-serif;
left: 50%;
transform: translateX(-50%);
text-align: center;
}

.home-link {
margin-bottom: 10px; /* Ruimte tussen HOME en de footer */
}

.home-link a {
font-size: 1.5rem;
font-weight: bold;
color: #3b404d;
text-decoration: none;
}

.home-link a:hover {
text-decoration: underline;
}

footer {
font-size: 0.7rem;
color: #363434;
}

.home-link a {
font-size: 1.5rem;
font-weight: bold;
color: #3b404d;
text-decoration: none;
}

.home-link a:hover {
text-decoration: underline;
}
