/* ==========================================
 *  Perlen im Netz
 *  style.css
 * V2.0 Ornages LAyout 11.06.26
 *  ========================================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 2rem;

    font-family: system-ui, sans-serif;

/*    background: linear-gradient(
        to bottom,
        #3f43d8 0%,
        #5c3fd8 25%,
        #7c3dd0 50%,
        #a43fc5 75%,
        #d642b4 100%
    ); */

    /* weicher und natürlicher */
    background: linear-gradient(
        to bottom,
        #c85a17 0%,
        #e67e22 30%,
        #f5a623 60%,
        #ffd166 80%,
        #fff4c2 100%
    );

    background-attachment: fixed;
}

/* Inhaltsbereich */

.container {
    max-width: 1000px;
    margin: 0 auto;
}

/* Überschrift */

h1 {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

/* Karten-Layout */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

/* Einzelne Karte */

.card {
    display: block;
    padding: 1rem;

    background: rgba(255, 255, 255, 0.95);

    border-radius: 12px;

    text-decoration: none;
    color: inherit;

    box-shadow: 0 2px 6px rgba(0, 0, 0, .1);

    transition:
    transform .2s ease,
    box-shadow .2s ease;
}

/* .card:hover {
    transform: translateY(-2px);

    box-shadow:
    0 6px 18px rgba(0, 0, 0, .18);
} */

.card:hover {
    background-color: white;
    border: 4px solid orange;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Kartentitel */

.card h3 {
    margin-top: 0;
    color: #1f4d9d;
}

/* Links in Karten */

.card p,
.card span {
    color: #444;
}

/* Responsive */

@media (max-width: 700px) {
    body {
        padding: 1rem;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}
