html, body {
  height: 100%; 
  margin: 0;    
  display: flex;
  flex-direction: column; 
  overflow: hidden;
}

@font-face {
  font-family: 'Bree Serif';
  src: url('/fonts/bree-serif/BreeSerif-Regular.ttf') format('truetype');
}

.header {
  text-align: center;
  display: flex;
  align-items: center;
  background: rgb(255, 192, 82);
  color: #133d63;
  font-size: 30px;
  height: 90px;
  padding: 10px;
}

h1 {
  font-family: 'Bree Serif';
  font-size: 30px;
}
ul {
  list-style: none;
}

li {
  display: inline;
  margin-right: 10px;
  font-family: 'Bree Serif';
}

.wrapper-main {
  flex: 1; 
  display: flex; /* Zet de wrapper in een flex container */
  justify-content: center; /* Centreer de container horizontaal */
  align-items: center; /* Centreer de container verticaal */
  gap: 60px;
  padding: 40px;
}


.container-controls {
  background-color: #133d63;
  font-family: 'Bree-serif';
  font-size: 80px;
  color: #ffffff;
  display: flex;
  align-items: center; /* Centreer verticaal */
  height: 100%; /* Zorg dat de container de beschikbare hoogte vult */
  flex-direction: column; /* Zorg ervoor dat de inhoud verticaal wordt gestapeld */
  border-radius: 20px;

}


.now-playing {
  display: flex; /* Maak de .now-playing container een flexbox */
  justify-content: center; /* Centreer horizontaal */
  align-items: center; /* Centreer verticaal */
  width: 100%; /* Vul de volledige breedte */
  height: 100%; /* Vul de volledige hoogte van .container-controls */
}

.video-container {
  position: relative; /* Zorg ervoor dat de video goed schaalt */
  width: 80%; /* Stel een breedte in voor de video-container (bijvoorbeeld 80% van de beschikbare breedte) */
  max-width: 800px; /* Limiteer de maximale breedte */
  aspect-ratio: 16 / 9; /* Houd de video verhouding vast */
  background-color: none;
  display: flex;
  justify-content: center; /* Centreer de video horizontaal */
  align-items: center; /* Centreer de video verticaal */
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Zorg ervoor dat de video goed in de container past */
}
.controls {
  width: 650px;
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 90px;
  margin-bottom: 20px;


}

.controls img {
  height: 100px;
}

.container-img img{
  height: 100%;
  width: 100%;

}

.container-img img:hover {
  cursor: pointer;
  scale: 1.2;
}

.text-button {
  position: relative;              /* Ensures the text is positioned within this div */
}


.text-button h1 {
  position: absolute;              /* Position it on top of the image */
  font-size: 40px;                 /* Text size */
  color: white;                    /* Text color */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Optional: adds a shadow effect to the text for better visibility */
}

/* The switch - the box around the slider */
.switch-projector, .switch-sound{
  position: relative;
  display: inline-block;
  width: 120px;
  height: 60px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ff0000;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 50px;
  width: 50px;
  left: 15px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #55c245;
}

input:focus + .slider {
  box-shadow: 0 0 1px #55c245;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 100px;
}

.slider.round:before {
  border-radius: 50%;
}

.switch button {
  display:none;
}

input[type="checkbox"] {
  opacity: 0; /* Maak de checkbox onzichtbaar */
  position: absolute; /* Verberg het visueel zonder de ruimte in te nemen */
}



.footer {
  text-align: center;
  background: rgb(255, 192, 82);
  color: white;
  font-size: 30px;
  height: 90px;
  left: 0;
  bottom: 0;
  width: 100%;
  color: white;
  margin-top: auto;
  padding: 20px;
  display: block;  /* Verander display naar block om de knop in de footer niet te beïnvloeden */
}


.footer img {
  height: 50px;
}


/* Wrapper for carousels */
.carrousel-wrapper {
  display: flex;
  flex-direction: column; /* Stack carousels vertically */
  gap: 20px; /* Add space between carousels */
}

/* General styling for carrousel-container */
.carrousel-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  height: 300px; /* Fixed height for the carousel */
}

/* The carousel itself */
.carrousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 40px; /* Optional: Add space between items */
}

/* Each carousel-item (image container) */
.carrousel-item {
  min-width: 33.33%; /* 3 items per view */
  height: 100%; /* Match container height */
  box-sizing: border-box; /* Include padding and border in size */
  overflow: hidden;
  background-color: #45d6b0;
}

/* Images inside the carousel-item */
.carrousel-item img {
  width: 100%; /* Fill the width of the container */
  height: 100%; /* Fill the height of the container */
  object-fit: cover; /* Maintain aspect ratio, crop if needed */
  display: block; /* Avoid inline spacing issues */
  cursor: pointer;
  
}

/* Buttons for navigation */
button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

button.prev {
  left: 10px;
}

button.next {
  right: 10px;
}

button:hover {
  background-color: #133d63;
  color: #ffffff;
}


.open-popup-btn {
  position: fixed;     /* Zorgt ervoor dat de knop blijft staan, ongeacht scrollen */
  bottom: 20px;        /* Plaatst de knop 20px van de onderkant van het scherm */
  right: 20px;         /* Plaatst de knop 20px van de rechterkant van het scherm */
  height: 80px;        /* Zorgt voor de hoogte van de knop */
  padding: 10px 20px;
  font-family: 'Bree Serif';
  background-color: #ffffff; /* Witte achtergrondkleur */
  color: rgb(0, 0, 0);       /* Zwarte tekstkleur */
  font-size: 30px;  border-radius: 50px;  /* Maakt de hoeken van de knop rond */
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Schaduw voor de knop */
  display: flex;
  align-items: center;
  gap: 10px;  /* Ruimte tussen de tekst en het icoon */
  z-index: 1000; /* Zorgt ervoor dat de knop altijd boven andere elementen staat */
}

.open-popup-btn img {
  height: 30px;  /* Zorgt voor de hoogte van het chat-icoon */
}


/* Playbalk container */
.playbar-container {
  width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

/* De slider */
input[type="range"] {
  width: 100%;
  height: 10px;
  background-color: #ddd;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  background-color: rgb(255, 192, 82);
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background-color: rgb(255, 192, 82);
  border-radius: 50%;
  cursor: pointer;
}

/* Playtime (huidige tijd / duur) */
.play-time {
  margin-top: 10px;
  font-size: 14px;
  color: #ffffff;
}

.play-time {
  color: #ffffff;
  font-family: 'Bree-serif';
}

/* Pop-up container (geheim standaard) */
.popup {
  display: none; /* Verberg de pop-up standaard */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Transparante achtergrond */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Zorgt ervoor dat de pop-up boven andere elementen komt */
}

/* Pop-up content */
.popup-content {
  background-color: #fff;
  display: flex;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  gap: 50px;
}

/* Sluitknop voor pop-up */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Hover-effect voor de afbeelding */
.lava-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.lava-image:hover {
  transform: scale(1.1);
}
