/* Allgemeine Seitengestaltung */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-size: cover;
    color: #fff;
    text-align: center;
}

/* Überschrift */
h1 {
    font-size: 36px;
    margin-top: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Formularbereich */
.form {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: left;
    background-color: rgba(226, 222, 222, 0.8);
    /* Hintergrund mit mehr Transparenz */
    width: 50vw;
    /* Verkleinert die Breite für bessere Zentrierung */
    max-width: 600px;
    /* Maximale Breite für kleinere Bildschirme */
    margin: 30px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

/* Formularfelder */
.form label {
    text-align: left;
    font-size: 14px;
    margin-bottom: 5px;
    color: #fff;
}

.form input,
.form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.form textarea {
    resize: none;
    /* Deaktiviert die Größenänderung */
}

.form button {
    background-color: #28a745;
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form button:hover {
    background-color: #218838;
}

.rating {
    display: flex;
    justify-content: flex-start;
    gap: 5px;
}

.rating input {
    display: none;
    /* Verstecke die Radio-Buttons */
}

.rating label {
    font-size: 24px;
    color: #706c6c;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.rating input:checked~label {
    color: #f39c12;
    /* Farbe für ausgewählte Sterne */
}

.rating label:hover,
.rating label:hover~label {
    color: #f1c40f;
    /* Farbe für Hover-Effekt */
}

/* Gästebucheinträge */
#guestbook-entries {
    width: 50vw;
    max-width: 800px;
    /* Breitere Anzeige */
    margin: 30px auto;
    /* Zentriert die Box */
    text-align: left;
    /* Einträge linksbündig ausrichten */
}

.entry {
    background-color: rgba(214, 214, 214, 0.6);
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Abstand zwischen Header, Body und Footer */
    color: #333;
}

.entry-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.entry-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.entry-footer {
    font-size: 18px;
    color: #f39c12;
    margin-top: 10px;
}

.entry-footer small {
    font-size: 12px;
    color: #999;
    text-align: right;
}

.entry-header small {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
}