/* 	=====================================
		Algemene reset
====================================== */
*, *::before, *::after {
    box-sizing: border-box;
}  
* { 
    padding: 0;
    margin: 0;
}
body, html {
    background-color: white;
    color: black;
    height: 100%; 
    line-height: 1.8;
}
img, video, svg {
    display: block;
    max-width: 100%;
}

li {
    list-style: none;
    font-family: inherit;
}
a:link, a:visited, a:hover, a:active {
    color: inherit;
    text-decoration: none;
}

/* 	=====================================
		Lettertypen
====================================== */
@font-face {
    font-family: "Raleway Medium"; /*Het format specificeren helpt een browser om het bestandstype te herkennen en optimaliseert de laadtijd.*/
    src: url(fonts/Raleway-Medium.woff2) format("woff2"), /*Voor moderne brouwsers.*/
    url(fonts/Raleway-Medium.woff) format("woff"),  /*Fallback voor meer compatibiliteit.*/
    url(fonts/Raleway-Medium.ttf) format("truetype"),  /*Breed ondersteund format. Staat op de derde plaats omdat deze niet geoptimaliseerd is voor weggebruik.*/
    url(fonts/Raleway-Medium.svg) format("svg"), /*Voor zeer oude versies van iOS Safari.*/
    url(fonts/Raleway-Medium.eot) format("eot"); /*Voor ondersteuning van IE8 en ouder.*/;
    font-weight: 400; /*De weight specificeren voorkomt dat een browser dit zelf doet of anders interpreteert.*/
}
@font-face {
    font-family: "Raleway Bold";
    src: url(fonts/Raleway-Bold.woff2) format("woff2"), 
    url(fonts/Raleway-Bold.woff) format("woff"),
    url(fonts/Raleway-Bold.ttf) format("truetype"), 
    url(fonts/Raleway-Bold.svg) format("svg"), 
    url(fonts/Raleway-Bold.eot) format("eot");
    font-weight: 700;
}
@font-face {
    font-family: "Raleway Extra Bold";
    src: url(fonts/Raleway-ExtraBold.woff2) format("woff2"), 
    url(fonts/Raleway-ExtraBold.woff) format("woff"),
    url(fonts/Raleway-ExtraBold.ttf) format("truetype"), 
    url(fonts/Raleway-ExtraBold.svg) format("svg"), 
    url(fonts/Raleway-ExtraBold.eot) format("eot");
    font-weight: 900;
}
@font-face {
    font-family: "Merriweather Bold Italic";
    src: url(fonts/Merriweather-BoldItalic.woff2) format("woff2"), 
    url(fonts/Merriweather-BoldItalic.woff) format("woff"),
    url(fonts/Merriweather-BoldItalic.ttf) format("truetype"), 
    url(fonts/Merriweather-BoldItalic.svg) format("svg"), 
    url(fonts/Merriweather-BoldItalic.eot) format("eot");
    font-weight: 700;
}

/* 	=====================================
		Defaults
====================================== */
:root {
    --primary: rgb(65, 140, 159);
    --accent: rgb(217, 138, 63);

    --box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 3px 6px rgba(0, 0, 0, 0.35);
}
body {
    font-family: "Raleway Medium", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    color: #000;
}
h1 {
    font-family: "Merriweather Bold Italic",serif;
    font-size: 1.1rem;
    font-weight: 700;
}
h2 {
    font-family: "Raleway Bold", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    padding-top: 1rem;
    margin-bottom: 20px;
}
h3 {
    font-family: "Raleway Extra Bold", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
}
p, span, label {
    font-family: "Raleway Medium", sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
}
.link {
    color: var(--primary);
    text-decoration: underline;
}
button, a.button {
    position: relative;
    display: block;
    width: 250px;
    font-family: "Raleway Bold", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    background-color: var(--accent);
    color: #fff;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.3s ease; /*Subtiele animatie i.p.v. een plotselinge overgang.*/
    cursor: pointer;
    padding: 0.5rem 0;
}
button:hover, a.button:hover {
    box-shadow: var(--shadow-hover);
}
.container {
    max-width: 1400px;
    position: relative;
    margin: 0 auto;
}
.centered {
    display: flex;
    justify-content: center;
}

.centeredColumn img {
    width: 80%;
    margin: 1rem;
}
main {
    padding: 10px;
}
.boxed img {
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
        padding-top: 1.5rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    p, span, label {
        font-size: 0.9rem;
    }
    button {
        width: 280px;
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
    a.button {
        width: 280px;
        font-size: 1.1rem;
    }
    main {
        padding: 15px;
    }
    .boxed {
        width: 80%;
        margin: 0 auto;
    }
    
    .centeredColumn img {
        width: 50%;
    }
}
@media screen and (min-width: 1280px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
        padding-top: 1.8rem;
    }
    h3 {
        font-size: 1.4rem;
    }
    p, span, label {
        font-size: 1.2rem;
    }
    button {
        width: 300px;
        font-size: 1.2rem;
        padding: 1rem 0;
    }
    a.button {
        width: 300px;
        font-size: 1.2rem;
    }
    main {
        padding: 20px;
    }
    
}
.responsiveVideo {
    width: 100%;
    height: auto;
    max-width: 480px; 
    margin: 1rem auto;
}

@media screen and (min-width: 768px) {
    .responsiveVideo {
        max-width: 720px; 
        margin: 2rem auto;
    }
}

@media screen and (min-width: 1280px) {
    .responsiveVideo {
        max-width: 800px; 
    }
}

/* 	=====================================
	Cards - defaults
====================================== */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: var(--box-shadow);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    padding: 10px;
    margin: 20px 0;
}
.card:hover {
    box-shadow: var(--shadow-hover);
}
.featuredCards .card { /*Voor alle cards met een donkere image als volledige achtergrond en tekst en een button in de voorgrond.*/
    width: 100%;
    height: 520px;
    overflow: hidden;
}
.featuredCards .card::before {
    content: '';
    position: absolute;
    inset: 0 0 0 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.featuredCards img {
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    object-fit: cover;
} 
.toFront {
    position: absolute;
    inset: 0 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.featuredCards blockquote {
    position: relative;
    color: #fff;
    font-style: italic;
    text-align: center;
    padding: 1em;
    margin: 0;
}
.featuredCards blockquote::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    width: 80%;
    height: 5px;
    background-color: var(--primary);
    z-index: 2;
}
.featuredCards h3 {
    color: #fff;
    padding: 3em;
}
@media screen and (min-width:768px) {
    .featuredCards {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    .featuredCards .card {
        width: 48%;
        height: 500px;
    }
    .featuredCards img {
        transform: scale(1.5);
    }
}
@media screen and (min-width:1280px) {
    .featuredCards {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .featuredCards .card {
        width: 32%;
        height: 500px;
    }
    .featuredCards img {
    transform: scale(1.8);
    }
}
.largeImageCards { /*Voor alle cards met weinig tekst en een grote afbeelding, max 2 naast elkaar*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around; 
}
.largeImageCards .card {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.largeImageCards button, .largeImageCards .button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
}
.largeImageCards h3 {
    padding: 10px;
}
.largeImageCards p {
    padding: 10px;
}
.largeImageCards img {
    width: 100%;
    height: 500px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;   
    padding: 10px;
}
@media screen and (min-width:768px) {
    .largeImageCards .card {
        position: relative;
        width: 48%;
    }
    .largeImageCards button {
        margin: 10px auto;
    }
}
.recipesCards { /*Speciaal voor recepten zijn de ingrediënten en picto's*/
    position: relative;
    width: 100%;
    max-width: 300px;
    height: auto;
}
.recipeCards .cardHeader {
    display: flex;
    justify-content: space-between;
}
.recipeCards .card, .recipeV {
    max-width: 600px;
    justify-content: space-between;
}
.recipes h3 {
    padding: 10px;
}
.recipeCards .cardPictos {
    display: flex;
    justify-content: space-between;
}
.cardPictos img {
    max-width: 3rem;
    max-height: 3rem;
    padding: 0;
}
.cookingTime {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cardPictos .cookingTime img {
    max-width: 3.5rem;
    max-height: 3.5rem;
    padding: 10px;
}
.cookingTime p {
    color: var(--primary);
    font-size: 0.8rem;
}
.recipeCards ul {
    max-height: 9rem;
    overflow: hidden;
}
.recipeCards ul li {
    padding-left: 10px;
}
.recipeImg {
    width: 100%;
    height: 400px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    padding:1rem;
}
.recipeCards .button {
    margin: 1rem auto 2rem auto;
}
@media screen and (min-width:768px) {
    .recipeCards .card {
        position: relative;
    }
    .recipeCards img {
        height: 500px;
    }
    .recipeCards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-around; 
    }
    .recipeCards .card {
        width: 48%;
        height: auto;
    }
    .cardPictos .cookingTime img {
        max-width: 3rem;
        max-height: 3rem;
        padding: 5px;
    }
    .cookingTime p {
        color: var(--primary);
        font-size: 0.8rem;
    }
}
@media screen and (min-width:1280px) {
    .recipeCards .card {
        width: 32%;
        height: auto;
    }
    
}

/* 	=====================================
	Header	
====================================== */
header {
    position: relative;
    min-height: 4rem;
    display: grid;
    grid-template-areas: 'headerNav shopNav';
    background-color: rgb(48,48,48);
    color: #fff;
    padding: 1rem 2rem;
}
.shopNav {
    display: flex;
    justify-content: flex-end;
}
.shopNav a {
    padding-left: 2rem;
}
.shopNav img {
    height: 2rem;
}
.showHideMenu {
    background-color: rgba(0, 0, 0, 0); /* Zelfde achtergrondkleur als header*/
    width: 3rem;
    height: 3rem; 
    border: none;
    padding: 0.5rem; 
    display: flex;
    align-items: center;
    justify-content: center; 
    cursor: pointer;
}

.showHideMenu i {
    font-size: 2rem; 
    color: white; 
}
.menu, .menu span {
    font-size: 1.2rem; 
}
.menu li{
    padding: 0.8rem;
}
.homeLogo {
    display: none;
}
.active {
    color: var(--accent);
}
@media screen and (min-width: 768px) {
    header {
        min-height: 5rem;
    }
    .shopNav a {
        padding-left: 2.5rem;
    }
    .shopNav img {
        height: 2.5rem;
    }
    .showHideMenu {
        font-size: 4rem;
    }
    .menu, .menu span {
        font-size: 1.5rem; 
    }
    .homeLogo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        min-width: 5rem;
        max-width: 9rem;
        min-height: 5rem; 
    }
    .homeText {
        display: none;
    }
}
@media screen and (min-width: 1280px) {
    header {
        height: 12rem;
        display: flex;
        align-items: center;
        overflow: hidden;
    }
    header nav ul li {
        display: flex;
        align-items: center;
        height: 4rem;
        white-space: nowrap;
    }
    header nav ul li::before {
        content: '';
        display: inline-block;
        width: 1px;
        height: 18rem;
        background-color: black;
        margin-right: 1rem;
    }
    header nav ul li:nth-of-type(4)::after, nav ul li:nth-of-type(7)::after {
        content: '';
        display: inline-block;
        width: 1px;
        height: 18rem;
        background-color: black;
        margin-left: 2rem;
    }
    header nav ul li:nth-of-type(1) {
        order: 4;
        padding-top: 1em;
    }
    header nav ul li:nth-of-type(1)::before {
        display: none;
    }
    header nav ul li:nth-of-type(2) {
        order: 1;
    }
    header nav ul li:nth-of-type(3) {
        order: 2;
    }
    header nav ul li:nth-of-type(4) {
        order: 3;
    }
    header nav ul li:nth-of-type(5) {
        order: 5;
    }
    header nav ul li:nth-of-type(6) {
        order: 6;
    }
    header nav ul li:nth-of-type(7) {
        order: 7;
    }
    .showHideMenu { 
        display: none;
    }
    .menu {
        display: flex; 
        justify-content: space-around;
        align-items: center;
    }
    .menu li a {
        text-align: center;
        min-width: 70px;
    }
    .navHome {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 10rem;
        height: 12rem;
    }
    .homeLogo {
        position: relative;
        display: block;
        top: 0px;
        min-width: 10rem;
        max-width: 10rem;
        min-height: 10rem; 
        margin-left: 0.5rem; 
    }
    .shopNav a {
        padding-left: 0.5rem;
    }
    .shopNav img {
        height: 3rem;
    }
}


/* 	=====================================
	Footer
====================================== */
footer, footer p {
    background-color: var(--primary);
    color: #FFF;
    display: grid;
    grid-template-areas:    'footerLogo socials'
                            'footerNav  address'
                            'copyright  copyright';
}
footer {
    padding: 1rem 2rem;
    margin-top: 1rem;
}
.footerLogo {
    grid-area: footerLogo;
    max-width: 120px;
    margin: 20px;
}
.footerNav {
    grid-area: footerNav;
    font-weight: 700;
    text-transform: uppercase;
    margin: 20px;
}
.copyright {
    grid-area: copyright;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 20px;
}
.socials {
    grid-area: socials;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.socials a {
    font-size: 2.5rem;
    padding: 10px;    
}
.fa-square-facebook:hover, .fa-square-x-twitter:hover, .fa-square-youtube:hover {
    animation: shake 0.8s ease-in-out;
}
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.address {
    grid-area: address;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    font-style:normal;
    margin: 20px;
}
@media screen and (min-width: 768px) {
    footer, footer p {
        grid-template-areas:    'footerLogo footerLogo  socials'
                                'footerNav  copyright   address';
        margin-top: 2rem;
    }
    .footerLogo {
        max-width: 140px;
    }
    .socials a {
        font-size: 3rem;
        padding: 20px;    
    }
}


/* 	=====================================
	Hero
====================================== */

.hero {
    position: relative;
    width: 100%;
    height: 35vh;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.6); /* Witte overlay met 60% transparantie */
    z-index: 0;
}
.hero h1 {
    opacity: 0;
}
.hero img {
    width: 100%;
    min-height: 300px; 
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.heroText {
    position: relative;
    text-align: center;
    padding: 3em;
    z-index: 1;
}
.flyingText {
    opacity: 0;
}
.hero .button {
    position: absolute;
    bottom: 0;
    right: 1rem;
}
@media screen and (min-width:768px) {
    .hero {
        height: 45vh;
    }
    .hero .button {
        position: absolute;
        bottom: 0;
        right: 3rem;
    }
}



/* 	=====================================
	Home
====================================== */
.slider {
    position: relative;
}
.slider img {
    width: 100%;
    height: 60vw;
}
.slider h1 {
    position: absolute;
    top: 10%;
    text-align: center;
    color: #fff;
    margin: 0 auto;
}
.slider h1::after {
    content: "";
    display: block;
    width: 80%;
    height: 5px;
    background-color: var(--primary);
    margin: 1em auto;
}
 .slider h2 {
    position: absolute;
    top: 50%;
    color: #fff;
    text-align: center;
    margin: 0;
}
.slider button {
    position: absolute;
    bottom: 20px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 2; 
}
.mySlides {
    display: none;
}
.mySlides.showSlide {
    display: block;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 1.5rem;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 2.5rem;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;  /*Zo kan de gebruiker niet per ongeluk de knoppen selecteren. */
}
.prev:focus, .next:focus {
    outline: none; /*Anders wordt de knop na klikken zwart.*/
}
.prev:active, .next:active {
    color: white; /*Anders wordt de knop na klikken zwart.*/
}
.next {
    right: 0; /* Plaatst de next-knop rechts */  
}
.books .featuredCards {
    text-align: center;
    padding: 20px;
}
.news {
    text-align: left;
}
.about {
    display: flex;
    flex-direction: column;
    text-align: left;
}
.about p, .about img {
    padding-bottom: 10px;
}
.nameText {
    color: var(--primary);
    font-weight: 700;
}
.about button, .about .button {
    display: block;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .slider img {
        width: 100%;
        height: 40vw;
    }
    .slider h1 {
        top: 20%;
        font-size: 1.6rem;
    }
    .slider h1::after {
        margin: 3rem auto;
    }
    .slider h2 {
        top: 60%;
    }
    .slider button {
        bottom: 2rem;
        right: 4rem;
        left: auto;
        transform: none;
    }
    .prev, .next {
        font-size: 5rem;
    }
    .about {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .span2 {
        grid-column: 1 / span 2;
    }
    .about p, .about img {
        padding-bottom: 10px;
    }
    .about button {
        margin-bottom: 20px;
    }
    .nameText {
        color: var(--primary);
        font-weight: 700;
    }
}
@media screen and (min-width: 1280px) {
    
    .slider h2 {
        top: 60%;
    }
    .books h2 {
        text-align: left;
    }
    .books .featuredCards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-around;
    }
    .socials a {
        font-size: 4rem;   
    }
}


/* 	=====================================
		Campagne
====================================== */
.popupOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}
.popupContent {
    position: relative;
    width: 70vw;
    max-height: 90vh;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    overflow: auto;
}
.popupClose {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
}
.gridCampagne {
    display: flex;
    flex-direction: column;
}
.gridCampagne img {
    width: auto;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}
.gridCampagne p {
    padding-bottom: 20px;
}
.gridCampagne a {
    display: block;
    margin: 1rem auto 1rem auto;
}
.campagneForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
.campagne1 ul {
    padding-left: 0.7rem;
    margin-bottom: 2rem;
}
.campagne1 ul li{
    font-size: 0.7rem;
    font-weight: 700;
    list-style-type: disc;
}
.campagne3, .campagne4, .campagne5, .campagne6 { /*Op de mobiel is minder ruimte, dus volstaat de tekst zonder deze blokken.n*/
    display: none;
}
.campagne5 a {
    margin-bottom: 2rem;
}
@media screen and (min-width: 768px) {
    
}
@media screen and (min-width: 768px) {
    .popupClose {
        top: 2rem;
        right: 2rem;
        font-size: 2.5rem; 
    }
    .campagne3, .campagne4, .campagne5, .campagne6 {
        display: block;
    }
    .gridCampagne {
        display: grid;
        grid-template-areas:    'campagne1 campagne2'
                                'campagne4 campagne3'
                                'campagne5 campagne6';
        gap: 20px;
        margin-top: 50px;
    }
    .campagne1 {
        grid-area: campagne1;
    }
    .campagne2 {
        grid-area: campagne2;
    }
    .campagne3 {
        grid-area: campagne3;
    }
    .campagne4 {
        grid-area: campagne4;
    }
    .campagne5 {
        grid-area: campagne5;
    }
    .campagne6 {
        grid-area: campagne6;
    }
    .campagneForm {
        width: 90%;
    }
    .campagne1 ul {
        padding-left: 2rem;
    }
    .campagne1 ul li{
        font-size: 0.9rem;
        line-height: 2.2em;
    }
}
@media screen and (min-width: 1280px) {
    .gridCampagne button {
        margin: 2rem auto 1rem auto;
    }
    .campagneForm {
        width: 80%;
    }
    .campagne1 ul {
        padding-left: 4rem;
    }
    .campagne1 ul li {
        font-size: 1.2rem;
    }
}

/* 	=====================================
	Recepten
====================================== */





/* 	=====================================
	Nieuws
====================================== */
.newsItems { 
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around; 
}
.newsItems .card {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.newsItems button, .newsItems .button {
    margin: 1rem auto;
   
    
}
.newsItems h3 {
    padding: 10px;
}
.newsItems p {
    padding: 10px;
}
.newsItems img {
    width: 100%;
    height: 400px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
    padding: 10px;
}
.canvasContainer {
    display: flex;
    justify-content: center;
}
@media screen and (min-width:768px) {
    .newsItems .card {
        position: relative;
        width: 31%;
    }
    .newsItems img {
        width: 100%;
        height: 300px;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        object-position: center;
        padding: 10px;
    }
    .newsItems button {
        margin: 10px auto;
    }
}
@media screen and (min-width:1280px) {
    .newsItems img {
        width: 100%;
        height: 400px;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        object-position: center;
        padding: 10px;
    }
}


/* 	=====================================
	Nieuws detail pagina
====================================== */
.map {
    position: relative;
}
.map img {
    margin: 0 auto 20px auto;
}
.meatInfo {
    display: none;
    position: absolute;
    max-width: 300px;
    max-height: 300px;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.newsDetailPage h3 {
    padding: 20px 0 10px 0;
}
.newsDetailPage section img {
    padding: 20px 0;
}
.accordion {
    position: relative;
    width: 100%;
    border: none;
    padding: 20px 10px 0px 10px;
    cursor: pointer;
}
.question {
    max-width: 50%;
    background-color: white;
    color: #000;
    text-transform: none;
    text-align: center;
    margin-bottom: 20px;
}
.panel {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 50%;
    display: none;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}
.panel h3 {
    padding: 0;
}
.newsDetailPage .panel > img {
    max-width: 300px;
    max-height: 300px;
    padding: 0;
}
@media screen and (min-width: 768px) {
    .imageMap p {
        max-width: 80%; 
    }
    .newsDetailPage {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
@media screen and (min-width: 1280px) {
    .imageMap p {
        max-width: 60%; 
    }
    .newsDetailPage h3 {
        padding-top: 2em;
    }
    .newsDetailPage p {
        margin-bottom: 2rem;
    }
    .newsDetailPage section img {
        padding: 3rem 0;
        margin: 0 auto;
    }
}

/* 	=====================================
		Formulieren 
        Campagne, Contact, 
        Account en Registratie
====================================== */
form {
    position: relative;
}
form h2 {
    padding-top: 3em;
}
.noJS {
    display: none;
}
fieldset {
    border: none; /* Verwijdert de rand van de fieldset*/
    padding: 0;
    margin: 0;
}
legend { /*Zorgt ervoor dat de legend wordt verborgen, maar blijft wel toegankelijk voor screenreaders.*/
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}
.email { /*Honeypot*/
    position: absolute;
    left: -9999px;
    opacity: 0;
}
label {
    display: block;
    padding-top: 1em;
}
input[type="text"], input[type=password], textarea, input[type="date"], input[type="tel"], input[type="checkbox"], select {
    font-family: "Raleway Medium";
    font-size: 0.7rem;
    background-color: #fff;
    color: #000;
    border: 2px solid var(--primary);
    border-radius: 5px;
    padding: 0.8rem;
    margin: 1rem 0;
}
input[type="radio"], input[type="checkbox"] {
    transform: scale(2); /* 2x zo groot */
    accent-color: var(--primary);
    margin: 0 1rem;
}
input[type="date"]::placeholder {
    color: #898989;
}
input[type="date"]::-webkit-datetime-edit {
    color: #898989; 
}
input[type="date"]::-moz-placeholder {
    color: #898989; 
}
select {
    color: #898989; 
}
select option:first-child {
    color: #898989; 
}
.radioButtons {
    display: flex;
    gap: 10px;
    align-items: first baseline;
}
.radioButtons input {
    margin-left: 0.5rem;
}
.radioButtons p {
    padding: 0 1rem;
}
.error {	
    color : #DC0707;
    display : none;
    margin: 0 1rem;
}
.formFooter {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}
.formFooter > div {
    display: flex;
    align-items: first baseline;
}
.formFooter p {
    padding: 1em;
}
form button {
    margin: 2rem 0;
}
@media screen and (min-width: 768px) {
    input[type="text"], input[type=password], textarea, input[type="date"], input[type="tel"], select {
        font-size: 0.9rem;
    }
}
@media screen and (min-width: 1280px) {
    input[type="text"], input[type=password], textarea, input[type="date"], input[type="tel"], select {
        font-size: 1.2rem;
    }
}
/* 	=====================================
		Contact
====================================== */

.contact {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}
@media screen and (min-width: 768px) {
    .contact {
        width: 80%;
    }
}
@media screen and (min-width: 1280px) {
    .contact {
        width: 50%;
    }
}


/* 	=====================================
	Shop
====================================== */
.shop {
    display: flex;
    flex-direction: column;
}
.filtering li {
    font-size: 0.7rem;
}
.priceRangeContainer {
    position: relative;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.priceRange {
    width: 100%;
}
.priceLabels {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.smallCards {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}
.smallCards .card {
    width: 250px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.smallCards .card img {
    width: 150px;
    height: 200px;
   
}
.smallCards button {
    width: 90%;
    margin: 10px 0;
    border-radius: 0;
}
.smallCards p {
    font-size: 1rem;
    padding: 10px;
    max-height: 6rem;
    display: -webkit-box; /* De p gedraagt zich hiermee als een flexbox*/
    -webkit-line-clamp: 3;/* Beperk het aantal regels tot 3 */
    -webkit-box-orient: vertical; /* Zorg ervoor dat de tekst verticaal wordt gestapeld */
    overflow: hidden;               
    text-overflow: ellipsis;
}
.smallCards .price{
    font-size: 1.2rem;
    font-weight: 700;
}
.bookDetails, .recipeDetails {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    margin: 0 auto;
}
.bookDetails h2, .recipeDetails h2 {
    margin-bottom: 0;
}
.bookDetails h3, .recipeDetails h3 {
    margin-bottom: 0.5rem;
}
.bookDetails img, .recipeDetails img {
    width: 90%;
    max-width: 400px;
    margin: 1rem auto;
}
.bookDetails p, .recipeDetails p {
    padding: 0.3em 0;
}
.bookDetails button, .recipeDetails button {
    margin: 1rem auto;
}
.recipeDetails img {
    max-height: 350px;
    object-fit: cover;
}
.recipeDetails ul {
    font-size: 0.7rem;
}
.recipeDetails button {
    margin: 1rem 0;
}
@media screen and (min-width: 768px) {
    .shop {
        display: grid;
        grid-template-columns: 2fr 6fr;
    }
    .filtering li {
        font-size: 0.9rem;
    }
    .bookDetails, .recipeDetails {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    .bookDetails img, .recipeDetails img {
        max-width: 70%;
    }
    .back {
        display: flex;
        align-items: end;
    }
    .recipeDetails ul{
        font-size: 0.9rem;
    }
}
@media screen and (min-width: 1280px) {
    .shop {
        display: grid;
        grid-template-columns: 2fr 9fr;
    }
    .filtering li {
        font-size: 1.2rem;
    }
    .recipeDetails {
        padding: 0 8rem;
    }
    .recipeDetails ul{
        font-size: 1.2rem;
    }
}


/* 	=====================================
        Account
====================================== */
.account {
    display: flex;
    flex-direction: column;
}
.tabs nav ul {
    display: flex;
    flex-direction: column;
}
.tabs nav ul li:not(:first-child) {
    display: none;
}
.tabs nav ul li a p{
    color: var(--primary);
    text-transform: uppercase;
    padding-bottom: 2rem;
}
.fa-chevron-down {
    display: inline-block;
}
.account form {
    display: flex;
    flex-direction: column;
}
fieldset {
    display: flex;
    flex-direction: column;
}
.field { /* Zorgt ervoor dat labels boven de invoervelden staan */
    display: flex;
    flex-direction: column;
}
.field-group {
    display: flex;
    gap: 20px; /* Ruimte tussen velden */
    flex-wrap: wrap; 
}
.field-group .field { /* Zorgt ervoor dat elk invoerveld evenveel ruimte krijgt */
    flex: 1;
    min-width: 150px;
}
@media screen and (min-width:768px) {
    .tabs nav ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .tabs nav ul li:not(:first-child) {
        display: block;
    }
}
@media screen and (min-width: 1280px) {
    .account {
        display: grid;
        grid-template-areas: 'tabs  personalData';
    }
    .tabs {
        grid-area: tabs;
    }
    .tabs h2 {
        padding: 3em 0 2em 0;
    }
    .personalData {
        grid-area: personalData;
    }
    .tabs nav ul {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}
.cartProducts {
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}
.cartProduct {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}
.cartProduct img {
    max-width: 200px;
    max-height: 200px;
}
.fa-trash {
    color: var(--primary);
    padding-right: 1rem;
}
.fa-circle-info {
    color: var(--primary);
}
.cartSummary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;  /* Ruimte tussen de rijen */
}

.cartSummaryRow {
    display: flex;
    justify-content: space-between;
    width: 100%;  /* Zorg ervoor dat de rij de volledige breedte van de container gebruikt */
}

.cartSummaryRow p {
    margin: 0;  /* Verwijder ongewenste marges */
}

.cartSummaryRow p:first-child {
    flex-grow: 1;
    margin-right: 20px; /* Ruimte tussen tekst en prijs */
}

.cartSummaryRow p:last-child {
    text-align: right;  /* Zorg ervoor dat de prijs rechts uitgelijnd is */
}