@font-face {
 font-family: 'morris'; /* Gewünschter Name */
 src: url('MorrisRoman-Black.woff2') 
           format('woff'), 
      url('MorrisRoman-Black.ttf') 
           format('truetype');
}
 .rectpos {
	    fill: white;
	    opacity:0;
	  }
	  
h1 {
    font-family: 'morris', Arial, sans-serif;
}

a {
    text-decoration: underline;
    color: #F5F5DC;
    cursor: pointer;
}
a.squiffy-link
{
    text-decoration: underline;
    color: #F5F5DC;
    cursor: pointer;
}
a.squiffy-link.disabled
{
    text-decoration: inherit;
    color: inherit !important;
    cursor: inherit;
}
a.squiffy-header-link
{
    text-decoration: underline;
    color: #F5F5DC;
    cursor: pointer;
}
div#squiffy-container
{
	max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-family: Georgia, serif;
}
body
{
	background-color: #000;
	color: #DEB887;
}

div#squiffy-header
{
    font-size: 14px;
    text-align: right;
}
div#squiffy
{
    font-size: 18px;
}
hr {
    border: 0;
    height: 0;
	color: #000;
    border-top: 0px solid rgba(0, 0, 0, 0.1);
    border-bottom: 0px solid rgba(255, 255, 255, 0.3);
    margin-top: 16px; margin-bottom: 16px;
}

div#mapModal {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      border: 2px solid #444;
      width: 504px;
      height: 504px;
      background: black;
      z-index: 1000;
}

#closeMapBtn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: black;
      color: #DEB887;
      border: none;
      cursor: pointer;
      z-index: 2001;
}

canvas {
      display: block;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  position: relative;
  background: url('rolle.png') no-repeat center center;
  background-size: contain;
  width: 640px;
  height: 630px;
  box-sizing: border-box;
  color: #3b2b1a;
  font-family: 'morris','Papyrus', 'IM Fell English', serif;
  font-size: 22px;
  text-shadow: 1px 1px 0 #f5deb3;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  border: none;
}

/* Kopfzeile mit zwei Spalten */
.scroll-header {
  position: absolute;
  top: 100px;      /* etwas unter dem oberen Rand der Schriftrolle */
  left: 80px;
  right: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 26px;              /* etwas größer */
  color: #3b1d0f;               /* dunkleres Braun für Kontrast */
  text-shadow: 1px 1px 0 #f5deb3; /* leicht goldener Schein */
  border-bottom: 3px solid rgba(90, 60, 20, 0.4);
  padding-bottom: 6px;
  font-family: 'morris','IM Fell English SC', 'Papyrus', serif; /* rustikale Schrift */
  letter-spacing: 1px;
}

.content-left {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  border-right: 2px solid #8b5a2b; /* Linie zwischen Spalten */
  padding-right: 10px;              /* Abstand Text ↔ Linie */
}

.content-right {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
  padding-left: 10px; /* Abstand Linie ↔ Text */
}

/* Der scrollbare Inhaltsbereich */
.scroll-content {
  position: absolute;
  top: 140px;     /* etwas unterhalb der Überschriften */
  bottom: 120px;  /* vor der unteren Holzrolle stoppen */
  left: 80px;
  right: 80px;
  display: flex;
  gap: 20px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #b68b5e #f5deb3;
}

/* Chrome/Edge Scrollbar */
.scroll-content::-webkit-scrollbar {
  width: 8px;
}
.scroll-content::-webkit-scrollbar-track {
  background: #f5deb3;
  border-radius: 4px;
}
.scroll-content::-webkit-scrollbar-thumb {
  background: #b68b5e;
  border-radius: 4px;
}
.scroll-content::-webkit-scrollbar-thumb:hover {
  background: #8b5a2b;
}

/* Linke und rechte Spalte im Inhalt */
.content-left, .content-right {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

/* Schließen-Button */
.close-btn {
  position: absolute;
  top: 30px;
  right: 20px;
  background: none;
  border: none;
  color: #3b2b1a;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover {
  color: #8b4513;
}
