/* begin divers fonts */
   
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Germania+One&display=swap');
    
 /* end divers fonts */

/* Algemene instellingen  */

*,
    ::before,
    ::after {
    margin: 0;
    padding: 0;    
    box-sizing: border-box;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    margin: 0;
    background-color:  var( --primary-background-color);
    }
   
img {
    border-radius: 0.22rem;
    display: block;
    width: 100%;
    object-fit: cover;
    }

/* colors and fonts variables */

:root {
   /* colors variables */
    --primary-heading-color:  rgb(255, 145, 0);
    --secondary-heading-color:  #f5ebe4; 
    --third-heading-color:  #56351d;
   
    --primary-text-color:  #012222;
    --secondary-text-color:  #703935;
    --third-text-color: #4b3926;
    --fourth-text-color: #1e4d5c;
    --fifth-text-color: white;

    --primary-link-color: white;
    --secondary-link-color: brown;
    --third-link-color: rgb(255, 145, 0);

    --primary-background-color: #f5ebe4;
    --secondary-background-color: #555;
    --third-background-color: rgba(255, 145, 0, 0.5); 
    --fourth-background-color: rgba(255, 255, 255, 0.15);
    --fifth-background-color: #d9b26a;
    --six-background-color: #A2A77F;
    --seven-background-color:rgba(0, 0, 0, 0.6);

   /* font variables  */
    --primary-font: "Jost", sans-serif;;
    --secondary-font: "Nunito Sans", sans-serif;
    --third-font:  "Germania One", system-ui;
    }

/* einde colors and fonts variables */

h1, h2, h3, h4, h5, h6 {
   font-family: var(--secondary-font); 
   font-weight: 600;
   }
 
/* p, td, figcaption, caption, th, li  */
    p, td, figcaption, caption, th, li {
    color: var(--primary-text-color);
    font-family: var(--primary-font); 
    font-weight: 500;
    font-style: normal;
    font-size: 1rem;
    }
 
li {
    list-style-type: none;
    }

header {
    background-color: var(--primary-background-color);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    background: transparent;
    } 

/* HERO HEADER  */

.hero {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background: url('/images/boerenhof-boerentuin-boerderij.png') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    }

.hero-content-titel {
    color: var(--primary-heading-color);
    font-size: 1.7rem;
    font-weight: 700;
     }

.hero-content-subtitel {
    font-size: 1.4rem;
    font-weight: 700;
    }

.hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 180px;
    background: #f5ebe4;
    /* diagonally cut */
    clip-path: polygon(0 100%, 100% 55%, 100% 100%);
    }

 /* hero header Boerenhof gallery */ 
      
#hero-background-gallery {
       background: url('/images/gallerij-boerenhof-main.jpg');
    }

#hero-background-gallery .hero-content-titel, .hero-content-subtitel {
    color: var(--secondary-heading-color);
    }

/* hero header background other pages + background contact page */  

#hero-background-menu-rest {
    background: url('/images/boerenhof-beukenhaag.jpg') center center/cover no-repeat;
    }

#hero-background-menu-contact {
    background: url('/images/boerenhof-boerentuin-boerderij-contact.jpg') center center/cover no-repeat;
    }
  
/* scrolling : blur navigation */    
    
#navbar.scrolled {
    background: var(--fourth-background-color);
    backdrop-filter: blur(100px);
    }


/* default settings article  */ 
 
article {
    text-align: center;
      }


.hero, main, footer{ 
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background-color: var(--primary-background-color);
    }

/* settings nav submenu and logo */

.flexbox-header {
    display: flex;
    max-inline-size: 1024px;
    margin-inline: auto;
    }
   
 .flexbox-logo {
    height: 10rem;
    background-image: linear-gradient(#a98338, #703935, #a67e23);
    }

.flexbox-navigatie {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    background-size: cover;
    }

.topnav {
    overflow: visible;
    }

.topnav a, .dropbtn {
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    }

.logo {
    width: 10rem;
    height: 10rem;
    position: relative;
    font-weight: 700;
    color: green;
    font-size: 1rem;
    }

.logo .logo-content-top {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    transform: translate(-50%, -50%);
    }

/* .flexbox-logo .logo .logo-content-bottom { */
.logo .logo-content-bottom { 
    position: absolute;
    bottom: 0.4rem;
    left: 50%;
    transform: translate(-50%, -50%);
    }

.topnav .icon {
    display: none;
    }

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: var(--primary-link-color);
    font-weight: 700;
    background-color: inherit;
    font-family: inherit;
    }

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    }

.dropdown-content a {
    padding: 8px 6px;
    text-decoration: none;
    display: block;
    text-align: left;
    }

/* nieuw scrolled menu */
/* Normale dropdown */
.dropdown {
    position: relative;
    overflow: visible;
}

/* einde nieuwe scrolled menu */

.topnav a:hover,
.dropdown:hover .dropbtn {
    background-color: var(--secondary-background-color);
    color: var(--primary-link-color);
    }

.dropdown-content a:hover {
    background-color: var( --secondary-background-color);
    color: var(--primary-text-color);
    }

.dropdown:hover .dropdown-content {
    display: block;
    }

/* indicate which link is active */
a.active {
    background-color:  var( --third-background-color);
    } 

a, p, span {
    overflow-wrap: break-word;
    }

@media (min-width:768px){

    #navbar.scrolled .dropdown-content{
        position:absolute;
        top:100%;
        left:50%;
        transform:translateX(-50%);
        display:none;
        flex-direction:row;
        gap:1rem;
        width:max-content;
        background:rgba(255,255,255,.2);
        backdrop-filter:blur(10px);
    }

    #navbar.scrolled .dropdown:hover .dropdown-content{
        display:flex;
    }
}

@media screen and (max-width: 767px) {
        /* Hamburgermenu nav */
    .topnav .flexbox-navigatie a,
        .dropdown .dropbtn {
        display: none;
        }

    .topnav a.icon {
        display: block;
        color: var( --third-link-color);
        position: absolute;
        right: 0;
        top: 0;
        }
        
    .topnav.responsive .dropdown.open .dropdown-content {
      display: block;
        }

    /* .topnav.responsive #navbar.scrolled .dropdown-content { */
        .topnav.responsive.dropdown-content { 
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        flex-direction: column;
        }

    .flexbox-header {
        flex-direction: column;
        }

    .flexbox-navigatie {
        flex-direction: column;
        background-image: linear-gradient(270deg, #703935, #ac7979);
        }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
        }

    .topnav.responsive a {
        display: block;
           }

    .topnav.responsive .dropdown-content {
        position: relative;
        }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        }
    }

/* end formatting hero and header and nav  */

/* start formatting index/home page */

/* begin 5 blocks header */

.blocks-section {
    position: relative;
    margin-bottom: -4rem;
    }

.blocks-services-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 1rem;
    }

.block {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background-image: radial-gradient(circle at right, #A2A77F, #e5e57f);
    background-size: cover;
    background-position: center;
    box-shadow: 0 18px 18px gray;
    }

.block:hover {
    background-image: radial-gradient(circle at right, #A2A77F, #703935);
    }

.block:hover {
    transition: 1s ease;
    }

.block-content h3,.block-content h4 {
    color: var(--secondary-heading-color);
    transition: color 1s ease;
    }

.block-content:hover h3,.block-content:hover h4 {
    color: var(--primary-heading-color);
    }

.block-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    }

.block-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: rgb(8, 46, 8);
    }

.block-content {
    position: relative;
    padding: 5px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    hyphens: auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    }

.block h3 {
    margin: 0 0 0.5rem;
    }
.block h4 {
    margin: 0;
    overflow: auto;
    }

    /* MOBIEL */

    @media screen and (max-width: 568px) {
        .block {
            aspect-ratio: 1 / 1;
                /* aspect-ratio: 4 / 3; */
            margin-left: 4rem;
            margin-right: 4rem;
            font-size: 18px;
            }
        }
        .block:nth-child(5) {
             margin-bottom: 3rem;
            }
        /* TABLET
        3 blokken boven
        2 blokken gecentreerd onder */

    @media screen and (min-width: 569px) and (max-width: 1023px) {
        .block h3 {
            font-size: 1.2rem;
        }

        .block h4 {
            font-size: 1rem;
                    }
        .blocks-section {
            position: relative;
            transform: translateY(-25%);
            margin-bottom: -4rem;
            }

        .blocks-services-grid {
            grid-template-columns: repeat(6, 1fr);
            }

        .block:nth-child(1) {
            grid-column: 1 / span 2;
            }

        .block:nth-child(2) {
            grid-column: 3 / span 2;
            }

        .block:nth-child(3) {
            grid-column: 5 / span 2;
            }

        .block:nth-child(4) {
            grid-column: 2 / span 2;
            }

        .block:nth-child(5) {
            grid-column: 4 / span 2;
            }
        }

        /* DESKTOP */

    @media screen and (min-width: 1024px) {
        .block h3 {
            font-size: 1.4rem;
            }

        .block h4 {
            font-size: 1.2rem;
            }

        .blocks-services-grid {
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
            margin: 0 auto;
            }

        .blocks-section {
            position: relative;
            transform: translateY(-50%);
            z-index: 1;
            margin-bottom: -4rem;
            }
        }

/* end 5 blocks header */

/* begin left text column right photo */
.section-feature-farmyard-grid{
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr;
    }

/* left column */

.feature-farmyard-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(to right,
        #A2A77F 0%,
        #A2A77F 66.66%,
        #e5e57f 66.66%,
        #e5e57f 100%);
    }

.feature-farmyard-title {
    color: var(--third-heading-color);
    margin: 1rem;
    }

.feature-farmyard-text {
    color: var(--secondary-text-color);
    line-height: 1.8;
    font-size: 1rem;
    padding-bottom: 0.75rem;
    text-align: center;
    }

.feature-farmyard-content .feature-farmyard-btn {
    width: fit-content;
    padding: 1rem 2rem;
    background: var(--fifth-background-color);
    color: var( --primary-link-color);
    text-decoration: none;
    border-radius: 0.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s ease;
    }

.feature-farmyard-content .feature-farmyard-btn:hover {
    background: var(--six-background-color);
    transform: translateY(-2px);
    }

/* column right */
.feature-farmyard-image-side {
    background: #e5e57f;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

.feature-farmyard-image-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--fourth-text-color);
    text-align: center;
    }

.feature-farmyard-image-wrapper {
    width: 100%;
    }

.feature-farmyard-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 1);
    }

.feature-farmyard-title-bron {
    margin-top: 1rem;
    }

.feature-farmyard-title-bron a{
    color: var(--secondary-link-color);
    }

    @media (min-width: 767px) {
        .section-feature-farmyard-grid {
            grid-template-columns: 1fr 1fr;
            }
        }

/* end left text column right photo */


/* begin 3 photos farmyard and text next to the photo */

.section-general-farmyard-grid {
    display: grid;
    grid-template-columns: 1fr;
    }

.section-general-farmyard-grid article {
    background-image: radial-gradient(circle at right, #A2A77F, #703935);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    }

.section-general-farmyard-grid article h2 {
    margin-bottom: 1.5rem;
    position: relative;
    width: fit-content;
    color: var(--secondary-heading-color);
    }

.section-general-farmyard-grid article h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 4px;
    background: var( --primary-background-color);
    margin-top: 10px;
    border-radius: 1rem;
    }

.section-general-farmyard-grid article p {
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--primary-text-color);
    }

.section-general-farmyard-grid .general-farmyard-btn {
    width: fit-content;
    padding: 1rem 2rem;
    border: 2px solid white;
    color: var(--primary-link-color);
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 2px;
    transition: 0.5s;
    }

.section-general-farmyard-grid .general-farmyard-btn:hover {
    background: var( --primary-background-color);
    color: var(--secondary-link-color);
    }

.image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
   
    }
    @media screen and (max-width: 767px) {
        .image-block img {
            padding: 0.5rem;
            }
        }

    @media screen and (min-width: 768px) {
        .section-general-farmyard-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: var(--six-background-color);
            }

        .section-general-farmyard-grid.reverse .image-block {
            order: 1;
            }

        .section-general-farmyard-grid.reverse article {
            order: 2;
            }

        .section-general-farmyard-grid article {
            padding: 2.5rem 2rem;
            }

        .section-general-farmyard-grid article h2 {
            font-size: 2rem;
            }
        }

/* end 3 photos farmyard and text next to the photo */

/* begin of stylised text box - section-frame */
        
.section-frame {
    background: linear-gradient(45deg, #4a2d1f, #7a5235, #5a3924, #8a6242);
    border: 10px solid #3d2517;
    box-shadow:
        0 0 30px rgba(0, 0, 0, 0.7),
        inset 0 0 15px rgba(255, 255, 255, 0.1);
    }

.canvas-frame {
    background:
        radial-gradient(circle at top left,
            rgba(255, 255, 220, .4),
            rgba(190, 185, 120, .2)),
            #c9c57d;
    padding: 30px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, .15),
        inset 0 0 10px rgba(255, 255, 255, .2);
    }

h1 {
    text-align: center;  
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: var(--primary-heading-color);
    font-family: var(--third-font);
    }

.intro-frame {
    font-size: 1.1rem;
    line-height: 1.4;
    text-align: center;
    color: var(--third-text-color);
    margin-bottom: 3rem;
    }

.frame-item {
    background: rgba(245, 236, 215, .65);
    padding: 1.5rem 2.5rem;
    margin: 1.2rem 0;
    border-left: 6px solid #9b7b45;
    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, .3),
        0 3px 10px rgba(0, 0, 0, .12);
    }

.frame-item h2,
.frame-item h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--third-heading-color);
    margin-bottom: 0.7rem;
    }

.frame-item p {
    font-size: 1rem;
    text-align: center;
    color: var(--secondary-text-color);
    line-height: 1.4;
    padding: 1.2rem;
    }

.frame-item {
    padding: 0.5rem;
    } 
  
/* aged effect*/

.canvas-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            black 3px);
    }

    @media screen and (min-width: 768px) {   
        .section-frame {
            border: 40px solid #3d2517;
            box-shadow:
                0 0 60px rgba(0, 0, 0, 0.7),
                inset 0 0 30px rgba(255, 255, 255, 0.1);
        }

        .canvas-frame {
            box-shadow:
                inset 0 0 80px rgba(0, 0, 0, 0.8),
                inset 0 0 10px rgba(255, 255, 255, 0.4); 
            border: 13px solid rgba(255, 255, 255, 0.25);
        }
    }

    
/* end of stylised text box  */
    
/* begin card with 6 blocks */
.section-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    }

.card-flex {
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    }

.card-flex img {
    width: 100%;
    aspect-ratio: 7/4;
    object-fit: cover;
    }

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background:
        linear-gradient(to top left,
            #A2A77F 0 50%,
            #e5e57f 50% 100%);
    }

.card-content h2 {
    margin: 1rem;
    color: var(--primary-heading-color);
    }

.card-text {
    margin: 0;
    padding: 1rem;
    color: var(--primary-text-color);
    }

    @media screen and (min-width: 480px) and (max-width: 767px) {
        .section-cards-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media screen and (min-width: 768px) {
        .section-cards-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .section-cards-grid {
            background: linear-gradient(to right,
                 #A2A77F 0%,
                 #A2A77F 66.66%,
                 #e5e57f 66.66%,
                 #e5e57f 100%);
            }
        }

    @media (min-width: 1024px) {
        .section-cards-grid {
            grid-template-columns: repeat(6, 1fr);
            }
        }
    

/* end card with 6 blocks */       


/* begin cta call to action */

.page-main-cta {
    background-image: linear-gradient(180deg, #efedfa, #ac7979);
    text-align: center;
    padding: 2rem;
    }

.page-main-cta h1 {
    color: var(--primary-heading-color);
    border-bottom: 2px solid #ffa800;
    }

.page-main-cta p {
    padding: 2rem;
    }

.page-main-cta a {
    color: #ffa800;
    font-size: 1.5rem;
    }

/* end  cta call to action */

/* begin used – for a link / under ‘Services’ (in text) */


article p .services-link {
    color: var(--secondary-link-color);
    font-weight: 700;
    text-decoration: underline;
}

.feature-farmyard-text .services-link {
    color: var(--secondary-link-color);
    font-weight: 700;
    text-decoration: underline;
}


/* end used – for a link / under ‘Services’ (in text) */

/* begin title of all pages except the home and contact pages */

.page-main-h1 {
    color: var(--primary-heading-color);
    text-align: center;
    padding: 1rem;
    margin: 0;
    }


/* end  title of all pages except the home and contact pages */

/* begin The sketching session is called up in the 'werkwijze', 'voorwie' and on the index page */

#schetssessie-label {
    position: fixed;
    left: 20px;
    bottom: 40px;
    font-size: 0.9rem;
    background-color: var(--third-background-color); 
    color: var (--primary-link-color);
    transition: 0.1s;
    border-radius: 30px;
    z-index: 9999;
    padding: 1rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    }

.schetsservice-article {
    background: radial-gradient(circle at right, #A2A77F, #703935);
    padding: 3rem;
    border-radius: 10px;
    }


.schetsservice-article h2 {
    margin-bottom: 1rem;
}

.schetsservice-article p {
    margin-bottom: 2rem;
}


#schetssessie-label:hover {
    transform: scale(1.2);
    color: var(--third-link-color); 
    }

/* end The sketching session is called up in the 'werkwijze', 'voorwie' and on the index page */    

/* begin styling for the services menu */

.main-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    background-image: radial-gradient(circle at right, #A2A77F, #e5e57f);
    }

.main-services-grid article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    }
 
.main-article-nr {
    color: var(--primary-text-color);
    font-weight: 400;
    }

.main-article-kenmerk {
    color: red;
    }

.main-services-grid article h3 {
    margin-bottom: 1rem;
    position: relative;
    width: fit-content;
    }

.main-services-grid article h3::after {
    content: "";
    display: block;
    width: 5rem;
    height: 4px;
    background: white;
    margin-top: 10px;
    border-radius: 10px;
    }

.main-services-grid article p {
    line-height: 1.8;
    margin-bottom: 1rem;
    }

.image-block img {
    border-radius: 1rem;
    }

    @media screen and (min-width: 768px) {
        .main-services-grid {
            display: grid;
            grid-template-columns: 2fr 3fr;
            background-color: #A2A77F;
            gap: 1rem;
            }

         .main-services-grid.reverse {
            grid-template-columns: 3fr 2fr;
            }

        .main-services-grid.reverse .image-block {
            order: 1;
            }
        }

/* end styling for the services menu */

/* begin stylised page werkwijze  */
/* the styling for the text is the same as the style used in the index page */
/* - see section-frame */

.main-grid-method-content {
    display: grid;
    grid-template-columns: 1fr;
    border: 2px solid #703935;
    margin-top: 1rem;
    }

.main-grid-method-element {
    background-color: #A2A77F;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 2px solid #703935;
    margin: 1rem;
    border-radius: 25px;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    }    

.main-grid-method-element li {
    list-style-type: none;
    color: var(--secondary-text-color);
    letter-spacing: 2px;
    font-size: 1.2rem;
    }
      
.main-grid-method-element h2 {
    color: rgb(255, 145, 0); 
    margin-bottom: 1rem;
    } 

.main-grid-method-element h3 {
    margin-bottom: 1rem;
    }

.fa-check {
    color: green;
    }
  
    @media screen and (min-width: 513px)  {
        .main-grid-method-content {
            grid-template-columns: 1fr 1fr;
           
        }
 
        .main-grid-method-element li {
           letter-spacing: 1.2px;
           font-size: 1.1rem;
        }
    }


    @media screen and (min-width: 1024px) {
        .main-grid-method-content {
            grid-template-columns: repeat(4,1fr);
             
        }
  
        .main-grid-method-element li {
           letter-spacing: 1px;
           font-size: 1.2rem;
        }

        .main-grid-method-element {
            margin: 0.5rem;
        }
    }

/* end stylised page werkwijze  */

/* begin styling page voorwie */
  
.main-voorwie-boerenhof-grid {
    display: grid;
    grid-template-columns: 1fr;
    background-image: radial-gradient(circle at right, #A2A77F, #703935);
    border: 2px solid black;
    gap: 1rem;
    } 

.main-voorwie-boerenhof-grid article {
    padding: 1rem;
}

.main-voorwie-boerenhof-grid article h2 {
    color: var(--third-heading-color);
     margin-bottom:1rem;
    }
 
.main-voorwie-boerenhof-grid article p{
    margin-bottom:1rem;
    } 

/* begin carrousel  */

.slideshow-container {
    position: relative;
    margin: auto;
    }

    @media screen and (min-width: 768px) {
        .main-voorwie-boerenhof-grid {
            grid-template-columns: 1fr 1fr;
            align-items: center;
            } 
       }

/* Hide the images by default */

.mySlides {
    display: none;
    }

/* Next & previous buttons */

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    }

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
    }

/* On hover, add a black background, transparent */

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    }

.dots {
    padding-top: 1rem;
    }

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    }

.dot:hover {
    background-color: #717171;
}

.dots{
    text-align:center;
}
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
    }

@keyframes fade {
   from {opacity: .4}
   to {opacity: 1}
    }

/* einde carrousel */
  
.main-heading-icon-text-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    }
   
.icon-box-text-wrapper {
    display: flex;
    min-height: 240px;
    padding: 1rem;
    border: 2px solid #703935;
    border-radius: 4px;
    background-color: #A2A77F;
    align-items: center;
    justify-content: center;
    }

.icon-box-text-wrapper { 
    min-height: 240px;
    padding: 1rem 1rem;
    }

.icon-box i  {
    color: #F47D20; 
    padding: 0.5rem;
    font-size: 1.5rem !important;
    }

.icon-box-text-wrapper h3 {
    font-size: 1.2rem;
    }

.icon-box-text-wrapper p {
    font-size: 1rem;
    }

    @media screen and (min-width: 768px) {
        .icon-box-text-wrapper { 
            min-height: 320px;
        }

    .icon-box-text-wrapper h3 {
        font-size: 1.5rem;
        }

    .icon-box-text-wrapper p {
        font-size: 1.2rem;
        }
    }

    @media screen and (min-width: 1024px) {
        .main-heading-icon-text-grid {
            grid-template-columns: 1fr 1fr 1fr;
            }
      
        .main-heading-icon-text-grid article {
            column-gap: 1rem;
            }

        .icon-box-text-wrapper { 
            min-height: 450px;
            padding: 1rem;
            }

        .icon-box-text-wrapper h3 {
            font-size: 1.5rem;
            }

        .icon-box-text-wrapper p {
            font-size: 1.2rem;
            }
        }
   

/* end styling page voorwie */  

/* begin styling stinsenplanten */

.main-gallery-stinsen-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: auto;
    background-image: radial-gradient(circle at right, #A2A77F, #703935);
    border: 2px solid #703935;
    margin-bottom: 1rem;
    gap: 0.5rem;
  }

.main-gallery-stinsen-grid ul {
    list-style-type: none;
}

.main-gallery-stinsen-grid li {
    position: relative;
    }

.stinsen-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    aspect-ratio:4/3;
    }

.middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--fifth-text-color);
    }

.main-gallery-stinsen-grid ul li:hover .stinsen-image {
    opacity: 0.3;
    }

.main-gallery-stinsen-grid li:hover .middle {
    opacity: 1;
    }

.main-gallery-stinsen-grid ul {
    display: contents;
}

    @media screen and (min-width: 768px) {
        .main-gallery-stinsen-grid {
            grid-template-columns: repeat(5,1fr);
        }
    }

/* end styling stinsenplanten */

/* begin styling moestuinplanten */

.main-gallery-moestuin-grid ul{
    display: grid;
    grid-template-columns: 1fr;
    background-color: var(--six-background-color);
    margin: 0;
    gap: 2rem;
    align-content: space-around;
    list-style-type: none;
    }

.moestuin-container {
    position: relative;
    aspect-ratio: 1 / 1;
    }

.moestuin-container img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    }

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--seven-background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1.3s ease;
    text-align: center;
    }

.overlay p {
    color: var( --fifth-text-color);
    padding:1.5rem;
    }

.moestuin-container:hover .overlay {
    opacity: 1;
    }

.moestuin-container img{
    transition:transform 1.4s ease;
}

.moestuin-container:hover img{
    transform:scale(1.1);
}

.moestuin-container{
    position:relative;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:20px;
}
    @media screen and (max-width: 767px) {
        .overlay p {
            overflow: hidden;
            }
        }

    @media screen and (min-width: 768px) {
        .main-gallery-moestuin-grid ul {
            grid-template-columns: 1fr 1fr;
            }
        }

/* end styling moestuinplanten */

/* begin styling farmyard Boerenhof gallery */

.gallery {
    grid-template-columns: 1fr;
    display: grid;
    gap: 0.5rem;
    padding: 1rem;
    }

.photo img {
    width: 100%;
    display: block;
   
    object-fit: cover;
    aspect-ratio: 1 / 1;
    }
              
.photo {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgb(0 0 0 / .25);
    border-radius: 1rem;
    }

.photo h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-heading-color);
    }

.photo p {
    margin: .25rem 0 0;
    font-size: .75rem;
    letter-spacing: .05rem;
    text-transform: uppercase;
    color: var(--fifth-text-color)
    }

.centered {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    }

    @media screen and (min-width: 768px) {
        .gallery {
            grid-template-columns: repeat(2, 1fr);
            }
        }

    @media screen and (min-width: 1024px) {
        .gallery {
            margin-inline: auto;
            max-inline-size: 1024px;
            grid-template-columns: repeat(18, 1fr);
            /* grid-template-rows: repeat(30, 2vw); */
            grid-template-rows: 1rem;
            gap: 0;
            }

        .photo {
            padding: 0.2rem;
            }

        .photo img {
            width: 100%;
            height: 100%;
            }

        .p1 {
            grid-column: 1 / span 5;
            grid-row: 1 / span 4;
            }

        .p2 {
            grid-column: 6 / span 6;
            grid-row: 1 / span 12;
            }

        .p3 {
            grid-column: 12 / span 8;
            grid-row: 1 / span 4;
            }

        .p4 {
            grid-column: 1 / span 5;
            grid-row: 6 / span 7;
            }

        .p5 {
            grid-column: 12 / span 3;
            grid-row: 6 / span 7;
            }

        .p6 {
            grid-column: 15 / span 5;
            grid-row: 6 / span 7;
            }

        .p7 {
            grid-column: 1 / span 14;
            grid-row: 13 / span 7;
            }

        .p8 {
            grid-column: 15 / span 5;
            grid-row: 13 / span 18;
            }

        .p9 {
            grid-column: 1 / span 5;
            grid-row: 20 / span 11;
            }

        .p10 {
            grid-column: 6 / span 6;
            grid-row: 20 / span 7;
            }

        .p11 {
            grid-column: 12 / span 3;
            grid-row: 20 / span 11;
            }

        .p12 {
            grid-column: 6 / span 6;
            grid-row: 27 / span 4;
            }
        }

/* end styling famryard Boerenhof gallery */
       
 /*  begin of sowing calendar table */ 

.zaaikalender {
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #703935;
    border-radius: 8px;
    background-color: var(--first-background-color);
}

.legenda {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.legenda li {
    padding: 0.75rem 1.5rem;
}

#table-info {
    text-align: center;
}
.month {
    width: 35px;
    min-width: 35px;
    text-align: center;
}
.info-column {
    min-width: 80px;
}

th:first-child{
    position: sticky;
    left: 0;
    background-color: var(--fifth-background-color);
    }

table, th, td {
    border: 1px solid #703935;
    border-collapse: collapse;
    background-color:  var(--six-background-color);; 
    }

.table-overflow {
    overflow-x: auto;
    }

table {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
    }

th, td {
    text-align: center;
    }

.color-green {
    background-color: green;
    }

.color-brown {
    background-color: brown;
    }

.color-orange {
    background-color: orange;
    }

caption span {
    font-weight: 600;
    }

caption {
    padding-bottom: 1rem;
    }

tr {
    height: 30px;
}

/*  end of sowing calendar table */ *
   
/* begin contact form */



form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    background-color: var(--six-background-color);
    border: 3px solid #703935;
    }

form ul {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    }

form li {
    display: contents;
    }

input, textarea, select {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    }

textarea {
    resize:vertical;
    }

label {
    align-self:center;
    font-weight:600;
}

    @media (max-width: 767px) {
        form ul {
            grid-template-columns: 1fr;
            }

        form li {
            display: block;
            margin-bottom: 15px;
            }

        form li.buttons {
            display: flex;
            justify-content: space-between;
            }
        }

.main-adres-boerenhof {
    background-color: var(--six-background-color);
    max-width: 800px; 
    margin: 0 auto;
    }

.main-adres-boerenhof h1 {
    color: var(--secondary-heading-color);
    padding-top: 1rem;
    }

address {
    text-align: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

.icon-box-wrapper {
    line-height: 1.8;
    letter-spacing: 1px;
    font-size: 1.2rem;
    }

iframe {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    }

/* video {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: auto;
    display: block;
    } */

 /* end contact form */      

/* declaraties footer */

a:any-link {
    color: var(--primary-link-color);
    font-weight: 700;
    text-decoration: none;
}

.page-farmyard-footer {
    box-shadow: hsl(0deg 0% 0% / 10%) 0 2px 8px 0;
    background-image: linear-gradient(#9b7f4a, #664912);
    }

.page-farmyard-footer__content {
    margin-inline: auto;
     padding-block: 4rem 1rem;
    padding-inline: 2rem
    }

    @media screen and (max-width: 767px) {

        .page-farmyard-footer__rubrieken {
            text-align: center;
        }

        .page-farmyard-footer__rubriek__list li {
            list-style: none;
        }
        .page-farmyard-footer__rubriek__list__boerenhof li{
            list-style: none;
            padding: 1rem;
        }

      }
    @media screen and (min-width: 768px) {

        .page-farmyard-footer__rubriek__list li {
            list-style-type: square;
            }

        .page-farmyard-footer__rubriek__list__boerenhof li {
            list-style-type: square;
            }

        .page-farmyard-footer__content {
            display: grid;
            justify-content: center;
            }

        .page-farmyard-footer__rubrieken {
            display: grid;
            gap: 3rem;
            grid-template-columns: repeat(3, 1fr);
            grid-column: 1 / 2;
            grid-row: 1 / 2;
        }
    }

    @media screen and (min-width: 1024px) {

        .page-farmyard-footer__content {
            padding-inline: 0;
        }
    }

.page-farmyard-footer svg {
    width: 32px;
    height: 32px;
}
.page-farmyard-footer__small-print__socials a:first-child {
   fill: black;

}
.page-farmyard-footer__small-print__socials a:nth-child(2) {
   fill: red;
}

    @media screen and (min-width: 768px) {

        .page-farmyard-footer__rubrieken__rubriek:not(:first-child) {
            display: initial;
        }
    }

.page-farmyard-footer__rubrieken__rubriek h2 {
    margin: 1rem 0;
    color: var( --third-heading-color);
    font-weight: 700;
    font-size: 1.125rem;
    }

.page-farmyard-footer__rubriek__list li {
    padding-block: 0.5rem;
    margin-block-end: 0.5rem;
}

.page-farmyard-footer__rubriek__list__boerenhof li {
    padding-block: 0.5rem;
    margin-block-end: 0.5rem;
}

.page-farmyard-footer__rubriek__list__boerenhof li:nth-child(4),
.page-farmyard-footer__rubriek__list__boerenhof li:nth-child(5),
.page-farmyard-footer__rubriek__list__boerenhof li:nth-child(6),
.page-farmyard-footer__rubriek__list__boerenhof li:nth-child(7) {
    padding-left: 1.5rem;
     list-style-type: circle;
} 

.page-farmyard-footer__small-print {
     display: grid;
     gap: 2rem;
     grid-column: 1 / span 2;
     grid-row: 2 / 3;
     justify-items: center;
    }

    @media screen and (min-width: 768px) {
        .page-farmyard-footer__small-print {
            align-items: center;
            display: flex;
            justify-content: space-between;
        }

        .page-farmyard-footer__small-print__socials {
            order: 1
        }
    }

.page-farmyard-footer__small-print__socials a {
    align-items: center;
    background-color: #a2a77f;
    block-size: 2rem;
    border-radius: 50%;
    color: var(--primary-link-color); 
    display: flex;
    inline-size: 2rem;
    justify-content: center;
    }

.page-farmyard-footer__small-print__socials svg {
    color: white;
    stroke: white;
    }

.page-farmyard-footer__small-print small {
    font-size: 1rem;
    }

.page-farmyard-footer__small-print>* {
    align-items: baseline;
    display: flex;
    gap: 1rem;
    }
