@charset "utf-8";
body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    padding-top: 5.0rem;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}

.card {
    border-radius: 0.8rem!important;
}

.card-img-overlay {
    border-radius: 0.8rem!important;
}

.rounded-xl {
    border-radius: 0.8rem!important;
}

.rounded-xl-bottom {
    border-bottom-right-radius: 0.8rem !important;
    border-bottom-left-radius: 0.8rem !important;
}

.rounded-xl-top {
    border-top-left-radius: 0.8rem !important;
    border-top-right-radius: 0.8rem !important;
}


.text-profile-position {
    font-weight: 400;
}

.text-profile-bio {
    /* font-family: "Raleway"; */
    font-weight: 400;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.inline-badge {
    height: 16px;
    vertical-align: -10%;
    margin-right: 2px;
    line-break: unset;
}

.no-break {
    white-space: nowrap;
}

.cover-image {
    width: 180px;
    max-height: 120px;
}

.abstract-body {
    min-height: 100px;
}

img.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

div.lazy {
    background-image: url('images/loading.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: 50px 50px;
    min-height: 80px;
}

.badge-publication {
    font-size: 100%;
}

.email-text {
    font-family: Source Code Pro, monospace;
}

.carousel button {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    box-shadow: none;
}

.carousel button:focus {
    outline: none;
}

.carousel-control-prev,
.carousel-control-next {
    padding: 0;
    background: transparent;
    border: 0;
}

.carousel-indicators button {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin: 0 3px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

.carousel-indicators button.active {
    opacity: 1;
}

.carousel-indicators button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev:focus-visible .carousel-control-prev-icon,
.carousel-control-next:focus-visible .carousel-control-next-icon {
    outline: 2px solid #fff;
    outline-offset: 4px;
    border-radius: 2px;
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.25);
}

@media (prefers-reduced-motion: reduce) {
    .carousel-indicators button {
        transition: none;
    }
}

/* ------------------------------------------------------------------ */
/* Purple theme: change the variables below to re-color the whole site */
/* ------------------------------------------------------------------ */
:root {
    --accent: #7b5cc4;        /* links, icons, highlights */
    --accent-dark: #4f3690;   /* hover, headings accents */
    --accent-soft: #efe9fb;   /* tinted backgrounds */
    --page-bg: #f6f3fc;       /* page background */
}

body.bg-light {
    background-color: var(--page-bg) !important;
    background-image: radial-gradient(circle at 0% 0%, #ece4fb 0, transparent 45%),
                      radial-gradient(circle at 100% 30%, #f3ecfb 0, transparent 40%);
    background-attachment: fixed;
}

::selection {
    background: #d9ccf5;
}

a, a:visited {
    color: var(--accent);
}

a:hover, a:focus {
    color: var(--accent-dark);
}

a.text-body:hover {
    color: var(--accent-dark) !important;
}

/* Navbar */
.navbar-light .navbar-brand {
    color: var(--accent-dark);
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent);
}

.navbar-light .navbar-nav .active > .nav-link {
    color: var(--accent-dark);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 var(--accent);
}

/* Cards */
.card, .shadow-sm {
    box-shadow: 0 2px 10px rgba(79, 54, 144, 0.07) !important;
}

.card hr {
    border-top-color: var(--accent-soft);
}

h5 > .fas, h5 > .fab, h6 > .fas, h1 > .fas, h2 > .fas {
    color: var(--accent);
}

/* Profile card: thin gradient accent on top */
.sticky-top > .col > .card {
    overflow: hidden;
}

.sticky-top > .col > .card::before {
    content: "";
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #a78bfa, #7b5cc4, #c084fc);
}

.sticky-top .h4 {
    color: var(--accent-dark);
}

.email-text {
    color: var(--accent);
}

/* Publications / blog year navigation */
.nav-pills .nav-link {
    color: var(--accent);
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--accent);
}

/* News years and bold author name */
.media > .text-muted:first-child {
    color: var(--accent) !important;
    font-weight: 700;
}

.abstract-links a, .tag-pill {
    display: inline-block;
    color: var(--accent);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 0.05rem 0.55rem;
    margin-right: 0.2rem;
}

.abstract-links a:hover {
    background: #e0d5f7;
    text-decoration: none;
}

.footer {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

/* Section titles and lists */
.card-body .h3 {
    color: var(--accent-dark);
}

.text-profile-bio li::marker {
    color: var(--accent);
}

.playlist-embed {
    max-width: 480px;
}
