body {
  font-family: 'Noto Sans', 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: 'Google 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 {
}

.publication-title {
    font-family: 'Google Sans', sans-serif;
}

.publication-authors {
    font-family: 'Google 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;
  margin-right: 40px;
}


.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;
}

.results-carousel .item {
  margin: 5px;
  overflow: hidden;
  border: 1px solid #bbb;
  border-radius: 10px;
  padding: 0;
  font-size: 0;
}

.results-carousel video {
  margin: 0;
}


.interpolation-panel {
  background: #f5f5f5;
  border-radius: 10px;
}

.interpolation-panel .interpolation-image {
  width: 100%;
  border-radius: 5px;
}

.interpolation-video-column {
}

.interpolation-panel .slider {
  margin: 0 !important;
}

.interpolation-panel .slider {
  margin: 0 !important;
}

#interpolation-image-wrapper {
  width: 100%;
}
#interpolation-image-wrapper img {
  border-radius: 5px;
}





/*------ ADDED CSS ---------*/
.slider:after
{
 content:'';
 color: black;
 display: block;
 position: absolute;
 transform: translate(-20%,-50%);
 top: 50%;
 left: 50%;
 font-size: 16px;
 font-family: Verdana, sans-serif;
}

input:checked + .slider:after
{  
  content:'';
  transform: translate(80%,-50%);
}

/*--------- END --------*/

.switch-container-wrapper {
  display: flex;
  justify-content: center; /* Center horizontally */
}

.switch-container {
  display: flex;
  align-items: center; /* Align items vertically */
  
}

.switch-label {
  color: black;
  font-size: 16px;
  margin-right: 5px; /* Adjust the margin as needed */
  margin-left: 5px; /* Adjust the margin as needed */
}

.video-container {
  position: relative;
  max-width: 100%;
  margin: 0.5em;
}

.overlay {
  position: absolute;
  top: 50%; /* Adjust the top position as needed */
  left: 50%; /* Adjust the left position as needed */
  background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
  color: black;
  font-size: 16px;
}

.thumbnail-img {
  max-width: 100%;
  height: auto;
  width: auto\9;
  /* IE8 */
}

.pill {
  cursor: pointer;
  padding: 5px;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  display: inline-block;
  transition: background-color 0.3s;
}

.active-pill {
  /* background-color: #b4b4b4; */
  /* Adjust the color as needed */
  font-weight: bold;
}

.nav-pills {
  cursor: pointer;
}

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

.scene-pills > .active {
  background: #1772d0;
}

.method-pills > .active {
  background: #1772d0;
}


/* .mode-pills > .active {
  background: #1772d0;
} */


.neon-text {
  font-size: 3rem;
  font-weight: bold;
  color: transparent;
  background-image: linear-gradient(to right, #60A5FA, #9333EA);
  background-clip: text;
  -webkit-background-clip: text;
  text-shadow: 
    0 0 10px rgba(96, 165, 250, 0.5),
    0 0 20px rgba(96, 165, 250, 0.3),
    0 0 30px rgba(147, 51, 234, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}


.ghost-effect {
    color: #e0e0e0;
    animation: ghostly 6s infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes ghostly {
    0%, 100% { 
        opacity: 0.1; 
        transform: scale(0.95);
        filter: blur(2px);
        /* font-weight: bold; */
    }
    50% { 
        opacity: 1;           /* 從 0.9 改為 1 (完全不透明) */
        transform: scale(1.02); /* 從 1 改為 1.02 (稍微放大) */
        filter: blur(0px);     /* 保持 0px (完全清晰) */
        color: red;        /* 加入這行：50% 時變成純白色 */
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.6); /* 加入這行：更強的白色光暈 */
        /* font-weight: bold; */
    }
}


/* 基礎字體大小調整 */
body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 18px; /* 新增：基礎字體大小 */
}

/* 標題放大 */
.publication-title {
    font-family: 'Google Sans', sans-serif;
    font-size: 4.5rem !important; /* 新增：主標題大小 */
    line-height: 1.0; /* 新增：行高調整 */
}

/* 副標題調整 */
.publication-subtitle {
    font-size: 2.5rem !important; /* 新增：副標題大小 */
    line-height: 1.0; /* 新增：行高調整 */
}

/* 作者名稱放大 */
.publication-authors {
    font-family: 'Google Sans', sans-serif;
    font-size: 2.0rem !important; /* 新增：作者名稱大小 */
    line-height: 1.2; /* 新增：行高調整 */
}

.publication-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.publication-links .link-block {
    display: inline-flex;
}

.publication-authors {
    margin-bottom: 1rem;
}

.publication-title {
    margin-bottom: 1rem;
}

.publication-subtitle {
    margin-bottom: 1rem;
}

/* 確保按鈕區塊完全置中 */
.publication-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
    text-align: center;
}

.publication-links .link-block {
    display: inline-flex;
}