:root {
    --accent-color: #5A6782;
    --second-color: #F6F0C9;
    --third-color: #9CAFCB;
    --font-family: acumin-variable, sans-serif;
    --font-family-second: jaf-domus, sans-serif;
}

@media (max-width: 900px) {
    #header {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 900px) {

    .afbeelding,
    .sp_cards {
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {

    .foto_bakken,
    .foto_wrapper {
        height: 260px;
    }
}

@media (max-width: 900px) {
    .waarom-card {
        width: 100%;
    }
}


#header {
    background-color: var(--accent-color);
    background-image: url('../images/dansvloer.svg');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 130%;
    background-position-y: 700px;
    background-position-x: 0.5px;
    padding: 2rem 4rem 15rem;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    top: 3rem;
    align-items: center;
    font-size: 1.1rem;
    font-family: var(--font-family-second);
    color: var(--second-color);
}

#logo_choco {
    width: 20rem;
    margin-right: 50rem;
    padding: 3rem;
}

#koekje {
    display: flex;
    justify-content: center;
    margin-left: 15rem;
    width: 60rem;
    margin-top: -27rem;
}

.titel_header {
    position: absolute;
    top: 20rem;
    left: 4rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--second-color);
    font-family: var(--font-family-second);
    margin: 3rem;
}

.intro_header {
    position: absolute;
    top: 28rem;
    font-family: var(--font-family-second);
    font-size: 1.25rem;
    color: var(--second-color);
    line-height: 1.5;
    margin: 3rem;
}

#koe {
    position: absolute;
    right: -0.20rem;
    bottom: 0.5rem;
    top: 10rem;
    width: 40rem;
}

.knop {
    position: absolute;
    top: 36rem;
    left: 4rem;
    padding: 0.9rem 1.8rem;
    margin: 3rem;
    background: var(--second-color);
    color: var(--accent-color);
    border-radius: 30rem;
    display: inline-block;
    font-weight: 600;
    font-family: var(--font-family-second);
    transition: transform .2s ease;
}

.knop:hover {
    transform: translateX(2rem);
}

.intro_titel {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin: 3rem;
}

#intro {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    padding: 2rem;
    color: var(--accent-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: var(--font-family-second);
    font-size: 1.5rem;
    margin-left: 3rem;
    line-height: 1.6;
}

#koekje2 {
    width: 60rem;
    margin-top: -25rem;
    display: flex;
    align-self: flex-end;
    z-index: -10;
}

.sp_titel {
    font-family: var(--font-family);
    font-size: 2.6rem;
    color: var(--accent-color);
    margin-bottom: 4rem;
    margin: 3rem;
    display: flex;
    justify-content: center;
}

.sp_cards {
    display: grid;
    grid-template-columns: repeat(4, 260px);
    justify-content: center;
    gap: 3rem;
}

.sp_cards li {
    width: 15rem;
    background: var(--third-color);
    color: var(--second-color);
    font-size: 1.3rem;
    line-height: 1.4rem;
    font-family: var(--font-family);
    padding: 2rem;
    text-align: center;
    margin: 2rem;
    border-radius: 3rem;
}


#spel {
    position: relative;
    padding: 6rem 4rem;
    font-family: var(--font-family);
    color: var(--second-color);
    background-color: var(--accent-color);
    background-image: url('../images/dansvloer.svg');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 130%;
    background-position-y: 1000px;
    background-position-x: 0.5px;
}


.spel_titel {
    display: flex;
    justify-content: right;
    padding-right: 4.5rem;
    margin-right: 6rem;
    font-size: 2.6rem;
    margin-bottom: 1.5rem;
}

.spel_tekst {
    max-width: 520px;
    margin-left: auto;
    margin-right: 6rem;
    font-size: 1.2rem;
    line-height: 1.6rem;
}
#micro {
    width: 40rem;
}


#koemicro {
    position: relative;
    width: 40rem;
    left: 15rem;
}

.flavour {
    padding: 4rem;
    margin: 3rem;
}

.flavour-card .card .productname {
    font-family: var(--font-family-second);
    font-size: 1.5rem;
}

.flavour-card {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-family-second);
}

.card p {
    display: flex;
    justify-content: center;
    font-family: var(--font-family-second);
    font-weight: 600;
    color: var(--accent-color);
}

.card img {
    height: 20rem;
    border-radius: 5rem;
    padding: 1.5rem;
}


#bakken {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    display: block;
}

.over_titel {
    font-family: var(--font-family-second);
    color: var(--accent-color);
    font-size: 2.5rem;
    padding: 2rem;
    margin: 3rem;
    display: flex;
    justify-content: center;
}

.over_tekst {
    font-family: var(--font-family);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--accent-color);
    padding: 2rem;
    margin: 3rem;
    display: flex;
    justify-content: center;
}

.cta_titel {
    font-family: var(--font-family-second);
    color: var(--accent-color);
    font-size: 2.5rem;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.cta_tekst {
    font-family: var(--font-family);
    font-size: 1.5rem;
    color: var(--accent-color);
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.anderen_titel {
    font-family: var(--font-family-second);
    color: var(--accent-color);
    font-size: 2.5rem;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

* {
    box-sizing: border-box;
}

form {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    font-family: var(--font-family);
}

.cta_form {
    border: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.cta_form>label {
    display: none;
}

.cta_form input[type="text"] {
    width: 20rem;
    padding: 1rem 1.5rem;
    border-radius: 10rem;
    border: none;
    background-color: #E8BCC1;
    opacity: 50%;
    font-size: 1rem;
    font-family: var(--font-family);
    color: var(--accent-color);
}

.cta_form input[type="text"]::placeholder {
    color: var(--accent-color);
}

.cta_form ul {
    list-style: none;
    margin: 1rem;
}

.cta_form li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cta_form input[type="checkbox"] {
    width: 1.5rem;
    height: 1.5rem;
    accent-color: #E8BCC1;
}

#cta_tekst {
    display: inline;
    font-size: 1rem;
    color: var(--accent-color);
}

#button {
    width: 10rem;
    padding: 0.9rem 1.2rem;
    border-radius: 10rem;
    border: none;
    background-color: var(--third-color);
    color: var(--second-color);
    font-family: var(--font-family);
    font-size: 1rem;
    text-align: left;
    transition: transform .2s ease;
}

#button:hover {
    transform: translateX(6px);
}

#footer {
    background-color: var(--accent-color);
    color: var(--second-color);
    padding: 4rem 6rem 2rem;
    font-family: var(--font-family);
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
}

.footer_nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 1.2rem;
}

#logo {
    width: 10rem;
}

.footer_adres {
    font-size: 1.2rem;
    line-height: 1.6;
}

.footer_contact {
    font-size: 1.2rem;
}

#instagram {
    width: 2rem;
    margin-top: 1rem;
}

#oogbites {
    width: 5rem;
    margin-left: auto;
}

.footer_tekst,
.footer_maker {
    display: flex;
    justify-content: center;
    font-size: 0.85rem;
    font-family: var(--font-family-second);
}

a {
    color: var(--second-color);

}