/* CSS Document */
@import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", Times, serif;
  font-weight: 300;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
  color: #333;
}

/* Header Styles */
.page-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-title {
  font-size: 24px;
  font-weight: 600;
  color: #224b8d;
  margin: 0;
  font-family: "Google Sans", "Open Sans", sans-serif;
}

.header-nav {
  display: flex;
  gap: 30px;
}

.header-nav a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.3s ease;
  font-family: "Google Sans", "Open Sans", sans-serif;
}

.header-nav a:hover {
  color: #224b8d;
}

/* Content Styles */
.content {
  max-width: 1000px;
  padding: 10px 50px;
  margin: 0 auto;
  background-color: #ffffff;
  font-family: "Google Sans", "Open Sans", sans-serif;
}

/* Conference Badge */
.conference-badge {
  display: inline-block;
  background-color: transparent;
  color: #224b8d;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 600;
  margin: 10px 0 20px 0;
  border: 2px solid #224b8d;
}

/* Link Buttons */
.link-button {
  display: inline-block;
  background-color: #224b8d;
  color: white !important;
  padding: 10px 25px;
  margin: 5px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.link-button:hover {
  background-color: #1a3a6d;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0px 0 20px 0;
  color: #333;
}

/* BibTeX Box */
.bibtex-box {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  overflow-x: auto;
  margin: 20px 0;
  line-height: 1.6;
}

/* Images and Videos */
.teaser-image {
  text-align: center;
  margin-top: 25px;
}

.teaser-image img {
  max-width: 100%;
  height: auto;
}

.framework-image {
  text-align: center;
  margin: 25px 0;
}

.framework-image img {
  max-width: 100%;
  height: auto;
}

.video-container {
  text-align: center;
  margin: 20px 0;
}

.video-container video {
  max-width: 100%;
  height: auto;
}

/* Text Styles */
.abstract-text {
  font-size: 1.15em;
  line-height: 1.8;
  text-align: justify;
  color: #333;
}

.framework-text {
  font-size: 1.15em;
  line-height: 1.8;
  text-align: justify;
  color: #333;
  margin-top: 15px;
}

/* Footer Styles */
.page-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #e0e0e0;
  padding: 30px 0;
  margin-top: 40px;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 50px;
  text-align: center;
}

.footer-content p {
  margin: 10px 0;
  color: #666;
  font-size: 0.9em;
  line-height: 1.6;
}

.footer-credits {
  font-size: 0.85em;
  color: #888;
}

.footer-content a {
  color: #224b8d;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* General Styles */
.contentblock {
  width: 950px;
  margin: 0 auto;
  padding: 0;
  border-spacing: 25px 0;
}

.contentblock td {
  background-color: #fff;
  padding: 25px 50px;
  vertical-align: top;
  border-radius: 15px;
}

a, a:visited {
  color: #224b8d;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1a3a6d;
}

#authors {
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.6;
}

#authors a {
  color: #224b8d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom 0.3s ease;
  margin: 0 5px;
}

#authors a:hover {
  border-bottom: 1px solid #224b8d;
}

#conference {
  text-align: center;
  margin-bottom: 20px;
  font-style: italic;
}

h1 {
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: #2c3e50;
  margin-bottom: 20px;
}

h2 {
  font-size: 28px;
  font-weight: 400;
  color: #2c3e50;
}

code {
  display: block;
  padding: 15px;
  margin: 10px 0;
  background-color: #f8f9fa;
  border-left: 3px solid #224b8d;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  line-height: 1.5;
}

p {
  line-height: 1.8;
  text-align: justify;
  color: #333;
}

p code {
  display: inline;
  padding: 2px 6px;
  margin: 0;
  background-color: #f0f0f0;
  border-radius: 3px;
}

#teasers {
  margin: 0 auto;
}

#teasers td {
  margin: 0 auto;
  text-align: center;
  padding: 5px;
}

#teasers img {
  width: 250px;
}

#results img {
  width: 133px;
}

#seeintodark {
  margin: 0 auto;
}

#sift {
  margin: 0 auto;
}

#sift img {
  width: 250px;
}

.downloadpaper {
  padding-left: 20px;
  float: right;
  text-align: center;
}

.downloadpaper a {
  font-weight: bold;
  text-align: center;
}

.teaser-img {
  width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.teaser-gif {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.summary-img {
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.video-iframe {
  width: 1000;
  height: 800;
  margin: auto;
  display: block;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center
}

.image {
  flex-basis: 40%
}

.text {
  font-size: 20px;
  padding-left: 20px;
}

.center {
  margin-left: auto;
  margin-right: auto;
}

.boxshadow {
  border: 1px solid;
  padding: 10px;
  box-shadow: 2px 2px 5px #888888;
}

.spacertr {
  height: 8px;
}

.spacertd {
  width: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .content, .header-content, .footer-content {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-nav {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  h1 {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 1.5em;
  }
}