#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#view-container {
  flex: 1;
  min-height: 60vh;
}

.hidden {
  display: none !important;
}

h1 {
  line-height: 64px;
  position: relative;
}

#mainlink {
  color: #1b323e;
  display: inline-block;
  text-decoration: none;
}

@media (max-width: 768px) {
  .header-title {
      display: none;
  }
}

#logo {
  width: 64px;
  height: auto;
  margin-right: 8px;
}

.language-switcher {
  display: flex;
  gap: 10px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.language-flag {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.language-flag.active {
  opacity: 1;
  pointer-events: none;
}

.flag-icon {
  width: 32px;
  height: auto;
  display: block;
}

footer {
  background-color: #f8f9fa;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #e7e7e7;
}

.footer-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  display: inline;
  margin: 0 15px;
}

.footer-links a {
  color: #007bff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 10px;
  font-size: 14px;
  color: #6c757d;
}


/* Basis-Styling für den Formularcontainer */
.module-content-box {
  max-width: 800px;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Überschrift */
.module-content-box h2 {
  color: #333;
  text-align: center;
}

/* Textabsätze */
.module-content-box p {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Label-Styling */
.module-content-box .form-group label {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #333;
  font-weight: 600;
  display: block;
}

/* Input-Felder */
.module-content-box .form-control,
.module-content-box .form-control-file {
  font-size: 0.95rem;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s ease;
}

/* Fokus-Styling für Input-Felder */
.module-content-box .form-control:focus,
.module-content-box .form-control-file:focus {
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* Farbpicker-Styling */
.module-content-box input[type="color"] {
  height: 40px;
  width: 40px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 5px; /* Optional, kannst du auf 0 setzen für scharfe Kanten */
  cursor: pointer;
  transition: border-color 0.3s ease;
  display: inline-block; /* Für den Fall, dass es nebeneinander stehen soll */
}

.module-content-box input[type="color"]:focus {
  border-color: #007bff;
}

/* Checkbox-Styling */
.module-content-box .form-check-label {
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  margin-left: 0.3rem;
}

.module-content-box .form-check-input {
  margin-right: 0.5rem;
  cursor: pointer;
}

/* Abstand vor der Checkbox-Gruppe */
.module-content-box .form-check {
  margin-top: 1rem;
}

/* Upload-Button für Datei */
.module-content-box .form-control-file {
  padding: 0.5rem;
  border: 1px dashed #ccc;
  background-color: #f8f8f8;
  color: #333;
}

/* Button-Styling */
.module-content-box .btn-primary {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.module-content-box .btn-primary:hover {
  background-color: #0056b3;
}

/* Fehler- und Erfolgsnachricht */
.module-content-box .alert {
  font-size: 0.9rem;
  text-align: center;
  padding: 0.75rem;
  border-radius: 5px;
  margin-top: 1rem;
}

/* Hinweistext hervorheben */
.module-content-box strong {
  color: #007bff;
}

/* Responsive Anpassungen */
@media (max-width: 576px) {
  .module-content-box {
    padding: 1.5rem;
  }
}

/* Überschrift */
h1.product-title {
  line-height: 64px;
  font-size: 30px;
  margin-bottom: 0px;
  color: #333;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

h1.product-title img {
  max-height: 44px;
  margin-right: 4px;
}

h1.product-title + .product-version {
  margin-top: -10px;
}

#install-app-btn {
  font-size: 14px;
  color: #007bff;
  cursor: pointer;
  text-decoration: none;
  display: none; /* hidden by default */
}
#install-app-btn:hover {
  text-decoration: underline;
}


/* Project Navi */
#project-navigation {
  background: linear-gradient(to bottom, #fff, #f9f9f9);
  padding: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  text-align: center;
}

#project-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

#project-navigation li {
  flex: 0 1 auto;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border-radius: 8px;
}

#project-navigation li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  padding: 0.5rem;
}

#project-navigation li img {
  width: auto;
  height: 40px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

#project-navigation li span {
  font-size: 0.9rem;
  font-weight: bold;
}

#project-navigation li.active {
  background-color: #007bff;
  color: #fff;
}

#project-navigation li.active a {
  color: #fff;
}

#project-navigation li.active img {
  transform: scale(1.1);
}

#project-navigation li:hover {
  transform: translateY(-3px);
  background-color: #f1f1f1;
}




/* Documentation */
#firstdevkit_documentation {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  color: #333;
}

#firstdevkit_documentation h2, #firstdevkit_documentation h3 {
  color: #007bff;
}

#firstdevkit_documentation h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
}

#firstdevkit_documentation h3 {
  font-size: 1.6rem;
  margin-top: 1.5rem;
  margin-bottom: 0.2rem;
}

#firstdevkit_documentation p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.0rem;
}

#firstdevkit_documentation ul {
  list-style-type: disc;
  padding-left: 1.5rem;
}

#firstdevkit_documentation li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

#firstdevkit_documentation code {
  background-color: #f1f1f1;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #d63384;
}

#firstdevkit_documentation pre {
  background-color: #f1f1f1;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  overflow-x: auto;
  color: #d63384;
}

#firstdevkit_documentation table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#firstdevkit_documentation th, #firstdevkit_documentation td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#firstdevkit_documentation th {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}

#firstdevkit_documentation tr:nth-child(even) {
  background-color: #f9f9f9;
}

#firstdevkit_documentation tr:hover {
  background-color: #f1f1f1;
}

#firstdevkit_documentation td {
  color: #333;
}

#firstdevkit_documentation caption {
  font-size: 1rem;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 0.5rem;
  text-align: left;
}
