:root {
    --groen: #347172;
    --oranje: #D09482;
    --donkergroen: #1B4243;

    --animationSpeed: 20s;
    --paddingsidesMobile: 0 15px;
    --paddingsidesTablet: 0 50px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "DM Sans";

}

body {
    line-height: 1.5;
    font-size: 16px;
    background: #FAF9F6;
    /* padding: 0 15px; */
}

.hero {
    background-image: url("../assets/hero-bg.jpg");
    padding-top: 65px;
    padding-bottom: 130px;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    @media (min-width: 768px) {
        padding: 70px 50px 150px;
    }

    @media (min-width: 1024px) {
        padding: 100px 50px 180px;
    }
}

.hero * {
    @media (min-width: 768px) {
        max-width: 60%;
    }
}

.hero h1,
.hero p {
    color: white;
}

h2,
h3 {
    color: var(--donkergroen);
    margin-bottom: 10px;
}

h1,
h3 {
    font-family: Inter;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--groen);
}

p {
    font-weight: 300;
}

.subtitle {
    border: 1px solid var(--oranje);
    display: inline-block;
    padding: 10px 15px;
    color: var(--oranje);
    border-radius: 10px;
    margin-bottom: 10px;
}


header {
    background: white;
    display: flex;
    justify-content: space-between;
    padding: 20px 15px;
    align-items: center;

    @media (min-width: 768px) {
        padding: 20px 50px;
    }
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background: white;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: 20px;
    padding-top: 30px;
    gap: 10px;
}

.sidebar li,
.sidebar a {
    width: 100%;
    list-style: none;
    text-decoration: none;
    color: black;

}




.featured-half,
.home-nieuws,
.featured-half-rev {
    padding: var(--paddingsidesMobile);
    margin-top: 60px;

    @media (min-width: 768px) {
        padding: var(--paddingsidesTablet);
    }

}

.featured-half,
.featured-half-rev {
    .btn-primair {
        margin-top: 10px;
    }

    @media (min-width: 768px) {
        align-items: center;
    }
}

.featured-half {
    @media (min-width: 768px) {
        flex-direction: row;
        gap: 5%;
        display: flex;
    }
}

.featured-half-rev {
    @media (min-width: 768px) {
        flex-direction: row-reverse;
        gap: 5%;
        display: flex;
    }
}

.featured-half-content {
    @media (min-width: 768px) {
        max-width: 50%;
    }
}

.featured-half-img-container {
    @media (min-width: 768px) {
        width: 100%;
    }
}


#nav-search {
    padding: 13px;
    border-radius: 25px;
    border: none;
    background: var(--groen);
    color: white;
}

#nav-search::placeholder {
    color: white;
}

#nav-search::before {
    font-family: "Font Awesome 5 Free";
    content: "\f002";
}


#hamburger-icon {
    text-align: right;
    list-style: none;

    @media (min-width: 768px) {
        display: none;
    }
}

#close-icon {
    text-align: right;
    padding-right: 15px;
    margin-top: -10px;
}


/* BEGIN LOGO'S */
.logo-primair {
    display: none;

    @media (min-width: 768px) {
        max-width: 30%;
        object-fit: contain;
        display: block;
    }
}



.logo-secundair {
    width: 50px;
    display: block;
    object-fit: contain;

    @media (min-width: 768px) {
        display: none;
    }
}

.navigation {
    display: none;

    @media (min-width: 768px) {
        display: flex;
        flex-direction: row;
        gap: 2em;
        justify-content: space-between;
        list-style: none;
        /* text-decoration: none; */
        align-items: center;

        a {
            text-decoration: none;
            color: black;
        }

    }
}


/* EINDE LOGO'S */

/* BEGIN BUTTONS */
.btn-primair {
    background-color: var(--groen);
    color: white;
    padding: 8px 23px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    border-radius: 7px;
    font-size: 14px;
    width: fit-content;
}

.btn-primair-small {
    background-color: var(--groen);
    color: white;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    border-radius: 7px;
    font-size: 12px;
}

.btn-tertiair {
    margin: auto;

    a {
        color: var(--donkergroen);
        text-decoration: none;
        font-weight: 600;
    }
}

.btn-tertiair:after {
    font-family: "Font Awesome 5 Free";
    content: "\f061";
    display: inline-block;
    padding-left: 15px;
    color: var(--donkergroen);
}

.btn-tertiair a:hover {
    color: var(--groen);
}

/* EINDE BUTTONS */

.featured-half-img {
    height: 250px;
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    margin-top: 30px;

    @media (min-width: 768px) {
        height: 450px;
    }
}

.home-nieuws h2 {
    text-align: center;
}

.nieuws-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
}

.nieuws-card {
    background: white;
    width: 100%;
    position: relative;
    border-radius: 15px;
    box-shadow: 0px 0px 25px rgba(52, 113, 114, 0.2);

    p {
        color: #484848;
    }

    h3 {
        margin-bottom: 10px;
    }

    @media (min-width: 768px) {
        width: 30%;
    }
}

.nieuws-card img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.nieuws-card .panel {
    padding: 5%;
    border-radius: 15px;
}

.btn-primair-small,
.nieuws-datum {
    position: absolute;
    bottom: 5%;
}

.btn-primair-small {
    left: 5%;
}

.nieuws-datum {
    right: 5%;
}

div.accordion {
    margin-top: 10px;
    /* position: relative; */
    /* margin: 2em; */
}

.accordion input {
    position: absolute;
    /* left: 0;
    top: 0; */
    /* height: 100%; */
    width: 100%;
    opacity: 0;
    visibility: 0;
}

.accordion .acc-title {
    background: var(--donkergroen);
    color: white;
    padding: 1em;
    position: relative;
    border-radius: 15px 15px 0 0;
}


/* Accordion open */
.accordion label::before {
    font-family: "Font Awesome 5 Free";
    content: "\f078";
}

.accordion label {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accordion div.acc-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s;
    background-color: white;
}

.accordion div.acc-content p {
    padding: 2em;
}

/* Accordion dicht */
.accordion input:checked~.acc-title label::before {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
}

.accordion input:checked~.acc-title~div.acc-content {
    max-height: 100vh;
    border-radius: 0 0 15px 15px;
}

.accordion a {
    color: var(--groen);
}


/* SLIDER */
.slider {
    height: 210px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: auto;
}

.slider .slide-track {
    animation: scroll var(--animationSpeed) linear infinite;
    display: flex;
    width: calc(250px * 14);
}

.slider .slide {
    height: 100px;
    width: 250px;
}

footer {
    display: flex;
    flex-direction: column;
    background: var(--groen);
    padding: 60px 15px;
    gap: 45px;

    h4 {
        font-family: Inter;
        font-weight: 600;
        font-size: 18px;
        color: white;
        margin-bottom: 7px;
    }

    @media (min-width: 768px) {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
}

footer ul {
    padding-left: 1.5em;

    @media (min-width: 768px) {
        padding-left: 0;
    }
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 00;
}

footer .footer-col-01 p {
    display: flex;
    align-content: center;
}

footer .footer-col-01 p::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0e0";
    padding-right: 10px;
    color: white;
    font-size: 18px;
}

footer .menu li {
    list-style: none;
    margin-bottom: 3px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 7));
    }
}


/* @media (min-width: 768px) {

    .logo-primair,
    .navigation {
        display: block;
    }

    .logo-secundair,
    #hamburger-icon {
        display: none;
    }

    .nieuws-card {
        width: 30%;
    }
} */