html, body {
  height: 100%;         
  margin: 5;          
  display: flex;
  flex-direction: column; 
}



.logo {
  height: 50px;
  float: right;
}


/*-----------nav-bar-----------*/


.topnav {
  display: flex;
  justify-content: center;
  align-items: center; 
  background-color: #333;
  padding: 10px;
  border-radius: 50px;
  max-width: 100%;
}

.topnav a {
  font-family: Sans-serif;
  width: fit-content;
  max-width: 80px;
  max-height: 30px;
  color: #f2f2f2;
  text-align: center;
  padding: 8px 10px;
  text-decoration: none;
  font-size: 16px;
  background-color: #333;
  border: 2px solid #2e9e44;
  border-radius: 50px;
  margin: 0 auto; 
}

.topnav a:hover {
  background-color: #60d477;
  color: white;
}

.topnav a.active {
  background-color: #2e9e44;
  color: white;
}

/*-------dark-mode------*/
.light-mode {
  background-color: white;
  color: black;
  transition: background-color 0.3s, color 0.3s;
}

.dark-mode {
  background-color: #121212;
  color: white;
}

.darkmodebutton {
  background: none;
  border: none; 
  cursor: pointer;
  float: right;
  margin-top: center;
}

/*----------------------*/ 


/*---------scroll-bar-------------*/ 
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #ffffff; 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/*----------------------*/ 




/*----------footer------------*/

footer {
  background-color: #333;
  color: #f2f2f2;
  padding: 20px;
  text-align: left;
  margin-top: 15px;
  margin-bottom: 15px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 98%;
}


.footer-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1200px;
}


.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
}


.footer-left {
  display: flex;
  gap: 50px;
}


.footer-section {
  min-width: 200px;
}


.footer-section h4 {
  font-size: 17px;
  margin-bottom: 12px;
}


.footer-section a {
  color: #2e9e44;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}


footer p {
  font-size: 14px;
  line-height: 1.5;
}


.footer-license {
  flex-grow: 1; 
  text-align: center;
  padding-top: 10px;
}


/*----------------------------phone view------------------------*/

@media (max-width: 768px) {
  footer {
    width: 89%;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;

  }

  .footer-left {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}


/*------------------------------------stuur een bericht-------------------------- */
.footer-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 350px;
    justify-content: center;
    align-items: center;
}

.footer-section input, 
.footer-section textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #2e9e44;
    border-radius: 10px;
    font-size: 14px;
}

.footer-section textarea {
    height: 100px;
    resize: none;
}

.footer-section button {
    background-color: #2e9e44;
    color: rgb(255, 255, 255);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
}

.footer-section button:hover {
    background-color: #60d477;
}



/*----------------------*/