/* Ab Zeile 324 sind nur noch Device settings (Pixel Breite)*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f9;
}
.picture {
  margin-right: 20px;
}
#kogge {
  width: 70px;
  height: auto;
  margin: -20px;
}

nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  background-color: #490E67;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.logo {
  align-items: left;
  font-family: 'Lexend', sans-serif;
  font-size: 1.7em;
  font-weight: bold;
  color: #CDA1FF;
  margin-right: auto;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 1px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
  padding: 1px;
}

.nav-links a:hover {
  color: #CDA1FF;
}

#current {
  color: #CDA1FF;
}

main {
  padding: 20px;
  background-color: #fff;
}

h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 5px;
}
h3 {
  font-size: 1.5em;
  text-align: center;
  margin-top: 1em;
}
h5 {
  font-size: 1em;
  text-align: center;
  margin-bottom: 15px;
}
h6 {
  font-size: 1.1em;
  text-align: left;
  margin-top: 2px;
  margin-bottom: 2px;
  padding-left: 1.7%;
}

.information-box {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.information-box .infobox-input {
  align-items: center;
  margin: 0;
  padding: 10px;
  border-radius: 8px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 5px 10px -2px, 
  rgba(0, 0, 0, 0.3) 0px 3px 6px -3px, 
  rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
  text-align: center;
  margin-bottom: 30px;
}

.information-box .infobox-input h4 {
  font-size: 1.2em;
}
.information-box .infobox-input p {
  font-size: 1em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.welcome p {
  font-size: 1.1em;
  margin-bottom: 15px;
}
li {
  font-size:1.1em;
  justify-content: center;
  display: center;
  margin-left: 2.5em;
  margin-right: 2.5em;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
footer {
  margin-top: 0px;
  padding: 20px 0;
  margin-bottom: px;
  z-index: 99999;
  background-color: #490E67;
}

.bottom-nav {
  display: flex;
  justify-content: center;
  z-index: 99999;
}

.bottom-nav ul {
  list-style: none;
  display: flex;
}

.bottom-nav ul li {
  margin: 0 15px;
}

.bottom-nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}
.bottom-nav ul li p {
  color: #fff;
  text-decoration: none;
  font-size: 1.2em;
  transition: color 0.3s ease;
}

.bottom-nav ul li a:hover {
  color: #CDA1FF;
}
.tagging {
  display: flex;
  justify-content: center;
  margin-top: 13px;
  font-size: 0.9em;
  color: #CDA1FF;
}

.impressum main {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.impressum h1 {
  color: #2c3e50;
}

.impressum p {
  line-height: 1.6;
  margin-bottom: 1em;
}

.impressum table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.impressum td {
  padding: 8px;
  border: 1px solid #ccc;
}

.veranstalter {
  margin-top: 50px;
  background-color: #e3e4e5;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
}

.veranstalter-container {
  display: flex;
  gap: 50px;
}

.veranstalter-logo {
  height: 60px;
  width: auto;
}

/* Just anmelden.html */

.button-sec {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4em;
}
.teilnehmen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  background-color: #490E67;
  color: #CDA1FF;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 24px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.teilnehmen-button:hover {
  background-color: #CDA1FF;
  color: #490E67;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.teilnehmen-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.teilnehmen-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 117, 241, 0.5);
}

.teilnehmen-button:disabled {
  background-color: #b3b7f5;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
}

.standort p {
  margin-bottom: 15px;
}

.code-container {
  background-color: #282c34;
  color: #ffffff;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  margin: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

pre {
  white-space: pre-wrap; 
  word-wrap: break-word;
  text-align: left;
  padding: 10px;
  background-color: #1e1e1e;
  border-radius: 5px;
  overflow-x: auto;
}

code {
  font-family: "Courier New", monospace;
  font-size: 16px;
  color: #f8f8f2;
}

/* Just projekte.html */
.setup p {
  margin: 15px;
}
.setup h4 {
  margin-top: 15px;
  margin-left: 1.6%;
}

.setup a:hover{
  color: #8714c1;
}


/* Just projects-table.html*/
thead {
  background-color: #490E67;
  color: #CDA1FF;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr ul {
  list-style-type: none;
}

tbody tr ul li {
  padding: 5px 0;
}

tbody tr.highlight {
  background-color: #ffeb3b;
}

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

/* Mobile Settings */
@media (max-width: 70em) {
  p {
    margin-right: 1em;
    margin-left: 1em;
  }
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  th, td {
    padding: 12px;
    font-size: 0.9em;
    margin-bottom: 5px;
  }

  tbody tr {
    display: table-row;
    margin-bottom: 0;
  }

  thead {
    display: table-header-group;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(31, 31, 31, 0.9);
    padding: 20px 40px;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 82000;
  }

  .nav-links li {
    margin: 15px;
  }

  .nav-links.active {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .blur {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(31, 31, 31, 0.5);
    backdrop-filter: blur(10px);
    z-index: 800; 
  }

  .blur.active {
    display: flex;
  }

  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 810; 
  }

  .burger-menu .line {
    width: 100%;
    height: 2px;
    background-color: #CDA1FF;
    transition: all 0.3s ease;
    z-index: 850;
  }

  .burger-menu.active .line:nth-child(1) {
    transform: rotate(45deg) translate(0px, 12px);
    z-index: 850;
  }

  .burger-menu.active .line:nth-child(2) {
    opacity: 0;
    z-index: 850;
  }

  .burger-menu.active .line:nth-child(3) {
    transform: rotate(-45deg) translate(0px, -12px);
    z-index: 850;
  }

  .burger-menu.active .line {
    background-color: #ff6f61;
    z-index: 850;
  }

  .nav-links li a, nav .logo, nav .picture {
    z-index: 999999;
  }
  li {
    justify-content: center;
    display: center;
    margin-left: 2.5em;
    margin-right: 2.5em;
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
  .bottom-nav {
    font-size: 14px;
  }
  .setup .einrichten {
    max-width: 100%;
    border-radius: 5px;
    margin: auto;
    display: block;
    margin-bottom: 10px;
  }
  .setup pre {
    margin:15px;
  }
}

/* Just PC setting */
@media (min-width: 70.1em) {
  p {
    margin-right: 1em;
    margin-left: 1em;
  }
  .setup .welcome {
    margin-left: 15em;
    margin-right: 15em;
  }
  .setup .welcome .einrichten {
    max-width: 100%;
    border-radius: 10px;
    width:80%;
    margin: auto;
    display: block;
    margin-bottom: 10px;
  }
}
