@import url('https://fonts.cdnfonts.com/css/chalkduster');

.container {
    display: flex;
  }

.left-container {
    width: 170px;
    border: 1px dashed #000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: 350px;
}

.right-container {
    flex-grow: 1;
    min-height: 200px;
    padding: 10px;
    max-width: 500px;
}

.draggable-triplet {
    width: 100%;
    margin-bottom: 10px;
    cursor: default;
}

.draggable-image {
    width: 30%;
}

#drop-container {
    padding: 10px;
    border: 1px solid black;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    min-height: 50px;
}

#main-container {
    text-align: center;

}

#active-triplet {
    width: 100%;
}

#legend {
    width: 80%;
}

.active-img {
    width: 100%;
}

.active-container {
    display: inline;
}

.metrics div img {
    width: 70%;
    margin-bottom: 8px;
}

.vals {
    font-family: sans-serif;
    font-size: 12pt;
}

.metrics {
    display: flex; 
    margin-top: 5px;
}

.metrics div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metrics {
    display: flex; 
    justify-content: center;
}

#metrics-2 {
    visibility: hidden;
}

#drop-text {
    margin-bottom: 5px;
}

#big-container {
    align-items: center;
    justify-content: center;
}

code {
    font-family: Consolas,"courier new";
    color: black;
    background-color: #f1f1f1;
    padding: 10px;
    display: block;
}

.code-col {
    width: 50%;
}

#code-container {
    text-align: left;
}

.vals-x-1 {
    color: #f175ad;
}

.vals-x-2 {
    color: #fbad29;
}

.vals-x-3 {
    color: #a0cd49;
}

.vals-x-4 {
    color: #2fc1d5;
}

.vals-x-5 {
    color: #9b8579;
}

/* Original website */

body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-weight: 300;
    font-size: 18px;
    margin: 0;
}

/* Main page wrapper (keeps the original 1100px centered layout) */
#page {
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    color: #17a2b8;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    margin-top: 20px;
}

.disclaimerbox {
    background-color: #eee;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    padding: 20px;
}

video.header-vid {
    height: 140px;
    border: 1px solid black;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

img.header-img {
    height: 140px;
    border: 1px solid black;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

img.rounded {
    border: 1px solid #eeeeee;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

a:link,
a:visited {
    color: #000000 ;
    text-decoration: none;
}

a:hover {
    text-decoration: underline #f14d68 ;
}

td.dl-link {
    height: 160px;
    text-align: center;
    font-size: 22px;
}

.layered-paper-big {
    /* modified from: http://css-tricks.com/snippets/css/layered-paper/ */
    box-shadow:
        0px 0px 1px 1px rgba(0, 0, 0, 0.35),
        /* The top layer shadow */
        5px 5px 0 0px #fff,
        /* The second layer */
        5px 5px 1px 1px rgba(0, 0, 0, 0.35),
        /* The second layer shadow */
        10px 10px 0 0px #fff,
        /* The third layer */
        10px 10px 1px 1px rgba(0, 0, 0, 0.35),
        /* The third layer shadow */
        15px 15px 0 0px #fff,
        /* The fourth layer */
        15px 15px 1px 1px rgba(0, 0, 0, 0.35),
        /* The fourth layer shadow */
        20px 20px 0 0px #fff,
        /* The fifth layer */
        20px 20px 1px 1px rgba(0, 0, 0, 0.35),
        /* The fifth layer shadow */
        25px 25px 0 0px #fff,
        /* The fifth layer */
        25px 25px 1px 1px rgba(0, 0, 0, 0.35);
    /* The fifth layer shadow */
    margin-left: 10px;
    margin-right: 45px;
}

.paper-big {
    /* modified from: http://css-tricks.com/snippets/css/layered-paper/ */
    box-shadow:
        0px 0px 1px 1px rgba(0, 0, 0, 0.35);
    /* The top layer shadow */

    margin-left: 10px;
    margin-right: 45px;
}


.layered-paper {
    /* modified from: http://css-tricks.com/snippets/css/layered-paper/ */
    box-shadow:
        0px 0px 1px 1px rgba(0, 0, 0, 0.35),
        /* The top layer shadow */
        5px 5px 0 0px #fff,
        /* The second layer */
        5px 5px 1px 1px rgba(0, 0, 0, 0.35),
        /* The second layer shadow */
        10px 10px 0 0px #fff,
        /* The third layer */
        10px 10px 1px 1px rgba(0, 0, 0, 0.35);
    /* The third layer shadow */
    margin-top: 5px;
    margin-left: 10px;
    margin-right: 30px;
    margin-bottom: 5px;
}

.vert-cent {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

sup {
    font-size: 0.8em;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
    top: -0.5em;
    color: #000;
    text-decoration:none
}

.carousel-control-prev {
    margin-left: -50px;
    height: 300px;
}

.carousel-control-next {
    margin-right: -50px;
    height: 300px;
}

.carousel-item {
    /* height: 234px; */
    overflow: hidden;
    /* width: 100%; */
    text-align: center;
}

.carousel-inner .item img {
    margin: auto;
}

.carousel-control-next,
.carousel-control-prev {
    opacity: 1
}

.carousel-control-next:focus,
.carousel-control-next:hover,
.carousel-control-prev:focus,
.carousel-control-prev:hover {
    opacity: 1
}

.slider-navigation-next,
.slider-navigation-previous {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 42px;
    height: 42px;
    background: gray center center no-repeat;
    background-size: 20px 20px;
    border: 1px solid #fff;
    border-radius: 25091983px;
    box-shadow: 0 2px 5px #3232321a;
    top: 35%;
    margin-top: -20px;
    left: 0;
    cursor: pointer;
    transition: transform .3s, opacity .3s, -webkit-transform .3s
}

.slider-navigation-next2,
.slider-navigation-previous2 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    top: 50%;
    margin-top: -25px;
    left: 0;
    cursor: pointer;
    transition: all .3s ease
}

.slider-navigation-next2:hover,
.slider-navigation-previous2:hover {
    transform: scale(1.25);
}

.slider-navigation-next2:hover svg polyline,
.slider-navigation-previous2:hover svg polyline {
    stroke: #333;
    stroke-width: 9;
}

.slider-navigation-next2:active,
.slider-navigation-previous2:active {
    transform: scale(1.15);
}

.slider-navigation-next svg,
.slider-navigation-previous svg {
    width: 25%;
    background: gray
}

.slider-navigation-next2 svg,
.slider-navigation-previous2 svg {
    width: 25%;
    background: none;
    transition: all .3s ease;
}

.slider-navigation-next2 svg polyline,
.slider-navigation-previous2 svg polyline {
    transition: all .3s ease;
}

.slider-navigation-next {
    left: auto;
    right: 0;
    background: gray center center no-repeat;
    background-size: 20px 20px
}

.slider-navigation-next2 {
    left: auto;
    right: 0;
    background: none;
}

.teaser-carousel {
    width: 670px;
    margin: auto;
    height: 400px;
}

.teaser-img {
    height: 500px !important;
}

.inversion-carousel {
    width: 900px;
    margin: auto;
    height: 300px;
}

.inversion-img {
    height: 300px !important;
}

.dataset-carousel {
    width: 100%;
    max-width: 900px;
    margin: auto;
    height: auto;
}

.dataset-img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

#method-description {
    text-align: left;
    margin: auto;
}

#nn-description {
    width: 900px;
    margin: auto;
}

#inversion-description {
    width: 900px;
    margin: auto;
    /* margin-bottom: 0px; */
}

#dataset-description {
    width: 900px;
    margin: auto;
}
#teaser-description {
    width: 900px;
    margin: auto;
    margin-bottom: 20px;
}

/* Wrapper for sections that need a shared 900px containing block */
.teaser-block {
    width: 900px;
    margin: 0 auto;
}

#bibtex-code {
    width: 900px;
    margin: auto;
    margin-bottom: 20px;
}

/* Indent bullets inside teaser-description so lists align with body text */
#teaser-description ul {
    margin-left: 1.25rem;
    padding-left: 1.25rem;
}

#bold {
    font-weight: 700;
}

.carousel .carousel-indicators{
   bottom: -70px; 
   left: 30px;
 }

 .carousel .carousel-indicators li {
    background-color: #bbb;
    /* border-color: #000;
    border-style: solid;
    border-width: 1px; */

    width: 15px;
    height: 15px;
    border-radius: 100%;
  }

  .carousel .carousel-indicators li.active {
    background-color: #717171;
    /* border-color: black;
    border-style: solid;
    border-width: 1px; */

    width: 15px;
    height: 15px;
    border-radius: 100%;
  }
 

  .style_bg {
    background: url(webpage_assets/cloud_background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }

  .ba {
    border-style: solid;
    border-width: 1px;
}

.br-pill {
    border-radius: 9999px;
}

.bw1 {
    border-width: .125rem;
}

.bw2 {
    border-width: .25rem;
}

.dib {
    display: inline-block;
}

.fw6 {
    font-weight: 600;
}

.tracked {
    letter-spacing: .1em;
}

.no_hover{
	color:  white;
    text-decoration: none;
}
.no_hover:hover{
	color:  #f14d68;
    text-decoration: none;
}
/* .no_hover,
.no_hover:link,
.no_hover:visited {
    color:  white;
    text-decoration: none;
}
.no_hover:hover {
    color:  #f14d68;
    text-decoration: none;
} */


.black {
    color: #000;
}

.near-black {
    color: #222222;
}

.dark-gray {
    color: #333;
}

.mid-gray {
    color: #555;
}

.white {
    color: #fff;
}

.purple {
    color: #5e2ca5;
}

.light-purple {
    color: #a463f2;
}

.dark-pink {
    color: #d5008f;
}

.hot-pink {
    color: #ff41b4;
}

.dark-green {
    color: #137752;
}

.navy {
    color: #001b44;
}

.dark-blue {
    color: #00449e;
}

.bg-black {
    background-color: #000;
}

.bg-near-black {
    background-color: #222222;
}

.bg-dark-gray {
    background-color: #333;
}

.bg-mid-gray {
    background-color: #555;
}

.bg-purple {
    background-color: #5e2ca5;
}

.bg-light-purple {
    background-color: #a463f2;
}

.bg-dark-pink {
    background-color: #d5008f;
}

.bg-hot-pink {
    background-color: #ff41b4;
}

.bg-dark-green {
    background-color: #137752;
}

.bg-navy {
    background-color: #001b44;
}

.bg-dark-blue {
    background-color: #00449e;
}

.pv2 {
    padding-top: .3rem;
    padding-bottom: .3rem;
}

.ph3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.mb2 {
    margin-bottom: .5rem;
}

.mb4 {
    margin-bottom: 2rem;
}

.mt4 {
    margin-top: 2rem;
}

.ttu {
    text-transform: uppercase;
}

.f6 {
    font-size: .875rem;
}

/* Button hover effects */
.menu span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}

/* ------------------------------
   Page-specific styles (moved from index.html)
   ------------------------------ */

/* Responsive author list: wraps automatically to new lines */
.authors-grid {
    max-width: 990px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
}
.authors-grid .author {
    flex: 0 1 180px; /* preferred author "column" width */
    text-align: center;
    white-space: nowrap;
}
.authors-grid .author a {
    /* color: #0b7f73;  */
    color: #17a2b8;
    text-decoration: none;
}
.authors-grid .author a:hover {
    text-decoration: underline #f14d68 ;
    text-decoration-thickness: 2px;
}
.authors-grid .author-name {
    font-size: 22px;
}
.authors-grid .affil-sup {
    font-size: 0.8em;
}

/* Title row with paper thumbnail (matches Outline teal aesthetic) */
.hero-header {
    width: 100%;
    display: grid;
    /* Use max-content so columns don't "stretch" and create huge gaps */
    grid-template-columns: max-content 48px max-content 48px max-content;
    align-items: center; /* vertical center vs Paper block */
    justify-content: center;
}
.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.05;
    text-align: left;
    grid-column: 1;
    justify-self: start;
    min-width: 0; /* allow wrapping in grid */
}
.hero-title-line {
    display: block;
}
.hero-title-line--sub {
    margin-top: 12px; /* controls the gap between the two title lines */
}
.hero-divider {
    width: 0;
    height: 120px;
    border-left: 2px dotted rgba(0, 0, 0, 0.35);
    align-self: center;
    grid-column: 3;
    justify-self: center; /* center within its column */
}
.hero-actions {
    grid-column: 5;
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 16px;
}

.paper-and-logos {
    display: flex;
    align-items: center; /* slot-machine centered vs paper icon */
    gap: 16px;
}
.hero-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}
.hero-action-label {
    font-size: 25px;
    font-weight: 500;
    /* color: #0b7f73; */
    color: #17a2b8;
}
.hero-action-icon {
    width: 120px;
    height: auto;
    display: block;
}

/* Slot-machine logo reel (Meta -> MIT -> TUM) */
.slot-machine {
    --slot-h: 48px;
    --slot-logo-h: 48px;
    width: auto;
    height: var(--slot-h);
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Center slot-machine specifically to the paper icon (not the label) */
.paper-and-logos .slot-machine {
    margin-top: 34px; /* equals label height+gap; adjust if needed */
}
.slot-machine .reel {
    display: flex;
    flex-direction: column;
    will-change: transform;
    animation: slotSpin 4s infinite;
}
.slot-machine .icon {
    height: var(--slot-h);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slot-logo {
    height: var(--slot-logo-h);
    width: auto;
    display: block;
}

@keyframes slotSpin {
    /* Hold each logo ~1s, animate transition quickly between */
    0% { transform: translateY(0); }
    26% { transform: translateY(0); }
    33% { transform: translateY(calc(-1 * var(--slot-h))); }
    59% { transform: translateY(calc(-1 * var(--slot-h))); }
    66% { transform: translateY(calc(-2 * var(--slot-h))); }
    92% { transform: translateY(calc(-2 * var(--slot-h))); }
    100% { transform: translateY(calc(-3 * var(--slot-h))); } /* back to Meta clone */
}

@media (max-width: 1100px) {
    .hero-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        text-align: center;
        grid-column: auto;
    }
    .hero-divider {
        display: none;
    }
    .hero-actions {
        padding-left: 0;
        grid-column: auto;
    }
}

/* Outline (TOC) card on the left */
.toc-card {
    position: fixed;
    left: 24px;
    top: 92px; /* sits below the logo bar */
    width: 250px;
    max-height: calc(100vh - 200px);
    overflow: auto;
    padding: 20px 18px;
    background: #f3f7f7;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.03);
    z-index: 1000;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.toc-card.is-collapsed {
    transform: translateX(calc(-100% - 30px));
    opacity: 0;
    pointer-events: none;
}
.toc-card-title {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    margin-bottom: 14px;
}
.toc-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-list li {
    margin: 0 0 14px 0;
}
/* Use specificity to beat global link styles */
.toc-card .toc-list a {
    display: block;
    color: #0b7f73;
    text-decoration: none;
    font-size: 18px;
    line-height: 1.25;
}
.toc-card .toc-list a:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px; /* prevent overlap on wrapped lines */
    text-decoration-skip-ink: auto;
}
.toc-card .toc-list a.active {
    font-weight: 800;
}
.toc-card .toc-list .lvl-2 a {
    font-size: 15px;
    padding-left: 14px;
    color: #127d73;
    opacity: 0.95;
}

/* Right-wrapped figure next to text */
.wrap-figure-right {
    float: right;
    width: min(360px, 40%);
    margin: 4px 0 12px 20px;
}
.wrap-figure-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wrap-figure-right figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
    line-height: 1.25;
    text-align: left;
}
.wrap-clear {
    clear: both;
}

@media (max-width: 900px) {
    .wrap-figure-right {
        float: none;
        width: 100%;
        margin: 12px auto;
    }
}

.toc-toggle {
    position: fixed;
    left: 18px;
    top: 64px;
    z-index: 1001;
    border: 1px solid rgba(18, 125, 115, 0.22);
    border-radius: 9999px;
    padding: 8px 12px;
    background: #f3f7f7;
    color: #0b7f73;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}
.toc-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(18, 125, 115, 0.18), 0 4px 10px rgba(0, 0, 0, 0.08);
}
.toc-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 18px;
}

/* Only show the outline card when there's room for it */
@media (min-width: 1400px) {
    .toc-toggle {
        display: none;
    }
    .toc-card {
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    /* Nudge content right when outline is visible */
    #page {
        transform: translateX(130px);
    }
}

/* BibTeX copy button (replaces inline JS hover scaling) */
#copy-button:hover {
    transform: scale(1.1);
}