/* ---------------------------------- Side Bar ------------------------------ */

.mainContent button {
    display: flex;
    font-size: 17px;
    background: transparent;
    color: rgba(255, 255, 255, 0.774);
    border: none;
    padding: 5px;
    cursor: pointer;
    transition: background-color .2s ease;
    transition-property: background-color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
    width: 100%;
}

.mainContent button i {
    font-size: 20.5px;
}

.mainContent button:hover {
    background-color: rgba(255, 255, 255, 0.212);
}

.mainContent button {
    display: flex;
    font-size: 17px;
    background: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
    transition: background-color .2s ease;
    transition-property: background-color;
    transition-duration: 0.2s;
    transition-timing-function: ease;
    transition-delay: 0s;
    width: 100%;
    margin-bottom: 4px;
    color: white;
}

.mainContent button i {
    font-size: 20.5px;
}

.mainContent button:hover {
    background-color: rgba(185, 185, 185, 0.212);
}

.mainContent {
    overflow-y: auto;
    overflow-x: hidden;
}

.diving {
    position: relative;
    width: 100%;
    font-size: 19px;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 8px;
    padding-left: 12px;
}

.sideBar {
    position: fixed;
    top: 0;
    left: -250px; /* Initially hidden */
    width: 250px;
    height: 100%;
    overflow-x: hidden;
    transition: left 0.4s ease; /* Transition for smooth sliding */
    z-index: 1000;
}

.sideBar.active {
    left: 0; /* Slide in when active */
}

.btn-close {
    color: white;
    font-size: 24px;
    cursor: pointer;
}

@media(max-width: 1149px) {
    .openSlider {
        float: left;
    }
    .sideBar {
        display: block;
        background: #0b477c;
        color: white;
        position: fixed;
        top: 0;
        left: -250px; /* Initially hidden off-screen */
        width: 250px;
        height: 100%;
        overflow-x: hidden;
        transition: left 0.3s ease; /* Smooth transition for sliding */
        z-index: 1000;
    }
    .btn-close {
        position: absolute;
        top: 0;
        right: 22px;
        font-size: 36px;
        margin-left: 50px;
        cursor: pointer;
    }
}

@media(min-width: 1150px) {
    .openSlider {
        display: none;
    }
    .sideBar {
        display: block;
        background: #0b477c;
        color: white;
        position: fixed;
        top: 0;
        left: -250px; /* Initially hidden off-screen */
        width: 250px;
        height: 100%;
        overflow-x: hidden;
        transition: left 0.3s ease; /* Smooth transition for sliding */
        z-index: 1000;
    }
    .btn-close {
        position: absolute;
        top: 0;
        right: 22px;
        font-size: 36px;
        margin-left: 50px;
        cursor: pointer;
    }
}
