body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    color: #979797; /* Allgemeine Textfarbe */
}

header {
    background-color: #87CEEB; /* Ein beruhigendes Blau, gleiche Farbe wie das Menü */
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.header-content {
    margin: 0 auto;
}

header h1 {
    font-size: 48px;
    margin: 0;
}

header p {
    font-size: 24px;
    margin: 10px 0 0;
}

nav {
    background-color: #87CEEB; /* Ein beruhigendes Blau */
    color: white;
    padding: 10px 20px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end; /* Rechtsbündig */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #6BB1D1; /* Eine leicht dunklere Blau für Hervorhebung */
    border-radius: 5px;
}

.container {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 50px auto;
    width: 60%;
}

.intro, .benefits, .call-to-action {
    margin-bottom: 20px;
}

.intro h2, .benefits h2, .call-to-action h2 {
    color: #333;
}

.intro p, .call-to-action p {
    color: #979797;
    line-height: 1.6;
}

.benefit-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    background-color: #f9f9f9;
    border-left: 5px solid #87CEEB;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    width: calc(45% - 20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.card:hover {
    background-color: #e0f7fa;
    transform: translateY(-5px);
}

.card strong {
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.call-to-action button {
    padding: 10px 20px;
    background-color: #87CEEB;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.call-to-action button:hover {
    background-color: #6BB1D1;
}

.construction-sign img {
    width: 150px;
    height: 150px;
}

.construction-sign h1 {
    font-size: 24px;
    color: #333;
    margin: 20px 0 10px;
}

.construction-sign p {
    font-size: 16px;
    color: #979797;
}

.popup {
    display: none; /* Standardmäßig ausgeblendet */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
    color: #333;
}

form input {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #555;
}

form p {
    margin-top: 10px;
    color: #979797;
}

.child-form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Add this to your existing styles.css or create a new section for these styles */

.add-child-button {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 20px;
    background-color: #87CEEB;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.add-child-button:hover {
    background-color: #6BB1D1;
}

.children-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.child-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: calc(33% - 40px); /* Adjust the width according to your layout */
    box-sizing: border-box;
    transition: transform 0.3s, background-color 0.3s;
}

.child-card:hover {
    transform: scale(1.05);
    background-color: #e0f7fa;
}

.child-card h3 {
    margin-top: 0;
}

.child-card-actions {
    margin-top: 20px;
}

.view-button, .edit-button {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 15px;
    background-color: #87CEEB;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-button:hover, .edit-button:hover {
    background-color: #6BB1D1;
}


.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    background-color: #87CEEB;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #6BB1D1;
}
