#indx {
    background-image: url(../afbeeldingen/gravensteenfeesten2022.2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0px;
}

.schild {
    background-image: url(../afbeeldingen/shild.svg);
    background-repeat: no-repeat;
    background-size: initial;
    background-position: center 36%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.header {
    background-color: #f1f1f1;
    padding: 30px;
    text-align: center;
}

#header nav {
    position: absolute;
    bottom: 0;
    top: auto;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.sticky {
    position: fixed;
    top: 0;
    bottom: auto;
    width: 100%;
    z-index: 100000;
    /* the nav bar must stay on top! */
    background-color: #141517;
    transition: background-color 0.5s, width .3s ease-in-out;
}

.sticky+.content {
    padding-top: 60px;
}

.mytextdiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (max-width: 765px) {
    .mytextdiv b {
        width: auto;
    }
}

/* All the colors for the flag */
.flagDividerRed {
    height: 10px;
    margin-top: .5rem;
    background-color: #d71f26;
    width: 8%;
    flex-grow: 1;
}

.flagDividerWhite {
    height: 10px;
    margin-top: .5rem;
    background-color: #ffffff;
    width: 8%;
    flex-grow: 1;
}

.flagDividerGreen {
    height: 10px;
    margin-top: .5rem;
    background-color: #116835;
    width: 8%;
    flex-grow: 1;
}

.pagetitle {
    padding: 1rem 1rem .5rem 1rem;
    text-align: center;
    /* background-color: rgba(0, 0, 0, 0.398); */
    background-blend-mode: difference;
    width: 30vw;
}

.linknav::after {
    position: absolute;
    background-color: white;
    content: "";
    width: 0;
    height: 2px;
    left: 50%;
    bottom: 13px;
    border-radius: 200px;
    transition: width 0.35s ease 0s, left 0.35s ease 0s;
}

#header li:hover>.linknav::after {
    width: calc(100% - 30px);
    left: 15px;
}

.current>.linknav::after {
    width: calc(100% - 30px);
    left: 15px;
}

.linknav {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px;
    display: inline-block;
}

#header ul {
    display: inline;
    margin: 0;
    padding: 0;
}

#header ul li {
    display: inline-block;
}

#header ul li:hover ul {
    max-height: 300px;
}

#header ul li ul {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 200px;
    max-height: 0px;
    transition: max-height .6s ease-in-out;
    border-radius: 0 0 5px 5px;
    z-index: 10;
}

#header ul li ul li {
    background: rgba(0, 0, 0, 0.4);
    display: block;
}

#header header {
    /* padding-right: 10%;
      padding-left: 10%; */
    position: relative;
    font-size: 1.5rem;
    font-family: "Capitalis", sans-serif;
    color: #ffffff;
    height: 490px;
    width: 100%;
    text-align: center;
    align-items: center;
    background-color: black;
    display: inline-table;
    justify-content: center;
}

.centertitle {
    text-align: center;
}

.hamburger {
    display: none;
    width: 50px;
    height: 50px;
    margin: 0 2vw 0 0;
    cursor: pointer;
    transition: transform .3s ease-out;
}

.hamburger span,
.hamburger span:before,
.hamburger span:after {
    position: relative;
    display: block;
    height: 4px;
    width: 34px;
    background-color: #ffffff;
    margin: 23px 8px;
    border-radius: 3px;
    transition: all 0.5s ease;
}

.hamburger span:before,
.hamburger span:after {
    content: " ";
    position: absolute;
    margin: 0;
    padding: 0;
    top: -10px;
    transform: rotateZ(0deg);
    transform-origin: 3px 2px;
    background-color: #d71f26;
}

.hamburger span:after {
    top: auto;
    bottom: -10px;
    background-color: #116835;
}

.clicked .hamburger span {
    background-color: transparent;
    margin-left: 12px;
}

.clicked .hamburger span:before {
    transform: rotateZ(45deg);
    background-color: #116835;
}

.clicked .hamburger span:after {
    transform: rotateZ(-45deg);
    background-color: #d71f26;
}

.clicked .hamburger {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) inset;
}


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

    .flagDividerGreen,
    .flagDividerWhite,
    .flagDividerRed {
        display: none;
    }

    .hamburger {
        display: block;
    }

    #header nav {
        background-color: rgba(0, 0, 0, 0.75);
    }

    .pagetitle {
        padding: 1rem 0 1rem 9%;
    }

    .mytextdiv {
        justify-content: space-between;
    }

    .menu ul,
    .menu li {
        display: block !important;
        position: relative !important;
        z-index: 10;
    }

    .menu {
        display: block;
        position: fixed;
        right: -40vw;
        top: 0;
        height: 100vh;
        width: 40vw;
        transition: right .3s ease-in-out;

        background-color: #292d33;
    }

    #header ul li ul {
        max-height: 300px;
        width: 40vw;
    }

    #header ul li ul .linknav {
        color: #DDDDDD;
        font-size: 1rem;
    }

    #header ul li ul .linknav::after {
        background-color: #DDDDDD;
    }

    .clicked .menu {
        right: 0px;
    }

    .content {
        transition: width .3s ease-in-out;
    }

    .clicked,
    .clicked .sticky {
        width: calc(100% - 40vw);
    }
}




/* -------------- Cookie ------------ */
.cookie-banner a {
    color: #d71f26;
    text-decoration: none;
}

.cookie-banner:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.cookie-banner {
    position: fixed;
    bottom: 40px;
    left: 10%;
    right: 10%;
    width: 80%;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.6);
}