/* =========================================
   Globales Layout
========================================= */

:root {
  --bs-primary: #ff6600;
  --bs-secondary: #0099ff;

}

.text-primary {
  color: #ff6600 !important;
}

body {

  margin: 0;
  color: #fff;
}

#page-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 3%;
}

/* =========================================
   Content
========================================= */

.content {
  margin: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* =========================================
   Fullscreen Intro
========================================= */

.center-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

#welcome-image {
  height: 50vh;
  max-height: 100%;
  width: auto;
  opacity: 0;
  animation: logoIntro 1s ease-out forwards;
}

#button-group {
  animation: buttonIntro 3s;
  margin-top: 1rem;
}

/* Animationen */
@keyframes logoIntro {
  from {
    transform: translateY(-2cm);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes buttonIntro {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================
   Buttons
========================================= */

.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #ff8533 !important;
  border-color: #ff8533 !important;
  color: #fff !important;
}

.btn-outline-secondary {
  color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--bs-secondary) !important;
  color: #fff !important;
}

/* =========================================
   About Us / Sections
========================================= */
html,
body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

#page-content {
  flex: 1;
  /* nimmt den restlichen Platz ein */
}

footer {
  flex-shrink: 0;
  /* Footer wird nicht kleiner als Inhalt */
}

#about-us {
  background-color: rgb(70, 54, 48);
  border-radius: 2rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  color: #fff;
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: var(--bg) center/cover no-repeat;
  filter: blur(25px) brightness(0.7);
  z-index: 0;
}

.profile-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 1rem;
}

.profile-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* =========================================
   Footer
========================================= */

#footer {
  margin-top: 3rem;
  width: 100%;
  text-align: center;
}

/* =========================================
   Codebox
========================================= */

.codebox {
  font-family: "Fira Code", "Source Code Pro", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  background: linear-gradient(180deg, rgba(16, 18, 22, 0.98), rgba(10, 12, 14, 0.98));
  color: #d6deff;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.6), inset 0 -2px 0 rgba(255, 255, 255, 0.02);
  overflow: auto;
  white-space: pre-wrap;
  line-height: 1.45;
  position: relative;
  min-height: 6rem;
}

.codebox__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  top: -2.2rem;
  left: 1rem;
  font-size: 0.85rem;
  color: #98a0ff;
  background: transparent;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.codebox__filename {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.codebox__meta {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
}

.codebox__pre {
  counter-reset: linenumber;
  padding-left: 3.5rem;
}

.codebox__pre>code {
  display: block;
}

/* =========================================
   Policy / Privacy
========================================= */

#policy-container {
  background-color: #333333;
}

#policy-content {
  margin: 1%;
}



/* Banner unter Navbar fixieren */
#\:2\.container {
  position: fixed !important;
  top: 56px !important;
  /* Höhe Navbar */
  left: 0;
  width: 100% !important;
  z-index: 1050 !important;
  filter: invert(1) hue-rotate(180deg) brightness(0.7);
}

#google_translate_element {
  filter: invert(1) hue-rotate(180deg) brightness(0.7);
}