/* style.css */

body {
    background-color: #ffe6f9;
    color: #4b2c47;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2.5em;
    color: #ff66b2;
}

.content {
    display: grid;
    gap: 20px;
}

.card {
    background-color: #ffccff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(255, 102, 178, 0.5);
    transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    background-color: #ffe6ff;
    box-shadow: 0 0 20px rgba(229, 178, 255, 0.6);
}

.card::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 204, 255, 0.3), rgba(255, 102, 178, 0));
    filter: blur(80px);
    top: -250px;
    left: -250px;
    animation: moveBg 10s linear infinite;
    z-index: -1;
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #d14bc4;
    cursor: pointer;
}

.details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding-top: 0;
    padding-bottom: 0;
}

.details.show {
    padding-top: 10px;
    padding-bottom: 10px;
    max-height: 1000px; /* Ausreichend groß, um den Inhalt aufzunehmen */
}

@keyframes moveBg {
    0% { top: -200px; left: -200px; }
    50% { top: 100%; left: 100%; }
    100% { top: -200px; left: -200px; }
}
