body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f8f8f8;
  color: #222;
}

header {
  background: #333;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
}

header img {
  height: 60px;
}

/* Tekst */
h2 {
  margin-top: 40px;
  border-bottom: 2px solid #333;
  padding-bottom: 4px;
}

footer {
  text-align: center;
  justify-content: center;      
  background: #333;
  color: white;
  padding: 12px;
  margin-top: 40px;
  font-size: 14px;
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo left, menu right */
  width: 100%;
  background-color: #333;
  padding: 8px 12px;
  position: relative;
  box-sizing: border-box;
  z-index: 100;
}

/* Logo styling */
.topnav .logo img {
  display: block;
  max-height: 80px;
  height: auto;
}

/* --- DESKTOP MENU --- */
#myLinks {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

#myLinks a {
  color: white;
  text-decoration: none;
  padding: 8px 12px;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
}

#myLinks a:hover {
  background-color: #fff;
  color: #333;
  border-radius: 4px;
}

/* --- HAMBURGER ICON --- */
.topnav .icon {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.topnav .icon i {
  font-size: 24px;
  color: white;
}

/* --- MOBILE MENU --- */
@media screen and (max-width: 768px) {
  /* show hamburger */
  .topnav .icon {
    display: block;
  }

  /* hide menu initially */
  #myLinks {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #333;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  /* when active */
  #myTopnav.responsive #myLinks {
    max-height: 500px; /* enough for all links */
    opacity: 1;
  }

  /* mobile link style */
  #myLinks a {
    display: block;
    width: 100%;
    padding: 14px;
    border-top: 1px solid #444;
    box-sizing: border-box;
    text-align: center;
  }
}


main {
  max-width: 768px;
  margin: 0 auto;
  padding: 16px;
}

/* Slideshow */
.slideshow {
  position: relative;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.slideshow img {
  width: 100%;
  display: none;
  border-radius: 12px;
}

.slides {
  width: 100%;
  max-width: 750px;
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides.active {
  display: block;
  opacity: 1;
}

.slideshow img.active {
  display: block;
}

/* Sponsors-sectie */
.sponsors {
  margin: 32px 0;
  text-align: center;
}

/* Algemene sponsorstijl */
.sponsors a {
  display: inline-block;
}

.sponsors img {
  width: 100px;
  height: auto;
  border-radius: 6px;
  background: white;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.sponsors img:hover {
  transform: scale(1.1);
}

/* Altijd zichtbare sponsors */
.sponsors-fixed,
.sponsors-rotating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  width: 100%;
}

/* Mooie fade-animatie bij wisselen */
.fade {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.tekstTBL
{background-color: #FFFFFF;
color: #284A9C;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11pt;
text-align:left;
}

.button { font-family : Tahoma, Helvetica, sans-serif;
  font-size : 10pt;
    color: #F4B54A;
    background-color: #D60021;
    border: none;
    width: 120px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -opera-border-radius:10px;
    -khtml-border-radius:10px;
    border-radius:10px;
   }

.buttonc { font-family : Tahoma, Helvetica, sans-serif;
  font-size : 10pt;
    color: #D60021;
    background-color: #FFFFFF;
    border: none;
    width: 120px; 
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -opera-border-radius:10px;
    -khtml-border-radius:10px;
    border-radius:10px;
   }

.buttonm { font-family : Tahoma, Helvetica, sans-serif;
  font-size : 10pt;
    color: #F4B54A;
    background-color: #FFFFFF;
    border: medium none;
    width: 120px;
    text-align:left; 
    margin-top:6px; 
    margin-bottom:6px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -opera-border-radius:10px;
    -khtml-border-radius:10px;
    border-radius:10px;
   }

.buttonmc { font-family : Tahoma, Helvetica, sans-serif;
  font-size: 10pt;
    color: #000000;
    background-color: #FFFFFF;
    border: none;
    width: 120px; text-align:left; margin-top:6px; margin-bottom:6px ;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -opera-border-radius:10px;
    -khtml-border-radius:10px;
    border-radius:10px;
   }
