body {
    margin: 0;
    width: 100%;
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    padding-bottom: 20px;
}

/* Header en navigatie */
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #3c2d49;
}

header img {
    height: 30px;
    width: auto;
}

header #back,
header #hamburger {
    height: 30px;
    width: 30px;
    border-radius: 100px;
    background-color: white;
    color: #3c2d49;
    cursor: pointer;
}

/* Medium header */
@media (min-width: 768px) {
    header {
        height: 80px;
    }

    header img {
        height: 40px;
        width: auto;
    }

    header #back,
    header #hamburger {
        height: 40px;
        width: 40px;
    }
}

/* Large header */
@media (min-width: 992px) {
    header {
        height: 80px;
    }

    header img {
        height: 30px;
        width: auto;
    }

    header #back,
    header #hamburger {
        height: 30px;
        width: 30px;
    }
}

/* Searchbar form */
form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

form input[type="search"] {
    padding: 8px 12px;
    border-radius: 10px;
    border: 1.5px solid #d6be3f;
    width: 200px;
    max-width: 60vw;
    font-size: 16px;
}

form button {
    background-color: #d6be3f;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

form button:hover {
    background-color: #bfa235;
}

/* Tags en searchbar */
nav[aria-label="Filter by tags"] {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

nav[aria-label="Filter by tags"] ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

nav[aria-label="Filter by tags"] li button {
    background-color: #99c9bd;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

nav[aria-label="Filter by tags"] li button:hover {
    background-color: #762d30;
    color: white;
}

/* hr */
hr {
    width: 95%;
    height: 1px;
    border: none;
    background-color: #e9e9e9;
}

h1 {
    padding-left: 20px;
}

/* Section en articles */
a {
    text-decoration: none;
    color: initial;
}

section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
}

@media (min-width: 768px) {
    section {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
}

@media (min-width: 992px) {
    section {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        align-items: stretch;
        padding: 0 20px;
    }

    section article {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: #e9e9e9;
        padding: 15px;
        border-radius: 10px;
        height: 95%;
    }
}

section article {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #e9e9e9;
    padding: 15px;
    border-radius: 10px;
}


section article .tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

section article button {
    background-color: #99c9bd;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-weight: bold;
    cursor: pointer;
    width: auto;
}

section img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

article:hover {
    background-color: #e18a8f;
    cursor: pointer;
    color: white;
}