/* =====================
   GLOBAL
===================== */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ccdee0;
  overflow: hidden; /* verhindert doppeltes Scrollen */
}

/* =====================
   VARIABLES
===================== */
:root {
  --topbar-height: 180px;
  --brand-blue: #007bff;
  --brand-blue-dark: #0056b3;
}

/* =====================
   TOPBAR (Header + Nav)
===================== */
.topbar {
  background-color: var(--brand-blue);
  color: white;
}

header {
  text-align: center;
  padding: 85px 20px 20px;
}

nav ul {
  list-style: none;
  padding: 10px 0 15px;
  margin: 0;
  text-align: center;
  background-color: var(--brand-blue);
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 16px;
  display: inline-block;
}

nav ul li a:hover {
  background-color: var(--brand-blue-dark);
  border-radius: 20px;
}

/* =====================
   MAIN LAYOUT
===================== */
main {
  display: flex;
  height: calc(100vh - var(--topbar-height));
  width: 100%;
}

/* =====================
   SIDEBAR
===================== */
.sidebar {
  width: 18%;
  min-width: 220px; /* verhindert zu schmale Sidebar */
  background-color: #f1f1f1;
  padding: 10px;
  overflow-y: auto;
}

.sidebar a {
  display: block;
  background-color: #e2e2e2;
  color: #333;
  text-decoration: none;
  padding: 12px;
  margin: 6px 0;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
}

.sidebar a:hover {
  background-color: #d0d0d0;
}

/* =====================
   CONTENT
===================== */
.content {
  width: 82%;
  height: 100%;
  padding: 0;
}

/* =====================
   IFRAME
===================== */
iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: white;
  display: block;
}

/* =====================
   FOOTER
===================== */
footer {
  background-color: var(--brand-blue);
  text-align: center;
  padding: 10px;
  color: white;
}
