body {
  font-family: 'Noto Sans', sans-serif;
  /* font-family: 'Monaco',  sans-serif; */
  
}


.footer .icon-link {
    font-size: 25px;
    color: #000;
}

.link-block a {
    margin-top: 5px;
    margin-bottom: 5px;
}

.dnerf {
  font-variant: small-caps;
}


.teaser .hero-body {
  padding-top: 0;
  padding-bottom: 3rem;
}

.teaser {
  font-family: 'Noto Sans', sans-serif;
}


/*.publication-title {
}*/

.publication-banner {
  max-height: parent;

}

.publication-banner video {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  object-fit: fit;
}

.publication-header .hero-body {
  padding-top: 3rem;
  padding-bottom: 0rem;
}

.publication-author-block .hero-body {
  padding-top: 1rem;
  padding-bottom: 0rem;
}


.publication-title {
    /*font-size: 10px;*/
    font-family: 'Noto Sans', sans-serif;
}

.publication-authors {
    font-family: 'Notogallery_img Sans', sans-serif;
}

.publication-venue {
    color: #555;
    width: fit-content;
    font-weight: bold;
}

.publication-awards {
    color: #ff3860;
    width: fit-content;
    font-weight: bolder;
}

.publication-authors {
}

.publication-authors a {
   color: hsl(204, 86%, 53%) !important;
}

.publication-authors a:hover {
    text-decoration: underline;
}

.author-block {
  display: inline-block;
}

.publication-banner img {
}

.publication-authors {
  /*color: #4286f4;*/
}

.publication-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;

    overflow: hidden;
    border-radius: 10px !important;
}

.publication-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.publication-body img {
}

.results-carousel {
  overflow: hidden;
  padding-bottom: 10px;
  padding-top: 5px;
  margin: 50px;
}

.results-carousel .item {
  width: 50px;
  height: 50px;
  padding-bottom: 10px;
  margin: 50px;
  overflow: hidden;
  padding: 50px;
  font-size: 0;
  position: relative;
  top: 50%;
  left: 50%;
  /*margin: -25px 0 0 -25px;*/
}

.carousel-caption {
  color: #555;
  position: relative;
  left: auto;
  right: auto;
}

.results-carousel video {
  margin: 0;
}

/* .carousel-indicators{
  bottom: -50px;
  position: absolute;
    top:50%;
    left: 150%;
    z-index: 15;

    text-align: center;
    list-style: none;
} */
/* .carousel-inner {
  margin-bottom:50px;
} */

.slider-pagination .slider-page {
  background: #000000;
}

.eql-cntrb {
  font-size: smaller;
}
/*
.container {
  padding-top: 0px;
  padding-bottom: 3rem;

}

*/

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /*grid-template-rows: repeat(4, 1fr);*/
    /*grid-auto-flow: dense;*/
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    /*align-items: stretch;*/
}

.inner_gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    /*grid-template-rows: repeat(4, 1fr);*/
    /*grid-auto-flow: dense;*/
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    /*align-items: stretch;*/
}

/*.gallery {*/
/*    !*width: 63%;*!*/
/*    !*margin: 0 auto;*!*/
/*    !*position: relative;*!*/
/*    display: grid;*/
/*    grid-template-columns: repeat(5, 1fr);*/
/*    !*grid-template-rows: repeat(4, 1fr);*!*/
/*    !*grid-auto-flow: dense;*!*/
/*    grid-column-gap: 0px;*/
/*    grid-row-gap: 0px;*/
/*    !*align-items: stretch;*!*/
/*    !*line-height: 0;*!*/
/*    !*overflow: hidden !important;*!*/
/*}*/

.gallery_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*border: 1px solid black;*/
}

.varying_img {
    max-height: 300px;
    object-fit: cover;
    /*border: 1px solid black;*/
}

.gallery_video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.under {
    z-index: 1;
}

.over {
    z-index: 2;

    width: 30%;
    height: 30%;
    border: 1px solid black;
}

.grid_r_1 {
    grid-row: 1;
}

.grid_r_2 {
    grid-row: 2;
}

.grid_r_3 {
    grid-row: 3;
}

.grid_r_4 {
    grid-row: 4;
}

.grid_r_5 {
    grid-row: 5;
}

.grid_c_1 {
    grid-column: 1;
}

.grid_c_2 {
    grid-column: 2;
}

.grid_c_3 {
    grid-column: 3;
}

.grid_c_4 {
    grid-column: 4;
}

.grid_c_5 {
    grid-column: 5;
}

.video-compare-container {
    width: 63%;
    margin: 0 auto;
    position: relative;
    display: block;
    line-height: 0;
    overflow: hidden !important;
}

.video_in_container {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
}

.video_merge {
    position: relative;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    display: block;
    margin: 0 auto;
    background-size: cover;
}

.captioned_video {
    background-size: cover;
    vertical-align: center;
}

.captioned_video h6 {
    /* font-style: italic; */
    display: flex;
    margin-right: auto;
    margin-left: auto;
    justify-content: center;
    /* align-items: center; */
    text-align: center;
    z-index: 20;

    max-width: 100%;
    padding-top: 0px;
    /*margin: 15px 0 5px 0;*/
    tooltip-max-width: 10rem;
}

#rep {
    max-height: 256px;
}

#pipe {
    max-height: 256px
}

#network {
    max-height: 256px
}
/* .captioned_videos img {
    max-width: 250px;
    margin-right: auto;
    margin-left: auto;
    display: block;
} */

.comp_gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /*grid-template-rows: repeat(4, 1fr);*/
    /*grid-auto-flow: dense;*/
    grid-column-gap: 10px;
    grid-row-gap: 30px;
    /*align-items: stretch;*/
}

.comp_src_img {
    max-height: 196px
}



.prompt_gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /*grid-template-rows: repeat(4, 1fr);*/
    /*grid-auto-flow: dense;*/
    grid-column-gap: 10px;
    grid-row-gap: 30px;
    /*align-items: stretch;*/
}

.vidcomp_gallery {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 20px;
  grid-row-gap: 5px;
  align-items: stretch;
}

.vidcomp_src_img {
  max-height: 300px;
  border: 1px solid gray;
  /* border-left: 1px solid; */
  /* height: 100px;
  width: 100px; */
}

.limitation_gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  margin-bottom: 20px;
  /* border: 1px solid gray; */
  align-items: center;
}

.limitation_src_img {
  max-height: 200px;
  margin-bottom: 5px;
  /* border-left: 1px solid; */
  /* height: 100px;
  width: 100px; */
}

.tradeoff_src_img {
  max-height: 200px;
  margin-bottom: 5px;
  border: 1px solid gray;
  
}

.sketch_rep_img {
  max-height: 200px;
  margin-bottom: 5px;
  border: 1px solid gray;
  margin-right: 100px;
  
}

.ablation_gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /*grid-template-rows: repeat(4, 1fr);*/
    /*grid-auto-flow: dense;*/
    grid-column-gap: 10px;
    grid-row-gap: 5px;
    /*align-items: stretch;*/
}

.abstraction_gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  /*align-items: stretch;*/
}

.textprompt_gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  /*align-items: stretch;*/
}

.comparisons_gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 20px;
  margin-bottom: 20px;
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 20px;
  grid-row-gap: 5px;
  /*align-items: stretch;*/
}

.comp_src_img {
  height: 200px;
  width: 200px;
  margin-bottom: 5px;
  border: 1px solid gray;
  
}

.tradeoff2_gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /*grid-template-rows: repeat(4, 1fr);*/
  /*grid-auto-flow: dense;*/
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  /*align-items: stretch;*/
}


.rule{
  align-items: center;
  width: 650px;
  height: 1px;
  background:black;
  margin-top: 10px;
  margin-bottom: 10px;
}

/*.prompt_src_img {*/
/*    max-height: 196px*/
/*}*/

.has_border_right {
    border-right:5rem solid rgba(0, 0, 0, 0)
}

.has_border_left {
    border-left:5rem solid rgba(0, 0, 0, 0)
}

/* CSS */
.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}


/* CSS */
.button-55 {
  align-self: center;
  background: linear-gradient(135deg, #4da8ff, #80d0ff); /* 稍深的蓝色渐变 */
  border: none;
  border-radius: 12px; /* 柔和的圆角 */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 柔和阴影 */
  color: white;
  cursor: pointer;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-55:hover {
  background: linear-gradient(135deg, #3d9aff, #6fc3ff); /* 悬停时稍微加深 */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(128, 208, 255, 0.6); /* 增加光晕 */
  transform: scale(1.05); /* 轻微放大 */
}

.button-55:active {
  transform: scale(0.95); /* 点击时缩小，模拟按压效果 */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.button-55:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(128, 208, 255, 0.8); /* 焦点时增加光晕 */
}



.vertical-line{
    width: 1px; /* Line width */
    background-color: black; /* Line color */
    height: 100%; /* Override in-line if you want specific height. */
    float: left; /* Causes the line to float to left of content. 
      You can instead use position:absolute or display:inline-block
      if this fits better with your design */
  }

#network {
    height: 100%;
}

a#clustrmaps-widget-v2 {
  display: none !important;
}



.rainbow-text {
    background: linear-gradient(90deg, 
        #ff0000, 
        #ff7f00, 
        #ffff00, 
        #00ff00, 
        #0000ff, 
        #4b0082, 
        #8b00ff  
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}



.gradient-blue-green {
    background: linear-gradient(90deg, #008dcf, #00a9d4, #4acccd, #00cc88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}



.ms_footer {
    background: #000;
    padding: 32px 100px;
    box-sizing: border-box;
    text-align: center;
    width: 100%;
    color: #fff;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.ms_footer p {
    align-content: center;
    margin: 0;
}

.ms_footer a {
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    /* margin: 0 5px; */
    text-decoration: none;
    display: inline-block;
}

.ms_footer .line {
    margin: 0 16px;
    display: inline-block;
    vertical-align: top;
}

.ms_footer p:nth-child(2) span {
    vertical-align: middle;
    display: inline-block;
    height: 64px;
    width: 140px;
    background: url(./microsoft-logo.png) no-repeat;
    background-size: contain;
}

.ms_footer p:nth-child(2) span a {
    display: inline-block;
    width: 100%;
    height: 100%;
}


.abstract-box {
  background: #f9f9f9;  
  border-radius: 10px;  
  padding: 20px; 
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); 
}

.floating-menu {
  position: fixed;
  top: 50px;
  left: 20px;
  width: 220px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  font-family: Arial, sans-serif;
}

/* "Sections" 文字样式 */
.floating-menu span {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: block;
  text-align: center;
  text-transform: uppercase; /* 变成大写 */
  padding: 8px;
  cursor: pointer;
}

/* 菜单样式 */
.floating-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.floating-menu ul li {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.floating-menu ul li:last-child {
  border-bottom: none;
}

.floating-menu ul li a {
  text-decoration: none;
  color: #333;
  display: block;
  transition: background 0.3s;
}

.floating-menu ul li a:hover {
  background: #e9ecef;
  border-radius: 5px;
}

/* ✅ 小屏幕适配 */
@media (max-width: 1280px) {
  .floating-menu {
    top: 8px;
    left: 8px;
    width: auto;
    padding: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
  }

  /* 默认隐藏菜单 */
  .floating-menu ul {
    display: none;
    position: absolute;
    background: white;
    width: 200px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* 悬停时显示菜单 */
  .floating-menu:hover ul {
    display: block;
  }
}
