* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #F7EDCB;
    font-family: "baloo thambi 2", sans-serif;
}

header {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container .logo-img {
    height: 120px;
    width: auto;
    display: block;
}

nav {
    background-color: #C23D2B;
    padding: 15px 50px;
    border-radius: 40px;
    display: flex;
    gap: 60px;
}

nav a {
    color: #F7EDCB;
    font-size: 24px;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.85;
}


#hero-section {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    height: 550px;

    margin: 20px auto 60px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

#hero-section img[src*="raffes_dunks.png"] {
    position: absolute;
    top: 40px;
    left: 50px;
    width: 420px;
    height: auto;
    z-index: 2;
}

#hero-section img[src*="HEADER_RAFFE.png"] {
    position: absolute;
    bottom: -210px;
    left: 60px;
    width: 800px;
    height: auto;
    z-index: 1;
}

#hero-section>div {
    position: absolute;
    bottom: 70px;
    right: 80px;

    width: 380px;
    text-align: left;
    z-index: 10;
}

#hero-section h3 {
    font-family: "Shantell Sans", sans-serif;
    font-size: 28px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 15px;
}

#hero-section p {
    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    color: #F7EDCB;
    margin-bottom: 25px;
    line-height: 1.5;
}

#hero-section a {
    display: inline-block;
    background-color: #F7EDCB;
    color: #384282;

    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;

    font-size: 18px;
    font-weight: 700;
    transition: transform 0.2s ease;
}

#hero-section a:hover {
    transform: scale(1.05);
}

section:nth-of-type(2) {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    height: 450px;

    margin: 40px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

section:nth-of-type(2)>div {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 80px;
    width: 450px;
    text-align: left;
    z-index: 10;
}

section:nth-of-type(2) h3 {
    font-family: "Shantell Sans", sans-serif;
    font-size: 28px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
}

section:nth-of-type(2) p {
    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    color: #F7EDCB;
    line-height: 1.5;
}

section:nth-of-type(2) img[src*="koekjestoren.png"] {
    position: absolute;
    bottom: 30px;
    right: -20px;
    width: 500px;
    height: auto;
    z-index: 1;
}


section:nth-of-type(3) {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

section:nth-of-type(3) h3 {
    font-family: "Shantell Sans", sans-serif;
    font-size: 32px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 50px;
}

section:nth-of-type(3) img {
    width: 90%;
    max-width: 1000px;
    height: auto;
    display: block;
}


section:nth-of-type(4) {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    height: 600px;

    margin: 40px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

section:nth-of-type(4) h3 {
    position: absolute;
    top: 50px;
    left: 60px;

    font-family: "Shantell Sans", sans-serif;
    font-size: 28px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
}

section:nth-of-type(4) img {
    position: absolute;
    border-radius: 20px;
    object-fit: contain;
}

section:nth-of-type(4) img:nth-of-type(1) {
    top: 150px;
    left: -100px;
    height: 350px;
    width: auto;
    opacity: 0.9;
}

section:nth-of-type(4) img:nth-of-type(2) {
    top: 120px;
    left: 50%;
    transform: translateX(-50%);

    height: 420px;
    width: auto;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

section:nth-of-type(4) img:nth-of-type(3) {
    top: 150px;
    right: -100px;
    height: 350px;
    width: auto;
    opacity: 0.9;
}


section:nth-of-type(5) {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    height: 500px;

    margin: 40px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

section:nth-of-type(5) img {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    width: 450px;
    height: auto;
    z-index: 1;
}

section:nth-of-type(5) h3 {
    position: absolute;
    top: 35%;
    right: 80px;
    width: 450px;

    font-family: "Shantell Sans", sans-serif;
    font-size: 28px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    text-align: left;
    margin: 0;
    z-index: 10;
}

section:nth-of-type(5) p {
    position: absolute;
    top: 45%;
    right: 80px;
    width: 450px;
    padding-top: 20px;

    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    color: #F7EDCB;
    line-height: 1.5;
    text-align: left;
    z-index: 10;
}

section:nth-of-type(6) {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    height: 550px;

    margin: 40px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

section:nth-of-type(6) h3 {
    position: absolute;
    top: 35%;
    left: 80px;
    width: 450px;

    font-family: "Shantell Sans", sans-serif;
    font-size: 28px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
    z-index: 10;
}

section:nth-of-type(6) p {
    position: absolute;
    top: 45%;
    left: 80px;
    width: 450px;
    padding-top: 20px;

    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    color: #F7EDCB;
    line-height: 1.5;
    z-index: 10;
}

section:nth-of-type(6) img {
    position: absolute;
    top: 50%;
    right: 60px;
    transform: translateY(-50%);
    width: 400px;
    height: auto;
    border-radius: 30px;
    z-index: 1;
}


section:nth-of-type(7) {
    position: relative;
    background-color: #C23D2B;

    width: 90%;
    max-width: 1200px;
    height: 600px;

    margin: 40px auto;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);

    padding: 60px 80px;
}

section:nth-of-type(7) h3 {
    font-family: "Shantell Sans", sans-serif;
    font-size: 28px;
    color: #F7EDCB;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
    z-index: 10;
}

section:nth-of-type(7) p {
    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    color: #F7EDCB;
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.5;
    position: relative;
    z-index: 10;
}

section:nth-of-type(7) form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 450px;
    position: relative;
    z-index: 10;
}

section:nth-of-type(7) input[type="text"],
section:nth-of-type(7) input[type="email"] {
    background-color: #F7EDCB;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    color: #384282;
    outline: none;
    width: 100%;
    margin-bottom: 15px;
}

section:nth-of-type(7) label {
    color: #F7EDCB;
    font-family: "baloo thambi 2", sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

section:nth-of-type(7) input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #F7EDCB;
}

section:nth-of-type(7) button {
    background-color: #F7EDCB;
    color: #384282;
    font-family: "Shantell Sans", sans-serif;
    font-weight: 700;
    font-size: 18px;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    width: fit-content;
    margin-top: 20px;
    transition: transform 0.2s;
}

section:nth-of-type(7) button:hover {
    transform: scale(1.05);
}

section:nth-of-type(7) img {
    position: absolute;
    bottom: 40px;
    right: 30px;
    height: 550px;
    width: 1000;
    z-index: 1;
    transform: rotate(-5deg);
}


.footer {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 50px 60px;
    background-color: #C23D2B;
    border-radius: 50px;
    color: #F7EDCB;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    min-height: 250px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.footer-logo {
    width: 160px;
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
}

.footer-section:nth-child(1) p {
    font-family: "baloo thambi 2", sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

.footer-section:nth-child(1) p:last-child {
    margin-top: 30px;
    font-size: 14px;
}


.footer-section:nth-child(2) {
    align-self: center;
}

.footer-section:nth-child(2) p {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 18px;
    font-weight: 500;
}

.footer-section:nth-child(2) img {
    height: 25px;
    width: auto;
}


.footer-section:nth-child(3) {
    flex-direction: row;
    align-items: center;
    gap: 25px;
    align-self: flex-end;
}

.footer-section:nth-child(3) img {
    height: 50px;
    width: auto;
}


@media screen and (max-width: 1024px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        flex-direction: column;
        padding: 20px 40px;
        gap: 20px;
        width: 100%;
        text-align: center;
    }


    #hero-section,
    section:nth-of-type(2),
    section:nth-of-type(3),
    section:nth-of-type(4),
    section:nth-of-type(5),
    section:nth-of-type(6),
    section:nth-of-type(7),
    .footer {
        height: auto !important;
       
        min-height: auto;
        padding: 40px 20px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }


    #hero-section img,
    #hero-section>div,
    section img,
    section>div,
    section h3,
    section p,
    section form,
    .footer-section {
        position: static !important;
        
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        transform: none !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 10px auto !important;
        align-self: center !important;
        text-align: center !important;
    }


    #hero-section {
        padding-top: 40px !important;
    }

    #hero-section img[src*="raffes_dunks.png"] {
        order: 1;
        width: 80% !important;
        max-width: 300px !important;
    }

    #hero-section>div {
        order: 2;
        margin: 30px 0 !important;
    }

    #hero-section img[src*="HEADER_RAFFE.png"] {
        order: 3;
        width: 80% !important;
        max-width: 300px !important;
        margin-top: 20px !important;
    }

    section:nth-of-type(2)>div {
        order: 1;
    }

    section:nth-of-type(2) img {
        order: 2;
        width: 70% !important;
    }


    section:nth-of-type(3) img {
        width: 100% !important;
    }


    section:nth-of-type(5) h3 {
        order: 1;
    }

    section:nth-of-type(5) p {
        order: 2;
    }

    section:nth-of-type(5) img {
        order: 3;
        width: 80% !important;
    }


    section:nth-of-type(6) h3 {
        order: 1;
    }

    section:nth-of-type(6) p {
        order: 2;
    }

    section:nth-of-type(6) img {
        order: 3;
        width: 90% !important;
        border-radius: 20px;
    }


    section:nth-of-type(7) h3 {
        order: 1;
    }

    section:nth-of-type(7) p {
        order: 2;
    }

    section:nth-of-type(7) form {
        order: 3;
        align-items: center;
    }

    section:nth-of-type(7) button {
        width: 100%;
        max-width: 200px;
    }

    section:nth-of-type(7) img {
        order: 4;
        width: 60% !important;
        max-width: 250px !important;
        height: auto !important;
        transform: rotate(0deg) !important;
    }


    .footer-section {
        gap: 20px;
        margin: 20px 0 !important;
    }

    .footer-section:nth-child(2) p {
        justify-content: center;
    }

    .footer-section:nth-child(3) {
        justify-content: center;
    }
}

#producten-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 120px;
}

.product-image {
    width: 680px;
    height: auto;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

#producten-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.product-image:nth-child(1) {
    transform: translateX(-80px);
}

.product-image:nth-child(3) {
    transform: translateX(-90px);
}


html {
    scroll-behavior:smooth;
}
