body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
    text-align: center;
}

/* Überschriften */

h1 {
    color: #2c3e50;
    margin-top: 40px;
}

h2 {
    color: #2c3e50;
}

/* Einleitungstext */

.intro {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #555;
}
/* Anmeldung */

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Grid für die Kacheln */

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Kacheln */

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 2 / 2;
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #ddd;
}

.card-title {
    font-size: 1.3em;
    font-weight: bold;
    padding: 15px 10px 5px 10px;
    color: #2c3e50;
}

.card-desc {
    font-size: 0.9em;
    color: #666;
    padding: 0 15px 20px 15px;
}

/* Fehlermeldungsseite */

.error-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.error-text {
    color: #666;
    margin-bottom: 30px;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background-color: #2c3e50;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.button:hover {
    background-color: #34495e;
}
.home-button {
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.home-button:hover {
    background-color: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.home-button:active {
    transform: translateY(0);
}
