body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.main-image-container {
    position: relative;
    width: 100%;
    height: 300px; /* Adjust as needed */
    background-color: black; /* Fallback color */
}

#main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* For the fade effect */
}

.overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.thumbnail-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.thumbnail-container {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.thumbnail {
    display: inline-block;
    margin: 5px;
    transition: transform 0.3s ease;
}

.thumbnail img {
    width: 150px; /* Adjust as needed */
    height: 100px; /* Adjust as needed */
    object-fit: cover;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.nav-button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-button.left {
    left: 0;
}

.nav-button.right {
    right: 0;
}

.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
