/* styles.css */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f4f8;
    color: #333;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

.title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5em;
    color: #3f51b5;
}

.item-list {
    display: flex;
    flex-direction: column;
}

.item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
    overflow: hidden;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.item:hover {
    background: #e8eaf6;
    transform: scale(1.02);
}

.item-header {
    padding: 15px;
    font-size: 1.5em;
    color: #3f51b5;
    background: #e3f2fd;
    position: relative;
}

.item-content {
    padding: 15px;
    display: none; /* Initially hidden */
    background: #f1f8e9;
}

.item.active .item-content {
    display: block; /* Show when active */
}

@media (max-width: 600px) {
    .item-header {
        font-size: 1.2em;
    }
}
