:root {
    --primary-color: #B2DEED;
    --secondary-color: #5258A3;
    --accent-color: #E6F5FE;
}

@font-face {
    font-family: 'mgf-popstarpersonaluse';
    src: url('../fonts/mgf-popstarpersonaluse-webfont.woff2') format('woff2'),
        url('../fonts/mgf-popstarpersonaluse-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--primary-color);
}

.wave {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: -1px;
    margin: 0;
}

h1 {
    font-family: 'mgf-popstarpersonaluse' !important;
    color: var(--secondary-color);
    font-size: 50px !important;
}

p {
    font-family: "Overpass", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    line-height: 1.6;
    font-style: normal;
    font-size: 20px !important;
}

.topnav {
    background-color: var(--accent-color);
    position: fixed;
    top: 2rem;
    left: 2rem;
    right: 2rem;
    border-radius: 80px;
    z-index: 9999;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    padding: 6px 18px;
}

.topnav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10rem;
}

.topnav__links--left {
    justify-content: flex-end;
}

.topnav__links--right {
    justify-content: flex-start;
}

.topnav__links a {
    text-decoration: none;
    font-family: 'mgf-popstarpersonaluse';
    color: var(--secondary-color);
    font-size: 30px;
}

.topnav__logo {
    justify-self: center;
    display: block;
}

.topnav__logo img {
    display: block;
    height: 80px;
    width: auto;
    padding: 2rem;
}

.topnav__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
    justify-self: end;
    z-index: 10000;
}

.topnav__burger span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: var(--secondary-color);
    margin: 6px 0;
    transition: transform .25s ease, opacity .2s ease;
}

.mobileMenu {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(-14px);
    width: min(420px, calc(100vw - 32px));
    background: var(--secondary-color);
    border-radius: 28px 28px 80px 80px;
    padding: 110px 26px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .18);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 9998;
}

.mobileMenu a {
    display: block;
    text-align: center;
    color: white;
    font-family: 'mgf-popstarpersonaluse';
    font-size: 34px;
    letter-spacing: 1px;
    padding: 18px 0;
    text-decoration: none;
}

.topnav.is-open .mobileMenu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.topnav.is-open .topnav__burger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.topnav.is-open .topnav__burger span:nth-child(2) {
    opacity: 0;
}

.topnav.is-open .topnav__burger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .topnav {
        grid-template-columns: 1fr auto auto;
        padding: 6px 14px;
    }

    .topnav__links {
        display: none;
    }

    .topnav__logo {
        grid-column: 2;
        justify-self: center;
    }

    .topnav__burger {
        display: block;
        grid-column: 3;
        justify-self: end;
    }

    .topnav__logo img {
        height: 64px;
    }
}

.cta {
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 999px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
}

.cta:hover {
    opacity: 0.9;
}

.hero-image {
    background-image: url(/assets/images/BunjiStars_Header_V1@2x-8.png);
    background-size: cover;
    background-position: center;
    height: 100vh;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 130vh;
    text-align: center;
    gap: 2rem;
    padding-top: 10rem;
}

.Favoriet {
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
}

.favoriet-inner {
    display: grid;
}

.favoriet-content {
    grid-column: 1;
    padding: 5rem clamp(1.5rem, 6vw, 8rem) 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding-left: 15rem;
}

.favoriet-content p {
    max-width: 55ch;
}

@media (max-width:768px) {
    .favoriet-content {
        padding: 3rem 1.5rem 2rem;
    }

}

.Favoriet .wave {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    align-self: end;
}

.koekjes {
    grid-column: 2;
    display: flex;
    padding: 5rem clamp(1.5rem, 6vw, 8rem) 0 0;
    justify-content: center;
}

.koekjes img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

@media (max-width: 768px) {
    .favoriet-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .koekjes {
        justify-content: center;
    }
}

.Waarom {
    background-color: var(--primary-color);
    text-align: center;
    padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
}

.Waarom h1 {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.waarom-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: clamp(1.5rem, 4vw, 4rem);
    align-items: start;
}

.waarom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.waarom-item img {
    width: 120px;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

.waarom-item p {
    color: #6EA7D6;
    font-weight: 600;
    font-size: 18px !important;
    max-width: 22ch;
    animation: float 4s ease-in-out infinite;
}

.waarom-item:hover img {
    transform: translateY(-10px);
}

@media (max-width: 900px) {
    .waarom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .waarom-grid {
        grid-template-columns: 1fr;
    }

    .waarom-item img {
        width: 110px;
    }
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.Extra {
    background-color: white;
}

.extra-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem) 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.extra-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.extra-text p {
    max-width: 55ch;
}

.extra-illustratie {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    transition: transform 0.2s ease;
}

.extra-illustratie img {
    width: 100%;
    max-width: 700px;
    height: auto;
    transform: translate(80px, 60px);
}

.extra-illustratie img:hover {
    transform: scale(1.3);
}

.Waar {
    background-color: var(--primary-color);
    padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
}

.waar-grid {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: clamp(20rem, 6vw, 6rem);
    align-items: center;
}

.waar-image img {
    margin-left: 15rem;
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
    transition: transform 0.4s ease;
}

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

.waar-content {
    max-width: 60ch;
}

.waar-content h1 {
    margin-bottom: 1.5rem;
}

.waar-content p {
    line-height: 1.6;
}

@media (max-width: 900px) {
    .waar-grid {
        grid-template-columns: 1fr;
    }

    .waar-image {
        max-width: 420px;
    }
}

.Ontdek {
    background-color: white;
    text-align: center;
    padding: clamp(4rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
}

.Ontdek h1 {
    margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.ontdek-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
}

.ontdek-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.ontdek-item img {
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1 / 1;
    background-color: #dbeff8;
    border-radius: 48px;
    display: block;
}

.ontdek-item h2 {
    font-family: 'mgf-popstarpersonaluse';
    color: var(--secondary-color);
    font-size: 28px;
}

.ontdek-item p {
    font-size: 18px !important;
    font-weight: 600;
    color: #6EA7D6;
}

.ontdek-item {
    transition: transform 0.25s ease;
}

.ontdek-item:hover {
    transform: translateY(-8px);
}

@media (max-width: 900px) {
    .ontdek-grid {
        grid-template-columns: 1fr;
    }

    .ontdek-item img {
        max-width: 360px;
    }
}

.Contact {
    background-color: var(--primary-color);
    text-align: center;
    padding: clamp(4rem, 6vw, 6rem) 1.5rem;
}

.Contact h1 {
    margin-bottom: 1rem;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding-bottom: 8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 100%;
    padding: 1.2rem 2rem;
    border-radius: 999px;
    border: none;
    font-size: 18px;
}

.contact-form input::placeholder {
    color: #9a9a9a;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.contact-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 16px;
}

.contact-checkbox input {
    display: none;
}

.checkmark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-checkbox input:checked+.checkmark::after {
    content: "✓";
    font-size: 16px;
    color: var(--secondary-color);
}

.Contact .cta {
    margin: 0;
}

.footer {
    background-color: var(--accent-color);
    text-align: center;
    padding: clamp(4rem, 6vw, 6rem) 1.5rem 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'mgf-popstarpersonaluse';
    font-size: 22px;
}

.footer-icon img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 14px;
}

.footer-logo img {
    width: 120px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: clamp(2rem, 6vw, 6rem);
    margin: 2rem 0 3rem;
}

.footer-nav a {
    font-family: 'mgf-popstarpersonaluse';
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 22px;
}

.footer-info {
    font-size: 14px;
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}