/* Reset */
html {
  box-sizing: border-box;
  margin: 0;
  height: 100%;
}

*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #E7E7EE;
  height: 100%;
}
body ::selection {
  color: white;
  background-color: #7c231d;
}

::-webkit-scrollbar {
  width: 12px;
  background-color: transparent;
}

::-webkit-scrollbar-track {
  background-color: #E7E7EE;
}

::-webkit-scrollbar-thumb {
  background-color: #7c231d;
}

.headerContainer {
  width: 100%;
  height: 80px;
  background-color: #7c231d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navText {
  color: white;
  text-align: center;
  margin-right: 10%;
  z-index: 102;
}
.navText h2 {
  margin: auto;
  font-weight: bold;
}
.navText h3 {
  margin: auto;
  font-style: italic;
}

.nav-toggle {
  margin-left: 10%;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  width: 35px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 101;
}
.nav-toggle .hamburger, .nav-toggle .hamburger::before, .nav-toggle .hamburger::after {
  content: "";
  display: block;
  background: white;
  height: 3px;
  width: 100%;
  border-radius: 10px;
  position: absolute;
  transition: all 0.3s ease;
}
.nav-toggle .hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.nav-toggle .hamburger::before {
  top: -10px;
}
.nav-toggle .hamburger::after {
  top: 10px;
}
.nav-toggle.open .hamburger {
  background: transparent;
}
.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.navList {
  display: flex;
  position: fixed;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #7c231d;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
  z-index: 100;
}
.navList .navListItem {
  padding: 15px 0;
}
.navList li a {
  text-decoration: none;
  color: white;
  font-size: 1.5em;
  margin: 5px;
}
.navList li a:hover {
  opacity: 0.75;
}

.navList.active {
  transform: translateY(0);
  pointer-events: auto;
  opacity: 1;
}

.scroll-lock {
  overflow: hidden;
  height: 100vh;
}

.mainContainer {
  width: 100%;
  justify-content: center;
  align-items: center;
}
.mainContainer .welcome {
  width: 100%;
  max-height: 800px;
  overflow: hidden;
}
.mainContainer .welcome #mainImg {
  width: 100%;
  height: auto;
  max-height: 750px;
  object-fit: cover;
}
.mainContainer .welcomeText {
  background-color: #7c231d;
  padding: 15px 0;
  color: white;
  width: 100%;
  text-align: center;
}
.mainContainer .welcomeText h1 {
  font-weight: bold;
  font-size: 1.4em;
}
.mainContainer .welcomeText h2 {
  font-size: 1.3em;
}
.mainContainer .secondContainer {
  width: 95%;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.mainContainer .secondContainer #countdown {
  margin: 50px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1); /* Horizontal, vertical offset, blur radius, color */
  padding: 20px;
  background-color: #E7E7EE; /* Optional: define a background color if needed */
}
.mainContainer .secondContainer #countdown .countdownText {
  margin: auto;
  text-align: center;
  width: 95%;
}
.mainContainer .secondContainer #countdown .countdownText h1 {
  font-size: 1.5em;
  color: #1b1414;
  font-weight: bold;
  margin-bottom: 25px;
}
.mainContainer .secondContainer #countdown .times {
  height: auto;
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mainContainer .secondContainer #countdown .time {
  width: 100%;
  height: 50px;
  font-size: 1.5em;
  color: #1b1414;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.mainContainer .secondContainer #countdown .number {
  color: #bd141f;
  font-weight: bold;
  margin-right: 10px;
}
.mainContainer .secondContainer .media-section {
  padding: 40px 20px;
  background-color: #E7E7EE;
  text-align: center;
}
.mainContainer .secondContainer .media-section .title {
  font-size: 2em;
  margin-bottom: 30px;
  color: #1b1414;
}
.mainContainer .secondContainer .media-section .image-collage {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}
.mainContainer .secondContainer .media-section .image-collage .image-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.mainContainer .secondContainer .media-section .image-collage .image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.mainContainer .secondContainer .media-section .image-collage .image-item img:hover {
  transform: scale(1.05);
}
.mainContainer .secondContainer .media-section .image-collage .image-item.tall {
  grid-row: span 2;
}
.mainContainer .secondContainer .media-section .image-collage .image-item.wide {
  grid-column: span 2;
}
.mainContainer .secondContainer .media-section .video-embed-grid {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}
.mainContainer .secondContainer .media-section .video-embed-card {
  border-radius: 12px;
  padding: 20px 0;
}
.mainContainer .secondContainer .media-section .video-embed-card h4 {
  margin-bottom: 20px;
}
.mainContainer .secondContainer .media-section .video-embed {
  display: flex;
  justify-content: center;
}
.mainContainer .secondContainer .media-section .video-embed iframe {
  width: 100%;
  max-width: 267px;
  border: 0;
  border-radius: 12px;
}
.mainContainer .secondContainer #avondvierdaagse, .mainContainer .secondContainer #vrijdag, .mainContainer .secondContainer #zaterdag, .mainContainer .secondContainer #zondag, .mainContainer .secondContainer #sponsoren {
  width: 100%;
  margin: auto;
  justify-content: center;
  align-items: center;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1); /* Horizontal, vertical offset, blur radius, color */
  padding: 20px;
  background-color: #E7E7EE; /* Optional: define a background color if needed */
}
.mainContainer .secondContainer #avondvierdaagse .highlight-section, .mainContainer .secondContainer #vrijdag .highlight-section, .mainContainer .secondContainer #zaterdag .highlight-section, .mainContainer .secondContainer #zondag .highlight-section, .mainContainer .secondContainer #sponsoren .highlight-section {
  padding: 20px; /* Padding around the content */
  display: flex; /* Using Flexbox for better alignment */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  text-align: center; /* Ensure text is centered */
}
.mainContainer .secondContainer #avondvierdaagse .title, .mainContainer .secondContainer #vrijdag .title, .mainContainer .secondContainer #zaterdag .title, .mainContainer .secondContainer #zondag .title, .mainContainer .secondContainer #sponsoren .title {
  font-family: "Arial", sans-serif; /* Modern and readable font */
  color: #333; /* Dark grey for text */
  font-weight: bold; /* Make the title bold */
  position: relative; /* Position relative to use pseudo-elements */
  padding-bottom: 10px; /* Space at the bottom for the underline */
}
.mainContainer .secondContainer #avondvierdaagse .title::after, .mainContainer .secondContainer #vrijdag .title::after, .mainContainer .secondContainer #zaterdag .title::after, .mainContainer .secondContainer #zondag .title::after, .mainContainer .secondContainer #sponsoren .title::after {
  content: ""; /* Pseudo-element for the underline */
  position: absolute; /* Position absolutely within the title */
  bottom: 0; /* Align to the bottom of the title */
  left: 50%; /* Start from the center */
  transform: translateX(-50%); /* Ensure it centers perfectly */
  width: 100%; /* Underline width, you can adjust it as needed */
  height: 2px; /* Height of the underline */
  background-color: #bd141f; /* Use a red color for the underline to make it pop */
}
.mainContainer .secondContainer #avondvierdaagse .paginaBeschrijving, .mainContainer .secondContainer #vrijdag .paginaBeschrijving, .mainContainer .secondContainer #zaterdag .paginaBeschrijving, .mainContainer .secondContainer #zondag .paginaBeschrijving, .mainContainer .secondContainer #sponsoren .paginaBeschrijving {
  font-size: 1.2em;
}
.mainContainer .secondContainer #avondvierdaagse .sponsork, .mainContainer .secondContainer #vrijdag .sponsork, .mainContainer .secondContainer #zaterdag .sponsork, .mainContainer .secondContainer #zondag .sponsork, .mainContainer .secondContainer #sponsoren .sponsork {
  width: 20%;
}
.mainContainer .secondContainer #avondvierdaagse .sponsor, .mainContainer .secondContainer #vrijdag .sponsor, .mainContainer .secondContainer #zaterdag .sponsor, .mainContainer .secondContainer #zondag .sponsor, .mainContainer .secondContainer #sponsoren .sponsor {
  width: 26%;
}
.mainContainer .secondContainer #avondvierdaagse .sponsor:hover, .mainContainer .secondContainer #avondvierdaagse .sponsork:hover, .mainContainer .secondContainer #vrijdag .sponsor:hover, .mainContainer .secondContainer #vrijdag .sponsork:hover, .mainContainer .secondContainer #zaterdag .sponsor:hover, .mainContainer .secondContainer #zaterdag .sponsork:hover, .mainContainer .secondContainer #zondag .sponsor:hover, .mainContainer .secondContainer #zondag .sponsork:hover, .mainContainer .secondContainer #sponsoren .sponsor:hover, .mainContainer .secondContainer #sponsoren .sponsork:hover {
  opacity: 70%;
}
.mainContainer .secondContainer #avondvierdaagse .event, .mainContainer .secondContainer #vrijdag .event, .mainContainer .secondContainer #zaterdag .event, .mainContainer .secondContainer #zondag .event, .mainContainer .secondContainer #sponsoren .event {
  width: 100%;
}
.mainContainer .secondContainer #avondvierdaagse .event h3, .mainContainer .secondContainer #vrijdag .event h3, .mainContainer .secondContainer #zaterdag .event h3, .mainContainer .secondContainer #zondag .event h3, .mainContainer .secondContainer #sponsoren .event h3 {
  color: #7c231d;
  font-weight: bold;
}
.mainContainer .secondContainer #avondvierdaagse .event h5, .mainContainer .secondContainer #vrijdag .event h5, .mainContainer .secondContainer #zaterdag .event h5, .mainContainer .secondContainer #zondag .event h5, .mainContainer .secondContainer #sponsoren .event h5 {
  font-weight: bold;
}
.mainContainer .secondContainer #avondvierdaagse .event p, .mainContainer .secondContainer #vrijdag .event p, .mainContainer .secondContainer #zaterdag .event p, .mainContainer .secondContainer #zondag .event p, .mainContainer .secondContainer #sponsoren .event p {
  font-size: 1em;
}
.mainContainer .secondContainer #avondvierdaagse .event li, .mainContainer .secondContainer #vrijdag .event li, .mainContainer .secondContainer #zaterdag .event li, .mainContainer .secondContainer #zondag .event li, .mainContainer .secondContainer #sponsoren .event li {
  font-size: 1em;
}
.mainContainer .secondContainer #avondvierdaagse .event .routeBeschrijving, .mainContainer .secondContainer #vrijdag .event .routeBeschrijving, .mainContainer .secondContainer #zaterdag .event .routeBeschrijving, .mainContainer .secondContainer #zondag .event .routeBeschrijving, .mainContainer .secondContainer #sponsoren .event .routeBeschrijving {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.mainContainer .secondContainer #avondvierdaagse .event .routeBeschrijving .routeAfbeelding, .mainContainer .secondContainer #vrijdag .event .routeBeschrijving .routeAfbeelding, .mainContainer .secondContainer #zaterdag .event .routeBeschrijving .routeAfbeelding, .mainContainer .secondContainer #zondag .event .routeBeschrijving .routeAfbeelding, .mainContainer .secondContainer #sponsoren .event .routeBeschrijving .routeAfbeelding {
  width: 100%;
}
.mainContainer .secondContainer #avondvierdaagse .event .routeBeschrijving .routeAfbeelding img, .mainContainer .secondContainer #vrijdag .event .routeBeschrijving .routeAfbeelding img, .mainContainer .secondContainer #zaterdag .event .routeBeschrijving .routeAfbeelding img, .mainContainer .secondContainer #zondag .event .routeBeschrijving .routeAfbeelding img, .mainContainer .secondContainer #sponsoren .event .routeBeschrijving .routeAfbeelding img {
  width: 100%;
  height: auto;
}
.mainContainer .secondContainer #avondvierdaagse .event .a-mail, .mainContainer .secondContainer #vrijdag .event .a-mail, .mainContainer .secondContainer #zaterdag .event .a-mail, .mainContainer .secondContainer #zondag .event .a-mail, .mainContainer .secondContainer #sponsoren .event .a-mail {
  color: #7c231d;
  font-weight: bold;
}
.mainContainer .secondContainer #avondvierdaagse .event .a-mail:hover, .mainContainer .secondContainer #vrijdag .event .a-mail:hover, .mainContainer .secondContainer #zaterdag .event .a-mail:hover, .mainContainer .secondContainer #zondag .event .a-mail:hover, .mainContainer .secondContainer #sponsoren .event .a-mail:hover {
  text-decoration: underline;
  opacity: 0.8;
}
.mainContainer .secondContainer #avondvierdaagse .event .event-image, .mainContainer .secondContainer #vrijdag .event .event-image, .mainContainer .secondContainer #zaterdag .event .event-image, .mainContainer .secondContainer #zondag .event .event-image, .mainContainer .secondContainer #sponsoren .event .event-image {
  width: 100%;
}
.mainContainer .secondContainer #avondvierdaagse .event .socialIconsMedia, .mainContainer .secondContainer #vrijdag .event .socialIconsMedia, .mainContainer .secondContainer #zaterdag .event .socialIconsMedia, .mainContainer .secondContainer #zondag .event .socialIconsMedia, .mainContainer .secondContainer #sponsoren .event .socialIconsMedia {
  margin-top: 15px;
}
.mainContainer .secondContainer #avondvierdaagse .event .socialIconsMedia a, .mainContainer .secondContainer #vrijdag .event .socialIconsMedia a, .mainContainer .secondContainer #zaterdag .event .socialIconsMedia a, .mainContainer .secondContainer #zondag .event .socialIconsMedia a, .mainContainer .secondContainer #sponsoren .event .socialIconsMedia a {
  display: inline-block;
  font-size: 2em;
  color: #7c231d;
  margin: 0 10px;
  transition: transform 0.2s ease, color 0.3s ease;
  text-decoration: none;
}
.mainContainer .secondContainer #avondvierdaagse .event .socialIconsMedia a:hover, .mainContainer .secondContainer #vrijdag .event .socialIconsMedia a:hover, .mainContainer .secondContainer #zaterdag .event .socialIconsMedia a:hover, .mainContainer .secondContainer #zondag .event .socialIconsMedia a:hover, .mainContainer .secondContainer #sponsoren .event .socialIconsMedia a:hover {
  color: #bd141f;
  transform: scale(1.2);
}
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}
.mainContainer .secondContainer #avondvierdaagse .red-button, .mainContainer .secondContainer #vrijdag .red-button, .mainContainer .secondContainer #zaterdag .red-button, .mainContainer .secondContainer #zondag .red-button, .mainContainer .secondContainer #sponsoren .red-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #7c231d;
  color: white;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}
.mainContainer .secondContainer #avondvierdaagse .red-button:hover, .mainContainer .secondContainer #vrijdag .red-button:hover, .mainContainer .secondContainer #zaterdag .red-button:hover, .mainContainer .secondContainer #zondag .red-button:hover, .mainContainer .secondContainer #sponsoren .red-button:hover {
  background-color: #bd141f;
  color: #ffffff;
}
.mainContainer .secondContainer #avondvierdaagse .red-button:focus, .mainContainer .secondContainer #vrijdag .red-button:focus, .mainContainer .secondContainer #zaterdag .red-button:focus, .mainContainer .secondContainer #zondag .red-button:focus, .mainContainer .secondContainer #sponsoren .red-button:focus {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #bd141f; /* Adds a noticeable outline */
}

.footerContainer {
  height: 100px;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #7c231d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footerContainer .footerText {
  margin-left: 5px;
  text-align: center;
}
.footerContainer .footerText h2 {
  font-size: 1em;
  margin: auto;
  font-weight: bold;
}
.footerContainer .footerText h3 {
  font-size: 1em;
  margin: auto;
  font-style: italic;
}
.footerContainer .socialIcons a {
  color: white;
  margin: 0 10px;
  font-size: 1.2em;
  text-decoration: none;
}
.footerContainer .socialIcons a:hover {
  color: #e2352d;
}
.footerContainer .contactDetails {
  text-align: right;
  margin-right: 5px;
}
.footerContainer .contactDetails a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
.footerContainer .contactDetails a:hover {
  color: #e2352d;
}

.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: #bd141f;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  text-decoration: none;
  opacity: 0.7; /* Slightly transparent to blend with the page */
  transition: opacity 0.3s ease-in-out;
}
.back-to-top .icon {
  width: 24px;
  height: 24px;
}

.back-to-top:hover {
  opacity: 1; /* Full opacity on hover for better interaction visibility */
  color: white; /* Optional: Change color on hover */
}

@media (min-width: 576px) {
  .navText {
    margin-right: 20%;
  }
  .nav-toggle {
    margin-left: 20%;
  }
  .footerContainer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .routeAfbeelding img {
    width: 80% !important;
  }
}
@media (min-width: 768px) {
  .navText h2 {
    font-size: 1.5em;
  }
  .navText h3 {
    font-size: 1.3em;
  }
  .mainContainer {
    width: 100%;
  }
  .mainContainer .welcome {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mainContainer .welcome #mainImg {
    width: 100%;
  }
  .mainContainer .welcomeText h1 {
    font-size: 1.9em;
  }
  .mainContainer .welcomeText h2 {
    font-size: 1.7em;
  }
  .mainContainer #countdown .countdownText {
    width: 95%;
  }
  .mainContainer #countdown .countdownText h1 {
    font-size: 1.8em;
  }
  .mainContainer #countdown .times {
    flex-direction: row;
  }
  .mainContainer #countdown .time {
    width: 25%;
    height: 50px;
    font-size: 1.5em;
  }
  .mainContainer #countdown .number {
    margin-right: 10px;
  }
  .mainContainer .secondContainer {
    width: 90%;
    justify-content: center;
    margin: auto;
  }
  .mainContainer .secondContainer .routeAfbeelding img {
    width: 60% !important;
  }
  .mainContainer .secondContainer #sponsoren .sponsork {
    width: 12%;
  }
  .mainContainer .secondContainer #sponsoren .sponsor {
    width: 15%;
  }
  .title {
    font-size: 32px; /* Slightly larger font size for larger devices */
  }
}
@media (min-width: 992px) {
  .navText {
    margin-right: 0;
  }
  .navText h2 {
    font-size: 1.4em;
  }
  .navText h3 {
    font-size: 1.2em;
  }
  .nav-toggle {
    display: none;
  }
  .navList {
    display: flex;
    position: static;
    flex-direction: row;
    justify-content: space-around;
    height: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .navList li a {
    font-size: 1.2em;
    padding: 10px;
  }
  .mainContainer .secondContainer {
    width: 90%;
  }
  .mainContainer .secondContainer .routeBeschrijving {
    flex-wrap: nowrap;
  }
  .mainContainer .secondContainer .routeBeschrijving .routeAfbeelding {
    width: 45% !important;
  }
  .mainContainer .secondContainer .routeBeschrijving .routeAfbeelding img {
    width: 100% !important;
  }
  .mainContainer .secondContainer .routeBeschrijving .routeTekst {
    width: 45% !important;
  }
  .mainContainer .secondContainer .event-image {
    width: 60% !important;
  }
  .mainContainer .secondContainer #avondvierdaagse .paginaBeschrijving {
    font-size: 1.4em;
  }
  .event p {
    width: 80%;
  }
}
@media (min-width: 1200px) {
  .navText h2 {
    font-size: 1.5em;
  }
  .navText h3 {
    font-size: 1.5em;
  }
  .mainContainer .secondContainer {
    width: 90%;
  }
  .mainContainer .secondContainer #sponsoren .sponsork {
    width: 6%;
  }
  .mainContainer .secondContainer #sponsoren .sponsor {
    width: 10%;
  }
  .mainContainer .secondContainer .routeAfbeelding img {
    width: 80% !important;
  }
}

/*# sourceMappingURL=style.css.map */
