body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f8f8f8;
}

img,
#cat-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#cat-image {
    max-height: 400px;
    margin-top: 20px;
}

button,
.filter-container button {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 20px;
    cursor: pointer;
    background-color: #ff6f61;
    border: none;
    color: white;
    border-radius: 5px;
}

.filter-container button:hover,
button:hover {
    background-color: #e55b50;
}

.info {
    margin-top: 15px;
}

#Catfacts-bg {
    background-image: url("/img/Paw_Print_Grey.png");
    background-repeat: repeat;
    background-size: cover;
}

#Home-bg {
    background-image: url("/img/Katzi_6.jpg");
    background-repeat: repeat;
    background-size: cover;
}

#Filter-bg {
    background-image: url("/img/Katze-Fragezeichen.avif");
    background-repeat: repeat;
    background-size: cover;
}

#cat-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.menu {
    text-align: center;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    max-width: 600px;
    margin: 100px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.menu p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.menu nav a.menu-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    background-color: #ff6f61;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.menu nav a.menu-button:hover {
    background-color: #e55b50;
}

.project-info h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

#navbar {
    background-color: #333;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    padding: 0 16px;
    gap: 20px;

    overflow-x: auto;
    white-space: nowrap;
}

#navbar a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    flex-shrink: 0;
    white-space: nowrap;
}

#navbar a:hover {
    color: #ffb0dd;
}

.filter-container {
    text-align: center;
    padding: 20px 30px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    max-width: 700px;
    margin: 100px auto 40px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-container form {
    margin-top: 15px;
}

.filter-container input[type="text"] {
    padding: 10px;
    font-size: 16px;
    width: 60%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    #navbar {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        padding: 10px;
        gap: 10px;
        justify-content: center;
    }

    #navbar a {
        margin: 6px 0;
    }

    .menu,
    .filter-container {
        padding: 20px;
        margin: 40px auto;
        width: 90%;
    }

    #cat-image {
        max-width: 100%;
        height: auto;
    }

    .filter-container input[type="text"] {
        width: 100%;
        margin-bottom: 10px;
    }

    .filter-container button {
        width: 100%;
    }
}