/* Allgemeine Styles */
body {
  margin: 0;
  font-family: "Merriweather", serif;
  background: linear-gradient(to bottom, #ff8c00, #f5f5dc 50%, #ff8c00);
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
  min-width: 1800px; /* Verhindert, dass das Fenster kleiner als 800px wird */
  overflow-x: auto;
}

/* Top-Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}

.hint-text {
  font-size: 14px;
  cursor: pointer;
  transition: font-size 0.3s ease;
  color: black; /* Hint-Text jetzt in Schwarz */
  position: absolute;
  left: 0;
}

.hint-text:hover {
  font-size: 16px;
}

/* Header */
.center-header {
  text-align: center;
  flex-grow: 1;
}

.center-header h1 {
  margin: 0;
  font-family: "Lobster", cursive;
  font-size: 2rem;
  color: firebrick; /* Center-Header in Firebrick */
}

.center-header span.clickable {
  cursor: pointer;
  text-decoration: none;
}

#uhr {
  font-size: 1rem;
  color: black; /* Uhr in Schwarz */
  text-align: right;
}

/* Footer */
.footer {
  background: transparent;
  color: black;
  text-align: center;
  padding: 0px;
  padding-bottom: 10px;
  padding-top: 10px;
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: calc(0.2vw + 0.5rem);
  z-index: 10;
}

.footer a {
  color: black;
  text-decoration: none;
}

.footer div {
  margin-top: 10px;
  font-size: 0.9rem;
  color: black;
}

/* Content Area */
.content {
  flex-grow: 1;
  margin: 40px auto;
  padding: 40px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  width: 66%; /* 2/3 der Seitenbreite */
  max-width: 960px;
  color: firebrick;
}

/* Scrollable Box */
.scrollable-box {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border: none;
  overflow-y: auto;
  height: calc(100vh - 120px);
  box-shadow: none;
  margin: 0;
  border-radius: 10px;
  color: black;
  font-size: calc(0.5vw + 0.5rem);
}

.language-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -75px;
  padding: 20px;
}

.language-flag {
  width: 40px;
  height: auto;
  margin: 0 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.language-flag:hover {
  transform: scale(1.1);
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 90%;
}

.hover-container {
  margin-bottom: 20px;
}

.default-text {
  display: block;
}

.hover-text {
  display: none;
}

.language-de .default-text {
  display: block;
}

.language-de .hover-text {
  display: none;
}

.language-hu .default-text {
  display: none;
}

.language-hu .hover-text {
  display: block;
}

.absatz-first {
  background-color: #f5e1b5;
  color: #000000;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.absatz-odd {
  background-color: #f5e1b5;
  color: #000000;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.absatz-even {
  background-color: #f9f1d1;
  color: #000000;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.absatz-odd,
.absatz-even {
  margin-top: 0;
  padding-top: 0;
}

.absatz-odd p,
.absatz-even p,
.absatz-odd ul,
.absatz-even ul,
.absatz-odd li,
.absatz-even li {
  margin: 0;
  padding: 0;
}

.absatz-first,
.absatz-even,
.absatz-odd {
  position: relative;
  padding: 10px;
}




/* Allgemeine Styles für die Container */
.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    height: calc(100vh - 60px); /* Höhe der Sidebar und Content zusammen */
    overflow: hidden; /* Verhindert, dass die Sidebar den Footer überlappt */
}

.sidebar {
    width: 250px; /* Breite der Sidebar */
    background-color: transparent; /* Hintergrund der Sidebar transparent */
    padding: 20px;
    position: sticky; /* Sidebar bleibt beim Scrollen oben */
    top: 60px; /* Abstand vom Header */
    height: calc(100vh - 60px); /* Höhe der Sidebar, sodass sie den Footer nicht überlappt */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.nav-button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background-color: firebrick;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-button:hover {
    background-color: #ff6347;
    transform: scale(1.05);
}

.content {
    flex-grow: 1; /* Nimmt den restlichen Platz ein */
    margin: 40px 20px; /* Abstand oben und rechts */
    padding: 0px 0px 80px 0px;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    max-width: calc(100% - 300px); /* Sicherstellen, dass der Inhalt den Platz nach der Sidebar einnimmt */
    color: firebrick;
}

.scrollable-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border: none;
    overflow-y: auto;
    height: calc(100vh - 120px); /* Platz für Header und Footer */
    box-shadow: none;
    margin: 0;
    border-radius: 10px;
    color: black;
}
.hidden {
    display: none;
}

ul {
    margin-left: 60px; /* Eingerückte Liste */
    padding-left: 20px; /* Abstände für die Listenelemente */
}

li {
    margin-bottom: 5px; /* Etwas Abstand zwischen den Listenelementen */
}

#headline {
font-size: 20px;
padding: 20px;
}