:root {
  font-family: 'Barlow', Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
    Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'Fira Mono', monospace;
  --pure-white: #ffffff;
  --primary-color: #b9c6d2;
  --secondary-color: #d0dde9;
  --tertiary-color: #edf0f8;
  --accent-color: #ff3e00;
  --heading-color: rgba(0, 0, 0, 0.7);
  --text-color: #444444;
  --background-without-opacity: rgba(255, 255, 255, 0.7);
  --column-width: 42rem;
  --column-margin-top: 4rem;
}

html {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

img,
a {
  user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

body {
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Barlow', 'Noto Sans TC', 'Noto Sans KR' !important;
  font-weight: 300
}

footer {
  padding: 1rem 18rem 4rem 18rem !important;
}

::-moz-selection {
  color: #333;
  background: rgb(221, 221, 221);
}

::selection {
  color: #000;
  background: #fff1a3;
}

a {
  text-decoration: none !important;
  color: #000 !important;
}

a:hover {
  font-weight: 500 !important;
}

.zoom {
  transition: transform .2s;
}

.zoom:hover {
  transform: scale(1.02);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

p {
  font-size: .95rem;
  font-weight: 300;
  margin-bottom: .75rem !important;
}

p:last-child {
  margin-bottom: 0 !important;
}

p>a {
  font-weight: 400;
}

h4 {
  font-size: 1.3rem !important;
  margin-bottom: 1.5rem;
}

.main {
  padding: 1rem .5rem;
}

.container {
  margin-bottom: 2rem;
  max-width: none !important;
}

.container:last-of-type {
  margin-bottom: 0 !important;
}

.active {
  text-decoration: underline !important;
}

.nav-link {
  text-transform: lowercase;
  letter-spacing: .75px;
  font-size: .95rem !important;
  color: black !important;
}

.navbar-nav>li {
  padding-left: 1.1rem;
}

.nav-item {
  padding-left: 0 !important;
}

.navbar-toggler {
  border: none !important;
  outline: none !important;
  padding: 0 !important
}

@media screen and (min-width: 1601px) {
  .page-content {
    max-width: 1500px !important;
    margin-left: auto;
    margin-right: auto;
  }

  footer {
    max-width: 1500px !important;
    padding: 3rem 0 5rem 0 !important;
    margin-left: auto;
    margin-right: auto;
  }
}


@media screen and (max-width: 1600px) {
  .page-content {
    padding: 0 15rem !important;
  }

  footer {
    padding: 3rem 15rem !important;
  }
}

@media screen and (max-width: 1440px) {
  .page-content {
    padding: 0 10rem !important;
  }

  footer {
    padding: 2rem 10rem !important;
  }
}

@media screen and (max-width: 1200px) {
  .page-content {
    padding: 0 4rem !important;
  }

  footer {
    padding: 2rem 4rem !important;
  }
}

@media screen and (max-width: 991px) {
  .page-content {
    padding: 0 1rem !important;
  }

  footer {
    padding: 2rem 1rem !important;
  }
}

@media screen and (max-width: 575px) {
  .page-content {
    padding: 0 .3rem !important;
  }

  footer {
    padding: 2rem .3rem !important;
  }

  .padding-row {
    padding-top: 1rem !important;
  }
}

.cryptedmail:after {
  content: attr(data-name) "@" attr(data-domain) "." attr(data-tld);
}

.profile-image {
  width: 100%;
  height: auto;
  padding: 0 2.5rem;
}

@media screen and (max-width: 1200px) {
  .profile-image {
    padding: 0 1rem !important;
  }
}

@media screen and (max-width: 991px) {
  .profile-image {
    padding: 0 .5rem !important;
  }
}

@media screen and (max-width: 767px) {
  .profile-image {
    width: 30% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 575px) {
  .profile-image {
    width: 50% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0 !important;
  }
}

.h_iframe {
  background-color: #f6f6f9;
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  margin-bottom: 10px;
  height: 0;
}

.h_iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.heart {
  transition: 0.3s;
}

.heart:hover {
  color: red !important;
}

.publication-title {
  font-weight: 500 !important;
  font-size: 1.2rem !important
}

.author-image {
  width: 100px;
  height: 100px;
  -webkit-border-radius: 100px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 100px;
  -moz-background-clip: padding;
  border-radius: 100px;
  background-clip: padding-box;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  background-position: center center;
}

.author-name {
  font-weight: 400;
  font-size: .9rem !important;
  line-height: 1.4 !important;
  margin-bottom: 3px !important;
  text-align: center;
}

.affiliation-name {
  font-weight: 300;
  font-size: .85rem !important;
  line-height: 1.4 !important;
  text-align: center;
}

.img-responsive {
  display: block;
  width: 95%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 0 !important;
}

.section-title {
  font-weight: 500 !important;
  font-size: 1rem !important
}

.metadata>a {
  margin-right: 8px !important;
}

.metadata>a>i {
  padding-right: 4px !important;
}

.publication-title {
  font-weight: 500 !important;
  font-size: 1.2rem !important
}

.author-image {
  width: 100px !important;
  height: 100px !important;
  -webkit-border-radius: 100px !important;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 100px !important;
  -moz-background-clip: padding;
  border-radius: 100px !important;
  background-clip: padding-box;
  margin-left: auto;
  margin-right: auto;
  background-size: cover;
  background-position: center center;
}

.author-name {
  font-weight: 400;
  font-size: .9rem !important;
  line-height: 1.4 !important;
  margin-bottom: 3px !important;
  text-align: center;
}

.affiliation-name {
  font-weight: 300;
  font-size: .85rem !important;
  line-height: 1.4 !important;
  text-align: center;
}

.publication-image {
  display: block !important;
  width: 95% !important;
  max-width: 500px !important;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-weight: 500 !important;
  font-size: 1rem !important
}

.metadata>a {
  margin-right: 8px !important;
}

.metadata>a>i {
  padding-right: 4px !important;
}

.coauthor {
  font-weight: 200 !important;
}

a>.coauthor:hover {
  font-weight: 400 !important;
}

.archive-container {
  border: .5px solid #999;
  cursor: pointer;
}

.archive-container-inner {
  padding: 0 15px 15px 15px;
}

.archive-title {
  font-size: .9rem !important;
  font-weight: 500;
  line-height: 1.3;
  margin: 15px 0 7px 0 !important;
}

.archive-img {
  width: 100%;
  height: auto;
}

.archive-description {
  font-size: .85rem !important;
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 10px 0 !important;
}

.modal-title {
  font-size: 1.15rem !important;
  line-height: 1.2;
}

.modal-description {
  padding-top: 7px;
  font-size: .95rem !important;
  line-height: 1.3;
  margin-bottom: 0 !important;
}

.modal-link {
  font-size: .9rem !important;
  padding-top: 1rem !important;
}

.modal-link>a {
  padding-bottom: 1rem !important;
  display: inline-block;
}

.modal-header {
  padding: 1.25rem 1.25rem 0 1.25rem !important
}

.modal-body {
  padding: 1.25rem !important
}

.modal-body>p {
  font-size: .95rem !important
}

.modal-content {
  border-radius: 0 !important;
}

.tags a {
  display: inline-block;
  height: 1.2rem;
  line-height: 1.1rem;
  position: relative;
  margin: 0 .1rem .1rem 0;
  padding: 0 .4rem;
  border-radius: .65rem;
  color: #555 !important;
  background-color: #eeeeee;
  font-size: .75rem;
  text-decoration: none;
  font-weight: 400 !important;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  pointer-events: none;
  cursor: default;
}

.tags a:before {
  content: "# "
}

.view-all {
  font-size: .85rem;
  font-weight: 500 !important;
}

.head-card {
  width: 100%;
  padding: 1rem 0;
}

.card-active .floating:before {
  opacity: 1;
  transition: 500ms;
}

.floating {
  margin: auto;
  width: 100%;
  height: auto;
  box-shadow: -20px 14px 35px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  border-radius: 8px;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  background: #fff;
  transform: rotateX(17deg) rotateY(18deg);
}

.thickness {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  position: absolute;
  background: linear-gradient(145deg, #999999, #666666);
  transform: translateZ(-4px);
}

.thickness:nth-child(2) {
  transform: translateZ(-8px);
}

.thickness:nth-child(3) {
  transform: translateZ(-11px);
}

.logo img {
  width: 17px;
  height: 17px;
  margin: 0 4px 3px 2px;
}

.logo span {
  white-space: nowrap;
}

.flag {
  width: 27px;
  height: 27px;
  margin: 0 0 3px 1px;
}

.footer-text {
  font-size: .9rem !important;
  font-weight: 300 !important;
}

.friend-text {
  font-size: .875rem !important;
  font-weight: 300 !important;
}

/* main projects */

.paper-container,
.paper {
  width: 170px;
}

@media (min-width: 992px) {

  .paper-container,
  .paper {
    width: 200px;
  }
}

@media (min-width: 1560px) {

  .paper-container,
  .paper {
    width: 230px;
  }
}

.paper-title {
  text-align: center;
  font-size: 10px;
  margin-top: 5px;
  color: #666;
  line-height: 1.1;
}

.scroller-inner {
  padding-block: .5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.scroller {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg,
      transparent,
      white 8%,
      white 92%,
      transparent);
  mask: linear-gradient(90deg,
      transparent,
      white 8%,
      white 92%,
      transparent);
}

.scroller .scroller-inner {
  width: max-content;
  flex-wrap: nowrap;
  animation: scroll var(--_animation-duration, 40s) var(--_animation-direction, forwards) linear infinite;
}

.scroller .scroller-inner:hover {
  animation-play-state: paused;
}

.scroller {
  --_animation-direction: reverse;
  --_animation-duration: 40s;
}

@keyframes scroll {
  to {
    transform: translate(calc(-50% - 0.5rem));
  }
}

.demo-link {
  font-size: 90%;
  border: 1px solid #000;
  padding: 1px 5px 2px 5px;
  border-radius: 5px;
  font-weight: 400;
  white-space: nowrap;
}

.project-venue {
  background-color: #ebebeb;
  margin-left: 5px;
  font-weight: 400;
  font-size: 90%;
  padding: 1px 3px;
  border-radius: 5px;
  white-space: nowrap;
}