img{width: 100%;}

picture{
  display: block;
  line-height: 0;   /*dit staat voor de body op 1.4, maar was de boosdoener van de witte lijn onder de foto's!*/
}

body{
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  margin: 0px;
  padding: 0px;
}

header{
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6; 
  top: 0;
  position: absolute;
}

article{
  padding: 1em;
}

/* Alle commentaar die bij de volgende items staat, kwam mee met het stukje code voor het menu-tje

Style the navigation menu */
.topnav {
    overflow: hidden;
    background-color: #333;
    position: static;   /*stond oorspronkelijk op relative*/
  }
  
  /* Hide the links inside the navigation menu (except for logo/home) */
  .topnav #myLinks {
    display: none;
  }
  
  /* Style navigation menu links */
  .topnav a {
    color: white;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 20px;
    display: block;
  }
  
  /* Style the hamburger menu */
  .topnav a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  /* Add a grey background color on mouse-over */
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
  
  /* Style the active link (or home/logo) */
.active {
    background-color: #000000;
    color: white;
}
  
  /* Style the navbar */
#navbar {
    position: sticky;
    top: 0;
    overflow: hidden;
}

iframe{
  border: 0px;
  overflow: visible;
}

/*aside{
   display: flex;
   flex-direction: row;
   justify-content: center;
   margin-bottom: 1em;
}*/

.inverted{
  background-color: #333;
  color:#ffffff;
}

.contactformulier{
  background-color: #e9e9e9;
  padding: 2%;
  margin: 3%;
}

input[type=text], input[type=email], input[type=tel], input[type=number], input[type=date]{
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

input[type=color]{
  width: 50%;
}

input[type=range]{
  width: 100%
}

select{
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

textarea{
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
}

input[type=submit], input[type=reset] {
  background-color: #333;
  font-size: large;
  border: none;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

section{
  margin: 2%;
}

footer{
  background-color: #e9e9e9;
  font-family: 'Inter', sans-serif;
  font-size: small;
  padding: 2%;
  bottom: 0;
}

@media (min-width: 800px){ /*deze media-query toont de desktop-versie vanaf 800px*/
  body {
    min-width: 800px;
  }

  img{
    height: 100%;
  }

  article{
    padding-left: 10em;
    padding-right: 10em;
  }

  .fotoGrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 100px;
  }

  .contactformulier{
    display:flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: normal;
    padding-left: 10em;
    padding-right: 10em;
    margin-inline: 5%;
  }

  section{
    
    padding-left: 10em;
    padding-right: 10em;

  }

  footer{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
  }

    .resume-container {
      max-width: 900px;
      margin: 2rem auto;
      padding: 0 1rem;
    }
  
    .resume-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }
  
    .resume-header h1 {
      font-size: 1.5rem;
      margin: 0;
    }
  
    .download-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.5rem 1.1rem;
      background-color: #2c2c2c;
      color: #fff;
      text-decoration: none;
      border-radius: 6px;
      font-size: 0.9rem;
      transition: background-color 0.2s;
    }
  
    .download-btn:hover {
      background-color: #444;
    }
  
    .pdf-wrapper {
      width: 100%;
      aspect-ratio: 8.5 / 11;
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    }
  
    .pdf-wrapper iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }
  
    .pdf-fallback {
      display: none;
      padding: 2rem;
      text-align: center;
      color: #555;
    }
}

.load-btn {
  width: 100%;
  height: 100%;
  border: none;
  background: #f5f5f5;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 8px;
  color: #333;
  transition: background 0.2s;
}

.load-btn:hover {
  background: #e0e0e0;
}