:root {
    --primary: #5567ff;
    --primary-content: #ffffff;
    --primary-dark: #1321ab;
    --primary-light: #8895ff;
    --secondary: #ffb455;
    --secondary-content: #552f00;
    --secondary-dark: #ff9d22;
    --secondary-light: #ffca88;
    --background: #f0f0f0;
    --foreground: #fbfbfb;
    --border: #dfdfdf;
    --copy: #262626;
    --copy-light: #666666;
    --copy-lighter: #8c8c8c;
    --success: #55ff55;
    --warning: #ffff55;
    --error: #ff5555;
    --success-content: #005500;
    --warning-content: #555500;
    --error-content: #550000;
}

.dark-theme {
    --primary: #5567ff;
    --primary-content: #ffffff;
    --primary-dark: #2239ff;
    --primary-light: #8895ff;
    --secondary: #ff55bc;
    --secondary-content: #550033;
    --secondary-dark: #ff22a8;
    --secondary-light: #ff88d0;
    --background: #111222;
    --foreground: #191c34;
    --border: #292e56;
    --copy: #fafafd;
    --copy-light: #cbcee6;
    --copy-lighter: #878dc5;
    --success: #55ff55;
    --warning: #ffff55;
    --error: #ff5555;
    --success-content: #005500;
    --warning-content: #555500;
    --error-content: #550000;
}

.filter-sidebar {
    position: relative;
    height: 100%;
    top: 0;
}

.search-bar-icon {
    display: inline;
    transform: translateX(120%);
    width: 4rem;
    height: 4rem;
    color: var(--copy);
}


/* #course-search:focus {
    opacity: 100%;
    border: 1px solid var(--copy);
} */


/* #course-search {
    color: var(--copy-lighter);
    width: 100%;
    height: 50px;
    border: 1px solid var(--copy-lighter);
    outline: none;
    border-radius: 0.5rem;
    padding: 1rem 1rem;
    opacity: 60%;
} */


/*  */

.search-bar {
    border: 1px solid var(--copy);
    border-radius: 0.5rem;
    width: 90%;
    padding: 0.1rem 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    caret-color: var(--copy);
    height: 40px;
    opacity: 40%;
}

.search-bar:focus-within {
    opacity: 100% !important;
}

.search-bar-input {
    width: 90%;
    outline: none;
    border: none;
    font-size: 14pt;
    background-color: var(--foreground);
    color: var(--copy);
}

.feather.feather-search {
    color: var(--copy);
    stroke-width: 2;
    height: 1.2rem;
    width: 1.2rem;
}

.category {
    margin-bottom: 1rem;
}

.category a {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.category span {
    color: var(--copy);
}

#clear_filters {
    margin-left: auto;
    margin-right: auto;
    color: var(--primary-content)!important;
    width: 70% !important;
    padding: 0.5rem 0.5rem !important;
    font-weight: 500;
}

.register-button {
    color: var(--primary-content)!important;
}


.course-card-instructor-image{
    height:50px;
    width:50px;
    object-fit: contain;
    margin-right: 1rem;
}  
    /*  */

.instructor-username{
    color: var(--copy);
    font-weight: 200;
    opacity: 70%;
}


@media(max-width: 768px) {
    .filter-sidebar {
        position: fixed;
        padding-top: 3rem;
    }
    #course-search {
        padding: 0.2rem 0.2rem;
    }
    .search-bar {
        width: 100%;
        margin-bottom: 1rem;
    }
}