/* Add a black background color to the top navigation */
.topnav {
  position: fixed;
  top: 0%;
  height: 10vh; /* Set the height of the top bar */
  width: 100%; /* Full width */
  background-color: rgb(0, 48, 48);
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 1000;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  font-size: 3vw;
  font-family:Verdana, Tahoma, sans-serif;
  border: solid 5px black;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: #811136;
  color: white;
}
  h1,h2, p {
    color: white;
    text-align: center;
    margin: 0; /* Remove default margin */
    padding: 0;
  }
  body {
    background-color: #6D3131;
    margin: 0;
    padding: 0;
    position: relative; /* Set position relative to allow absolute positioning of children */
    height: 100%; /* Full height of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  @media (max-width: 1500px) {
    .welkom {
      flex-direction: column;
      align-items: center;
      padding-top: 1vh; /* Adjust top padding to avoid overlap */
    }
  
    .ik, .hobby, .dingen {
      width: 100%;
      text-align: center;
      max-width: 800px; /* Further limit image size on small screens */
    }
  
    .topnav a {
      font-size: 4vw; /* Adjust font size for large screens */
    }
  }

  @media (max-width: 1100px) {
    .welkom {
      flex-direction: column;
      align-items: center;
      padding-top: 1vh; /* Adjust top padding to avoid overlap */
    }
  
    .ik, .hobby, .dingen {
      width: 100%;
      text-align: center;
      max-width: 600px; /* Further limit image size on small screens */
    }
  
    .topnav a {
      font-size: 4vw; /* Adjust font size for large screens */
    }
  }
  
  /* For tablets or medium screens */
  @media (max-width: 768px) {
    .welkom {
      flex-direction: column;
      align-items: center;
      padding-top: 1vh; /* Adjust the padding to avoid nav bar overlap */
    }
  
    .ik, .hobby, .dingen {
      width: 100%;
      text-align: center;
      max-width: 350px; /* Further limit image size on small screens */
    }
  
    .photo {
      width: 100%; /* Make images fully responsive without breaking */
      max-width: 500px; /* Limit max width for large images */
    }
  
    .topnav {
      grid-template-columns: 1fr 1fr; /* 2 columns for better stacking */
    }
  
    .topnav a {
      font-size: 3vw; /* Adjust the font size */
    }
  }
  
  /* For small screens like phones */
  @media (max-width: 480px) {
    .topnav a {
      font-size: 5vw; /* Reduce font size for very small screens */
      padding: 3px; /* Adjust padding for better spacing */
    }

    .topnav {
      grid-template-columns: 1fr 1fr; /* 2 columns for better stacking on mobile */
  }
    
  
    .photo {
      width: 100%; /* Ensure image width is limited to screen width */
      max-width: 200px; /* Further limit image size on small screens */
    }
  
    .welkom h1 {
      font-size: 40px; /* Smaller title font size */
    }
  
    .welkom p {
      font-size: 20px; /* Adjust paragraph font size */
    }
  
    .ik, .hobby, .dingen {
      width: 100%;
      padding: 20px;
    }
  
    .hobby, .dingen {
      display: flex;
      flex-direction: column; /* Stack elements vertically */
      gap: 20px; /* Reduce the gap between items */
    }
  
    /* Ensure images move below text in .hobby and .dingen */
    .hobby img, .dingen img {
      width: 100%; /* Ensure image takes full width on smaller screens */
      max-width: 400px; /* Optionally limit the max width of images */
      margin-top: 10px; /* Add some space between text and image */
    }
  }


.welkom h1 {
  font-size: 60px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.welkom p {
  font-size: 35px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.welkom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 150px;
}

.ik {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: black;
  width: 1750px;
  border-radius: 50px;
}

.hobby {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.hobbies {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: black;
  width: 1250px;
  border-radius: 50px;
}

.photo {
  border-radius: 30px;
}

.dingen {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin-bottom: 50px;
}

.leuk {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: black;
  width: 1250px;
  border-radius: 50px;
}

