body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bodytext {
  width: 85%;
}

.responsivewrapping {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  gap: 20px;
  @media (max-width: 1200px) {
    flex-direction: column;
  }
}

.banjologofoto {
  max-width: 200px;
  max-height: 200px;
  @media (max-width: 768px) {
    display: none;
  }
}

h1 {
  color: #203864;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 5px;
}

h2 {
  color: #203864;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 0px;
}

img {
  max-width: 500px;
  max-height: 450px;
}

table {
  margin: 0 auto;
  border-collapse: collapse;
  width: 80%;
}

table,
th,
td {
  border: 1px solid #ccc;
}

td {
  padding: 10px;
  text-align: left;
}

nav {
  background-color: #203864;
  color: #fff;
  text-align: center;
  padding: 10px 0;
}
nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1.2em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.menu-toggle {
  display: none;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  color: white;
  text-decoration: none;
  padding: 15px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

.main-menu > li:hover {
  background-color: #444;
}

.submenu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #444;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.submenu:hover .sub-menu {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.sub-menu > li > a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  transition: background-color 0.3s ease;
}

.sub-menu > li > a:hover {
  background-color: #555;
}

@media (max-width: 768px) {
  .nav-container {
    height: 50px;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 8px;
    z-index: 2;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: absolute;
    top: 50px;
    left: 0;
    background-color: #333;
    z-index: 1;
  }

  .main-menu.active {
    display: flex;
  }

  .main-menu > li {
    width: 100%;
  }

  .main-menu > li > a {
    padding: 15px;
    border: none;
    border-bottom: 1px solid #444;
    text-align: center;
  }

  .main-menu > li:last-child > a {
    border-bottom: none;
  }

  .submenu .sub-menu {
    display: none;
    position: static;
    box-shadow: none;
  }

  .submenu:hover .sub-menu {
    display: none;
  }

  .submenu.active .sub-menu {
    display: flex;
    flex-direction: column;
  }
  .submenu .sub-menu.active {
    display: block; /* Show when active */
  }
}

/*optredens*/

.optredens {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.optredens h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.concert {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
}

.date-time,
.details {
  flex-basis: 45%;
}

.date-time .date,
.date-time .time,
.details .description,
.details .location {
  display: block;
  color: #666;
}

.date-time .date {
  font-weight: bold;
  color: #333;
}

.details .description {
  font-weight: bold;
}

.concert:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .concert {
    flex-direction: column;
    align-items: flex-start;
  }

  .date-time,
  .details {
    flex-basis: 100%;
    margin-bottom: 5px;
  }

  .date-time {
    margin-bottom: 10px;
  }

  #welkom {
    position: static;
  }
}

/* fotos */
#stretch {
  max-width: unset;
  max-height: unset;
  width: 85vw;
  margin: 0 auto;
}

#smallerstretch {
  max-width: unset;
  max-height: unset;
  width: 65vw;
  margin: 0 auto;
}

/* contact */
.welkom {
  position: absolute;
}

/* wieZijnWe */
#picturefullwidth {
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 0 auto;
}
