/* The layout and type of the diff-mining project page (https://diff-mining.github.io/styles.css), kept as is so both pages look alike;
   this site's own components are in figures.css. */
@font-face {
  font-family: custom;
  src: url(fonts/source-serif-pro.ttf) format("truetype");
  font-display: swap;
}

body {
  font-family: custom;
  max-width: 58%;
  margin: auto;
}

@media screen and (max-width: 1000px) {
  body {
    max-width: 80%;
  }
}

.content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: center;
}

.button {
  background-color: #fff;
  border-color: #dbdbdb;
  border-width: 1px;
  color: #363636;
  cursor: pointer;
  justify-content: center;
  padding-bottom: calc(.5em - 1px);
  padding-left: 1em;
  padding-right: 1em;
  padding-top: calc(.5em - 1px);
  text-align: center;
  white-space: nowrap  
}

code {
  display: block;
}

.copy-code-button {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  padding: 0.5em 1em;
  font-size: 14px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  max-width: 100%;
}

h1 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  margin: 0.5em;
}

.carousel-indicators [data-bs-target] {
  background-color: #fff; /* Set indicator color to white */
}

h2 {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  margin: 1em;
}


h3 {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  margin: 1em;
}

.image-container {
  display: flex;
}

@media screen and (max-width: 1000px) {
  .image-container {
    width: 90vw;
    margin-left: calc(-41vw + 45%);
  }
}

.column {
  display: flex;
  flex-direction: row;
}

.row img{
  width: 100%;
}

.column img {
  padding: 0 2px;
}

pre {
  position: relative;
  padding: 1em;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
}


.conf {
  font-size: 2.2em;
  font-weight: bold;
  margin-top: -2.2rem;
  margin-bottom: -1.2rem;
}


code {
  display: block;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 18px;
}

.footnote {
  font-size: smaller;
  color: grey;
}

.button.is-normal {
  font-size: 2rem;
}

@media screen and (max-width: 1500px) {
  .button.is-normal {
    font-size: 1.5rem;
  }  
}

@media screen and (max-width: 1000px) {
  .button.is-normal {
    font-size: 1rem;
  }  
}

@media screen and (max-width: 800px) {
  .button.is-normal {
    font-size: 0.7rem;
  }  
}
.button.is-dark {
  background-color: #363636;
  border-color: transparent;
  color: #fff;
}

.button.is-rounded {
  border-radius: 290486px;
  padding-left: calc(2.25em);
  padding-right: calc(2.25em);
}

a {
  color: #3273dc;
  cursor: pointer;
  text-decoration: none;
  text-decoration-line: none;
  text-decoration-thickness: initial;
  text-decoration-style: initial;
  text-decoration-color: initial;
}

.content.iframe {
  display: block;
  margin: 0 auto;
  border: 1px solid black;
  text-align: center;
}

main {
  display: grid;
  place-items: center;
  min-height: 100vh;
}

* {box-sizing: border-box;}

.img-comp-container {
  position: relative;
  height: 200px; /*should be the same height as the images*/
}

.img-comp-img {
  position: absolute;
  width: auto;
  height: auto;
  overflow:hidden;
}

.icon {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  height: 1.3rem;
  width: 1.3rem
}

.publication-links {
  display: flex;
  justify-content: center;
  margin-top: 3em;
  gap: 0rem; /* Add space between elements */
  margin-bottom: 3em;
}

.link-block {
  margin: 0 0.5rem; /* Add horizontal margin to each link block */
}

.ai.ai-arxiv {
  margin-right: 0.2rem;
}


.authors {
  font-size: 30px;
  max-width: 130%;
}

.unis {
  font-size: 1.4em;
  margin-top: 1em;
  margin-bottom: 2em;
  text-align: center;
}


@media screen and (max-width: 1000px) {
  body {
    font-size: 1.2em; /* Increase base font size */
  }

  h1 {
    font-size: 48px; /* Increase from 44px */
  }

  h2 {
    font-size: 40px; /* Increase from 33px */
  }

  h3 {
    font-size: 32px; /* Increase from 22px */
  }

  .button.is-normal {
    font-size: 1.5em; /* Increase from 2.2em */
  }

  .conf {
    font-size: 2.2em;
    font-weight: bold;
    margin-top: -2.2rem;
    margin-bottom: -1.2rem;
  }

  .authors {
    font-size: 36px; /* Increase from 33px */
  }

  .unis {
    font-size: 1.7em; /* Increase from 1.54em */
  }

  .conf {
    font-size: 1.7em; /* Increase from 1.54em */
  }

  .cvpr {
    font-size: 1.8em; /* Increase from 1.65em */
  }

  div.text {
    font-size: 28px; /* Increase from 22px */
  }

  .copy-code-button {
    font-size: 16.5px; /* Increase from 15.4px */
  }

  .icon {
    height: 1.55rem; /* Increase from 1.43rem */
    width: 1.55rem; /* Increase from 1.43rem */
  }

  .activate-on-resize {
    display: block;
  }
}

@media screen and (max-width: 880px) {
  body {
    font-size: 0.9em; /* Increase base font size */
  }

  h1 {
    font-size: 43.2px; /* Increase from 44px */
  }

  h2 {
    font-size: 36px; /* Increase from 33px */
  }

  h3 {
    font-size: 28.8px; /* Increase from 22px */
  }

  .button.is-normal {
    font-size: 1.35em; /* Increase from 2.2em */
  }

  .conf {
    font-size: 1.98em;
    font-weight: bold;
    margin-top: -1.5rem;
    margin-bottom: -1.0rem;
  }

  .authors {
    font-size: 20.4px; /* Increase from 33px */
  }

  .unis {
    font-size: 1.2em; /* Increase from 1.54em */
  }

  .conf {
    font-size: 1.53em; /* Increase from 1.54em */
  }

  .cvpr {
    font-size: 1.62em; /* Increase from 1.65em */
  }

  div.text {
    font-size: 18.2px; /* Increase from 22px */
  }

  .copy-code-button {
    font-size: 14.85px; /* Increase from 15.4px */
  }

  .icon {
    height: 1.395rem; /* Increase from 1.43rem */
    width: 1.395rem; /* Increase from 1.43rem */
  }

  .activate-on-resize {
    display: block;
  }
}

@media screen and (max-width: 660px) {
  body {
    font-size: 0.72em; /* Increase base font size */
  }

  h1 {
    font-size: 34.56px; /* Increase from 44px */
  }

  h2 {
    font-size: 28.8px; /* Increase from 33px */
  }

  h3 {
    font-size: 23.04px; /* Increase from 22px */
  }

  .button.is-normal {
    font-size: 1.28em; /* Increase from 2.2em */
    margin: -.1em; /* Add margin between buttons */
  }

  .conf {
    font-size: 1.58em;
    font-weight: bold;
    margin-top: -0.8rem;
    margin-bottom: -0.8rem;
  }

  .authors {
    font-size: 16.32px; /* Increase from 33px */
  }

  .unis {
    font-size: 0.96em; /* Increase from 1.54em */
  }

  .conf {
    font-size: 1.32em; /* Increase from 1.54em */
  }

  .cvpr {
    font-size: 1.29em; /* Increase from 1.65em */
  }

  div.text {
    font-size: 14.56px; /* Increase from 22px */
  }

  .copy-code-button {
    font-size: 11.88px; /* Increase from 15.4px */
  }

  .icon {
    height: 1.116rem; /* Increase from 1.43rem */
    width: 1.116rem; /* Increase from 1.43rem */
  }

  .activate-on-resize {
    display: block;
  }
}

@media screen and (max-width: 500px) {
  body {
    font-size: 0.648em; /* Decrease base font size by 10% */
  }

  h1 {
    font-size: 20px; /* Decrease from 34.56px by 10% */
  }

  h2 {
    font-size: 15.92px; /* Decrease from 28.8px by 10% */
  }

  h3 {
    font-size: 12.736px; /* Decrease from 23.04px by 10% */
  }

  .button.is-normal {
    font-size: 0.9em; /* Adjusted for better responsiveness */
    margin: -.50em; /* Add margin between buttons */
  }

  .conf {
    font-size: 1.422em; /* Decrease from 1.58em by 10% */
    font-weight: bold;
    margin-top: -0.8rem;
    margin-bottom: -0.8rem;
  }

  .authors {
    font-size: 14.688px; /* Decrease from 16.32px by 10% */
  }

  .unis {
    font-size: 0.864em; /* Decrease from 0.96em by 10% */
  }

  .conf {
    font-size: 1.188em; /* Decrease from 1.32em by 10% */
  }

  .cvpr {
    font-size: 1.161em; /* Decrease from 1.29em by 10% */
  }

  div.text {
    font-size: 13.104px; /* Decrease from 14.56px by 10% */
  }

  .copy-code-button {
    font-size: 10.692px; /* Decrease from 11.88px by 10% */
  }

  .icon {
    height: 1.0044rem; /* Decrease from 1.116rem by 10% */
    width: 1.0044rem; /* Decrease from 1.116rem by 10% */
  }

  .activate-on-resize {
    display: block;
  }
}

@media screen and (max-width: 350px) {
  .button.is-normal {
    font-size: 0.8em; /* Adjusted for better responsiveness */
    margin: -.80em; /* Add margin between buttons */
  }
}

@media screen and (max-width: 300px) {
  .button.is-normal {
    font-size: 0.6em; /* Adjusted for better responsiveness */
    margin: -1.2em; /* Add margin between buttons */
  }
}

.fa {
  margin-right: 0.2rem;
}

.cvpr{
  font-size: 1.5em;
}

.second {
  max-width: 80%;
  margin: auto;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

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

.slider {
  position: relative;
  width: 100%;
}

.text{
  text-align: justify;
  font-size: 20px
}

.description {
    padding-left: 20px; /* Indents the description block */
    margin-top: 10px; /* Adds some space between the description and the list item */
}

table {
  border-collapse: separate; 
  border-spacing: 1em;
}

.carousel{
  overflow: hidden;
  padding-bottom: 4rem;
}

.carousel-caption{
  top: 80%;
}

.carousel-indicators{
  bottom: 4rem;
}

.carousel-inner{
  overflow: visible;
}

.carousel {
  width: 80vw;
  margin-left: calc(-39.5vw + 50%);
}


figure {
  margin: 2em 0;
  text-align: center;
}

figcaption {
  font-size: 0.8em;
  color: #666;
  margin-top: 1em;
  text-align: justify;
  padding: 0 1em;
}


@media screen and (max-width: 1000px) {
  .carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }

  figure {
    margin: 1em 0;
  }

  figcaption {
    font-size: 0.8em;
    padding: 0 0.5em;
    margin-top: 0.5em;
    width: 100%; /* Increased width of figcaption */
  }

  .carousel-caption {
    font-size: 0.8em;
  }

}

@media screen and (max-width: 880px) {
  .carousel-caption {
    font-size: 0.1em;
  }
}

@media screen and (max-width: 770px) {
  figcaption {
    font-size: 0.75em;
  }
}

@media screen and (max-width: 660px) {
  figcaption {
    font-size: 0.65em;
  }
}
