/* Align the logo better with the title */
.md-header__button.md-logo {
    height: 2.4rem;
}

/* Define the brightness of the cards for different color schemes */
[data-md-color-scheme="default"] {
    --card-brightness: 0.95;
    --card-brightness-hover: 0.975;
}

[data-md-color-scheme="slate"] {
    --card-brightness: 1.25;
    --card-brightness-hover: 1.5;
}

/* Make the cards look better (wider gaps and more noticeable color) */
.md-typeset .grid {
    grid-gap: .6rem;
}

.md-typeset .card, .md-typeset .grid.cards>ul>li {
    backdrop-filter: brightness(var(--card-brightness));
}

/* Clickable cards (which are links with the class `card`) */
.md-typeset .grid>a.card {
    color: var(--md-default-fg-color);
    transition: border .25s, box-shadow .25s, backdrop-filter .25s ease;
}

.md-typeset .grid>a.card:hover {
    color: var(--md-default-fg-color);
    backdrop-filter: brightness(var(--card-brightness-hover));
}

/* Jefferson classes */
.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.table {
    margin-left: auto;
    margin-right: auto;
}

/* Fix the issue where "fit-content" makes the figure too small */
.md-typeset figure {
    width: 100%;
}
