@font-face {
  font-family: 'Linux Biolinum';
  font-style: normal;
  src: 
    url('./fonts/LinBiolinum.woff') format('woff'),
}

@font-face {
  font-family: 'Linux Libertine';
  font-style: normal;
  src: 
    url('./fonts/LinLibertine.woff') format('woff'),
}


body {
  /*font-family: 'Linux Biolinum', sans-serif;*/
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",'Times New Roman', sans-serif;
  /*font-family: sans-serif;*/
  font-size: 15px;
  /*--theme-color: #4e71be;*/
  /*--theme-color: #439AF3;*/
  /*--theme-color: #439AD1;*/
  --theme-color: #416B8E;
  /*--theme-color: #4472C4;*/
  --theme-color-hover: #00cccc30;
  --theme-color-focus: #00cccc60;
}

@media (min-width: 387px) {
  .container-small {
    width: 387px;
  }
}
@media (min-width: 576px) {
  .container-small {
    width: 540px;
  }
}
@media (min-width: 768px) {
  .container-small {
    width: 700px;
  }
}
@media (min-width: 992px) {
  .container-small {
    width: 900px;
  }
}
@media (min-width: 1200px) {
	.container-small {
		width: 1000px;
	}
}
@media (max-width: 576px) {
  .teaser-title {
    font-size: 10px;
  }
}

.container-small {
	max-width: 100%;
}

.text-justify {
    font-size: 18px; /* 这里设置所需的字体大小，可以根据需要调整 */
}
.teaser-title{
    font-size: 18px; /* 这里设置所需的字体大小，可以根据需要调整 */
}
.text-siggraph{
  color: #D59F73
}


a {
  color: var(--theme-color);
  text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a.author, a.title {
  color: inherit;
}

h2, h4, h5, h6 {
  font-weight: bolder;
}
.btn {
  border-radius: 0.5em;
  transition: 0.2s;
}
.btn:hover {
  text-decoration: none;
  border-color: var(--theme-color);
  background-color: var(--theme-color);
}
.btn-sm {
  padding: 2px 6px;
  border-radius: 0.3em;
}

.hover-icon {
  transition: 0.2s;
}
.hover-icon:hover {
	transform:scale(1.2);
}
/* line the academicon up with the fa-2xl icons next to it (same offset Font Awesome uses) */
.scholar-icon {
  vertical-align: -0.1875em;
}

.hover-profile {
  cursor: pointer;
  transition: 0.3s;
}
.hover-profile:hover {
  box-shadow: 10px 10px 10px var(--theme-color-hover);
  transform: translate(10px, -10px);
}
.hover-profile.fading {
  opacity: 0;
}
/* fixed-size frame so photos of different shapes don't shift the page;
   each photo keeps its own aspect ratio and is centered vertically */
.profile-frame {
  display: flex;
  align-items: center;
  width: 200px;
  max-width: 100%;
  aspect-ratio: 400 / 502; /* matches the portrait photos */
}
.profile-frame img {
  margin-bottom: 0;
}

.hover-img {
  transition: 0.3s;
}
.hover-img:hover {
  transform: scale(1.05);
/*  box-shadow: 0 0 10px rgba(0, 204, 204, 0.3);*/
}

.fade-down {
  animation: fadeDown 1s ease;
}
@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-80px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-left {
  animation: fadeLeft 1s ease;
}
@keyframes fadeLeft {
  0% { opacity: 0; transform: translateX(80px); }
  100% { opacity: 1; transform: translateX(0); }
}
.popover-delay {
  animation: fadeInDelay 1.5s ease;
}
@keyframes fadeInDelay {
  0% { opacity: 0; }
  30% { opacity: 0 }
  100% { opacity: 1; }
}

.btn-close:focus {
  box-shadow: 0 0 0 0.25rem var(--theme-color-focus);
}

iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.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 */
  margin-left: 10px;
  margin-right: 45px;
}
pre {
  font-size: 13px;
  padding: 1.5em 1.5em;
  border-radius: 0.5em;
}
/* top bar */
.site-nav {
  background-color: var(--bs-body-bg);
  border-bottom: 1px solid var(--bs-border-color);
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
.site-nav .navbar-brand {
  font-weight: bolder;
  color: inherit;
}
.site-nav .navbar-brand:hover {
  text-decoration: none;
  color: var(--theme-color);
}
.site-nav .nav-link {
  color: inherit;
  opacity: 0.7;
  transition: 0.2s;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  text-decoration: none;
  color: var(--theme-color);
  opacity: 1;
}
.site-nav .navbar-toggler {
  border: none;
  color: inherit;
}
.site-nav .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem var(--theme-color-focus);
}
.theme-toggle {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  opacity: 0.7;
  transition: 0.2s;
}
.theme-toggle:hover {
  opacity: 1;
  color: var(--theme-color);
  background-color: var(--theme-color-hover);
}
.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.2rem var(--theme-color-focus);
}
/* brighter accent on dark backgrounds */
[data-bs-theme="dark"] body {
  --theme-color: #7FB0D8;
}

/* keep anchored sections clear of the sticky top bar */
[id] {
  scroll-margin-top: 70px;
}

/* fixed-width thumbnail column so titles line up across entries */
.pub-thumb {
  flex: 0 0 180px;
  max-width: 180px;
}
/* smaller thumbnails on phones, where they share a narrow row with the text */
@media (max-width: 576px) {
  .pub-thumb {
    flex-basis: 96px;
    max-width: 96px;
  }
  .pub-thumb img.thumb-inset {
    padding: 0.35rem;
  }
}
.pub-thumb img {
  width: 100%;
  height: auto;
}
/* publications: non-first-author entries only appear with "Show all" */
#pub-list:not(.show-all) .pub-extra {
  display: none !important;
}

/* shrink a figure inside its frame without changing the column width */
.pub-thumb img.thumb-inset {
  padding: 1rem;
}

/* bullets start flush with the section heading */
.tldr {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

/* blog categories */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.blog-filters .btn.active {
  color: var(--bs-body-bg);
  background-color: var(--theme-color);
  border-color: var(--theme-color);
}
.tag {
  display: inline-block;
  margin: 0.15rem 0.3rem 0 0;
  padding: 1px 8px;
  border: 1px solid var(--bs-border-color);
  border-radius: 1em;
  font-size: 13px;
  opacity: 0.85;
}
.tag:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
  opacity: 1;
}

.blog-epigraph {
  margin: 0 0 1.75rem;
  padding-left: 1rem;
  border-left: 3px solid var(--theme-color);
  font-size: 16px;
  font-style: italic;
  opacity: 0.85;
}
.blog-epigraph footer {
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.9em;
  opacity: 0.8;
}

.service-list,
.teaching-list,
.news-list {
  font-size: 16px;
  list-style: none;
  padding-left: 0;
}
.service-list li,
.teaching-list li,
.news-list li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.3rem;
}
.service-list li::before,
.teaching-list li::before,
.news-list li::before {
  content: "•";
  position: absolute;
  left: 0;
}
.news-date {
  color: #ED7D31;
  font-weight: 600;
  margin-right: 0.3rem;
}

.bibtex-light {
  background-color: #f5f5f5;
}
.bibtex-dark {
  background-color: #4e4e4e;
}
