/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
}

.main-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    padding: 20px 0;
    background-color: #2c3e50;
    color: white;
}

h1 {
    margin: 0;
    font-size: 2.5em;
}


.selection-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #34495e;
}
/* Container for each selection step */
.selection-container {
    text-align: center;
    padding: 20px;
}

.selection-items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Style for each selection card */
.select-item {
    cursor: pointer;
    padding: 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
}

/* Hover effect */
.select-item:hover {
    background-color: #e0e0e0;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Back button styling */
.back-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 16px;
}

.back-btn:hover {
    background-color: #218838;
}
/* Book List Styles */
.book-list-container {
    margin: 20px 0;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.book-list-container h2 {
    margin-bottom: 20px;
    color: #34495e;
}

.book-list-container ul {
    list-style: none;
    padding: 0;
}

.book-list-container li {
    margin-bottom: 10px;
}

.book-list-container a {
    text-decoration: none;
    color: #2980b9;
    font-weight: bold;
}

.book-list-container a:hover {
    text-decoration: underline;
}

/* Animations */
.selection-container, .book-list-container {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
