/* main_content.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fdfdfd;
}

.main-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

section {
    margin-bottom: 60px;
}

h2 {
    text-align: center;
    color: red;
    margin-bottom: 30px;
}

.slider-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    min-height: 120px;
}

.fade-slide {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-slide.show {
    opacity: 1;
    transform: translateX(0);
}

.item-card {
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    width: 250px;
    font-weight: bold;
    transition: transform 0.3s;
}
.item-card:hover {
    transform: scale(1.03);
}

.item-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .item-card {
        width: 90%;
    }
}
