/* Changes the colour of the active indicator on the navbar and prevents BS5 from changing text colour when hovering or focusing on element*/

/* Sidebar stuff */
.nav-link.active, .nav-link.active:hover, .nav-link.active:focus {
    background-color: crimson !important;
    color: white !important;
}

/* Changes the default text colour that BS5 has on */
.nav-link:hover, .nav-link:focus {
    color: rgb(52, 136, 253) !important;
    background-color: rgb(9, 10, 11, 0.24);
    transition: all 0.5s ease;
}


#sidebar {
    width: 250px;
    transition: all 0.3s ease;
}

#sidebar.collapsed {
    width: 70px;
    padding: 0.5rem 0;
}

#sidebar.collapsed .nav-link.active {
    width: 40px;
    height: 40px;
    
    margin: 0 auto;
    border-radius: 10px;

    align-items: center;
    justify-content: center;
}

#sidebar.collapsed .nav-link {
    justify-content: center;
    margin-right: 0;
    align-items: center;
    padding: 0;
    text-align: center;
}

#sidebar.collapsed .nav-item {
    width: 100%;

    display: flex;
    justify-content: center;
}

#sidebar.collapsed .sidebar-text {
    display: none;
}

#settings-dropend {
    position: absolute;
    transition: all 0.3 ease;
    overflow: visible;
    z-index: 1000;
}

.sidebar-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Register/Login page CSS elements */
.spacer-gap {
    display: flex;
    flex-wrap: wrap;
    column-gap: 150px;
}

.spacer-gap-2 {
    display: flex;
    flex-wrap: wrap;    
    column-gap: 25px;
}

.row-spacer-1 {
    display: flex;
    flex-wrap: wrap;
    row-gap: 100px;
}

