body {
    --page-bg-color: #ffffff;
}

/* Document body styles */
body.light-theme {
    background-color: #ffffff;
    color: #333333;
    --page-bg-color: #ffffff;
    transition: 0.5s;
}
body.dark-theme {
    background-color: #333333;
    color: #ffffff;
    --page-bg-color: #333333;
    transition: 0.5s;
}


/* Hyperlink, hightlight, and text styles */
a {
    color: #bd5d38;
    text-decoration: none;
    background-color: transparent;
}
a:hover {
    color: #824027;
    text-decoration: underline;
}
hightlight {
    color: #bd5d38;
    text-decoration: none;
    background-color: transparent;
}
b,
strong {
    color: #2f7d4a;
}
.text-primary {
    color: #4c5157 !important;
    font-size: 29px;
}
.section-title {
    color: #0f6b5b;
}
.about-name {
    color: inherit;
}
.name-highlight {
    color: #0b4f8a;
    font-weight: 700;
}


/* Styles for user selection */
::selection {
    background-color: #ffb699;
    transition: 0.5s;
}

/* Light theme style for user selection */
.light-theme ::selection {
    background-color: #ffb699;
}

/* Dark theme style for user selection */
.dark-theme ::selection {
    background-color: #545454;
}
.dark-theme b,
.dark-theme strong {
    color: #8fd6a4;
}
.dark-theme .section-title {
    color: #96ddcb;
}
.dark-theme .name-highlight {
    color: #7bc0ff;
}


/* Code-style text for research interest */
code {
    font-family: "Consolas";
    color: #333;
    background-color: #f1f1f1;
    padding: 2px 4px 2px 4px;
    font-size: 83%;
    border-radius: 5px;
    transition: 0.5s;
}
.light-theme code {
    color: #fff;
    background-color: #909090;
}
.dark-theme code {
    color: #333;
    background-color: #f1f1f1;
}

/* Code container styles */
.codebox {
    font-family: "Consolas";
    color: #333;
    border-left: 4px solid #4a5568;
    padding: 0.25rem 0 0.25rem 0.75rem;
    opacity: 0.85;
    font-size: 89%;
    /* border-top-right-radius: 7px;
    border-bottom-right-radius: 7px; */
    transition: 0.5s;
}
.light-theme .codebox {
    color: #333;
    background-color: #f5f5f5;
}
.dark-theme .codebox {
    color: #fff;
    background-color: #2d2d2d;
}


/* Styles for profile picture */
.profile-image-container {
    display: flex;
    justify-content: center;
}
.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    transition: 0.5s;
}


/* Handle for social icons */
.social-icons .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.7rem;
    width: 2.7rem;
    color: #495057; 
    border-radius: 100%;
    font-size: 1.5rem;
    margin-right: 0.02rem;
    padding-top: 2px;
    transition: transform 0.3s;
}
.social-icons .social-icon:hover {
    transform: scale(1.30);
}
.social-icons .social-icon:last-child {
    margin-right: 0;
}
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.social-icons.primary-links {
    flex-wrap: nowrap;
    gap: 0;
}
.social-icons.secondary-links {
    margin-top: 0.2rem;
}
.social-icons.primary-links .social-icon i,
.social-icons.secondary-links .social-icon i {
    font-size: 31px !important;
}


/* Styles for project list */
#projects {
    margin: 0px;
}
.project {
    margin: 0px;
}


/* Styles for filter buttons */
#filters-project .filter-button {
    padding: 4px 7px;
    border: 1px solid #333333;
    border-radius: 10px;
    background-color: transparent;
    color: #333333;
    cursor: pointer;
    transition: background-color 0.5s, box-shadow 0.5s;
}
#filters-project .filter-button:hover {
    background-color: rgba(194, 194, 194, 0.45);
}
#filters-project .filter-button.active {
    background-color: rgba(194, 194, 194, 0.45);
}


/* Light theme styles for filter button */
.light-theme #filters-project .filter-button {
    border: 1px solid #333333;
    color: #333333;
}


/* Dark theme styles for filter button */
.dark-theme #filters-project .filter-button {
    border: 1px solid #ffffff;
    color: #ffffff;
}


/* Styles for pager buttons */
.isotope-pager-project {
    display: flex;
    list-style-type: none;
    align-items: center;
    justify-content: center;
}
.isotope-pager-project .pager {
    display: block;
    padding: 4px 7px;
    background-color: transparent;
    border: 1px solid #333333;
    margin: 0 5px;
    border-radius: 7px;
    transition: 0.5s;
}
.isotope-pager-project .pager:hover {
    background-color: rgba(194, 194, 194, 0.45);
    cursor: pointer;
}
.isotope-pager-project .pager.active {
    background-color: rgba(194, 194, 194, 0.45);
}


/* Light theme styles for pager button */
.light-theme .isotope-pager-project .pager {
    border: 1px solid #333333;
    color: #333333;
}


/* Dark theme styles for pager button */
.dark-theme .isotope-pager-project .pager {
    border: 1px solid #ffffff;
    color: #ffffff;
}


/* Disabled stye for pager buttons */
.isotope-pager-project .pager:disabled {
    background-color: #cccccc;
    color: #666666;
    cursor: default;
    opacity: 0.5;
    border: 1px solid #aaaaaa;
}


/* More/Less button for widgets */
.collapse.in { 
    display: inline !important; 
}

/* Styles for simple text entries */
.section-entry {
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.highlight-link {
    color: #bd5d38;
    font-weight: 700;
}

.highlight-link:hover {
    color: #824027;
}

.media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 220px;
    min-height: 220px;
    background-color: transparent;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
}

.media-placeholder-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: transparent;
}

.publication-title-link {
    color: inherit;
}

.publication-title-link:hover {
    color: #245f39;
    text-decoration: underline;
}

.dark-theme .publication-title-link:hover {
    color: #7dc996;
}

.publication-copy {
    padding-top: 2rem;
}

.project-copy {
    padding-top: 1.5rem;
}

.project-image-link {
    display: block;
}


/* Styles for progress bar */
.progress-bar-container {
    width: 100%;
    height: 1px;
    background: #f1f1f1;
    position: fixed;
    top: 0;
    z-index: 1;
    transition: 0.5s;
}
.progress-bar {
    height: 1px;
    background: #bd5d38;
    width: 0%;
}
.light-theme .progress-bar-container {
    background: #f1f1f1;
}
.dark-theme .progress-bar-container {
    background: #888;
}


/* New style for webpage scrollbar */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background-color: #888;
}
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}
::-webkit-scrollbar {
    width: 10px;
}
