@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:wght@300..800&display=swap');

body {
  background-color:rgb(247 236 222);
  padding:16px;
  margin:0;
  font-weight:500;
  font-size:18px;
   font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

h2 {
  font-size:48px;
  font-weight:500;
}


menu, ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li { position:relative;}

header#main-header {
  position:fixed;
  top:1rem;
  left:16px;
  right:16px;
  height:84px;
  z-index:30;
  padding:0 20px;
  border-radius: 0 0 5px 5px;
  background-color: rgba(255, 255, 255, 0.8);
}

.transition-all {
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .7s;
  transition-duration: .7s;
  -webkit-transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-timing-function: cubic-bezier(.4,0,.2,1);
}

header#main-header.scrolled {
  top:0;
  left:0;
  right:0;
  background-color:  rgba(255, 255, 255, 1);
}

header#main-header .logo img {
  position: relative;
  width:80px;
  margin-top:60px;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex
}

.flex-align-center {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.flex-justify {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.flex-justify-center {
  -webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}

nav {
  width:100%;
}

.menu-block {
  width: calc((100% - 80px) / 2);
}

.menu-block ul {
  width:100%;
  -moz-column-gap: 3rem;
  -webkit-column-gap: 3rem;
  column-gap: 3rem;
}
.menu-block ul li a,
.mobile-menu a,
.language-selector,
.language-selector a {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  color:#000;
  font-size:1.25rem;
  text-decoration:none;
  letter-spacing:1.1px;
}
.mobile-menu a {
  line-height:3rem;
font-size:2rem;
}

.language-selector { 
min-width:75px;
 }

 .language-selector svg {
  max-width:24px;
  margin-right:5px;
  margin-bottom:-5px;
 }

footer a.line::after,
.menu-block li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 1px;
  width: 0;
  background-color: black;
  transition: width 0.3s ease;
}

footer a.line:hover::after,
.menu-block li a:hover::after {
  width: 100%;
}

.wp-block-cover.header-cover {
  position:relative;
  height:100%;
  height: calc(100vh - 32px); /* fullscreen hoogte */
  overflow: hidden;
}

.wp-block-column .wp-block-cover {
   position:relative;

  overflow: hidden;
}
.wp-block-column .wp-block-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.6s ease; 
  transform-origin: center center;
}

/* Hover-effect: zoom iets in */
.wp-block-column .wp-block-cover:hover img {
  transform: scale(1.1);     
}

.wp-block-cover.header-cover img {
  position: absolute;
top: 0 !important;
left: 0 !important;
height: 100%;
width: 110%;
object-fit: cover;
animation: pan-left 40s linear infinite;
z-index: 0;
scale
}

@keyframes pan-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-10%);
  }
}
.wp-block-column .wp-block-cover { position:relative; }
.wp-block-column .wp-block-cover div a {
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:100%;
  font-size: 32px;
  font-weight:500;
  color:#fff;
  line-height: 1;
  text-decoration:none;
}

.wp-block-column .wp-block-cover div a em { 
  position:absolute;
  font-style: normal;
  bottom:45px;
  left:45px;
}

.wp-block-cover.header-cover div {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  padding: 1rem;
}
.wp-block-cover div  p {
  margin:0;
  padding:0;
}

.wp-block-cover.header-cover div .has-large-font-size {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size:4rem;
  text-decoration:none;
  letter-spacing:1.1px;
}


#mobile-menu-con { display:none; }

.language-selector ul {
  position: absolute;
  opacity:0;
  right:15px;;
  top:100px;
  padding:15px;
  border-radius:5px;
  overflow:hidden;
  background:#fff;
}
.language-selector:hover ul {
  opacity:1;
    transform: translateY(-30%);
}
.language-selector ul li a {
  line-height:40px;
}

.wp-block-columns {
  background:#FFF8EF;
  padding:1.25rem;
  margin-top:1.25rem;
  border-radius:5px;
}

.wp-block-columns.is-layout-flex {
  --g: 1.5rem;         /* gap */
  display: flex;
  flex-wrap: wrap;
  gap: var(--g);
    box-sizing: border-box;
}

.wp-block-columns.has-width {
  gap:0;
}

/* Items: groeien mee, breken af rond ~260px */
.wp-block-column.is-layout-flow {
  flex: 1 1 260px;     /* grow:1, shrink:1, basis:260px */
  min-width:0;
  box-sizing: border-box;
}

.wp-block-column.is-layout-flow.has-width {
 flex: 0 0 auto; 
   min-width: 0;
  box-sizing: border-box;
}

/* Optioneel: wat aankleding */
.wp-block-column.is-layout-flow  {

}

footer {
  border-top:2px solid #D5C1A6;
  display:flex;
  column-gap: 2rem;
  flex-wrap: wrap;
}
footer strong {
  font-size:28px;
  font-weight:500;
}
footer div {
flex: 1 1 260px;
}

footer .flex {
  gap:20px;
}
footer .flex div {
  flex:0 0 auto !important;

}

footer img {
  max-height:215px;
  margin-top:20px;
}

footer svg {
  max-height:24px;
  margin-right:10px;
}

footer a {
  line-height:32px;
  position: relative;
  color:#000;
  text-decoration: none;
}
footer a svg {
  margin-bottom:-6px;
}


/**** RESPONSIVE ****/

@media (max-width: 640px) {
  body {
    padding: 0;
  }


  .bg-white {
    background:#fff;
  }
  header#main-header {
    display:none !important;
  }
  #mobile-menu-con {
    position: fixed;
    display:block;
    width:100%;
    height:64px;
    z-index:1000;
  }
  #mobile-menu-con .logo {
    position: fixed;
    z-index:10000;
    top:15px;
    left:calc(50% - 1.5rem)
  }
  #mobile-menu-con .logo img {
    width:3rem;
  }

  .wp-block-cover.header-cover {
    height: 100vh;
  }

  .wp-block-cover.header-cover img {
    animation: pan-left 10s linear infinite;
  }

  /* Hamburger knop */
  .hamburger {
    position:fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    top:2rem;
    left:1.25rem;
    padding: 0;
    cursor: pointer;
    z-index: 999;
  }

  .bg-white .hamburger {
    top:1.4rem;
  }

  .hamburger .bar {
    height: 3px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    transition: 0.3s ease;
  }

    .bg-white .hamburger .bar {
      background-color: rgba(0, 0, 0, 0.6);
    }

  /* Menu basis (verborgen) */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color:rgb(247 236 222);
    color: 000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  /* Actieve klasse om menu te tonen */
  .mobile-menu.active {
    left: 0;
  }

  /* Sluitknop */
  .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    background: none;
    border: none;
    color: black;
    cursor: pointer;
  }

  /* Menu-stijl */
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .mobile-menu li {
    margin: 1rem 0;
  }
  footer {
    margin:0 15px;
  }
}


@media (max-width: 640px) {
  .wp-block-column.is-layout-flow {
    flex-basis: 100%;
  }
  .wp-block-column.is-layout-flow.has-width {
    flex: 0 0 100% !important;
  }
  footer div {
  flex: 0 0 100%;
  }

}







/********* RESET ********/

.mt-0 { margin-top:0 }
.has-white-background-color { background:#fff; }
.icon { margin-top:-35px;margin-bottom:-25px; }