
/******************** FONTS *****************/

.open-sans-body {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.freeman-regular {
    font-family: "Freeman", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .second-background {
    background-color: #F4EDED;
    box-shadow: 0px 0px 1rem gray;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 20px;
    margin-top: 235px;
    margin-bottom: 65px;
    align-self: center;
    width: 80%;
  }
  
/********************** HEADER + NAVBAR ***************/
  @media screen and (max-width: 640px) {

    .tabel1 li a {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    input[type="checkbox"]:not(:checked)+ul {
      display: none;
    }

    nav ul {
      display: block;
    }

    nav {
      flex-direction: column;
      margin: 8px 0 8px 0;
    }

    .navlabel { /* opmaak hamburger icon */
      text-align: right;
      display: block;
      padding: 0.5em;
      margin-right: 1em;
      align-self: center;
      cursor: pointer;
    }

    nav ul li {
      margin-bottom: 0;
      width: 100%;
      text-align: center;
      padding: 0.5em;
    }
  }

  .tabel1 li {
    display: flex;
    flex-direction: column;
    justify-self: center;
    text-align: unset;
    padding: 0;
    margin: 0;
  }

  .tabel1 p {
    font-size: 1.5em;
  }

  header {
    font-family: "Freeman", sans-serif;
    color: #DACDBB;
    background-color: #5D5146;
    position: fixed;
    width: 100%;
    text-align: center;;
    z-index: 1;
  }
  /* Standaard inline padding weg doen om mooi te centreren */
  .tabel1 {
    padding-inline-start: 0;
  }

  nav {
    justify-content: space-between;
    width: 100%;
  }

  .nav ul {
    background-color: #5D5146; 
    list-style-type: none;
  }
  
  nav ul li {
    display: inline-flex;
    list-style-type: none;
    margin: 0.3em 1em;
  }

  nav ul li a:hover {
    color: orange;
  }

  /* hamburger menu laten verdwijnen op desktop */
  nav input[type="checkbox"], nav label{
    display: none;
  }

  nav ul li a {
    color: #DACDBB;
    text-decoration: none;
  }

  #logo {
    font-size: 4em;
    color: orange;
  }
  /********************* MAIN *******************/
  /***** UITZOEKEN ******/
  section {
    padding-top: 20px;
  }

  /********************* BODY *******************/

  body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #DACDBB;
    font-size: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /********************** FOTOGALERIJ ***********************/

  img {
    z-index: 0;
    position:relative;
  }

  .fotogalerij {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style-type: none;
    padding: 0;
  }

  .fotogalerij > li {
    flex-basis: 350px; /* basis breedte flex instellen */
    position: relative; /* als je met de muis over de afbeelding gaat */
    cursor: help; /* past de cursor aan naar pijltje/vraagteken */
  }

  .overlay {
    position: absolute; /* houdt de overlay op zijn plaats */
    width: 100%;
    height: 100%;
    background: rgba(97, 96, 96, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* tekst positioneren op de overlay */ 
    display: flex;
    align-items: center;
    justify-content: center;
    /* font */
    font-family: "Freeman", sans-serif;
  }

    /* hover */
  .fotogalerij li:hover .overlay {
    transform: scale(1);
  }

  .fotogalerij li img {
    object-fit: cover;  /* aspect ratio behouden */
    max-width: 100%;  /* zorgt voor responsiveness */
    vertical-align: middle; /* zorgt voor responsiveness */
    border-radius: 5px;
  }
  
  /********************** FORM ***********************/
  .contactFormulier {
    max-width: 600px;
  }
  
  .form-background{
    background-color: #F4EDED;
    box-shadow: 0px 0px 1rem gray;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    padding: 20px;
    margin-top: 235px;
    margin-bottom: 65px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-self: center;
    max-width: 80%;
  }
  
  form {
    display: flex;
    flex-direction: column;
  }

  .contactFormulier input {
    margin-bottom: 10px;
    padding: 10px 0;
    border-radius: 5px;
    border: 1px;
  }

  .contactFormulier select {
    margin-bottom: 10px;
    padding: 10px 0;
    border-radius: 5px;
    border: 1px;
  }

  .contactFormulier fieldset {
    margin-bottom: 10px;
    border-radius: 5px;
  }

  .contactFormulier textarea {
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px;
  }

  form button {
    padding: 5px;
    margin-bottom: 5px;
    margin-top: 5px;
    border: none;
    background-color: #DACDBB;
    width: 100%;
    border-radius: 5px;
  }

  #geslacht {
    padding-top: 10px;
    margin-bottom: 10px;
  }

  form button:hover{
    background-color: orange;
  }
  /********************** RECEPTEN ***********************/
  @media screen and (max-width: 640px) {
    #wrapper {
      max-width: 80%;
      display: flex;
      flex-direction: column;
    }
  }

  #wrapper {
    max-width: 80%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
  }

  .box1 {
    display: inline-block;
    width: 100%;
  }

  .box2 {
    flex: 2;
  }

  .box3{
   flex: 1;
  }

  .box3 img {
    width: 100%;
    height: 100%;
    object-fit: contain; /** zorgt dat de aspect ratio blijft **/
  }
  /********************** FOOTER ***********************/
  footer{
    background-color: #5D5146;
    margin-top: auto;
    bottom: 0;
    width: 100%;
    position: fixed;
  }

  footer p {
    color: #DACDBB;
    text-align: center;
    font-size: smaller;
    font-family: "Freeman", sans-serif;;
  }
