/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  color: #e0e0e0;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  color: #ffffff;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
  color: #ffffff;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.CodeMirror {
    font-size: .8em;
    height: auto;
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
}

.CodeMirror-scroll {
    overflow-y: hidden;
    overflow-x: auto;
    background-color: #2a2a2a !important;
}

.form-control {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
    color: #e0e0e0 !important;
}



#header_img {
    margin-top: 2em;
    margin-bottom: 1em;
}

.list-inline {
	list-style: none;
	margin-left: -0.5em;
	margin-right: -0.5em;
	padding-left: 0;
}

.list-inline > li {
	display: inline-block;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

.author-table, th, td {
    table-layout: fixed;
    vertical-align: top;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    width: auto;
    min-width: 50%;
    padding: 3px;
    margin-bottom: 15px;
}

#author-row {
    line-height: 1.5 !important;
}

#author-row .col-md-12 {
    line-height: 1.5 !important;
}

#author-row a {
    font-size: 14px;
    color: #99ccff !important;
}

#author-row {
    text-align: center !important;
}

#author-row .col-lg-12 {
    text-align: center !important;
}

#author-row a:hover {
    color: #f09228 !important;
}


.video-compare-container {
  width: 63%;
  margin: 0 auto;
  position: relative;
  display: block;
  line-height: 0;
}

.video {
  width: 100%;
  height: auto;
  position: relative;
  top: 0;
  left: 0;
}

.videoMerge {
  position: relative;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: block;
  margin: 0 auto;
  background-size: cover;
}

.cropped-video{
    width: 100%;
    overflow:hidden;
    display:block;
}

.video-list ul li {
  position: relative;
  padding-bottom: 55%;
  overflow: hidden;
}

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

/* TL;DR Styles */
.tldr-container {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.tldr-text {
  color: #e0e0e0;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 10px 0;
}

.tldr-text:last-child {
  margin-bottom: 0;
}

/* Video Gallery Styles */
.video-gallery-fullwidth {
  margin: 10px -80px 30px -80px;
  padding: 10px 80px;
  background: #1a1a1a;
}

/* Video Carousel Styles */
.video-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.15);
  background: #1a1a1a;
  height: 50vh;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 500%; /* 5개 슬라이드 */
  height: 100%;
}

.carousel-slide {
  width: 20%; /* 100% / 5 slides */
  flex-shrink: 0;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.carousel-slide::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 22px solid rgba(255, 255, 255, 0.8);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 6;
}

/* Pause icon (two bars) when video is playing */
.carousel-slide:not(.paused)::after {
  border: none;
  width: 6px;
  height: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 12px 0 0 rgba(255, 255, 255, 0.8);
  transform: translate(-9px, -50%);
}

.carousel-slide:hover::before,
.carousel-slide:hover::after {
  opacity: 1;
}

.carousel-slide.paused::before {
  opacity: 1;
}

.carousel-slide.paused::after {
  opacity: 1;
}

.carousel-video {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}

.carousel-video::-webkit-media-controls-overlay-play-button {
  opacity: 1;
  pointer-events: auto;
}

.carousel-video:hover::-webkit-media-controls-overlay-play-button {
  opacity: 1;
  display: block;
}

/* Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(128, 128, 128, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.carousel-nav:hover {
  background: rgba(160, 160, 160, 0.9);
  transform: translateY(-50%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* Dots Indicator */
.carousel-dots {
  text-align: center;
  margin-top: 5px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #1772d0;
  transform: scale(1.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .video-carousel {
    max-width: 95%;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }
}

/* Dark theme image adjustments */
img[src*="github.png"] {
  filter: invert(1);
}

/* Paper/Code button hover adjustments */
.nav-pills > li > a:hover,
.nav-pills > li > a:focus {
  background-color: #333 !important;
}


