/* Define CSS variables for easy theming */
:root {
  --primary-color: #2B333F;
  --background-color: #ffffff;
  --accent-color: #0E132B;
  --link-color: #0077aa;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --max-width: 1080px;
}

/* Global Styles */
body {
  font-family: var(--font-stack);
  background-color: var(--background-color);
  color: var(--primary-color);
  margin: 0px auto;  /* Center the content */
  max-width: var(--max-width); /* Restrict maximum width */
  padding: 20px;
  line-height: 1.6;
}

/* Header Section */
.title {
  text-align: center;
  padding: 20px 0;
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0!important;
}

.abstract {
  max-width: 720px;
  margin: 40px auto;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: 500;
}

h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  padding-bottom: 5px;
}

/* Navigation and Links */
.authors, .affiliations, .links {
  text-align: center;
  margin: 15px 0;
}

a {
  color: var(--link-color);
  font-weight: 500;
}

.affiliations a {
  color: var(--accent-color);
}

a:hover {
  text-decoration: underline;
  color: var(--accent-color);
}

.authors a,
.affiliations a,
.links a {
  margin: 0 10px;
}


/* Teaser Section */
.teaser {
  text-align: center;
  margin: 20px 0;
}

.teaser img,
.teaser video {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Code blocks */
code, pre {
  background-color: #f4f4f4;
  padding: 8px;
  border-radius: 5px;
  font-size: 0.9rem;
  overflow-x: auto;
}
.external-link.button  {
  background-color: #ffffff;
  color: var(--accent-color);
}

.external-link.button:hover {
  color: #ffffff;
  background-color: var(--accent-color);
  text-decoration: none;
}
.external-link.button span {
  transition: color 0.3s ease;
}