/* =================== */
/* Sidebar Styling */
/* =================== */
#sidebar {
  text-align: center;
  padding: 2rem 1rem;
  background-color: white;
}

#sidebar h2 {
  text-align: left;
  margin-bottom: 0;
}

/* Hide the blurb on a small screen */
#blurb {
  display: none;
}

#collapse *:first-child {
  margin-top: 1rem;
}

.navbar-toggler {
  border: none;
  color: #1f5a37;
}

/* add the three horizontal bars icon for the toggle */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#sidebar.collapsed {
  width: 5rem; /* Adjust for collapsed state */
}

.sidebar-nav {
  padding-top: 1rem; /* Spacing for links */
}

.nav-pills .nav-link {
  color: #333;
}

.nav-pills .nav-link.active {
  color: #fff;
  background-color: #1f5a37;
}

.sidebar-header {
  font-size: 1em; /* Larger font for section headers */
  font-weight: bold; /* Bold font */
  color: #333; /* Dark grey text color */
}

@media (min-width: 48em) {
  #sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    text-align: left;
  }

  /* reveal the blurb on a large screen */
  #blurb {
    display: block;
  }

  /* Hide the toggle on a large screen */
  #toggle {
    display: none;
  }

  #collapse {
    display: block;
  }

  #collapse *:first-child {
    margin-top: 0;
  }

  #page-content {
    margin-left: 18rem;
    margin-right: 2rem;
    padding-bottom: 60px;
  }
}

/* =================== */
/* Content Styling  - general elements*/
/* =================== */

/* Background color for the landing page */
body {
  background-color: #f2f2ea; /* Light yellow-greenish color */
}

/* Style für den Header */
/* .header-container {
  background-color: #1F5A37;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding: 20px;
  text-align: center;
  color: white;
  overflow: hidden; 
} */

.header-container {
  background-color: #1f5a37;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100px;
  color: white;
}

.title-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
}

.header-title {
  text-align: center;
  flex-grow: 0;
  margin: -1;
}

.lang-switcher {
  position: absolute;
  right: 19px;
  top: 49%;
  transform: translateY(-51%);
}

.lang-link {
  margin-left: 10px;
  color: white;
  text-decoration: none;
  font-size: 1em;
  cursor: pointer;
}

.lang-link:hover {
  text-decoration: underline;
}



/* ====================  */
/* Content Styling - Indicator cards */
/* ====================  */

.home-text-block {
  text-align: justify;
  margin-bottom: 30px;
  font-size: 1.2em;
  color : black;
}

/* Title styling (Thema) */
.goal-title {
  font-size: 1.8em; /* Larger font size for title */
  font-weight: bold; /* Bold for emphasis */
  color: #1f5a37; /* Dark green color */
  margin-bottom: 10px; /* Spacing below the title */
}

.goal-label {
  font-size: 1.2em; /* Slightly larger than regular text */
  font-weight: bold; /* Bold for emphasis */
  color: #1f5a37; /* Dark green color */
  margin-bottom: 10px; /* Spacing below the label */
}

.goal-text {
  font-size: 1.2em; /* Slightly larger than regular text */
  margin-bottom: 20px; /* Spacing below the goal text */
  color: #555; /* Neutral text color */
}

/* Indicator label styling (e.g., "Indikator:") */
.indicator-label {
  font-weight: bold; /* Make the label bold */
  color: #1f5a37; /* Dark green for emphasis */
  margin-right: 5px; /* Small spacing to the description */
  font-size: 1.15em;
}

.indicator-description {
  font-weight: 600;
  font-size: 1.15em;
}

/* Small Light Grey Box */
.indicator-container {
  background-color: #f0f0f0; /* Light grey */
  padding: 8px 12px; /* Padding inside the box */
  border-radius: 5px; /* Rounded corners */
  font-size: 14px; /* Slightly smaller text */
  display: inline-block; /* Keeps it small and only as wide as needed */
}

.interpretation-text {
  color: #555; /* Neutral text color */
}

/* General button styling for all pages */
.navigation-btn {
  background-color: #1f5a37; /* Dark green background */
  color: #fff; /* White text */
  border: none; /* No border */
  padding: 10px 20px; /* Standard button size */
  font-size: 1em; /* Standard font size */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth color transition */
  width: 100%;
}

.navigation-btn:hover {
  background-color: #003300; /* Slightly lighter green on hover */
}

/* ====================  */
/* Content Styling - Footer */
/* ====================  */

.footer-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: calc(100% - 18rem - 2rem);
  background-color: #1f5a37; /* Dark green background */
  border-top: 1px solid #ccc;

  /* Match margin-left and margin-right with the page content */
  margin-left: 18rem;
  margin-right: 4rem;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;

  /* Ensures left & right button alignment */
  display: flex;
  justify-content: space-between; /* Pushes buttons to the edges */
  align-items: center;
  height: 50px;
  padding: 0 20px; /* Adds spacing on the sides */
}

/* Button styling */
.footer-button {
  background-color: #f3f4e8 !important; /* Light greenish background */
  color: #1f5a37 !important; /* Dark green text */
  border: none !important;
  font-weight: bold;
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
}

/* Move left button further left */
#back-button {
  margin-left: 0px; /* Aligns with page-content */
}

.footer-button:hover {
  background-color: #e2e3d5 !important; /* Slightly darker shade on hover */
}

/* not really user / not working  */

.form-check-list:checked {
  background-color: #28a745 !important; /* Bootstrap "success" green */
  border-color: #28a745 !important; /* Green border */
}

.hyperlink {
  text-decoration: underline;
  color: #1f5a37;
}

/* ====================  */
/* Content Styling - Home */
/* ====================  */

.home-text-block {
  text-align: justify;
  margin-bottom: 30px;
}

/* Einheitlicher Button-Style */
.home-btn {
  background-color: #1f5a37 !important;
  color: white !important;
  border-radius: 8px;
  border: none;
  font-size: 16px;
  font-weight: bold;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hover-Effekt */
.home-btn:hover {
  background-color: #003300 !important;
  transform: translateY(-2px); /* Leichter Hover-Effekt */
}

/* Fokus-Stil */
.home-btn:focus {
  box-shadow: 0 0 5px rgba(0, 51, 0, 0.5);
  outline: none;
}

/* Aktive Buttons (wenn gedrückt) */
.home-btn:active {
  background-color: #002200 !important;
  transform: translateY(1px);
}
