body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.wave-container, .wave-container-bottom {
    position: relative;
    width: 100%;
    height: 150px;
    margin-bottom: -7px; /* Adjust this value to control the overlap */
    z-index: -1;
    overflow: hidden;
}

.waves {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% {
        transform: translate3d(85px,0,0);
    }
}

/* Zorg ervoor dat de container consistent is */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header .icon {
    width: 50px;
    height: 50px;
}

.header h1 {
    font-size: 2.5em;
    margin: 10px 0;
}

.content {
    margin-bottom: 20px;
}

.content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin: 10px 0;
}

.button {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px 0;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.button:hover {
    background-color: #0056b3;
}

.user-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.user-actions .welcome-message {
    flex: 1;
    text-align: center;
    font-size: 1.5em;
    color: #333;
}

.user-actions .action-buttons {
    display: flex;
    gap: 10px;
}

/* Voor login- en register-knoppen */
.user-actions .action-buttons a {
    display: inline-block;
    width: 120px; /* Vaste breedte voor login en register */
    text-align: center; /* Centreer de tekst */
    padding: 10px 15px;
    color: #fff;
    background-color: red;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
}

.user-actions .action-buttons a:hover {
    background: linear-gradient(90deg, #d39308, #ec3507); /* Donkerdere gradient bij hover */
    transform: translateY(-3px); /* Knop beweegt iets omhoog bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Versterkte schaduw bij hover */
}

/* Voor uitloggen- en plaats een bericht-knoppen */
.user-actions .action-buttons button {
    display: inline-block;
    padding: 12px 25px; /* Ruimte binnen de knop */
    font-size: 1.2em; /* Grotere tekstgrootte */
    font-weight: bold; /* Maak de tekst vet */
    color: #fff; /* Witte tekstkleur */
    background: linear-gradient(90deg, #df9306, #ce9909); /* Gradient-achtergrond */
    border: none; /* Geen rand */
    border-radius: 50px; /* Ronde hoeken voor een moderne look */
    text-decoration: none; /* Verwijder onderstreping */
    cursor: pointer; /* Handcursor bij hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
    transition: all 0.3s ease; /* Soepele overgang bij hover */
}

.user-actions .action-buttons button:hover {
    background-color: orange; /* Donkerdere blauwe kleur bij hover */
}

.design {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    top: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}

.shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #d9534f;
}

.shape1 {
    background-color: #ff6f61;
}

.shape2 {
    background-color: #f7c948;
}

.shape3 {
    background-color: #ffeb3b;
}

.shape4 {
    background-color: #d9534f;
}

/* Stijl voor de titel */
h2 {
    text-align: center;
    color: #333;
}

/* Formulierstijl */
form {
    display: flex;
    flex-direction: column;
    background-color: #e0e0e0;
    padding: 20px;
    border-radius: 15px;
    border: 2px solid #d4141d;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #d4141d;
}

form label {
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form textarea,
form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
    height: 100px;
}

button, .button {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #d9534f;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

button:hover, .button:hover {
    background-color: #c9302c;
}

form button {
    padding: 10px 15px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

.messages {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center the messages */
    margin-top: 20px;
}

.message-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    width: calc(33.333% - 20px); /* Adjusted for three columns */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.message-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.message-body {
    margin-bottom: 10px;
}

.message-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 10px;
    display: block;
}

.message-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.message-actions a {
    padding: 5px 10px;
    color: #fff;
    background-color: #d9534f;
    border-radius: 4px;
    text-decoration: none;
}

.message-actions a:hover {
    background-color: #c9302c;
}

.error {
    color: red;
    margin-bottom: 15px;
}

.like-system {
    display: flex;
    align-items: center;
    gap: 8px; /* Ruimte tussen knoppen en tellers */
    justify-content: center; /* Centreer de knoppen */
    margin-top: 10px;
}

.like-system button {
    background: none; /* Geen achtergrondkleur */
    border: none; /* Geen rand */
    font-size: 1.2em; /* Kleinere tekst/icoon */
    cursor: pointer; /* Handcursor bij hover */
    transition: transform 0.2s ease, color 0.3s ease; /* Soepele overgang bij hover */
    color: #555; /* Neutrale kleur */
    padding: 0; /* Geen padding */
    outline: none;
}

.like-system button:hover {
    background: linear-gradient(90deg, #d39308, #ec3507); /* Donkerdere gradient bij hover */
    transform: translateY(-3px); /* Knop beweegt iets omhoog bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Versterkte schaduw bij hover */
}

.like-system .like-count,
.like-system .dislike-count {
    font-size: 0.9em; /* Kleinere tekst voor de teller */
    color: #555; /* Neutrale kleur voor de teller */
}

.portfolio-button-container {
    text-align: center; /* Centreer de knop */
    margin-top: 20px; /* Ruimte boven de knop */
}

.portfolio-button {
    display: inline-flex; /* Gebruik flexbox om tekst en icoon uit te lijnen */
    align-items: center; /* Centreer de inhoud verticaal */
    justify-content: center; /* Centreer de inhoud horizontaal */
    padding: 12px 25px; /* Ruimte binnen de knop */
    font-size: 1.2em; /* Grotere tekstgrootte */
    font-weight: bold; /* Maak de tekst vet */
    color: #fff; /* Witte tekstkleur */
    background: linear-gradient(90deg, #db3907, #e7b309); /* Gradient-achtergrond */
    border: none; /* Geen rand */
    border-radius: 50px; /* Ronde hoeken voor een moderne look */
    text-decoration: none; /* Verwijder onderstreping */
    cursor: pointer; /* Handcursor bij hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
    transition: all 0.3s ease; /* Soepele overgang bij hover */
}

.portfolio-button:hover {
    background: linear-gradient(90deg, #f7320f, #101418); /* Donkerdere gradient bij hover */
    transform: translateY(-3px); /* Knop beweegt iets omhoog bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Versterkte schaduw bij hover */
}

.portfolio-button .arrow {
    margin-right: 10px; /* Ruimte tussen pijl en tekst */
    font-size: 1.2em; /* Grootte van de pijl */
    transition: transform 0.3s ease; /* Soepele overgang bij hover */
}

.portfolio-button:hover .arrow {
    transform: translateX(-5px); /* Pijl beweegt iets naar links bij hover */
}

.gastenboek-button {
    display: inline-flex; /* Gebruik flexbox om tekst en icoon uit te lijnen */
    align-items: center; /* Centreer de inhoud verticaal */
    justify-content: center; /* Centreer de inhoud horizontaal */
    padding: 12px 25px; /* Ruimte binnen de knop */
    font-size: 1.2em; /* Grotere tekstgrootte */
    font-weight: bold; /* Maak de tekst vet */
    color: #fff; /* Witte tekstkleur */
    background: linear-gradient(90deg, #db3907, #e7b309); /* Gradient-achtergrond */
    border: none; /* Geen rand */
    border-radius: 50px; /* Ronde hoeken voor een moderne look */
    text-decoration: none; /* Verwijder onderstreping */
    cursor: pointer; /* Handcursor bij hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
    transition: all 0.3s ease; /* Soepele overgang bij hover */
    margin-top: 20px; /* Ruimte boven de knop */
}

.gastenboek-button:hover {
    background: linear-gradient(90deg, #0f0e0d, #e22807); /* Donkerdere gradient bij hover */
    transform: translateY(-3px); /* Knop beweegt iets omhoog bij hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); /* Versterkte schaduw bij hover */
}

.gastenboek-button .arrow {
    margin-right: 10px; /* Ruimte tussen pijl en tekst */
    font-size: 1.2em; /* Grootte van de pijl */
    transition: transform 0.3s ease; /* Soepele overgang bij hover */
}

.gastenboek-button:hover .arrow {
    transform: translateX(5px); /* Pijl beweegt iets naar rechts bij hover */
}

.preview {
    display: block;
    margin: 10px auto; /* Centreer de afbeelding */
    max-width: 300px;
    border: 2px solid #ddd; /* Subtiele rand */
    border-radius: 10px; /* Ronde hoeken */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtiele schaduw */
}

/* Afbeeldingstijl */
img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
}

