/* ==========================================================================
   Sticky Elements and Containers
   ========================================================================== */

   .sticky-div {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 0;
    background-color: #ffffff;
    padding: 10px 20px;
    z-index: 1000;
}

.courses-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.dashboard-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.other-items,
.announcements-wrapper {
    flex: 1 1 45%;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 25px;
}

.other-items ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.other-items li {
    background-color: #f9f9f9;
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .other-items,
    .announcements-wrapper {
        flex: 1 1 100%;
        margin: 5px;
    }
}
