body {
  height: 100%;
  min-height: 100%;
  width: 100%;
  min-width: 360px !important;
  max-width: 1440px !important;
  margin: auto;
  background-color: #ebf3fa;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
}

h1 {
  font-size: 1.3em;
}

h2 {
  font-size: 1.1em;
}

h3 {
  font-size: 1em;
}

.container {
  width: 90%;
  margin: auto;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  text-align: center;
}

.header {
  margin: 8px;
}

.header>.logo {
  display: block;
  height: auto;
  min-width: 0;
  max-width: min(600px, calc(100% - 50px));
  margin: 0 auto 15px;
}

.menu {
  font-family: Arial, Helvetica, sans-serif;
  height: 50px;
  background-color: rgb(34, 34, 34);
  vertical-align: middle;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 50px;
  margin: 0 15px;
}

.menu>.selected {
  color: rgb(187, 219, 240);
}

.carousel {
  width: 100%;
  height: 28vw;
  max-height: 350px;
  overflow: hidden;
}

.carousel>.foto {
  width: 100%;
  top: 50%;
  transform: translateY(-32%);
}

.main {
  padding: 35px;
  padding-top: 0px;
  text-align: left;
}

.werkgebied {
  width: 90%;
  margin: auto;
  text-align: center; 
  font-size: 10px; 
  color: gray;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: auto;
  background: rgb(34, 34, 34);
  font-size: 0.8em;
  text-align: center;
  padding: 14px 25px 14px 25px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.footer > div {
  margin-left: 5px; 
  margin-right: 5px;
}

.footer a {
  color: #ffffffd6;
  text-decoration: none;
}

.footer a i {
  margin-right: 10px;
}

.footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* === RESPONSIVENESS === */
@media (max-width: 500px) {
  .header {
    margin: 8px;
  }
  .main>.schilder {
    width: 100px;
    height: 150px;
  }

  body {
    font-size: 15px;
  }

  .menu {
    height: auto;
    min-height: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 8px 6px;
    gap: 4px 8px;
  }

  .menu a {
    font-size: 10px;
    line-height: 1.0;
    margin: 0;
    white-space: nowrap;
  }

  .footer { font-size: 0.7em; }
  .footer > div { width: 100%; text-align: left !important; line-height: 2em;}

  .werkgebied { font-size: 8px;}
}

@media (min-width: 500px) and (max-width: 800px) {
  .main>.schilder {
    width: 150px;
    height: 225px;
  }

  body {
    font-size: 16px;
  }

  .menu a {
    font-size: 14px;
    margin: 0 8px;
  }

  .footer { font-size: 0.8em; }
  .footer > div { line-height: 2em; }

  .werkgebied { font-size: 9px;}
}
