/* sticky-div.css */
.sticky-div {
    background-color: #fff;
    padding: 20px;
    margin-top: 10px; /* Add some space below the sticky header */
    transition: all 0.3s ease-in-out; /* Optional: Add smooth transition */
}

.sticky-div.sticky {
    position: fixed;
    top: 70px; /* Adjust this value based on your sticky header height */
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow to the sticky div */
}

/* Horizontal scrollability for mobile devices (screen size below 720px) */
@media (max-width: 720px) {
    .sticky-div {
        overflow-x: auto; /* Enable horizontal scrolling for the content */
        white-space: nowrap; /* Prevent content from wrapping */
    }

    /* Optional: Add a custom scrollbar for better user experience on mobile */
    .sticky-div::-webkit-scrollbar {
        width: 6px;
    }
    .sticky-div::-webkit-scrollbar-track {
        background: #fff;
    }
    .sticky-div::-webkit-scrollbar-thumb {
        background: #888;
    }
    .sticky-div::-webkit-scrollbar-thumb:hover {
        background: #555;
    }
}