body {font-family: arial;}
/*Projekt-Seite*/
#projects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

#projects a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 8px;

  background: #e9e4dc;
  color: #51483f;

  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;

  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#projects a:hover {
  background: #ebdecb;
  color: #302a25;
  transform: translateY(-1px);
}
/*Milestones-Seite*/
#openMilestones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

#openMilestones a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 8px;

  background: #dfe9dc;
  color: #51483f;

  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;

  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#openMilestones a:hover {
  background: #bfe2b5;
  color: #302a25;
  transform: translateY(-1px);
}

#closedMilestones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

#closedMilestones a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 8px;

  background: #e9dfdc;
  color: #51483f;

  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;

  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#closedMilestones a:hover {
  background: #e0b6a9;
  color: #302a25;
  transform: translateY(-1px);
}
/*Milestone-Seite*/
#options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

#options a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 8px;

  background: #e9e4dc;
  color: #51483f;

  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 15px;

  transition: 
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

#options a:hover {
  background: #ebdecb;
  color: #302a25;
  transform: translateY(-1px);
}
/*Changelog-Seite*/
#copyButton {
    background-color: rgb(199, 198, 198);
    color: black;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 0 #6e6e6e;

    font-size: 16px;
}

#copyButton.clicked {
    transform: translateY(4px);
    box-shadow: 0 0 0 #111;
}

#stateFilter {
    background-color: rgb(199, 198, 198);
    color: black;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 0 #6e6e6e;

    font-size: 16px;
    margin-bottom: 20px;
}

#stateFilter:hover {
    background-color: rgb(215, 214, 214);
}

#stateFilter:focus {
    outline: none;
}

#stateFilter:active {
    transform: translateY(4px);
    box-shadow: 0 0 0 #6e6e6e;
}

/* Navigationsleiste */

nav {
    width: 100%;
    background-color: #1e3a8a;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 25px;
    min-height: 60px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}

nav > a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 20px 0;
}

nav > a:hover {
    color: #c7d7ff;
}

.navItemGroup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navDropdown {
    position: relative;
}

.navDropdown > button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    font-family: inherit;
    padding: 20px 0;
    cursor: pointer;
}

.navDropdown > button:hover {
    color: #c7d7ff;
}

.selectedValue {
    color: white;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.dropdownContent {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    max-height: 400px;
    background-color: white;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000;
}

.dropdownContent a {
    display: block;
    color: #222;
    text-decoration: none;
    padding: 12px 16px;
    font-size: 15px;
}

.dropdownContent a:hover {
    background-color: #eef3ff;
    color: #1e3a8a;
}

.navDropdown:hover .dropdownContent {
    display: block;
}

/*Ladebildschirm*/

#loadingScreen {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #ffffff;

    z-index: 9999;

    transition: opacity 0.3s ease;
}

#loadingScreen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loadingContent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.loadingSpinner {
    width: 45px;
    height: 45px;

    border: 5px solid #ddd;
    border-top-color: #333;

    border-radius: 50%;

    animation: loadingSpin 0.8s linear infinite;
}

.loadingText {
    font-size: 16px;
    color: #555;
}

@keyframes loadingSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

.slider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.switch input:checked + .slider {
    background: #2196f3;
}

.switch input:checked + .slider::before {
    transform: translateX(24px);
}

#roadmap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.totalProgress {
    width: fit-content;
    margin: 0 auto;
    grid-column: 1 / -1;
    padding: 20px;
    box-sizing: border-box;
}

.progressText {
    margin-bottom: 10px;
    font-weight: 600;
}

.progressBar {
    width: 100%;
    height: 20px;
    background-color: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.progressBarFill {
    height: 100%;
    width: 0;
    background-color: #22c55e;
    border-radius: 15px;
    transition: width 0.5s ease;
}

.personCard {
    width: 100%;
    box-sizing: border-box;

    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.personCard h2 {
    margin-top: 0;
}

.personCard ul {
    padding-left: 20px;
}

.issueDone {
    opacity: 0.45;
    text-decoration: line-through;
}

.personStats {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    font-weight: bold;
}

#switchBox {
    background-color: rgb(233, 233, 233);
    border-radius: 5px;

    width: fit-content;
    height: fit-content;

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;

    padding-left: 20px;
    padding-right: 20px;
}