body,
html {
    /* Reset de ruimte rondom en binnen het element */
    margin: 0;
    padding: 0;
}

body {
    /* Standaard lettertype en achtergrondkleur instellen */
    font-family: 'Open Sans', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Poppins', arial, sans-serif;
}

header {
    background-color: #66CFAD;
    margin-bottom: 20px;
    /*gebruikt flexbox voor een layout*/
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    border-radius: 16px;
}

header h1 {
    color: white;

}

nav {
    flex: 1;
    display: flex;
    justify-content: left;
}

nav ul {
    display: flex;
    list-style-type: none;
    font-size: large;
    gap: 56px;
}

nav li {
    text-align: center;
}

nav li:hover {
    background-color: #6df2d3;
}

nav a {
    background-color: #66CFAD;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    font-size: large;
    /*voegt een overgangseffect toe bij hoveren*/
    transition: background 0.2s;
}

nav a:hover {
    background-color: #6df2d3;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

.searchbar {
    padding: 8px;
    border-radius: 16px;
    border: none;
    outline: none;
    font-size: 16px;
}

main {
    background-color: #daf9f2;
    padding: 32px 24px;
    /*maakt afgeronde hoeken voor main*/
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    min-height: 400px;
}

section {
    margin-bottom: 32px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

main h1,
main h2 {
    color: #2a7c6f;
    margin-bottom: 16px;
}

main img {
    max-width: 100%;
    border-radius: 12px;
    margin: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

footer {
    background: #66CFAD;
    color: white;
    text-align: center;
    padding: 16px 0;
    border-radius: 0 0 16px 16px;
    margin-top: 32px;
    font-size: 1rem;
}

.news {
    text-align: center;
}

.news-grid {
    display: flex;
    /*zorgt er voor om items naar de volgende regel te verplaatsen als er niet genoeg ruimte is*/
    flex-wrap: wrap;
    justify-content: center;
}

iframe {
    width: 100%;
}

.news-grid article {
    flex: 1 1 300px;
    margin: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.restaurants article {
    display: grid;
    /*maakt twee kolommen met verschillende breedtes*/
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    /*zorgt voor ruimte onder elk artikel*/
    margin-bottom: 32px;
    min-height: 220px;
    padding: 0;
}

.restaurants figure {
    margin: 0;
    height: 100%;
    width: 100%;
    grid-row: 1 / span 5;
    grid-column: 1;
    display: flex;
    align-items: stretch;
}

.restaurants img {
    width: 75%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.restaurants h2,
.restaurants p,
.restaurants .details,
.restaurants button {
    grid-column: 2;
    margin-left: 24px;
}

.details span {
    margin-right: 12px;
}

.details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #afe9e1;
}

.button {
    display: inline-block;
    background: #66CFAD;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.button:hover {
    background: #2a7c6f;
}

.sportevents {
    display: flex;
    justify-content: center;
}

.info-sport article {
    margin: 16px;
    padding: 16px;
    background: #f9f9f9;
    border-radius: 12px;
    max-width: 900px;
}

.ictcompanies {
    text-align: left;
    height: 100%;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
}

.ictcompanies ul li {
    justify-content: space-evenly;
    padding: 0;
    display: inline-block;
    margin-right: 20px;
    font-weight: bold;
    font-size: 24px;
}

#begroeting {
    text-align: center;
    font-size: 1.2rem;
    color: #2a7c6f;
    margin-bottom: 24px;
    font-family: 'Poppins', arial, sans-serif;
}