/* Allgemeines Styling */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column; /* Ermöglicht das Layout mit Header, Main und Footer */
    min-height: 100vh; /* Damit der gesamte Bildschirm genutzt wird */
}

/* Topbar */
.topbar {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.topbar-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
}

.topbar-link:hover {
    text-decoration: underline;
}

/* Zentrierung des Inhalts */
.content-container {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 600px;
    margin: auto; /* Vertikale und horizontale Zentrierung */
}

/* Header Styling */
header {
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
}

header p {
    font-size: 1rem;
    margin-top: 10px;
}

/* Radio-Buttons und Button */
.filter-container {
    margin: 20px 0;
}

.radio-group label {
    margin: 0 15px;
    font-size: 1.1rem;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    margin-right: 8px;
}

button {
    display: inline-block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

/* Ergebnis-Container */
.result-container {
    margin-top: 20px;
    display: none; /* Standardmäßig versteckt */
}

.result-container p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.result-container a img {
    max-width: 50%; /* Verkleinert die Bilder auf maximal 80% der Containerbreite */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.result-container a img:hover {
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: auto; /* Drückt den Footer nach unten */
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
}
