
body {
    margin: 0;
    background: rgb(133, 134, 136);
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: top;
    height: 100vh;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 650px;
    width: 80%;
}

img {
    display: block;
    width: 100%;
    max-width: 800px;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    cursor: crosshair;
}

    
    @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); }
}







@media (max-width: 350px) {

    @keyframes scaleTitle {
      0% { font-size: 0.5rem; opacity: 1; }
      50% { font-size: 2rem; opacity: 0; }
      100% { font-size: 1rem; opacity: 1; }
    }
  
    h1 {
      font-size: 1rem;
      animation: scaleTitle 5s infinite;
    }
  
    .scene {
      perspective: 700px; /* iets kleiner zodat het minder 'diep' oogt op kleine schermen */
    }
  
    .carousel {
      width: 60px; /* kleinere basis voor de carrousel */
      height: 60px;
    }
  
    .carousel div {
      width: 70px;
      height: 70px;
      background-size: cover;
    }
  
  }
.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;
}
       
       

