html {
    scroll-behavior: smooth;
}

nav a {
    text-decoration: none;
    color: rgb(38, 42, 75);

    font-family: 'dreaming-outloud-sans', sans-serif;
    font-style: normal;

    font-size: 1.3rem;
}


.contact-button {
    background-color: #FCEC1E;

    padding: 0.9rem 2rem;
    border-radius: 3rem;

    display: inline-block;
    text-align: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0.6rem 1.3rem;
    background-color: rgba(168, 200, 216, 0.76);
    border-radius: 3rem;

    width: 95%;
    margin: 0 auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    gap: 3.4rem;
}

.nav-links .nav-close {
    display: none;
}

.nav-toggle {
    display: none;
}


.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    height: 3px;
    background-color: rgb(38, 42, 75);
    border-radius: 2px;
}


.nav-links {
    display: flex;
    gap: 3.4rem;
}


@media (max-width: 768px) {

    .nav-links {
        position: fixed;
        top: 3rem;
        right: 1rem;
        height: auto;
        background-color: #EFF7FE;
        flex-direction: column;
        width: 220px;
        transform: translateX(110%);
        transition: transform 0.3s ease;
        gap: 1.5rem;
        padding: 1.5rem;
        border-radius: 1rem;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links .nav-close {
        display: block;
        text-align: right;
        margin-bottom: 1rem;
        cursor: pointer;
    }

    .nav-toggle:checked + .nav-toggle-label + .nav-links {
        transform: translateX(0);
    }

    .nav-links li {
        text-align: center;
    }


    .nav-links .nav-close {
        align-self: flex-end; 
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-toggle-label {
        display: flex;
        cursor: pointer;
    }
}








body {
    font-family: 'aktiv-grotesk', sans-serif;
    font-style: normal;
    font-weight: 300;

    font-size: 1.25rem;
    line-height: auto;

    color: rgb(38, 42, 75);
}


h1 {
    font-family: 'dreaming-outloud-sans', sans-serif;
    font-style: normal;

    font-size: 3rem;

    margin-top: auto;
    text-align: left;

    max-width: 28rem;
}


h2 {
    font-family: 'dreaming-outloud-sans', sans-serif;
    font-style: normal;
    font-weight: 400;

    font-size: 2.5rem;
}

h3 {
    font-family: 'dreaming-outloud-sans', sans-serif;
    font-style: normal;
    font-weight: 400;

    font-size: 2.25rem;
}


.logo {
    width: 6.25rem;
    height: auto;
}

.scroll-button {
    width: 5rem;
    height: 5rem;

    background-color: rgba(239, 247, 254, 0.80);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;
}

.scroll-button img {
    width: 2rem;
    height: 2rem;
}

.cta-button {
    text-decoration: none;
    border: none;
    cursor: pointer;

    font-family: 'dreaming-outloud-sans', sans-serif;
    font-style: normal;
    font-size: 1.25rem;

    color: rgb(38, 42, 75);

    background-color: #FCEC1E;
    border-radius: 3rem;
    padding: 1.25rem 2.3rem;

    margin-bottom: auto;
}

.contact-button img {
    width: 2rem;
    height: 2rem;
}

input[type="checkbox"] {
    transform: scale(2);
    margin-right: 0.5rem;
}


header {
    background-image: url(../image/hero_section.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;


    min-height: 90vh;
    padding: 3rem 5%;
    gap: 2rem;
}

header p {
    max-width: 30rem;

    font-size: 1.5rem;
}


header {
    background-image: url(../image/hero_section.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;

    min-height: 90vh;
    padding: 3rem 5%;
    gap: 2rem;
}

header p {
    max-width: 30rem;
    font-size: 1.5rem;
}

@media (max-width: 750px) {
    header {
        background-position: left bottom;
        padding: 2rem 5%;       
        min-height: 90vh;       
        gap: 1rem;
        justify-content: flex-start;
        align-items: flex-start;
    }

    header h1 {
        font-size: 2rem;
        max-width: 100%;
    }

    header p {
        font-size: 1rem;
        max-width: 100%;
    }

    header .cta-button {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
}






#intro {
    background-image: url(../image/strook.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;

    padding: 0rem 5%;

    display: flex;
    align-items: center;
    gap: 4rem;
}

#intro .intro-tekst {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 30rem;
}

#intro h2 {
    margin-bottom: 2rem;
}

#intro p {
    margin-top: 0;
}

#intro img {
    width: 100%;
    max-width: 42rem;
    height: auto;

    margin-left: auto;
}

@media (max-width: 768px) {
    #intro {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    #intro .intro-tekst {
        max-width: 100%;
        margin-top: 6rem;
        text-align: center;
    }

    #intro .intro-tekst h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    #intro .intro-tekst p {
        font-size: 1rem;
    }

    #intro img {
        max-width: 90%;
        margin-left: 0;
    }

}



#waarom {
    background-color: rgba(188, 217, 235, 0.32);
    padding: 0rem 5% 6rem 5%;
}

#waarom h2 {
    text-align: left;
    margin-bottom: 3rem;
}

#waarom ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

#waarom ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 12rem;
    text-align: center;
}

#waarom ul li img {
    width: 10rem;
    height: auto;
    margin-bottom: 1rem;
}

@media (max-width: 750px) {
    #waarom h2 {
        text-align: center;
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    #waarom ul {
        justify-content: center;
        gap: 2rem;
    }

    #waarom ul li {
        flex: 1 1 10rem;
    }

    #waarom ul li img {
        width: 8rem;
        margin-bottom: 0.5rem;
    }

    #waarom ul li {
        font-size: 0.9rem;
    }
}




#over {
    background-image: url(../image/struik.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;

    padding: 6rem 5%;

    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
}

#over .card {
    background-color: #EFF7FE;
    border-radius: 1.25rem;

    padding: 3rem 3rem;
    max-width: 25rem;
    text-align: center;
}

#over .card h3 {
    margin-bottom: 2rem;
}

#over .card img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 2rem;
    display: block;

    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 750px) {
    #over {
        padding: 3rem 5%;
        gap: 2rem;
        justify-content: center;
    }

    #over .card {
        max-width: 18rem;
        padding: 2rem 1.5rem;
    }

    #over .card img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #over .card h3 {
        font-size: 1.5rem;
    }

    #over .card p {
        font-size: 0.9rem;
    }
}




#koekjes {
    background-color: rgba(188, 217, 235, 0.86);
    padding: 3rem 5%;

    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.cookie-cards-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}


.cookie-card {
    padding: 1rem;
    width: 23rem;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.cookie-card img {
    width: 23rem;
    max-height: 16rem;
    border-radius: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-card h3 {
    font-size: 2rem;
    margin: 1rem 0;
}

.cookie-card p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.cookie-card a {
    text-decoration: underline;
    color: rgb(38, 42, 75);
}

.cookie-card a:hover {
    color: aliceblue;
}

@media (max-width: 750px) {
    #koekjes {
        padding: 2rem 5%;
        gap: 1.5rem;
    }

    .cookie-cards-container {
        gap: 1rem;
    }

    .cookie-card {
        width: 15rem;
        padding: 0.5rem;
    }

    .cookie-card img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: 12rem;
        margin-bottom: 0.5rem;
    }

    .cookie-card h3 {
        font-size: 1.3rem;
        margin: 0.5rem 0;
    }

    .cookie-card p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .cookie-card a {
        font-size: 0.9rem;
    }
}






#contact {
    background-color: #EFF7FE;
    padding: 6rem 5%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;

    position: relative;
    /* gebruiken voor plaatsing afbeelding, anders versprong hij steeds */
}

#contact .mascotte {
    position: absolute;
    right: 5%;
    bottom: 0rem;

    max-width: 22rem;
    height: auto;
}

#contact p {
    margin-bottom: 1rem;

    max-width: 34rem;
}

#contact form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

#contact input[type="text"],
#contact input[type="email"] {
    width: 25rem;
    padding: 0.8rem 3.1rem;
    border: 3.1px solid #fffefe;
    border-radius: 0.5rem;

    font-size: 0.9rem;
}

#contact label {
    font-size: 0.9rem;

    margin-left: 1rem;
}

#contact input[type="checkbox"] {
    transform: scale(1.5);
    margin-right: 0.5rem;
    vertical-align: middle;
}

#contact label[for="newsletter"] {
    display: inline-block;
}

#contact .cta-button {
    margin-top: 1rem;
}

@media (max-width: 750px) {
    #contact {
        align-items: center;
        text-align: center;
        padding: 4rem 5%;
        gap: 1rem;
    }

    #contact p {
        max-width: 90%;
    }

    #contact form {
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    #contact input[type="text"],
    #contact input[type="email"] {
        width: 90%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }

    #contact label {
        font-size: 0.9rem;
        margin-left: 0;
    }

    #contact .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.8rem;
        margin-top: 1rem;
    }

    #contact .mascotte {
        position: static;
        max-width: 50%;
        height: auto;
        margin: 2rem auto 0 auto;
    }
}






footer {
    background-color: #A8C8D8;
    padding: 6rem 5%;

    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8rem;
}

footer .logo {
    margin-right: 2rem;
}

footer .footer-columns {
    font-family: 'dreaming-outloud-sans', sans-serif;
    font-style: normal;
    font-weight: 400;

    font-size: 1.25rem;

    list-style: none;
    padding: 0;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

footer li img {
    margin-right: 1rem;
    vertical-align: middle;
}

.footer-bottom {
    width: 100%;
    margin-top: 0rem;

    list-style: none;
    padding: 0;
    font-size: 0.9rem;
}


footer>a {
    display: block;
}

@media (max-width: 750px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        text-align: center;
        padding: 3rem 5%;
    }

    footer .footer-columns {
        align-items: center;
        font-size: 1rem;
    }

    footer .logo {
        margin: 0 0 2rem 0;
        width: 5rem;
    }

    footer li img {
        width: 1.5rem;
        margin-right: 0.5rem;
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.8rem;
    }
}