/* Generic HTML styling */

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

h3 {
    font-size: 1rem;
}


/* Styling of content container */

.sidebar a {
    display: flex;
    color: black;
    padding: 5px 10px;
    margin-bottom: 5px;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.sidebar .sb-indent-0 {
    margin-left: 0;
    margin-right: 0;
    border: 1px solid var(--bs-primary);
    font-weight: bold;
}

.sidebar .sb-indent-1 {
    margin-left: 20px;
    margin-right: 20px;
    border-color: var(--bs-primary);
    border-style: none none solid none;
}

.sidebar .sb-indent-2 {
    margin-left: 40px;
    margin-right: 40px;
    border-color: var(--bs-primary);
    border-style: none none solid none;
}

.sidebar .sb-header {
    color: black;
}

.sidebar a.active {
    color: black;
    background-color: var(--bs-primary-bg-subtle);
    border-width: 2px;
    border-left-style: solid;
    border-right-style: solid;
}

.sidebar a:not(.active):not(.sb-header) {
    color: grey;
    border-width: thin;
}


/* Navigation bar styling */

.user-icon {
    font-size: 20px;
    border-radius: 50%;
    text-align: center;
    padding: 8px;
    text-align: center;
    aspect-ratio: 1/1;
    text-decoration: none;
    margin-right: 1em;
}

.navbar-expand-lg .navbar-nav .nav-link{
    color: var(--bs-navbar-active-color);
    border: 3px solid transparent;
    border-radius: 30px;
    padding-right: 1em;
    padding-left: 1em;
    margin-left: 1rem;
}

.navbar-expand-lg .navbar-nav .nav-link.active {
    border-color: var(--bs-navbar-active-color);
    font-weight: 1000;
}


/* Text background colors */
.bg-info-light {
    background-color: var(--bs-info-bg-subtle);
}

.highlight-red input.form-control {
    border-color: red;
    border-width: 2px;
}