/*General Settings*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

.forum-regular {
    font-family: "Forum", serif;
    font-weight: 400;
    font-style: normal;
}

/*Background Image Setup*/
body {
    background-image: url('/MEDIA/bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    /* Adjusts the background image to cover the entire body */
}

/*--------------------------------------------------*/
/* NAVBAR STYLING STARTS */
header {
    box-shadow: 0 4px 19px rgba(0, 0, 0, 0.65);
    margin-bottom: 20px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px;
    background-color: teal;
    color: #fff;
    transition: background-color 0.5s ease-in-out;
    transition: box-shadow 2s ease;
}

.navbar:hover {
    background-color: #036e70;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.nav-links a {
    color: #fff;
    margin-right: 15px;
}

/* LOGO */
.logo {
    padding: 3px;
    width: auto;
    height: 100px;
}

/* NAVBAR MENU */
.menu {
    display: flex;
    gap: 1em;
    font-size: 25px;
    padding-right: 100px;
}

.menu li:hover {
    background-color: #4c9e9e;
    border-radius: 5px;
    transition: 1s ease;
}

.menu li {
    padding: 2px 14px;
    margin: 20px;
}

/* DROPDOWN MENU */
.services {
    position: relative;
}

.dropdown {
    background-color: rgb(1, 139, 139);
    padding: 1em 0;
    position: absolute;
    display: none;
    border-radius: 8px;
    top: 35px;
}

.dropdown li+li {
    margin-top: 10px;
}

.dropdown li {
    padding: 0.5em 1em;
    width: 8em;
    text-align: center;
}

.dropdown li:hover {
    background-color: #4c9e9e;
}

.services:hover .dropdown {
    display: block;
}

input[type=checkbox] {
    display: none;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    font-size: 24px;
    user-select: none;
}

/*-------------------------------------------------*/
/*PAGE BELOW NAV*/ 

.pag {
    padding-top: 30px;
}

.titl {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xx-large;
    padding: 15px;
    margin-bottom: 20px;
}

.cont {
    justify-content: center;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.legislatie {
    padding: 30px;
    margin: 30px;
    width: 75%;
    text-align: center;
    border-radius: 20px;
    border-color: black;
    border-style: groove;
    border-width: 1px;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------*/
/*FOOOOOOOOOTER*/
footer {
    padding: 10px;
    padding-top: 0px;
    margin-top: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
    background-image: url("/MEDIA/bgGri.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.pcont {
    text-align: center;
    flex: 1;
    margin-left: 10em;
}

footer p {
    line-height: 220%;
    font-size: small;
    color: antiquewhite;
}

.fbcont {
    margin-right: 0px;
}

.fb {
    width: 20%;
    height: auto;
    margin-right: -40px;
}

/* MOBILE PHONE QUERIES */
@media only screen and (max-width: 600px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        flex-direction: column;
        gap: 0;
    }

    .menu li {
        margin: 10px 0;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .nav-links input[type=checkbox]:checked ~ .menu {
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: 80px;
        height: auto;
    }

    .titl {
        font-size: large;
        text-align: center;
        padding: 10px;
    }

    .legislatie {
        width: 90%;
        padding: 20px;
        margin: 20px auto;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .pcont {
        margin: 0;
    }

    footer p {
        font-size: small;
    }

    .fb {
        width: 50%;
        margin: 10px 0;
    }
}

/* Medium devices (tablets, 600px to 768px) */
@media only screen and (min-width: 600px) and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu {
        flex-direction: column;
        gap: 0;
    }

    .menu li {
        margin: 10px 0;
        padding: 10px;
    }

    .hamburger {
        display: block;
    }

    .nav-links input[type=checkbox]:checked ~ .menu {
        display: flex;
        flex-direction: column;
    }

    .logo {
        width: 100px;
        height: auto;
    }

    .titl {
        font-size: x-large;
        text-align: center;
        padding: 10px;
    }

    .legislatie {
        width: 80%;
        padding: 20px;
        margin: 20px auto;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .pcont {
        margin: 0;
    }

    footer p {
        font-size: small;
    }

    .fb {
        width: 60%;
        margin: 10px 0;
    }
}
