@font-face {
  font-family: "EncodeSansNormalLight";  
  src: url("/Marketing/Styling/font/EncodeSansNormal-300-Light.ttf");
}
@font-face {
  font-family: 'EncodeSansCondensed-SemiBold'; 
  src: url("/Marketing/Styling/font/EncodeSansCondensed-600-SemiBold.ttf");
}

body, html {
  width: 100%;
  margin: 0;
}

main {
  flex: 1;
}

.template-actions {
  display: flex;
  align-items: center; 
}

.title-wrapper {
  flex-grow: 1;
  display: flex;
  padding: 0px;
  flex-direction: column; /* This line stacks the items vertically */
  padding-left: 5.5vh;
  align-items: start;
} 

.button-details {
  margin-top: auto; /* Push the button to the bottom */
  align-self: flex-start; /* Align button to the left */
} 

.banner {
  background-size: cover;
  background-position: center;
  min-height: 190px;
  padding: 20px 0;
  color: #fff;
  text-align: center;
  transition: background-image 1s ease-in-out; /* Voegt een overgang toe bij het veranderen van de afbeelding */
}


@media (max-width: 768px) {
  header, .main-content, footer {
    padding-left: 10px;
    padding-right: 10px;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }

  footer section {
    margin-bottom: 20px;
  }
}

/* Flexbox gebruiken voor het uitlijnen van label en knoppen */
.form-row {
  display: flex;
  justify-content: space-between; /* Zorgt ervoor dat het label aan de linkerkant en de knoppen rechts staan */
  align-items: flex-start; /* Maakt de uitlijning van het label netjes boven de knoppen */
  gap: 1rem;
  margin-bottom: 1em;
}

/* Zorg ervoor dat de knoppen onder elkaar staan */
.download-buttons-container {
  display: flex;
  flex-wrap: wrap; 
  gap: 0.65rem;
  margin-top: 0.75rem;
  width: 520px; /* Vaste breedte voor de knoppen container */
  margin-bottom: 0.85rem;
}

/* Zorg ervoor dat de knoppen op de juiste manier worden weergegeven */
.download-buttons-container button {
  flex: 1 1 calc(50% - 0.65rem); /* Twee knoppen per rij, rekening houdend met de gap */
  min-width: 140px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #5ac4be;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button.disabled-button {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

.download-buttons-container button:hover {
  background-color: #4a9d92;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  background-color: #000;
  padding: 1em;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 38px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
  z-index: 1001;
} 

#videoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.video-container {
  position: relative;
  width: 80%;
  max-width: 800px;
}

#closeModal {
  cursor: pointer;
  background-color: transparent;
  border: none;
  font-size: 24px;
  color: black;
  position: absolute;
  top: 10px;
  right: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

#closeModal:hover {
  color: #ff4c4c;
  transform: scale(1.3);
}

#videoPlayer {
  width: 100%;
  height: auto;
}