#labsMainMenu {
    background-color: #303037;
    z-index: 10;
}

a {
    color: #96aff4;
}

a:hover {
    color: #c3d0f5;
}

a .card:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.card-title {
    font-weight: bold;
}

.labsAccordion {
    --bs-accordion-border-color: #3f3f40;
    --bs-accordion-active-bg: #303037;
    --bs-accordion-active-color: #fff;
    --bs-accordion-border-radius: 0px;
    --bs-accordion-bg: transparent;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.jtLabsAccordionButton {
    text-transform: capitalize;
}

/**
    * GITHUB CONTRIBUTIONS GRAPH
    */
.jtdev-contrib {
    background: #0d1117;
    color: #c9d1d9;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
}

.jtdev-contrib-tabs {
    border-bottom-color: rgba(255, 255, 255, .08);
}

.jtdev-contrib-tabs .nav-link {
    color: #8b949e;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding-left: .75rem;
    padding-right: .75rem;
}

.jtdev-contrib-tabs .nav-link:hover,
.jtdev-contrib-tabs .nav-link:focus {
    color: #c9d1d9;
    background: transparent;
}

.jtdev-contrib-tabs .nav-link.active {
    color: #f0f6fc;
    background: transparent;
    border-bottom-color: #2f81f7;
}

.jtdev-grid-wrap {
    overflow-x: auto;
    padding-bottom: .25rem;
}

.jtdev-grid {
    display: grid;
    grid-template-columns: 30px auto;
    gap: .5rem;
    min-width: max-content;
}

.jtdev-weekdays {
    display: grid;
    grid-template-rows: repeat(7, 12px);
    gap: 3px;
    font-size: .72rem;
    color: #8b949e;
    padding-top: 18px;
}

.jtdev-weekdays div {
    height: 12px;
    line-height: 12px;
}

.jtdev-main {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jtdev-months {
    position: relative;
    height: 14px;
    color: #8b949e;
    font-size: .72rem;
}

.jtdev-months span {
    position: absolute;
    white-space: nowrap;
}

.jtdev-weeks {
    display: flex;
    gap: 3px;
}

.jtdev-week {
    display: grid;
    grid-template-rows: repeat(7, 12px);
    gap: 3px;
}

.jtdev-day {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: #161b22;
    display: block;
}

.jtdev-day:hover {
    outline: 1px solid rgba(255, 255, 255, .35);
    position: relative;
    z-index: 2;
}

.jtdev-day.outside-year {
    background: transparent;
}

.jtdev-day.level-0 {
    background: #161b22;
}

.jtdev-day.level-1 {
    background: #0e4429;
}

.jtdev-day.level-2 {
    background: #006d32;
}

.jtdev-day.level-3 {
    background: #26a641;
}

.jtdev-day.level-4 {
    background: #39d353;
}

.jtdev-legend {
    display: flex;
    align-items: center;
    gap: .35rem;
    color: #8b949e;
    font-size: .75rem;
    flex-wrap: wrap;
}

.jtdev-legend .box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    display: inline-block;
}

@media (max-width: 767.98px) {

    .jtdev-day,
    .jtdev-legend .box {
        width: 10px;
        height: 10px;
    }

    .jtdev-week {
        grid-template-rows: repeat(7, 10px);
    }

    .jtdev-weekdays {
        grid-template-rows: repeat(7, 10px);
    }

    .jtdev-weekdays div {
        height: 10px;
        line-height: 10px;
    }
}

/**
    * JT LOGO ANIMATION RULES
    */
@keyframes hero-logo-circle {
    100% {
        transform: rotate(1turn);
    }
}

.hero-jumbotron {
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.65);
    background: transparent;
}

.hero-logo {
    flex: 0 0 300px;
    height: 300px;
    background-repeat: no-repeat;
    background-image: url("../img/jt-logo-white.svg");
    background-position: center 50%;
    -webkit-user-select: none;
    user-select: none;
    background-size: 100px;
}

.hero-logo-mobile {
    flex: 0 0 340px;
    height: 340px;
    background-repeat: no-repeat;
    background-image: url("../img/jt-logo-white.svg");
    background-position: center 50%;
    -webkit-user-select: none;
    user-select: none;
    background-size: 100px;
}

.hero-logo-circles {
    width: 330px;
    height: 330px;
    margin: auto;
    position: relative;
    max-width: 100%;
}

.hero-logo-circle {
    position: absolute;
    left: 0;
    top: 0;
    animation: hero-logo-circle 1s linear infinite;
    will-change: transform;
    max-width: 100%;
}

/**
    * move each ring at a different speed
    */
.hero-logo-circle:nth-child(1) {
    animation-duration: 30s;
}

.hero-logo-circle:nth-child(2) {
    animation-duration: 40s;
}

.hero-logo-circle:nth-child(3) {
    animation-duration: 50s;
}

.hero-logo-circle:nth-child(4) {
    animation-duration: 60s;
}

.hero-logo-circle:nth-child(5) {
    animation-duration: 70s;
}

.hero-logo-circle:nth-child(6) {
    animation-duration: 80s;
}

.hero-logo-circle:nth-child(7) {
    animation-duration: 90s;
}

.hero-logo-circle:nth-child(8) {
    animation-duration: 100s;
}

.hero-logo-circle:nth-child(9) {
    animation-duration: 110s;
}

.hero-logo-circle:nth-child(10) {
    animation-duration: 120s;
}

.hero-logo-icon {
    flex: 0 0 200px;
    height: 155px;
    background-repeat: no-repeat;
    background-image: url("../img/jt-logo-white.svg");
    background-position: center 50%;
    background-size: 42px;
    -webkit-user-select: none;
    user-select: none;
}

.hero-logo-icon-circles {
    width: 150px;
    height: 150px;
    margin: auto;
    position: relative;
    max-width: 100%;
}

/**
    * LAB specific styling
    */

.jtdev-weeks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
    gap: 3px;
    width: 100%;
}

.jtdev-week {
    display: grid;
    grid-template-rows: repeat(7, 12px);
    gap: 3px;
    width: 100%;
}

.jtdev-day {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-width: 10px;
    border-radius: 2px;
    background: #161b22;
    display: block;
}

.jtdev-grid {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: .5rem;
    width: 100%;
}

.jtdev-months {
    position: relative;
    height: 14px;
    color: #8b949e;
    font-size: .72rem;
    width: 100%;
}

.jtdev-months {
    position: relative;
    height: 1rem;
    width: 100%;
    color: #8b949e;
    font-size: .72rem;
    margin-bottom: 4px;
    overflow: hidden;
}

.jtdev-months span {
    position: absolute;
    transform: translateX(-10%);
    white-space: nowrap;
    pointer-events: none;
}

.commit-tabs-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.commit-tabs-scroll .nav-tabs {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.commit-tabs-scroll .nav-item {
    float: none;
}

.commit-tabs-scroll .nav-link {
    white-space: nowrap;
}

.commit-tabs-scroll::-webkit-scrollbar {
    height: 8px;
}

.commit-tabs-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.commit-tabs-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.commit-tabs-scroll .nav-item {
    margin-right: 0.25rem;
}

.table> :not(caption)>*>* {
    /* background-color: #1c1c25; */
    background: transparent;
}
