.nav-link {
    color: white;
}

.nav-link:hover {
    color: rgb(255, 156, 35);
}

.dropdown-menu {
    color: white;
    background-color: rgb(0, 0, 0, 0.7);
    text-align: center;
    border-bottom: solid white;
    border-left: solid white;
    border-right: solid white;
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover {
    color: rgb(255, 156, 35);
    background-color: rgb(255, 255, 255, 0.2);
}

#DropCss1:first-child {
    color: white;
}

#DropCss1:hover {
    color: rgb(255, 156, 35);
}

#DropCss2:first-child {
    color: white;
}

#DropCss2:hover {
    color: rgb(255, 156, 35);
}

#DropCss3:first-child {
    color: white;
}

#DropCss3:hover {
    color: rgb(255, 156, 35);
}

#DropCss4 {
    color: white;
}

#DropCss4:hover {
    color: rgb(255, 156, 35);
}

#Brand {
    font-family: cursive;
}

#Brand:hover {
    font-family: cursive;
    color: rgb(255, 156, 35);
}

body,
html {
    width: 100%;
    height: 100%;
}


#LoginButton {
    display: inline-block;
    color: white;
    border: 2px solid white;
}

#LoginButton:hover {
    color: rgb(255, 156, 35);
    border-color: rgb(255, 156, 35);
    background-color: transparent;
}

@media only screen and (max-width: 575px) {
    #collapsibleNavbar .navbar-nav {
        align-items: center;
        /* center all nav items horizontally */
    }

    #profileDropdown {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 0;
        width: 35px;
        text-decoration: dotted;
        /* net iets breder dan het icoon */
        position: relative;
    }

    hr {
        display: none;
    }



    .dropdown-menu[aria-labelledby="profileDropdown"] {
        position: relative;
        border-right: none;
        border-bottom: none;
        background: none;
        top: 100% !important;
        /* direct onder */
        left: 50% !important;
        /* horizontaal midden */
        transform: translateX(-50%) !important;
        /* echt centered */
        margin-top: 0.25rem;
        min-width: 8rem;
        /* Optioneel: iets hoger z-index als het overlapt */
        z-index: 1050;
    }

    #profileDropdown::after {
        display: none;
    }

    .IconText {
        display: none;
    }

    .nav-link {
        color: white;
        text-align: center;
    }

    #NavButton {
        color: white;
    }

    #LoginButton {
        display: inline-block;
        color: white;
        border: 2px solid white;
        padding: 6px 14px;
        font-size: 0.9rem;
        border-radius: 6px;
        margin-right: 10px;
        margin-left: 10px;
        margin-top: 8px;
        text-align: center;
        width: 100%;
    }

    #LoginButton:hover {
        color: rgb(255, 156, 35);
        border-color: rgb(255, 156, 35);
        background-color: transparent;
    }

    .vr {
        display: none;
        /* Splitter verbergen op mobiel voor netheid */
    }

    .navbar-collapse {
        background-color: rgb(0, 0, 0, 0.7) !important;
        border-bottom: solid white;
        border-right: solid white;
        border-left: solid white;
        border-radius: 8px;
        /* Optioneel: voor afgeronde hoeken */
        padding-top: 20px;
        /* Ruimte bovenaan */
        padding-bottom: 20px;
        /* Ruimte onderaan */
    }
}

@media only screen and (max-width: 1050px) and (min-width: 575px) {
    .nav-text {
        display: none;
    }

    .nav-item {
        font-size: 24px;
    }
}

/* body */

/* Hero screen */

.hero {
    position: relative;
    background-image: url('../IMG/NewsMain.png');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: #003057;
}

.hero-overlay {
    background-color: rgba(255, 255, 255, 0.9);
    display: inline-block;
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero p {
    font-size: 18px;
    color: #333;
    margin-bottom: 25px;
}

.section-line {
    width: 150px;
    height: 6px;
    background-color: #ff6f00;
    margin: 0 auto 15px auto;
    border-radius: 2px;
    margin-top: 5px;
    margin-bottom: 10%;
}

/* News section */

.news-container {
    background-color: #f5f5f5;
    padding: 60px 20px;
}

.news-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-card h2 {
    font-size: 27px;
    color: #003057;
}

.news-card p {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
}

.news-link {
    color: rgb(255, 156, 35);
    text-decoration: none;
    font-weight: bold;
}

.news-link:hover {
    text-decoration: underline;
}

/* Footer */

footer {
    padding: 2% 0;
    backdrop-filter: blur(8px);
    /* maakt achtergrond wazig */
    -webkit-backdrop-filter: blur(8px);
    /* Safari ondersteuning */
    background-color: rgb(0, 0, 0);
    /* Donker glasachtig */
    color: white;
    border-top: solid gray;
    /* Rood accent blijft */
    text-align: center;
    width: 100%;
}

.FooterList {
    list-style: none;
}

.FooterLink {
    color: white;
    text-decoration: none;
}

.SponserImg {
    max-height: 80px;
    object-fit: contain;
    /* Ensures image fits without stretching */
    width: 120px;
    margin-top: 3%;
    max-width: 80px;
    border-radius: 12px;
    margin-right: 1%;
    border: white solid 2px;
    height: auto;
    display: inline-block;
}

.footerrow {
    background-color: black;
    margin-right: 0;
    margin-left: 0;
}