body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    background: #005f73;
    color: white;
    padding: 1rem 0;
}

.top-div {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

main {
    flex: 1;
}

.tips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.tip {
    flex: 1 1 calc(33.333% - 2rem); /* Flexbasis voor 3 kolommen */
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.tip h3 {
    margin-top: 0;
    color: #005f73;
    font-weight: bold;
    font-size: 1.2rem;
}

.tip p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #555;
}

footer {
    background: #333;
    color: white;
    padding: 2rem 1rem;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 1rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-section a {
    color: #94d2bd;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffffff;
}
.footer-bottom {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #ccc;
    border-top: 1px solid #555;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
    }
}
