body {
    font-family: Arial, sans-serif;
    background-color: #184a5c;
    height: 100vh;
    margin: 0;
}

h1 {
    text-align: center;
    color: white;
}

#flex {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4rem;
    padding: 100px;
}

.card {
    /*background: linear-gradient(135deg, #a857f5, #ff85b2);*/
    background: linear-gradient(135deg, #184a5c, #68b14f);
    width: 300px;
    border-radius: 50px 50px 0 0;
    text-align: center;
    padding: 30px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    color: white;
    cursor: pointer;
}

.card .icon {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -40px auto 20px;
}

.card p {
    text-align: left;
}

.card .icon img {
    width: 80px;
    height: 80px;
}

.card h2 {
    margin: 10px 0;
    font-size: 1.5rem;
}

.card p {
    line-height: 1.6;
}

.hoogte {
    height: 28px;
}

.dropdown {
    position: relative;
}

/* Dropdown submenu verbergen */
.dropdown-content {
    display: none;
    min-width: 200px;
}

nav {
    display: absolute;
}

/* Links binnen dropdown */
.dropdown-content li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
}

.dropdown-content li a:hover {
    background-color: #184A5C;
    text-decoration: underline;
}

/* Dropdown tonen bij hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.containerFinaliteit {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    padding-bottom: 4rem;
}

#imgHome {
    display: flex;
    flex-direction: row;
    margin-top: 200px;
    margin-bottom: 100px;
    justify-content: space-evenly;
}

#imgHome figure {
    margin: 20px 0;
    text-align: center;
}

#imgHome img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8%;
}

/* Doorstroom pagina */
#doorstroomh1,
#dubbelefinaliteit-h1,
#arbeidsfinaliteith1 {
    text-align: center;
    color: rgb(69 69 69);
    margin: 20px 0;
    text-decoration: underline;
}


#tweedoorstroom,
#driedoorstroom,
#tweedegraad,
#derdegraad,
#arbeidsmarkt-2de-graad,
#arbeidsmarkt-3de-graad {
    width: 45%;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
}

#tweedoorstroom h2,
#driedoorstroom h2,
#tweedegraad h2,
#derdegraad h2,
#arbeidsmarkt-2de-graad h2,
#arbeidsmarkt-3de-graad h2 {
    text-align: center;
    color: #68b14f;
    margin-bottom: 20px;
}

#tweedoorstroom h3,
#driedoorstroom h3,
#tweedegraad h3,
#derdegraad h3,
#arbeidsmarkt-2de-graad h3,
#arbeidsmarkt-3de-graad h3 {
    color: rgb(69 69 69);
    font-size: 20px;
    margin-top: 15px;
    font-weight: bold;
}

#tweedoorstroom p,
#driedoorstroom p,
#tweedegraad p,
#derdegraad p,
#arbeidsmarkt-2de-graad p,
#arbeidsmarkt-3de-graad p {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin: 0 0 10px 0;
}


@media (max-width: 850px) {

    #tweedoorstroom,
    #driedoorstroom,
    #tweedegraad,
    #derdegraad,
    #arbeidsmarkt-2de-graad,
    #arbeidsmarkt-3de-graad {
        width: 100%;
    }

    .containerFinaliteit {
        padding: 10px;
    }

    #imgHome {
        display: flex;
        flex-direction: column;
        margin-top: 0px;
        margin-bottom: 20px;
        justify-content: space-evenly;
    }

    .hoogte {
        display: none;
    }

    #flex {
        padding: 0 150px;
    }

    .card {
        /*background: linear-gradient(135deg, #a857f5, #ff85b2);*/
        background: linear-gradient(135deg, #184a5c, #68b14f);
        width: 35rem;
        border-radius: 50px 50px 0 0;
        text-align: center;
        padding: 30px 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        position: relative;
        color: white;
        cursor: pointer;
    }

}


.menu-icon:focus {
    outline: none;
}


.section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}



body {
    font-family: Arial, sans-serif;
    background-color: #184a5c;
    height: 100vh;
    margin: 0;
}