body{
  background-image: url(../images/achtergrond.jpg);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a:link, a:visited {
  background-color: #5c314f;
  color: white;
  padding: 14px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.navbar {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
}

header {
  display: flex;
  justify-content: center;
  z-index: 1;
}

.nav {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

/* Burger menu styling */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  height: 30px;
  width: 30px;
}

.bar {
  height: 5px;
  width: 25px;
  background-color: white;
  border-radius: 5px;
}

/* Responsieve styling */
@media (max-width: 768px) {
  .navbar {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #5c314f;
  }

  .navbar.active {
      display: flex;
  }

  .navbar a {
      padding: 10px;
      width: 100%;
      text-align: center;
  }

  .hamburger-menu {
      display: flex;
  }

  #nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: #5c314f;
  }

  #nav-links.active {
      display: flex;
  }

  .navbar a {
      padding: 10px;
      width: 100%;
      text-align: center;
  }
}

@media (max-width: 480px) {
  .navbar a {
      padding: 8px;
      font-size: 14px;
  }
}
header {
  display: flex;
  justify-content: center;
  z-index: 1;
}
h1{
  color: white;
  text-align: center; /* Center the h1 element */
}
p{
  color: white;
}

*{
  font-family: Arial, Helvetica, sans-serif;
}



.tekst{
  text-align: center;
}



  

.card {
  width: 300px;
  height: 350px; /* Reduce the height */
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: #5c314f; /* Add purple background color */
  color: white; /* Ensure text is readable on purple background */
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Ensure content is evenly spaced */
  align-items: center;
}

.card,
.ccard { /* Ensure both `.card` and `.ccard` have the same styles */
  width: 300px; /* Fixed width for each card */
  flex: 0 0 auto; /* Prevent cards from shrinking or growing */
}

/* Card Hover Effect */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card Image */
.card-image {
  width: 100%;
  height: 200px;
}

/* Card Content */
.card-content {
  flex-grow: 1; /* Allow content to grow and fill available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center content vertically */
  align-items: center;
  padding: 16px;
}

/* Card Title */
.card-title {
  font-size: 1.5em;
  margin: 0 0 8px;
  color: #333;
}

/* Card Description */
.card-description {
  font-size: 1em;
  color: white;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* Card Button */
.card-button {
  display: inline-block;
  padding: 14px 20px; /* Vergroot de knoppen */
  font-size: 1.1em; /* Maak de tekst iets groter */
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s;
}

.card-button:hover {
  background-color: #0056b3;
}



.cards {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping if space is insufficient */
  gap: 20px; /* Adds space between the cards */
  justify-content: center; /* Centers the cards horizontally */
  align-items: flex-start; /* Aligns cards vertically at the top */
  padding: 20px;
  flex-direction: row; /* Ensures cards are in a row */
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 300px; /* Adjust the width as needed */
  border: 1px solid black; /* Adds a border to the cards */
  border-radius: 8px; /* Optional: Adds rounded corners to the border */
  padding: 5px; /* Optional: Adds padding inside the card */
  margin-bottom: 20px; /* Adds space below each card */
}

.container {
  max-width: 1200px; /* Adjust the width as needed */
  margin: 0 auto;
  padding: 20px;
}

/* Burger menu styling */





@media (max-width: 480px) {

 
  .cards {
    flex-direction: column; /* Stack cards vertically */
    align-items: center;
  }

  .card {
    width: 90%; /* Adjust card width for smaller screens */
  }

  h1 {
    font-size: 24px; /* Adjust heading size */
  }

  p {
    font-size: 16px; /* Adjust paragraph size */
  }

  
}

