@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

body {
    background: #f3ecef;
    padding: 0;
    margin: 0;
    font-family: "montserrat", sans-serif;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0.50rem;
}

h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 2.00rem;
}

h3 {
    font-size: 1.00rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    font-size: 0.90rem;
    font-weight: 400;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

.container {
    padding: 5rem 10% 5rem 10%;
}

.dark {
    background-color: #54355F;
    color: #f3ecef;
}

.blank {
    background-color: #f3ecef;
    color: #2a1433;
}

.dark-kids-ride {
    background-image: url('../images/site/kids-ride/PNG/DDW-KR_BRANDING_BackgroundWide.png') ;
    background-position: center center;
    background-size: cover;
    color: #f3ecef;
}

.blank-kids-ride {
    background-color: #f3ecef;
    color: #2a1433;
}

.banner {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    height: calc(100vh - 15rem);
    width: auto;
    background-position: 50% 50%;
    background-size: cover;
    padding: 0rem 10%;
    color: #2a1433;
}

.banner-small {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    height: auto;
    width: auto;
    background-position: 50% 50%;
    background-size: cover;
    color: #2a1433;
}

.banner img {
    width: 35%;
    height: auto;
}

.banner-overlay {
    width: 80%;
    height: 100%;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    padding: 35vh 10% 1.5rem 10%;
    background: linear-gradient(135deg, rgba(83, 54, 95, 1) 0%, rgba(37, 53, 109, 0.2) 100%);
    backdrop-filter: blur(10px);
    color: #f3ecef;
}

.grid {
    display: grid;
    gap: 2rem;
    align-items: stretch;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.tale {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    border-radius: 2.00rem;
    padding: 1.50rem;
    height: 100%;
    box-sizing: border-box;
}

.dark .tale {
    background-color: rgba(243, 236, 239, 1);
    color: #2a1433;
    border: 1.5px solid #f3ecef;
    transition: all 0.3s ease;
}

.blank .tale {
    background: linear-gradient(45deg, rgba(84, 53, 95, 1) 0%, rgba(231, 53, 49, 1) 100%);
    color: #F3ECEF;
    border: 1.5px solid #54355F;
    transition: all 0.3s ease;
}

.dark .tale:hover {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    color: #F3ECEF;
}

.blank .tale:hover {
    background: linear-gradient(135deg, rgba(83, 54, 95, 0) 0%, rgba(37, 53, 109, 0) 100%);
    color: #2a1433;
}

.dark .no-hover:hover {
    background: #f3ecef;
    color: #2a1433;
}

.blank .no-hover:hover {
    background-color: #54355F;
    color: #F3ECEF;
}

.tale .image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100% - 2rem);
    padding: 1rem;
    border-radius: 0.75rem;
    background-size: cover;
    background-position: 50% 50%;
    aspect-ratio: 5/2;
}

.blank .tag {
    padding: 0.5rem 1rem;
    margin: 0 0 1rem 0;
    border-radius: 0.75rem;
    background-color: #f3ecef;
    color: #2a1433;
    width: fit-content;
}

.dark .tag {
    padding: 0.5rem 1rem;
    margin: 0 0 1rem 0;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(84, 53, 95, 1) 0%, rgba(231, 53, 49, 1) 100%);
    color: #f3ecef;
    width: fit-content;
}

.article {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    border-radius: 2.00rem;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    gap: 5rem;
}

.article h3 {
    padding-top: 1.50rem;
}

.article .image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
    border-radius: 0.75rem;
    border: 1.5px solid #54355F;
    background-size: cover;
    background-position: center center;
    aspect-ratio: 4/3;
}

.article .image video {
    object-fit: cover !important;
    border-radius: 0.75rem !important;
}

.article .content {
    width: 50%;
}

.article .inleiding {
    font-weight: 600;
}

.info-banner {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: row;
    border-radius: 2.00rem;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    gap: 5rem;
}

.info-banner h3 {
    padding-top: 1.50rem;
}

.info-banner .image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
    border-radius: 0.75rem;
    background-size: cover;
    background-position: 50% 0%;
    aspect-ratio: 5/3;
}

.blank .info-banner .image {
    border: 1.5px solid #54355F !important;
}

.dark .info-banner .image {
    border: 1.5px solid #F3ECEF !important;
}

.info-banner .image video {
    object-fit: cover !important;
    border-radius: 0.75rem !important;
}

.info-banner .content {
    width: 50%;
}

.info-banner .inleiding {
    font-weight: 600;
}

button {
    padding: 0.75rem 1.5rem;
    margin: 0 0 1rem 0;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    width: fit-content;
    transition: margin-left 0.3s ease;
    font-family: "montserrat", sans-serif;
    cursor: pointer;
}

button:hover {
    margin-left: 1rem;
}

.dark button {
    background-color: rgba(243, 236, 239, 1);
    color: #2a1433;
}

.blank button {
    background: linear-gradient(135deg, rgba(84, 53, 95, 1) 0%, rgba(231, 53, 49, 1) 100%);
    color: #f3ecef;
}

.brick {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100% - 4rem);
    padding: 2rem;
    border-radius: 2.00rem;
    border: 1.5px solid transparent;
    background-size: cover;
    background-position: 50% 50%;
    aspect-ratio: 5/2;
    transition: border 0.3s ease;
}

.dark .brick {
    border: 1.5px solid #54355F;
}

.blank .brick {
    border: 1.5px solid #f3ecef;
}

.dark .brick:hover {
    border: 1.5px solid #f3ecef;
}

.blank .brick:hover {
    border: 1.5px solid #54355F;
}

.brick .text {
    width: 100%;
}

.brick .text h3 {
    color: #f3ecef;
    margin: 0rem;
    transition: margin 0.3s ease;
}

.brick:hover .text h3 {
    margin: 0rem 0rem 0.75rem 0.75rem;
}

.footer {
    grid-template-columns: repeat(4, 1fr);
    background-color: #f3ecef;
    display: grid;
    gap: 2.25rem;
    padding: 3rem 10%;
}

.footer h3 {
    color: #2a1433;
}

.footer a {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin: 0;
    color: #2a1433;
    padding-left: 0.5rem;
    border-left: 1.5px solid #2a1433;
    transition: all 0.3s ease;
}

.footer a:hover {
    padding-left: 1rem;
    font-weight: 600;
}

.footer p {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin: 0;
    color: #2a1433;
    padding-left: 0.5rem;
    border-left: 1.5px solid #2a1433;
}

.footer-column {
    display: flex;
    flex-direction: column;
    padding: 0rem 1rem;
}

.social-bar {
    background-color: #f3ecef;
    padding: 0rem 10% 3rem 10%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.social-bar img {
    height: 2rem;
    margin-left: 1.00rem;
    transition: all 0.3s ease;
}

.social-bar img:hover {
    margin-left: 1.50rem;
}

.social-bar p {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5rem;
    margin: 0;
    color: #2a1433;
}

.navbar-main-desktop {
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.25);
    padding: 2.50rem 0 0 0;
    margin: 0 5%;
    height: 3rem;
    z-index: 504;
    width: calc(100% - 10%);
    background-color: rgba(243, 236, 239, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 0 0 2rem 2rem;
    border: 1.5px solid #E73531;
    transition: all 0.3s ease;
}

.navigatie {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 1.5rem;
    padding: 0 5% 0 5%;
    margin: 0;
    z-index: 505;
}

.logo {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 1.5rem;
    padding: 0 5% 0 5%;
    margin: 0;
    z-index: 505;
}

.logo a:hover {
    border-bottom: 1.5px solid transparent;
}

.navbar-logo {
    height: 1.05rem;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-main-desktop:hover .navbar-logo {
    height: 1.25rem;
    width: auto;
}

.navbar-main-desktop:hover {
    height: 4.5rem;
}

.navbar-main-desktop a {
    text-decoration: none;
    color: #2a1433;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    padding: 0.5rem 0rem;
    border-bottom: 1.5px solid transparent;
    transition: all 0.3s ease;
}

.navigatie a:hover {
    border-bottom: 1.5px solid #2a1433;
}

.navbar-sub {
    z-index: 506;
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: right;
    box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.25);
    align-items: center;
    gap: 1.25rem;
    padding: 0rem 10% 0rem 10%;
    margin: 0;
    height: 2.50rem;
    width: calc(100% - 20%);
    background: #54355F;
    background: linear-gradient(135deg, rgba(84, 53, 95, 1) 0%, rgba(231, 53, 49, 1) 100%);
}

.navbar-sub a {
    text-decoration: none;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
}

.navbar-main-mobile {
    position: fixed;
}

.menu-icon {
    position: fixed;
}

.desktop {
    opacity: 1;
    transform: translateY(0%);
}

.mobile {
    opacity: 0;
    transform: translateY(-500%);
}

.partner-brick {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 2rem);
    padding: 1rem;
    border-radius: 2.00rem;
    border: 1.5px solid #54355F;
    background-size: cover;
    background-position: 50% 50%;
    transition: border 0.3s ease;
}

.grid-3 .partner-brick {
    aspect-ratio: 5/3;
}

.grid-4 .partner-brick {
    aspect-ratio: 4/3;
}

.grid-5 .partner-brick {
    aspect-ratio: 4/3;
}

.partner-brick .partner-logo {
    min-width: 60%;
    width: 62.5%;
    max-width: 65%;
    height: auto;
    padding: 0rem;
    object-fit: contain;
    max-height: calc(100% - 1rem);
    transition: all 0.3s ease;
}

.tale .team-image {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(100% - 2.00rem);
    padding: 1.00rem;
    border-radius: 0.75rem;
    background-size: cover;
    background-position: 50% 50%;
    aspect-ratio: 1/1;
}

#ad-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

#ad-bg {
    position: absolute;
    inset: 0;
    backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.5);
}

#ad-box {
    position: absolute;
    display: flex;
    top: 50%;
    left: 50%;
    gap: 0.5rem;
    transform: translate(-50%, -50%);
    text-align: center;
    flex-direction: column;
    align-items: center;
}

#ad-box h2 {
    margin: 0 0 1rem 0;
}

#ad-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

#ad-img {
    max-width: 60vw;
    width: 100%;
    border-radius: 2rem;
}

#ad-continue {
    padding: 0.75rem 1.5rem;
    margin: 0 0 0 0 !important;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    width: 100%;
    transition: margin-left 0.3s ease;
    font-family: "montserrat", sans-serif;
    cursor: pointer;
}

#ad-continue:hover {
    margin-left: 1rem;
}

#ad-header {
    background-color: transparent;
    color: #F3ECEF;
    text-align: left;
    width: 100%;
}

#ad-header h3 {
    font-size: 1.00rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#ad-close {
    padding: 0.75rem 0rem;
    margin: 0 0 1rem 0;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    text-align: left;
    font-weight: 300;
    width: 100%;
    transition: margin-left 0.3s ease;
    font-family: "montserrat", sans-serif;
    cursor: pointer;
    background-color: transparent;
    color: #F3ECEF;
    opacity: 0.75;
}

@media (max-width: 1100px) {
    .desktop {
        opacity: 0;
        transform: translateY(-500%);
    }

    .mobile {
        opacity: 1;
        transform: translateY(0%);
    }

    .navbar-main-mobile {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        transform: translateX(-250%);
    }

    .navbar-main-mobile.active {
        top: 5rem;
        position: fixed;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: flex-start;
        gap: 0.50rem;
        padding: 0 5% 0 5%;
        margin: 0 5%;
        height: calc(100vh - 7rem);
        width: calc(100% - 20%);
        background-color: #54355F;
        border-radius: 1.25rem;
        border: 1.5px solid white;
        z-index: 100;
        opacity: 1;
        transform: translateY(0%);
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-background {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        transform: translateX(-250%);
    }

    .mobile-menu-background.active {
        height: 100vh !important;
        width: 100vw !important;
        backdrop-filter: blur(5px);
        z-index: 50;
        position: fixed;
        opacity: 1;
        transform: translateY(0%);
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-main-mobile a {
        text-decoration: none;
        color: white;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: 1rem;
        padding: 0.5rem 0rem;
        border-bottom: 1.5px solid transparent;
        transition: all 0.3s ease;
    }

    .menu-icon {
        top: 1rem;
        position: fixed;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 1.00rem;
        box-shadow: 0px 0px 10px 3px rgba(0, 0, 0, 0.25);
        padding: 0 5% 0 5%;
        margin: 0 5%;
        height: 3rem;
        width: calc(100% - 20%);
        background-color: rgba(243, 236, 239, 0.75);
        backdrop-filter: blur(10px);
        border-radius: 1.25rem;
        border: 1.5px solid #54355F;
        z-index: 100;
    }

    .menu-icon p {
        text-decoration: none;
        color: #2a1433;
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: 1.15rem;
        transform: scaleX(135%);
        padding: 0.5rem 0rem;
    }

    .banner img {
        width: 50%;
        height: auto;
    }

    .article {
        flex-direction: column-reverse;
        gap: 3rem;
    }

    .article .image {
        width: 100%;
    }

    .article .content {
        width: 100%;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    #partners .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    #partners .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    #news .last {
        display: none;
    }

    .footer {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .container {
        padding: 3rem 7.5% 4rem 7.5%;
    }

    .container h2 {
        margin: 0 0 1.5rem 1.5rem;
    }

    .banner {
        height: calc(100vh - 12rem);
        background-position: 50% 50%;
        padding: 0rem 7.50%;
    }

    .banner img {
        width: 75%;
        height: auto;
    }

    .banner-overlay {
        padding: 25vh 10% 1.5rem 10%;
        background: linear-gradient(135deg, rgba(83, 54, 95, 1) 0%, rgba(37, 53, 109, 0.2) 100%);
    }

    .article {
        flex-direction: column-reverse;
    }

    .grid-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-5 {
        grid-template-columns: repeat(1, 1fr);
    }

    #partners .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }

    #partners .grid-4 {
        grid-template-columns: repeat(1, 1fr);
    }

    .dark:nth-child(odd) {
        background-color: #54355F;;
        color: #f3ecef;
    }

    .tale .image {
        aspect-ratio: 1/1;
    }

    .dark .brick {
        border: 1.5px solid #f3ecef;
    }

    .blank .brick {
        border: 1.5px solid #54355F;
    }

    .footer {
        grid-template-columns: repeat(1, 1fr);
        gap: 2.00rem;
        padding: 3rem 7.5%;
    }

    .blank .partner-brick {
        width: calc(100% - 5rem);
        padding: 2.5rem;
    }

    .dark .partner-brick {
        width: calc(100% - 5rem);
        padding: 2.5rem;
    }

    #ad-img {
        width: 75vw;
        max-width: 75vw;
    }
    
    .form-card {
        padding: 1.5rem;
        border-radius: 1.5rem;
    }
}