body {
  font-family: Charter;
}

#cover-img {
  text-align: center;
  font-size: 1.3em;
  /* padding: 3px 5px; */
  /* border: #4a90e2 3px solid;
  border-radius: 15px; */
  display: inline-block;
  color: #4a4a4a;
  /* background-color: #000; */
}

.is-small {
  font-size: larger;
}

.icon-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 5%;
}

.icon-item {
  align-items: center;
  display: flex;
}

.icon-item img {
  width: 30px;
  height: 30px;
  margin-right: 1em;
  filter: invert(87%) sepia(11%) saturate(748%) hue-rotate(340deg) brightness(110%) contrast(100%);
}

@media (max-width: 768px) {
  .icon-item img {
    margin-bottom: 1em;
  }
}

#main-image img {
  width: 150%;
  height: auto;
  display: block;
  margin-left: -25%;
  margin-right: auto;
}

#dataset-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#question-image img {
  width: 130%;
  height: auto;
  display: block;
  margin-left: -15%;
  margin-right: auto;
}

.blank-text {
  color: transparent;
  -webkit-text-stroke: 2px #FFC436;
}

.header-wrapper {
  /* background-image: linear-gradient(127deg, #3b41c5 0%, #a981bb 70%, #ffc8a9 100%); */
  /* background-image: linear-gradient(-40deg, #fcc5e4 0%, #fda34b 15%, #ff7882 35%, #c8699e 45%, #7046aa 65%, #0c1db8 80%, #020f75 100%); */
  /* background-image: linear-gradient(40deg, #3b4274 0%, #626bba 20%, #8266aa 40%, #c879a4 60%, #fda4aa 75%, #ffcf9f 85%, #fcc5e4 100%); */
  background-image: linear-gradient(40deg, #D9DFC6 0%, #EFF3EA 43%, #FFFDF0 77%, #FFF2C2 100%);
}

.header-container {
  color: #FFC436;
  text-align: center;
  /* Center content on small screens */
  padding: 20px;
  /* Reduced padding for small screens */
  opacity: 1.0;
  z-index: 100;
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}


.header-content h1 {
  font-size: 1.5em;
  /* Adjust font size for small screens */
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.header-container p {
  /* font-size: 1.06rem; */
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .header-container {
    padding: 16px;
    padding-top: 32px;
  }

  .header-content h1 {
    font-size: 2em;
  }

  .header-container p {
    font-size: 1.04rem;
  }

  .header-image {
    /* 80% */
    max-width: 90%;
    /* center */
    margin-left: auto;
    margin-right: auto;
  }
}

.teaser-video video {
  height: auto;
  display: block;
  max-width: 100%;
}

.header-image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
}

.button-container {
  margin-top: 20px;
  margin-bottom: 20px;
}

.button-container a.button {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
}

.button-container a.button {
  background-color: #FFF0CE;
  color: #000;
  border: 3px solid #ffc107;
  border-radius: 25px;
  padding: 10px 20px;
  margin: 5px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.button-container a.button:hover {
  background-color: #FFC436;
  /* Darker yellow background on hover */
  color: #fff;
  /* White text on hover */
}

/* Styles for larger screens using a media query */
@media (min-width: 600px) {
  .header-container {
    display: flex;
    /* Use flexbox for positioning on larger screens */
    justify-content: space-between;
    /* Space between the content and image */
    align-items: center;
    /* Align items vertically */
    padding: 50px 50px;
    /* Increase padding for larger screens */
  }

  .header-content {
    max-width: calc(50% - 20px);
    /* Adjust width to include margin */
    text-align: left;
    /* Align text to the left for larger screens */
    margin-right: 10px;
    /* Add margin to the right of the header content */
  }

  .header-content h1 {
    font-size: 3.3em;
    /* Increase font size for larger screens */
  }

  .teaser-video {
    width: 100%;
    /* Set width to 100% */
    margin-bottom: 2em;
  }

  .header-image {
    max-width: calc(50% - 20px);
    /* Adjust width to include margin */
  }

  .header-image img {
    max-width: 90%;
    /* Image should be responsive within the container */
    height: auto;
    /* Maintain the aspect ratio */
  }
}


.byline {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0 5px 10px;
  /* Add padding to the top and bottom */
  margin-bottom: 20px;
}

.byline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Align columns by the top */
  max-width: 1000px;
  /* Adjust as needed for your design */
  margin: 0 auto;
  /* Center the container */
}

.byline-column {
  /* Columns will take up width based on their content */
  display: flex;
  flex-direction: column;
  text-align: left;
  /* All text within columns left-aligned */
}

.byline-column h3 {
  margin-bottom: 10px;
  /* Space between the header and the content */
  color: #333;
  /* Dark grey color for the text */
  font-size: 1.15em;
  /* Adjust the font size as needed */
}

.byline-column p {
  color: #666;
  /* Lighter grey color for the text */
  font-size: 1em;
  /* Adjust the font size as needed */
  margin: 0px 0;
  /* Space between paragraphs */
}

@media (max-width: 768px) {

  .byline-column {
    margin-bottom: 20px;
    /* Space between columns */
    flex: 1;
  }

  .byline-column h3 {
    font-size: 16px;
  }

  .byline-column p {
    font-size: 14px;
    line-height: 1em;
    margin-bottom: 0.45em;
  }
}


.author-link,
.affiliation-link {
  color: #000000;
  /* Set the color to match the other text */
  text-decoration: none;
  /* Removes the underline */
  border-bottom: none;
  cursor: pointer;
  /* Changes cursor to pointer to indicate link */
}

.author-link:hover,
.affiliation-link:hover {
  /* text-decoration: underline; */
  border-bottom: none;
  /* font-weight: bold; */
  color: #FFC436;
}

/* author affilitions */
.author-link {
  transition: color 0.3s ease;
}

.affiliation {
  cursor: pointer;
}


.affiliation[data-affiliation="AILAB"]:hover,
.author-link.AILAB-author:hover {
  color: #99ccff;
}

.affiliation[data-affiliation="SYSU"]:hover,
.author-link.SYSU-author:hover {
  color: #99ff99;
}

.affiliation[data-affiliation="SenseTime"]:hover,
.author-link.SenseTime-author:hover {
  color: #ff6347;
}

.affiliation[data-affiliation="CUHK"]:hover,
.author-link.CUHK-author:hover {
  color: #ff9500;
}

.affiliation[data-affiliation="CUHK-SZ"]:hover,
.author-link.CUHK-author:hover {
  color: #cc99ff;
}


d-article {
  contain: none;
  position: relative;
}

d-appendix {
  contain: none;
  position: relative;
  padding-left: 10em;
}


d-article d-contents {
  max-width: 100%;
  /* Or the maximum width you want it to have */
  box-sizing: border-box;
  /* Include padding in the width calculation */
  align-self: start;
  grid-column: 1 / 4;
  grid-row: auto / span 4;
  justify-self: end;
  margin-top: 5em;
  padding-right: 3em;
  padding-left: 2em;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}


d-article d-contents nav {
  display: block;
}

d-article d-contents nav h4 {
  margin-top: 0;
  margin-bottom: 1em;
}

d-article d-contents nav div {
  color: rgba(91, 184, 73, 0.8);
  font-weight: bold;
}

d-article d-contents nav a {
  color: rgba(0, 0, 0, 0.8);
  border-bottom: none;
  text-decoration: none;
}

d-article d-contents li {
  list-style-type: none;
}

d-article d-contents ul {
  padding-left: 1em;
}

d-article d-contents nav ul li {
  margin-bottom: 0.25em;
}

d-article d-contents nav a:hover {
  text-decoration: underline solid rgba(0, 0, 0, 0.6);
}

d-article d-contents nav ul {
  margin-top: 0;
  margin-bottom: 6px;
}

d-article d-contents nav>div {
  display: block;
  outline: none;
  margin-bottom: 0.5em;
}

d-article d-contents nav>div>a {
  font-size: 13px;
  font-weight: 600;
}

d-article d-contents nav>div>a:hover,
d-article d-contents nav>ul>li>a:hover {
  text-decoration: none;
}

.active-nav-item {
  color: #0d6efd;
  /* Change as per your preference */
}

.shaded-figure {
  background-color: hsl(0, 0%, 97%);
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
  padding: 30px 0;
}

.pointer {
  position: absolute;
  width: 26px;
  height: 26px;
  top: 26px;
  left: -48px;
}

.sidebar {
  position: sticky;
}

d-article section {
  margin: 0 !important;
}


.video-container {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  /* Collapse the container to the aspect ratio */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-left: -20%;
  /* left the video */
}

.preview-container {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-top: 10px;
  margin-bottom: 20px;
  margin-left: -10%;
  /* left the video */
}

.preview {
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  opacity: 0.5;
  /* 50% transparent */
  height: 50px;
  /* Fixed height */
  width: auto;
  /* Auto width to maintain aspect ratio */
  margin-right: 10px;
  margin-left: 10px;
}

div .preview-video-active,
.preview:hover {
  opacity: 1.0;
  /* Fully opaque on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Shadow effect on hover */
}


/* blockquote {
  border-left: 4px solid #ccc;
  margin: 0.5em auto;
  padding: 0.5em 10px;
  color: #666;
  font-style: italic;
  width: 80%;
} */

/* blockquote:before {
  color: #ccc;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
} */

blockquote.storytext {
  border-left: 6px solid #4a90e2;
  /* Brighter border color */
  background-color: #f9f9f9;
  /* Subtle background */
  margin: 0px auto;
  padding: 1em 10px;
  color: #333;
  /* Darker font color */
  font-style: italic;
  font-weight: bold;
  /* Bolder font */
  width: 85%;
  box-shadow: 2px 2px 8px #ccc;
  /* Box shadow */
  padding-left: 2em;
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
  font-size: 15px;
}

blockquote.storytext:before {
  color: #4a90e2;
  /* Matching the border color */
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}

.fancybreak {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #333, transparent);
  margin: 0.8em auto;
}


#image-text-container {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

#image-audio-container {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.image-review-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-box {
  width: 50%;
  /* Adjust the width as needed */
  margin-left: 0%;
  /* Space between image and text box */
  height: 100%;
  /* Make the text box the same height as the image */
}

/* .button-bar button {
  background-color: #88AB8E; 
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 11px;
  margin-top: 0px;
  margin-bottom: 2em;
  margin-left: 5px; 
  margin-right: 5px; 
  cursor: pointer;
  border-radius: 8px; 
  box-shadow: 0 4px #999;
  transition: all 0.3s ease;
} */

/* div .active-button,
.button-bar button:hover {
  background-color: #45a049;
  box-shadow: 0 6px #666;
  transform: translateY(-2px);
} */


.interactive-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 50px;
}

.llmul {
  text-decoration-color: royalblue;
}

.geoul {
  text-decoration-color: ForestGreen;
}

.cvul {
  text-decoration-color: #FF43A4;
}

.colul {
  text-decoration-color: #FFAE42;
}

.character-card-img {
  width: 85%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* collapsible code */
.collapsible {
  background-color: hsla(206, 95%, 20%, 0.2);
  cursor: pointer;
  padding: 1em;
  border: none;
  text-align: left;
  outline: none;
}

.active,
.collapsible:hover {
  transition: max-height 0.2s ease-out;
  /* background-color: #acc2c2; */
}

.collapsible {
  background-color: hsla(206, 95%, 20%, 0.2);
  cursor: pointer;
  padding: 1em;
  border: none;
  text-align: left;
  outline: none;
}

.active,
.collapsible:hover {
  transition: max-height 0.2s ease-out;
}

.collapsible {
  display: flex;
  justify-content: space-between;
  align-content: center;
  border-radius: 4px;
}

.collapsible.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.collapsible .collapsible-indicator::after {
  content: "+"
}

.collapsible.active .collapsible-indicator::after {
  content: "-"
}

.collapsible h4 {
  margin: 0;
  line-height: inherit;
}

d-article .content {
  padding: .3em 1em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-color: hsla(206, 95%, 20%, 0.2);
  margin-bottom: 20px;
}

/* assign the final paragraph of an aside no bottom margin */
aside p:last-child {
  margin-bottom: 0;
}


aside.counting-table {
  position: absolute;
  top: 42%;
  left: 105%;
}

aside figure {
  margin: 0;
  display: block;
  /* Ensures that figure behaves as a block-level element */
}

aside figure table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  /* Use fixed table layout for consistent column sizing */
}

aside th,
aside td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #dee2e6;
  white-space: nowrap;
  text-overflow: ellipsis;
  /* Add ellipsis to clipped content */
}

aside th {
  background-color: #e9ecef;
  color: #495057;
}

aside tr:hover {
  background-color: #f2f2f2;
}

aside th:first-child,
aside td:first-child {
  border-right: 1px solid #dee2e6;
}

figcaption {
  font-size: 1em;
}

figcaption .table-caption {
  text-align: center;
  padding: 8px;
  font-style: italic;
  color: #6c757d;
  margin-top: 0;
  /* Ensures there is no additional space between table and caption */
  font-size: 12px;
}


* {
  box-sizing: border-box;
}

.img-magnifier-container {
  position: relative;
  margin-bottom: 20px;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 100px;
  height: 100px;
}


img {
  vertical-align: middle;
}


/* Position the image container (needed to position the left and right arrows) */
.slider-img-container {
  position: relative;
}

/* Hide the images by default */
.my-slides {
  display: none;
}

#image-page .my-slides img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 85%;
}

#slider-img-photographer .my-slides img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 90%;
}

.my-slides:hover .overlay {
  opacity: 1;
}

#slider-img-table .my-slides img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  padding: 10px;
  margin-top: -50px;
  color: rgb(148, 143, 143, 0.8);
  font-weight: bold;
  font-size: 30px;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
  -webkit-user-select: none;
  border-bottom: none;
}

.prev {
  left: -5%;
}

/* Position the "next button" to the right */
.next {
  right: -5%;
  border-radius: 3px 3px 3px 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.7);
  color: rgb(255, 255, 255);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f8f9fa;
  /* Light color for better visibility */
  font-family: 'Arial', sans-serif;
  /* A more modern font */
  font-size: 16px;
  /* Slightly larger for readability */
  font-weight: bold;
  /* Make it bold */
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black background */
  padding: 5px 15px;
  /* Increased padding for better spacing */
  position: absolute;
  top: 10px;
  /* Adjusted to not be too close to the edge */
  left: 50%;
  transform: translateX(-50%);
  /* Center it horizontally */
  text-shadow: 1px 1px 2px black;
  /* Text shadow for better readability */
  border-radius: 5px;
  /* Rounded corners for a softer look */
}

.row {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Six columns side by side */
.column {
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}

/* Add a transparency effect for thumnbail images */
.demo {
  opacity: 0.5;
  height: 50px;
  /* Fixed height */
  width: auto;
  /* Auto width to maintain aspect ratio */
}

.active-slide-img,
.demo:hover {
  opacity: 1;
}


.overlay {
  display: block;
  margin-left: 5%;
  margin-right: 5%;
  position: absolute;
  top: 0;
  background: rgba(0, 0, 0, 0.5);
  /* Black see-through */
  color: #f1f1f1;
  width: 90%;
  transition: .5s ease;
  opacity: 0;
  color: white;
  font-size: 20px;
  padding: 20px;
  text-align: center;
}

.system-fundamental-aside {
  display: none;
  background-color: #F3F8FF;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 100;
  width: 300px;
  color: rgb(0, 0, 0);
  font-size: 14px;
  height: fit-content;
  position: absolute;
  top: 39.5%;
  left: 105%;
}

.clickable-region {
  position: absolute;
  /* border: 2px solid rgba(255, 255, 255, 0.5); */
  /* background: rgba(255, 255, 0, 0.5);  */
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  /* Smooth transition */
}

.clickable-region:hover {
  background: rgba(255, 255, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.75);
  /* Brighter border on hover */
}

.clickable-image-container {
  position: relative;
  width: 100%;
}

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

.resscolor {
  background-color: rgb(194, 255, 191);
}

.sizescolor {
  background-color: rgb(194, 215, 255);
}

.inline-tag {
  height: 18px;
  width: auto;
}

.explorer-aside {
  display: none;
  background-color: #F3F8FF;
  border: 1px solid #ccc;
  padding: 10px;
  z-index: 100;
  width: 300px;
  color: rgb(0, 0, 0);
  font-size: 13px;
  height: fit-content;
  position: absolute;
  left: 105%;
}

.video-aside {
  display: none;
  background-color: #faf6ee;
  border: 3px solid #daa240;
  border-radius: 15px;
  padding: 10px;
  z-index: 100;
  width: 300px;
  color: rgb(0, 0, 0);
  font-size: 14px;
  height: fit-content;
  position: absolute;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  top: 8.2%;
  left: 87%;
}

.explorer-aside {
  top: 37%;
}

.loki-tag {
  height: 30px;
  /* height: 70px; */
  margin-right: 5px;
  pointer-events: none;
}

blockquote.place-review {
  border-left: 2px solid #FFAE42;
  /* Brighter border color */
  padding-left: 5px !important;
  color: #333;
  /* Darker font color */
  font-style: italic;
  box-shadow: 2px 2px 8px #ccc;
  /* Box shadow */
  padding-left: 2em;
  font-style: italic;
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  text-overflow: ellipsis;
  /* Add ellipsis to clipped content */
  margin-bottom: 0px;
}

aside blockquote {
  padding-left: 10px;
  color: #505050;
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(0)
  }

  to {
    -webkit-transform: scale(1)
  }
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}


.avatar-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2%;
  margin: 20px;
}

.avatar {
  text-align: center;
}

.avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid #ccc;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar img:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
}

.avatar figcaption {
  /* display: inline-block; */
  /* margin-top: 8px; */
  margin-left: auto;
  margin-right: auto;
  padding: 5px 10px;
  font-size: 1.05em;
  color: #333;
  /* background-color: #f8f8f8; */
  /* border: 1px solid #ddd; */
  /* border-radius: 5px; */
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  text-align: center;
  width: 80px;
  /* Adjust as needed */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.left-aside-container {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
}

.left-side-bar {
  position: absolute;
  top: 91.5%;
  left: -35%;
}

.right-side-bar {
  position: absolute;
  top: 91.5%;
  right: -35%;
}

@media (max-width: 1180px) {
  div.bm_city_fig>aside {
    display: none;
  }
}

.click-hint {
  display: block;
  margin: auto;
  width: 80%;
  font-size: 16px;
  /* Adjust the font size */
  color: #333333;
  /* Set text color */
  /* background-color: #f2f2f2; */
  border: 2px solid #cccccc;
  /* Add border */
  padding: 10px;
  /* Add padding around text */
  border-radius: 5px;
  /* Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Add a subtle shadow */
  text-align: center;
  /* Center the text */
  margin-bottom: 20px;
  /* Add some margin at the bottom */
}

.click-hint strong {
  color: #007bff;
  /* Highlight the 'strong' element with a different color */
  /* text-decoration: underline; Underline the 'strong' text */
}


.grey-overlay {
  position: absolute;
  /* Change to absolute positioning */
  top: 0;
  left: 0;
  width: 1000%;
  /* Full container width */
  height: 100%;
  /* Full container height */
  background-color: rgba(245, 237, 220, 0.5);
  z-index: -1;
  /* Ensure it's above other content */
  margin-left: -500%;
}

d-article h3 {
  margin-top: 20px;
}

d-article>div>h3 {
  width: 150%;
  margin-left: -10%;
}

.LabelU:hover {
  background-color: rgba(169, 207, 247, 0.5);
}


.text {
  /* width: 150%; */
  width: 150%;
  margin: 1em 0 1em -20%;
  font-size: 1.3rem;
  line-height: 1.5;
  text-align: justify;
}

h1.text {
  font-size: 2em;
}

h2.text {
  font-size: 2em;
}

h3.text {
  font-size: 1.5em;
}

.abstract {
  font-size: 1.35rem;
}

.auto-video {
  width: 130%;
  margin-left: -15%;
}

#diego-plan-video,
#diego-plan-video-cap {
  width: 150%;
  margin-left: -20%;
}

.nav-bar {
  position: fixed;
  margin-top: 5%;
  left: 20px;
  top: 20px;
  width: 70px;
  height: fit-content;
  max-height: 100%;
  /* Gives navbar a scrollbar if it's too long */
  background-color: #dbdbdb39;
  overflow-x: hidden;
  padding-top: 10px;
  z-index: 101;
  display: none;
  border-radius: 1.5em;
}


.figure {
  width: 150%;
  margin-left: -25%
}

#nav-bar-finding {
  padding-bottom: 10px;
  background-color: #eaeaeac5;
}

#nav-bar-dataset {
  padding-bottom: 10px;
  background-color: #eaeaeac5;
  /* background: linear-gradient(90deg, rgba(0,212,255,1) 0%, rgba(45,236,147,1) 34%, rgba(243,249,116,1) 66%, rgba(255,76,76,1) 100%);; */
}

#nav-bar-evaluation {
  padding-bottom: 10px;
  background-color: #eaeaeac5;
  /* background: linear-gradient(90deg, rgba(0,212,255,1) 0%, rgba(45,236,147,1) 34%, rgba(243,249,116,1) 66%, rgba(255,76,76,1) 100%);; */
}
#nav-bar-interaction {
  padding-bottom: 10px;
  background-color: #eaeaeac5;
  /* background: linear-gradient(90deg, rgba(0,212,255,1) 0%, rgba(45,236,147,1) 34%, rgba(243,249,116,1) 66%, rgba(255,76,76,1) 100%);; */
}

#nav-bar-conclusion {
  padding-bottom: 10px;
  /* background-color: #d2e3c845; */
  background-color: #f5ebe0;
}

#nav-bar-system {
  /* background-color: #b4d5ff32; */
  background-color: #eaeaeac5;
}

@media (max-width: 768px) {
  .figure {
    width: 100%;
    margin-left: -1%;
  }
}

#nav-bar>div {
  padding-left: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  /* background-color: #fae7f378; */
  /* background-color: #ac87c52a; */
}

.nav-link>img {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 50px;
  height: auto;
}

.nav-type>img {
  padding-top: 5px;
  padding-bottom: 5px;
  width: 50px;
  height: auto;
}

.interaction-color {
  background-color: rgba(227, 242, 233, 0.5);
}

.image-color {
  background-color: rgba(227, 237, 248, 0.5);
}

.audio-color {
  background-color: rgba(254, 237, 237, 0.737);
}

.video-color {
  background-color: rgba(255, 255, 204, 0.5);
}

.text-color {
  background-color: rgba(235, 217, 252, 0.5);
}
.conclusion-color {
  background-color: rgba(235, 217, 252, 0.5);
}

.interaction-color:hover {
  background-color: rgba(227, 242, 233, 0.9);
  box-shadow: 0 0 20px 10px rgba(200, 230, 220, 0.9);
}

.image-color:hover {
  background-color: rgba(227, 237, 248, 0.9);
  box-shadow: 0 0 20px 10px rgba(200, 220, 240, 0.9);
}

.audio-color:hover {
  background-color: rgba(254, 237, 237, 0.9);
  box-shadow: 0 0 20px 10px rgba(240, 200, 200, 0.9);
}

.video-color:hover {
  background-color: rgba(255, 255, 204, 0.9);
  box-shadow: 0 0 20px 10px rgba(252, 218, 94, 0.94);
}

.text-color:hover {
  background-color: rgba(235, 217, 252, 0.9);
  box-shadow: 0 0 20px 10px rgba(210, 180, 240, 0.9);
}

.conclusion-color:hover {
  background-color: rgba(235, 217, 252, 0.9);
  box-shadow: 0 0 20px 10px rgba(210, 180, 240, 0.9);
}

div.nav-bar a {
  border: none;
  opacity: 0.5;
}

div.nav-bar a:hover {
  color: black;
  opacity: 1.0;
}

div.nav-bar img:hover {
  transform: scale(1.3);
}

a.active-link {
  color: #007bff;
  /* Change to your preferred color */
  /* If you're using images inside <a>, you might want to apply a filter instead */
  /* filter: brightness(1.2); */
  opacity: 1.0 !important;
}

/* a.active-link img {
  border: 2px solid #007bff;
  border-radius: 4px;
} */

.takeaway-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: left;
  padding: 0px;
  margin: 1em;
  border-radius: 15px;
  line-height: 1.6;
}

.takeaway-head {
  display: flex;
  justify-content: space-between;
  /* Aligns items in a row with space between them */
  text-align: left;
  padding: 10px;
  padding-left: 15px;
  background-color: rgb(113, 115, 148);
  border-radius: 15px 15px 0px 0px;
  line-height: 1.6;
  color: white;
  font-size: 20px;
}

.takeaway-tags {
  display: flex;
  /* Ensures the images are lined up horizontally */
  align-items: center;
  /* Vertically centers the tags within the div */
  /* Additional styling, if necessary, can go here */
}

.exemplar-takeaways>.takeaway-card {
  display: none;
}


div.takeaway-tags img {
  height: 28px;
  margin-right: 5px;
}

.takeaway-content {
  font-size: 17px;
  /* Adjusts the font size */
  color: #333;
  /* Sets the text color; choose a color that fits your design */
  margin: 0px;
  /* Adds space around the paragraph */
  padding: 10px 10px 15px 15px;
  background-color: #f9f9f9;
  /* Optional background color */
  border-radius: 5px;
  /* Rounds the corners if there's a background color */
  line-height: 1.4;
  /* Adjusts the line height for better readability */
  /* Additional styling like text-align, letter-spacing, etc., can be added as per your preference */
  border-radius: 0px 0px 15px 15px;
}


.diego-revise-img {
  width: 130%;
  margin-left: -15%;
}

#prev-diego-revise-1,
#prev-diego-revise-2 {
  top: 75%;
  left: -20%
}

#next-diego-revise-1,
#next-diego-revise-2 {
  top: 75%;
  right: -20%
}


.img-grid-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  width: 120%;
  margin-left: -10%;
}

.img-grid-column {
  flex: 16%;
  padding: 0 4px;
}

.img-grid-column img {
  margin-top: 8px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  d-article>div>h3 {
    width: 100%;
    margin-left: 0%;
  }

  .text {
    width: 100%;
    margin: 1em 0 1em 0;
  }

  .auto-video,
  .diego-revise-img,
  #diego-plan-video,
  #diego-plan-video-cap {
    width: 100%;
    margin-left: 0%;
  }

  div.takeaway-tags img {
    height: 22px;
    margin-right: 2px;
  }

  #prev-diego-revise-1,
  #prev-diego-revise-2 {
    top: 115%;
    left: -7%
  }

  #next-diego-revise-1,
  #next-diego-revise-2 {
    top: 115%;
    right: -7%
  }

  aside {
    display: none;
  }
}

.content-block {
  position: relative;
  padding-bottom: 2em;
  padding-top: 1em;
}

#td,
.td {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    background-color: rgba(229, 238, 233, 0.869);
    /* background-color: rgba(194, 248, 203, 0.8); */
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }
}

#image,
.image {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    /* background-color: rgba(227, 237, 248, 0.5); */
    background-color: rgba(244, 248, 255, 0.866);
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }

  hr {
    margin-top: 30px;
  }
}

#audio,
.audio {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    /* background-color: rgba(254, 237, 237, 0.5); */
    background-color: rgba(255, 234, 234, 0.905);
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }
}

#video,
.video {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    /* background-color: rgba(255, 246, 232, 0.5); */
    background-color: rgba(253, 245, 227, 0.95);
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }
}

#interaction,
.interaction {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    /* background-color: rgba(255, 246, 232, 0.5); */
    background-color: rgba(239, 255, 233, 0.95);
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }
}

#evaluation,
.evaluation {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    /* background-color: rgba(255, 246, 232, 0.5); */
    background-color: rgba(253, 241, 227, 0.95);
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }
}

#conclusion,
.conclusion {
  position: relative;
  padding-top: 1em;

  .grey-overlay {
    /* background-color: rgba(255, 246, 232, 0.5); */
    background-color: rgba(253, 227, 246, 0.95);
  }

  .text {
    margin-bottom: 0px;
    padding-bottom: 1em;
  }
}

.content-block>.grey-overlay {
  border-bottom: 0.2px solid rgba(129, 126, 126, 0.25);
}

/* benchmark list */
/* .text-list {
  width: 100%;
  margin: 1em auto;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 45px;
  list-style-type: none;
  padding: 0;
}

.text-list li {
  display: flex;
  align-items: center;
}

.text-list img.loki-tag {
  margin-right: 0.5em;
} */

.text-list li {
  display: flex;
  align-items: center;
}

.text-list {
  width: 100%;
  margin: 1em auto;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 45px;
  list-style-type: none;
  padding: 0;
  text-decoration: none;
}

.text-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.text-list img.loki-tag {
  margin: 0;
}

.text-list a:link {
  text-decoration: none;
}

.finding-card {
  width: 120%;
  background-color: #a4a7ab;
}


/* .header-wrapper {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  background-color: #e493d0;
  background-image: 
    radial-gradient(closest-side, rgb(252, 63, 25), rgba(235, 105, 78, 0)),
    radial-gradient(closest-side, rgb(11, 204, 243), rgba(243, 11, 164, 0)),
    radial-gradient(closest-side, rgb(23, 118, 252), rgba(254, 234, 131, 0)),
    radial-gradient(closest-side, rgb(116, 65, 255), rgba(170, 142, 245, 0)),
    radial-gradient(closest-side, rgba(248, 192, 147, 1), rgba(248, 192, 147, 0));
  background-size: 
    130vmax 130vmax,
    80vmax 80vmax,
    90vmax 90vmax,
    110vmax 110vmax,
    90vmax 90vmax;
  background-position:
    -80vmax -80vmax,
    60vmax -30vmax,
    10vmax 10vmax,
    -30vmax -10vmax,
    50vmax 50vmax;
  background-repeat: no-repeat;
  animation: 10s movement linear infinite;
}

.header-wrapper::after {
  content: '';
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@keyframes movement {
  0%, 100% {
    background-size: 
      130vmax 130vmax,
      80vmax 80vmax,
      90vmax 90vmax,
      110vmax 110vmax,
      90vmax 90vmax;
    background-position:
      -80vmax -80vmax,
      60vmax -30vmax,
      10vmax 10vmax,
      -30vmax -10vmax,
      50vmax 50vmax;
  }
  25% {
    background-size: 
      100vmax 100vmax,
      90vmax 90vmax,
      100vmax 100vmax,
      90vmax 90vmax,
      60vmax 60vmax;
    background-position:
      -60vmax -90vmax,
      50vmax -40vmax,
      0vmax -20vmax,
      -40vmax -20vmax,
      40vmax 60vmax;
  }
  50% {
    background-size: 
      80vmax 80vmax,
      110vmax 110vmax,
      80vmax 80vmax,
      60vmax 60vmax,
      80vmax 80vmax;
    background-position:
      -50vmax -70vmax,
      40vmax -30vmax,
      10vmax 0vmax,
      20vmax 10vmax,
      30vmax 70vmax;
  }
  75% {
    background-size: 
      90vmax 90vmax,
      90vmax 90vmax,
      100vmax 100vmax,
      90vmax 90vmax,
      70vmax 70vmax;
    background-position:
      -50vmax -40vmax,
      50vmax -30vmax,
      20vmax 0vmax,
      -10vmax 10vmax,
      40vmax 60vmax;
  }
} */




.gallery-container {
  position: relative;
  width: 150%;
  /* Expand to full width */
  margin: auto;
  left: 55%;
  transform: translateX(-50%);
}

.gallery {
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  padding: 0px;
  background-color: #FCF6E6;
  scrollbar-width: none;
  /* Firefox */
}

.gallery::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.gallery-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 수직 중앙 정렬 */
  text-align: center;
  margin: 0 -10px;
  /* 텍스트도 중앙 정렬 */
}

.gallery-items video {
  width: 100%;
  /* 부모 요소에 맞게 조정 */
  max-width: 500px;
  /* 원하는 크기로 조정 */
}


.gallery-item {
  flex: 0 0 calc(25% - 20px);
  /* Four items per row */
  margin: 0 5px;
  text-align: center;
}

.gallery-item video {
  width: 100%;
  height: auto;
  cursor: pointer;
}

.gallery-item p {
  margin-top: -6px;
  font-size: 15px;
}

.gallery-items p {
  font-size: 15px;
}

.arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  padding: 10px;
}

.arrow-left {
  left: 10px;
  /* Adjust as needed */
}

.arrow-right {
  right: 10px;
  /* Adjust as needed */
}

.pagination-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.pagination-dots span {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.pagination-dots .active {
  background-color: #717171;
}

.custom-container {
  text-align: center;
  margin-top: 20px;
}

.custom-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.custom-image-comparison {
  position: relative;
  width: 600px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.custom-base-image,
.custom-overlay-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  clip-path: inset(0 50% 0 0);
}

.custom-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: red;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.custom-thumbnail-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.custom-thumbnail {
  width: 100px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.custom-thumbnail.active {
  border: 2px solid red;
}

.img_siwon_slider {
position: relative;
overflow: hidden;
width: 150%;
margin: 20px auto; /* 중앙 정렬 */
margin-left: -140px;
}

.img_siwon_slides {
display: flex;
transition: transform 0.5s ease-in-out;
}

.img_siwon_slide {
width: 100%;
flex-shrink: 0;
text-align: center; /* 캡션 중앙 정렬 */
}

.img_siwon_slide img {
width: 100%;
display: block;
}

.caption {
margin-top: 10px;
font-size: 16px;
color: #333;
}

.img_siwon_prev, .img_siwon_next {
position: absolute;
top: 45%;
transform: translateY(-50%);
background: rgba(220, 220, 220, 0.8);
color: #3a3a3a;
border: none;
padding: 8px;
cursor: pointer;
font-size: 20px;
}

.img_siwon_prev {
left: 10px;
}

.img_siwon_next {
right: 10px;
}

.tab_siwon_slider {
position: relative;
overflow: hidden;
width: 150%;
margin: 20px auto; /* 중앙 정렬 */
margin-left: -140px;
}

.tab_siwon_slides {
display: flex;
transition: transform 0.5s ease-in-out;
}

.tab_siwon_slide {
width: 100%;
flex-shrink: 0;
text-align: center; /* 캡션 중앙 정렬 */
}

.tab_siwon_slide img {
width: 100%;
display: block;
}

.tab_siwon_prev, .tab_siwon_next {
position: absolute;
top: 45%;
transform: translateY(-50%);
background: rgba(220, 220, 220, 0.8);
color: #3a3a3a;
border: none;
padding: 8px;
cursor: pointer;
font-size: 20px;
}

.tab_siwon_prev {
left: 10px;
}

.tab_siwon_next {
right: 10px;
}