/* Basic page styling */

#slide-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background-color: #fff;
    border: 2px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Navigation button styling */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

#prevBtn {
    left: 0;
}

#nextBtn {
    right: 0;
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.nav-btn:disabled {
    background-color: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

/* Paginator styling */
.paginator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background-color: #f9f9f9;
    width: 100%;
    max-width: 400px; /* Fixed width */
    border-top: 1px solid #ddd;
    margin: 0 auto; /* Center the paginator */
}

.paginator ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.paginator li {
    margin: 0 2px;
}

.paginator li a {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #ddd;
    background-color: #fff;
    color: #6c757d; /* Grey color */
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    border-radius: 4px;
}

.paginator li.active a {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.paginator li a:hover {
    background-color: #eee;
    color: #007bff;
}

.paginator li.disabled a {
    pointer-events: none;
    background-color: #f0f0f0;
    color: #ccc;
    border-color: #ddd;
    cursor: not-allowed;
}

/* Small navigation button styling for "Previous 5" and "Next 5" */
.nav-btn-small {
    background-color: #6c757d; /* Grey color */
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    margin: 0 5px;
    transition: background-color 0.3s;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-btn-small i {
    font-size: 16px;
}

.nav-btn-small:hover {
    background-color: #5a6268; /* Darker grey on hover */
}

.nav-btn-small:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #slide-container {
        width: 100%;
        max-width: none;
    }

    .nav-btn {
        padding: 8px;
        font-size: 14px;
    }

    .nav-btn-small {
        padding: 4px 8px;
        font-size: 12px;
    }

    .paginator {
        max-width: 100%; /* Adjust paginator width on smaller screens */
    }
}

