/*
Theme Name: Heemkunde Hattem Theme
Author: Els Engel
Description: A WordPress theme for Heemkunde Hattem
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/



body {
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
}

div {
    box-sizing: border-box;
}

/*img {
    width: 100%;
    height: auto;
}*/

figure {
    margin: 0px;
}

p, li, ul {
    font-family: "Open Sans", sans-serif;
    font-size: 1em;
    line-height: 1.8;
}

h1 {
    font-size: 4em;
    font-weight: bold;
}

h2 {
    font-size: 2em;
    font-weight: bold;
}

@media (max-width: 900px) {
    h1 {
        font-size: 3em;
    }

    h2 {
        font-size: 1.5em;
    }
}

a {
    font-size: 1em;
    line-height: 1.8;
    color: #000;
}

h1 a {
    text-decoration: none;
    color: #000;
}

@media (max-width: 900px) {
    ul {
        padding-inline-start: 20px;
    }
}

.strong {
    font-weight: bold;
}



.header-wrapper {
    width: 100%;
    height: 80px;
    position: sticky;
    top: 0px;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
}


.header-logo {
    position: absolute;
    height: 65px;
    width: auto;
    left: calc((25vw - 105px) / 2);
}

.menu-wrapper {
    position: absolute;
    top: 8px;
    left: 25vw;
    width: 73vw;
    height: 72px;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

/* standaard: mobile-dingen zijn uit */
.menu-toggle,
.mobile-menu {
    display: none;
}

/* hamburger-knop (mobiel) */
.menu-toggle {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 110;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

/* mobiel menu-paneel */
.mobile-menu {
    position: absolute;
    top: 80px;          /* onder je header-wrapper (die is 80px hoog) */
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    z-index: 90;
}

.mobile-menu.open {
    max-height: 500px; /* genoeg ruimte, eventueel groter maken */
}

.mobile-menu-item {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

@media (max-width: 900px) {
    .menu-wrapper {
        display: none;
    }

    .menu-toggle {
        display: block;          /* hamburger verschijnt */
    }

    .mobile-menu {
        display: block;          /* paneel kan nu open/dicht */
    }
}

.menu-item {
    position: relative;
    font-weight: bold;
}

.menu-item a {
    text-decoration: none;
}

.menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 10px;            
  width: 100%;             
  background: #fccb8d;    
  opacity: 0;             
  
}

.menu-item:hover::after {
  opacity: 1;               
}

.menu-item.active::after {
    opacity: 1;
}

.below-logo {
    position: absolute;
    width: 100px;
    height: 10px;
    background-color: #fccb8d;
    left: calc((25vw - 100px) / 2);
    bottom: 0;
}

.below-menu {
    position: absolute;
    width: 75vw;
    height: 10px;
    background-color: #00676a; 
    right: 0px;
    bottom: 0;
}

@media (max-width: 900px) {
    .header-logo {
        left: calc((100vw - 100px) / 2);
    }

    .below-logo {
        left: calc((100vw - 100px) / 2);
    }

    .below-menu {
        left: 0;
        width: 100%;
    }
}

.intro-wrapper {
    position:fixed;
    height: calc(40vw + 50px);
    width: 100%;
    top: 80px;
    z-index: 10;
}

.behind-img {
    position: absolute;
    width: 75vw;
    height: 40vw;
    background-color: #00676a;
    right: 0px;
    top: 0;
}

@media (max-width: 900px) {
    .intro-wrapper {
        height: 60vw;
    }

    .behind-img {
        display: none;
    }
}

.scroll-mask {
    position: absolute;
    width: 90vw;
    height: 30vw;
    display: block;
    top: 4vw;
    left: 5vw;
    overflow: hidden;
}

.intro-img {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: auto;
    transform: translateY(0);
    transition: transform 0.1s linear;
}

@media (max-width: 900px) {
    .scroll-mask {
        height: 50vw;
    }

    .intro-img {
        min-height: 50vw;
        min-width: 100%;
    }
}

.i-top {
    position: absolute;
    width: 100px;
    height: 18vw;
    background-color: #fccb8d;
    left: calc((25vw - 100px) / 2);
    top: 0;
    mix-blend-mode: multiply;
}

.i-bottom {
    position: absolute;
    width: 100px;
    height: 18vw;
    background-color: #7f4961;
    left: calc((25vw - 100px) / 2);
    top: 22vw;
    mix-blend-mode: multiply;
}

.welkom-div {
    position: absolute;
    width: 60vw;
    height: 10vw;
    top: 15vw;
    left: 30vw;
    background-color: rgba(255, 255, 255, .9);
    padding: 2vw;
    z-index: 50;
}

.welkom-div p {
    font-size: clamp(1.8rem, 3.2vw, 4rem);
    font-weight: bold;
    margin: 0;
}

@media (max-width: 900px) {

    .welkom-div {
        width: 80vw;
        height: 24vw;
        top: 18vw;
        left: 10vw;
        padding: 4vw;
    }

    .welkom-div p {
        font-size: clamp(1em, 6vw, 4em);
        font-weight: bold;
        line-height: 1.3em;
        margin-top: 0;
    }
}

.body-content {
    position: relative;
    width: 100%;
    padding: 20px;
    background-color:#fff;
    margin-top: calc(40vw + 50px);
    overflow: hidden;
    z-index: 50;
}

.body-content div {
    max-width: 800px;
}

@media (max-width: 900px) {
    .body-content {
        margin-top: calc(40vw + 100px);
    }
}

.breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.6em;
    color: #7f4961;
    text-transform: lowercase;
}

.breadcrumb a {
    text-decoration: none;
    color: #00676a;
}

.breadcrumb span {
}

.content {
    margin: 0 auto 300px auto;
    padding-top: 50px;
}

.foto-bijschrift {
    position: absolute;
    right: 5vw;
    bottom: calc(4vw + 40px);
    color: #ccc;
    font-size: .6em;
}

@media (max-width: 900px) {
    .i-top {
        left: calc((100vw - 100px) / 2);
    }

    .i-bottom {
        left: calc((100vw - 100px) / 2);
        top: 42vw;
    }

    .foto-bijschrift {
        max-width: 30%;
        bottom: -5px;
        color: #000;
        text-align: right;
        background-color: rgba(244, 244, 244, .8);
        padding: 5px;
    }
}

.wp-block-image {
    margin: 50px auto;
}

.size-medium, .size-large {
    margin-left: 50%;
    transform: translate(-50%);
}

.wp-block-table td {
    border-color: #ccc !important;
}

.blok {
    position: relative;
    width: 100vw;
    max-width: 100vw !important;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fccc8d;
    color: #000;
    padding: 20px 0 50px 0;
    margin: 50px 0;
}

.blok .wp-block-group__inner-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.blok  .wp-block-group__inner-container a {
    color: #000;
}

.blok .wp-block-group__inner-container .home-post__title {
    mix-blend-mode: normal;
    background-color: #7f4961;
}

.blok .wp-block-group__inner-container .home-post__title a {
    color: #fff;
}

.blok .wp-block-group__inner-container .home-post__content {
    background-color: #00676a;
    color: #fff;
}

.blok .wp-block-group__inner-container .home-post__content a {
    color: #fccc8d;
}

.blok table {
    background-color: #7f4961;
    color: #fff;
}

.blok .wp-block-table td {
    border: 1px solid #fccc8d !important;
}

.blok  .wp-block-group__inner-container table a {
    color: #fff;
}

.home-posts-block {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.home-post {
    position: relative;
    width: 40%;
    min-width: 300px;
    margin: 50px 2%;
}

.home-post__title {
    position: relative;
    margin:auto;
    text-align: center;
    background-color: #00676a;
    mix-blend-mode: multiply;
    padding: 10px;
    z-index: 50;
    width: fit-content;
}

.home-post__title a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.home-post__content {
    width: 100%;
    background-color: #fccb8d;
    padding: 30px 20px 20px 20px;
    margin-top: -10px;
    z-index: 40;
}

.home-post__content a {
    text-decoration: none;
    color: #00676a;
    font-weight: bold;
}

.home-post__thumb img {
    width: 100%;
    height: auto;
}

.footer {
    position: absolute !important;
    max-width: 100% !important;
    width: 100%;
    bottom: 80px;
    left: 0;
    height: 220px;
    background-color: #7f4961;
    color: #fff;
    margin-top: 20px;
}

.footer a {
    color: #fff;
}

.site-map {
    position: absolute;
    width: 40%;
    min-height: 100px;
    font-size: .8em;
    top: 20px;
    /*left: calc((25vw - 100px) / 2);*/
    left: 40px;
}

.site-map a {
    text-decoration: none;
    color: #fff;
}

.site-map p {
    text-transform: lowercase;
    margin: 0px;
    color: #fff;
}

.site-map .strong {
    text-transform: uppercase;
}

.address {
    position: absolute;
    width: 40%;
    min-height: 100px;
    font-size: .8em;
    top: 20px;
    /*right: calc((25vw - 100px) / 2);*/
    right: 40px;
    text-align: right;
    color: #fff;
}

.address p {
    margin: 0px;
}

.copyright-wrapper {
    margin: auto;
    font-size: .8em;
    margin-left: calc((25vw - 100px) / 2);
    bottom: 0px;
    color: #00676a;
}

@media (max-width: 900px) {
    .site-map {
        left: 20px;
    }

    .address {
        right: 20px;
    }
}
