/*-- scss:defaults --*/

// Sass Variables
// https://quarto.org/docs/output-formats/html-themes.html#sass-variables

/* Colors */
$body-bg: #FFFFFF;
$body-color: rgb(55, 58, 60);
$link-color: rgb(22, 62, 100);

/* Fonts */
$font-family-sans-serif: "Source Sans Pro", -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
$font-size-root: 17px;

/* Navbar height */
.navbar {
  min-height: 50px !important;
}

/* Navbar logo size */
.navbar-logo {
  max-height: 40px !important;
  width: auto !important;
}

/* Fortschrittsbalken für das Scrollen */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: #5380DC;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Subtitle text alignment */
.subtitle.lead {
  text-align: center;
}

/* Kompaktere Value Boxen mit bslib */
.bslib-value-box .value-box-grid {
  padding: 10px 14px !important;
}

.bslib-value-box .value-box-value {
  font-size: 28px !important;
  text-align: center !important;
}

.bslib-value-box .value-box-title {
  font-size: 14px !important;
  text-align: center !important;
}

.bslib-value-box .value-box-showcase svg {
  width: 2rem !important;
  height: 2rem !important;
}

/* Langen Titel umbrechen statt Spalte breiter machen */
.quarto-listing table td:nth-child(2) {
  word-break: break-word !important;
  white-space: normal !important;
  max-width: 350px !important;
}

/* iFrame Design für das Platzhalter Fenster*/
.iframe-placeholder {
  background: #dce9f5;
  border: 1px solid #546F95;
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  margin: 16px 0;
}
.iframe-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.iframe-info {
  font-size: 13.5px;
  color: #4a4a45;
  max-width: 480px;
  line-height: 1.6;
  margin: 0;
}
.iframe-hint {
  font-size: 12px;
  color: #6b6b66;
  margin: 0;
}