
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    background-image: url('/images/background.png');
    background-repeat: no-repeat;
    background-position: left center, right center; 
    background-size: contain; 
    background-color: #f4f4f4; 
}


.content-wrapper {
    width: 100%;
    max-width: 900px;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.content {
    width: 80%;
    padding: 20px;
    background-color: #fff;
    box-sizing: border-box;
}

.event {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.event .message {
    padding-bottom: 10px;
}

.event img, .content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 10px;
}

.event:last-child {
    border-bottom: none;
}

.contents-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style-type: none;
    padding: 0;
}

.contents-list li {
    flex: 1 1 calc(33.333% - 20px); /* Zorgt ervoor dat er 3 items naast elkaar staan */
    box-sizing: border-box;
}

.contents-list li a {
    text-decoration: none;
    color: #000;
}

.contents-list li a:hover {
    text-decoration: underline;
}

.thumbnail {
    width: 150px; 
    height: auto;
    margin-right: 10px;
    vertical-align: middle;
}

.event-page img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .content {
        width: 90%;
    }
    .contents-list li {
        flex: 1 1 100%; /* Bij smalle schermen komen de items onder elkaar */
    }
}

/* Contactformulier stijlen */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

.contact-form button:hover {
    background-color: #45a049;
}

.contact-form input[type="file"] {
    padding: 3px;
}
