body {
  margin: 0;
  font-family: 'Noto Sans', sans-serif;
  background-color: #f1efeb;
}

.sitebody {
  margin-left: 360px;
  margin-right: 360px;
  transition: margin-left 0.3s ease;
  display: flex;
  padding-top: 6px;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  overflow: visible;
}

.sitebody.expanded {
  margin-left: 0;
  width: 100%;
}

.header-nav {
  top: 10px;
  margin: 0 auto;
  width: calc(100% - 72px);
  height: 40px;
  background-color: #fff;
  border: 1px solid #e2e2e2;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: sticky;
  z-index: 100;
  transition: border-color 0.3s ease;
  margin-bottom: 5px;
}

.header-nav:hover {
  border-color: #ffdd93;
}

.header-nav-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-nav-right {
  display: inline-flex;
  align-items: center;
}

.header-nav-btn {
  display: inline-block;
  font-size: 10px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
  opacity: 0.5;
  margin-left: 36px;
  transition: transform 1s ease, text-shadow 2s ease;
  transform-origin: center;
}

.header-nav-btn:hover {
  transform: scale(1.0833);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 1;
  border-bottom: none;
}

.header-nav-pagination {
  font-size: 11px;
  opacity: 0.5;
  font-style: italic;
  margin-right: 36px;
}

#avatar-container {
  padding-top: 3px;
  padding-bottom: 3px;
}

#avatar-container img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ffdd93, 0 0 0 2px #e2e2e2;
  opacity: 0.69;
  transition: opacity 0.3s ease;
}

#avatar-container img:hover {
  opacity: 1;
  transform: scale(1.36);
  transition: transform 1s ease, text-shadow 2s ease;
  transform-origin: center;
}

.title-bar {
  border-top: 1px solid #e2e2e2;
  border-left: 1px solid #e2e2e2;
  border-right: 1px solid #e2e2e2;
  padding: 5px 10px;
  background-color: #f9f9f9;
  font-size: 18px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.titlebar-name {
  display: inline-flex;
  align-items: center;
}

.titlebar-icon {
  opacity: 0.7;
  margin-right: 16px;
  height: 24px;
  width: 24px;
  transition: all 0.5s ease;
  justify-content: space-between;
  position: relative;
}

.titlebar-name-text {
  font-weight: 300;
  font-size: 17px;
}

.titlebar-buttons-right {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  margin-right: 25px;
}

.titlebar-buttons {
  display: inline-block;
  font-size: 12px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
  opacity: 0.5;
  transition: transform 1s ease, text-shadow 2s ease;
  transform-origin: center;
}

.titlebar-buttons:hover {
  transform: scale(1.0833);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 1;
  border-bottom: none;
}

.main-container {
  margin: 10px auto;
  width: calc(100% - 72px);
}

.page-content {
  border: 1px solid #e2e2e2;
  padding: 10px 50px;
  background-color: #fff;
  font-size: 13px;
  padding-top: 20px;
  transition: border-color 0.3s ease;
}

.button {
  display: inline-block;
  font-size: 24px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
  border-left: 1px dotted #000;
  border-right: 1px dotted #000;
  border-top: 1px dotted #000;
  opacity: 0.5;
  border-radius: 14px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  width: 360px;
  height: 50px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  margin-left: auto;
}

.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

.donation {
  display: inline-block;
  font-size: 24px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
  border-left: 1px dotted #000;
  border-right: 1px dotted #000;
  border-top: 1px dotted #000;
  opacity: 0.06;
  border-radius: 14px;
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  width: 360px;
  height: 50px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
  margin-left: auto;
}

.donation span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.5s;
}

.donation span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.donation:hover span {
  padding-right: 25px;
}

.donation:hover span:after {
  opacity: 1;
  right: 0;
}

.link-style {
  display: inline-block;
  font-size: 10px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
  opacity: 0.5;
  transition: transform 1s ease, text-shadow 2s ease;
  transform-origin: center;
}

.link-style:hover {
  transform: scale(1.1);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 1;
  border-bottom: none;
  margin-left: 1px;
}

.ipdata {
  display: inline-block;
  font-size: 10px;
  color: #000;
  text-decoration: none;
  border-left: 1px dotted #000;
  opacity: 0.5;
  transition: transform 1s ease, text-shadow 2s ease;
  transform-origin: center;
}

.ipdata:hover {
  transform: scale(1.1);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 1;
  border-left: none;
  margin-left: 1px;
}

.footer-nav {
  margin: 0 auto 36px;
  width: calc(100% - 72px);
  height: 40px;
  margin-top: 5px;
  border: 1px solid #e2e2e2;
  background-color: #fff;
  display: flex;
  clear: both;
  justify-content: space-between;
  padding: 10px;
  align-items: center;
  font-size: 12px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.footer-nav:hover {
  border-color: #ffdd93;
}

.footer-buttons {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  margin-right: 16px;
}

.footer-buttons-right {
  display: inline-block;
  font-size: 9px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px dotted #000;
  opacity: 0.5;
  transition: transform 1s ease, text-shadow 2s ease;
  transform-origin: center;
}

.footer-buttons-right:hover {
  transform: scale(1.1);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  opacity: 1;
  border-bottom: none;
}

.footer-nav-left {
  padding-left: 5px;
  font-size: 11px;
  opacity: 0.8;
}

.main-container:hover .title-bar,
.title-bar:hover {
  border-top-color: #ffdd93;
  border-left-color: #ffdd93;
  border-right-color: #ffdd93;
  border-bottom-color: #e2e2e2;
}

.main-container:hover .page-content,
.page-content:hover {
  border-left-color: #ffdd93;
  border-right-color: #ffdd93;
  border-bottom-color: #ffdd93;
  border-top-color: #e2e2e2;
}

.lang-dropdown-container {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #000;
  outline: none;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e2e2e2;
  list-style: none;
  padding: 5px 0;
  margin: 0;
  min-width: 150px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  display: block !important;
  z-index: 1000;
  align-items: center;
}

.lang-dropdown li a {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  text-decoration: none;
  color: #000;
}

.lang-dropdown li a:hover {
  background-color: #f9f9f9;
}

.lang-dropdown img {
  margin-right: 15px;
}

.lang-btn:focus,
.lang-btn:active {
  outline: none;
  box-shadow: none;
  border: none;
}

.header-nav-btn i,
.sidebar-footer-buttons i {
  text-decoration: none;
}

.iframe {
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {

  /* Seitenränder entfernen */
  .sitebody {
    margin-left: 0;
    margin-right: 0;
  }

  /* Header & Footer volle Breite */
  .header-nav,
  .footer-nav,
  .main-container {
    width: 100%;
  }

  /* Header kompakter */
  .header-nav {
    padding: 8px;
    height: auto;
  }

  /* Header Text ausblenden */
  .header-nav-pagination {
    display: none;
  }

  /* Titlebar umbrechen */
  .title-bar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .titlebar-buttons-right {
    margin-right: 0;
    gap: 15px;
  }

  /* Content schmaler padding */
  .page-content {
    padding: 15px;
    font-size: 14px;
  }

  /* Buttons responsive */
  .button,
  .donation {
    width: 100%;
    font-size: 18px;
  }

  /* Footer umbrechen */
  .footer-nav {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    height: auto;
  }
}

@media (max-width: 1200px) {
  .sitebody {
    margin-left: 40px;
    margin-right: 40px;
  }

  .page-content {
    padding: 20px 30px;
  }
}
