*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*-------------*/
/*---nav bar---*/
/*-------------*/
nav {
    background-color: #50bcce;
    font-size: 19px;
}
nav ul {
    display: flex;
    list-style-type: none;
    align-items: center;
    height: 120px;
}
nav ul li a {
    color: white;
}
.menuItem {
    padding: 15px 30px;
    border-bottom: solid transparent 3px;
    border-top: solid transparent 3px;
    transition: .2s ease;
}
.menuItem:hover {
    border-bottom: solid #111 3px;
    border-top: solid #111 3px;
    color: #111;
}

/* Zoekbalk */
.search {
    width: max-content;
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 28px;
    background: lightgrey;
    transition: box-shadow 0.25s;
}
.search:focus-within {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.75);
}
.search-input {
    font-size: 16px;
    color: #333333;
    margin-left: 8px;
    outline: none;
    border: none;
    background: transparent;
    width: 300px;
}
.search-input::placeholder,
.search-icon {
    color: rgba(0, 0, 0, 0.5);
}
#search-bar {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

/* Logo Aventus */
.aventus-logo {
    margin-right: auto;
    margin-left: 2vw;
}
.menu-button {
    display: none;
}

/* Sidebar mobile */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: darkgray;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.sidebar-item-text {
    color: black;
    font-size: 17px;
}

/* Zoekbalk in mobiele sidebar */
.sidebar li:nth-child(1) {
    padding-left: 5px;
}
.sidebar li:nth-child(2) {
    padding: 0px 0px 10px 10px;
}
.sidebar li:nth-child(3),
.sidebar li:nth-child(4) {
    padding: 0px 0px 10px 10px;
}

/*------------------*/
/*---contact info---*/
/*------------------*/
.contact-info {
    width: 95vw;
    font-size: 18px;
    margin: 0.5% 0% 0% 1%;
}

.project-members {
    margin-top: 3%;
    text-align: center;
}

.project-members ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2%;
    justify-content: center;
}
.project-members li {
    font-size: 16px;
    margin: 0px 50px;
}

.contact-photos {
    margin-top: 10%;
}
.contact-photos img {
    margin: 0 50px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
}

/*------------------------*/
/*---copyright gedeelte---*/
/*------------------------*/
.footer-copyright footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    position: fixed;
    bottom: 5px;
    width: 100vw;
}
.footer-copyright a {
    color: inherit;
    text-decoration: none;
}
.footer-copyright a:hover {
    text-decoration: underline;
    color: #50bcce;
}

/* -------------------- */
/* Responsiveness */
/* -------------------- */

/* --------- */
/* 4K Ultra HD (3840px and up) */
/* --------- */
@media screen and (min-width: 3840px) {
    nav {
        font-size: 24px;
    }
    nav ul {
        height: 150px;
    }
    nav ul li a {
        font-size: 24px;
    }
    .menuItem {
        padding: 20px 40px;
    }
    .search-input {
        width: 350px;
        font-size: 20px;
    }
    .aventus-logo {
        max-width: 350px;
    }
    .contact-info {
        font-size: 22px;
    }
    .project-members li {
        font-size: 20px;
        margin: 0px 60px;
    }
    .contact-photos img {
        width: 160px;
        height: 160px;
    }
    /* Footer */
    .footer-copyright footer {
        font-size: 18px;
    }
}

/* --------- */
/* Full HD (1920px to 3839px) */
/* --------- */
@media screen and (min-width: 1920px) and (max-width: 3839px) {
    nav {
        font-size: 21px;
    }
    nav ul {
        height: 130px;
    }
    nav ul li a {
        font-size: 21px;
    }
    .menuItem {
        padding: 18px 36px;
    }
    .search-input {
        width: 320px;
        font-size: 18px;
    }
    .aventus-logo {
        max-width: 300px;
    }
    .contact-info {
        font-size: 20px;
    }
    .project-members li {
        font-size: 18px;
        margin: 0px 55px;
    }
    .contact-photos img {
        width: 150px;
        height: 150px;
    }
    /* Footer */
    .footer-copyright footer {
        font-size: 16px;
    }
}

/* --------- */
/* Large desktops (1600px to 1919px) */
/* --------- */
@media screen and (min-width: 1600px) and (max-width: 1919px) {
    nav {
        font-size: 19px;
    }
    nav ul {
        height: 120px;
    }
    nav ul li a {
        font-size: 19px;
    }
    .menuItem {
        padding: 16px 32px;
    }
    .search-input {
        width: 300px;
        font-size: 17px;
    }
    .aventus-logo {
        max-width: 280px;
    }
    .contact-info {
        font-size: 18px;
    }
    .project-members li {
        font-size: 16px;
        margin: 0px 50px;
    }
    .contact-photos img {
        width: 140px;
        height: 140px;
    }
}

/* --------- */
/* Desktops (1366px to 1599px) */
/* --------- */
@media screen and (min-width: 1366px) and (max-width: 1599px) {
    nav {
        font-size: 18px;
    }
    nav ul {
        height: 110px;
    }
    nav ul li a {
        font-size: 18px;
    }
    .menuItem {
        padding: 15px 30px;
    }
    .search-input {
        width: 280px;
        font-size: 16px;
    }
    .aventus-logo {
        max-width: 260px;
    }
    .contact-info {
        font-size: 17px;
    }
    .project-members li {
        font-size: 15px;
        margin: 0px 45px;
    }
    .contact-photos img {
        width: 130px;
        height: 130px;
    }
}

/* --------- */
/* Small desktops and laptops (1024px to 1365px) */
/* --------- */
@media screen and (min-width: 1024px) and (max-width: 1365px) {
    nav {
        font-size: 17px;
    }
    nav ul {
        height: 100px;
    }
    nav ul li a {
        font-size: 17px;
    }
    .menuItem {
        padding: 14px 28px;
    }
    .search-input {
        width: 260px;
        font-size: 15px;
    }
    .aventus-logo {
        max-width: 240px;
    }
    .contact-info {
        font-size: 16px;
    }
    .project-members li {
        font-size: 14px;
        margin: 0px 40px;
    }
    .contact-photos img {
        width: 120px;
        height: 120px;
    }
}

/* --------- */
/* Tablets (768px to 1023px) */
/* --------- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    nav {
        font-size: 16px;
    }
    nav ul {
        height: 90px;
    }
    nav ul li a {
        font-size: 16px;
    }
    .menuItem {
        padding: 13px 26px;
    }
    .search-input {
        width: 240px;
        font-size: 14px;
    }
    .aventus-logo {
        max-width: 220px;
    }
    .contact-info {
        font-size: 15px;
        width: 90vw;
    }
    .project-members li {
        font-size: 13px;
        margin: 0px 35px;
    }
    .contact-photos img {
        width: 110px;
        height: 110px;
    }
    /* Aanpassen van layout voor tablets */
    .project-members ul {
        justify-content: space-around;
    }
}

/* --------- */
/* Landscape phones (480px to 767px) */
/* --------- */
@media screen and (min-width: 480px) and (max-width: 767px) {
    nav {
        font-size: 15px;
    }
    nav ul {
        height: 80px;
    }
    nav ul li a {
        font-size: 15px;
    }
    .menuItem {
        padding: 12px 24px;
    }
    .search-input {
        width: 220px;
        font-size: 13px;
    }
    .aventus-logo {
        max-width: 200px;
    }
    .contact-info {
        font-size: 14px;
        width: 90vw;
        margin: 1% 0% 0% 5%;
    }
    .project-members li {
        font-size: 12px;
        margin: 10px 0;
    }
    .contact-photos img {
        width: 100px;
        height: 100px;
        margin: 10px 0;
    }
    /* Aanpassen van layout voor landscape phones */
    .project-members ul {
        flex-direction: column;
        align-items: center;
    }
}

/* --------- */
/* Portrait phones (less than 480px) */
/* --------- */
@media screen and (max-width: 479px) {
    /* Verbergen van navbar onderdelen */
    .menuItem {
        display: none;
    }
    .menu-button {
        display: block;
    }

    /* Hoogte navbar */
    nav ul {
        height: 65px;
        background-color: black;
    }

    .menu-button {
        margin-right: 10px;
    }

    /* Zoekbalk */
    .hide-searchbar {
        display: none;
    }
    .search {
        padding: 8px 14px;
        border-radius: 28px;
        background: lightgrey;
    }
    .search-input {
        font-size: 12px;
        width: 150px;
    }
    #search-bar {
        flex-grow: 0;
        justify-content: left;
        width: 100%;
    }

    /* Logo Aventus */
    .aventus-logo {
        width: 150px;
    }

    /* Contact info */
    .contact-info {
        font-size: 13px;
        width: 90vw;
        margin: 1% 0% 0% 5%;
    }
    .project-members {
        margin-top: 5%;
    }
    .project-members ul {
        flex-direction: column;
        align-items: center;
    }
    .project-members li {
        font-size: 12px;
        margin: 8px 0;
    }
    .contact-photos img {
        width: 90px;
        height: 90px;
        margin: 8px 0;
    }

    /* Footer */
    .footer-copyright footer {
        font-size: 11px;
        bottom: 15px;
    }
}

/* --------- */
/* Small phones (less than 375px) */
/* --------- */
@media screen and (max-width: 374px) {
    .search-input {
        font-size: 11px;
        width: 130px;
    }
    .aventus-logo {
        width: 130px;
    }
    .contact-info {
        font-size: 12px;
    }
    .project-members li {
        font-size: 11px;
    }
    .contact-photos img {
        width: 80px;
        height: 80px;
    }
    /* Footer */
    .footer-copyright footer {
        font-size: 10px;
        bottom: 10px;
    }
}

