    body{
        background-color: black;
    }
    #main5{
    background-color: black;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    height: 2px;
    margin-top: 50px;
    border-bottom: 2px dotted gray;
    margin-bottom: 20px;
    }
    #footer{
        margin-bottom: 20px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 16px;
        color: white;
        text-align: center;
        position: unset;
    }
    #impressum{
        color: #dfa83c;
    }


    @media (max-width: 500px){
    #main5{
    background-color: black;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    height: 2px;
    margin-top: 50px;
    border-bottom: 2px dotted gray;
    }

    #footer {
    margin-top: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    color: white;
    text-align: center;
    }
    }

/*Header*/
  .split-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: black;
  color: white;
  padding: 4rem 10%;
  flex-wrap: wrap;
  gap: 2rem;
}

.split-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #dfa83c;
  letter-spacing: 1px;
}

.split-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #eee;
  max-width: 500px;
}

.split-logo {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-logo img {
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  background-color: transparent;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.split-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(223, 168, 60, 0.6);
}

@media (max-width: 980px) {
  .split-header {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .split-text h1 {
    font-size: 2.4rem;
  }

  .split-text p {
    font-size: 1rem;
  }

  .split-logo img {
    max-width: 220px;
  }
}

/*Textanimation*/
#main1 {
  background-color: #dfa83c;
  width: 100%;
  height: 60px;
  margin-top: 50px;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 30px;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
#main1 .typewriter {
  display: inline-block;
  white-space: nowrap;
  border-right: 3px solid white;
  overflow: hidden;
  animation: typing 3s steps(22, end), blink 0.7s step-end infinite;
  animation-fill-mode: forwards;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 12ch; /* Anzahl der Buchstaben von "Herzlich Willkommen" */
  }
}
@keyframes blink {
  50% {
    border-color: transparent;
  }
}
#main1 .typewriter.typing-done {
  border-right: none;
}

@media (max-width: 600px) {
  #main1 {
    font-size: 20px;
    height: 50px;
  }
  #main1 .typewriter {
    border-right: 2px solid white;
  }
}

/*Dropdown*/
#dropdown {
  max-width: 800px;
  margin: 60px auto;
  text-align: left;
  padding: 1rem 2rem;
  color: white;
  font-family: 'Poppins', 'Gill Sans', sans-serif;
}

#dropdown p {
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.select-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.select-container label {
  font-weight: 600;
  color: #dfa83c;
  font-size: 1.1rem;
}

.select-wrapper {
  position: relative;
  display: inline-block;
}

#jahrgang {
  appearance: none;
  background-color: #111;
  color: white;
  border: 1.5px solid #dfa83c;
  border-radius: 8px;
  padding: 0.6rem 2.2rem 0.6rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  cursor: pointer;
}
.jahrgang-header {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.8em;
  font-weight: 600;
}

.select-wrapper::after {
  content: "▾";
  font-size: 1.1rem;
  color: #dfa83c;
  position: absolute;
  right: 0.8rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform 0.3s ease;
}

#jahrgang:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(223, 168, 60, 0.5);
}

#jahrgang:focus {
  outline: none;
  box-shadow: 0 0 8px #dfa83c;
}

#ergebnis {
  margin-top: 2rem;
  padding: 1rem;
  color: white;
  font-family: 'Poppins', sans-serif;
}

table {
  width: 40%;
  margin: 1.5rem auto;
  border-collapse: collapse;
  border: 1px solid #dfa83c;
  background-color: #111;
  border-radius: 8px;
  overflow: hidden;
}

th, td {
  padding: 0.8rem;
  border-bottom: 1px solid #dfa83c;
}

th {
  background-color: #dfa83c;
  color: black;
  font-weight: 600;
}

td {
  text-align: center;
  color: white;
}

.no-data {
  color: #999;
  font-style: italic;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  #dropdown {
    padding: 1rem;
  }

  #dropdown p {
    font-size: 0.9rem;
  }

  .select-container {
    flex-direction: column;
  }

  #jahrgang {
    width: 100%;
    font-size: 0.95rem;
  }

  table {
    width: 95%;
  }

  th, td {
    font-size: 0.85rem;
    padding: 0.6rem;
  }
}

/*Social-Container*/
  #social-container {
    margin-top: 50px;
    margin-bottom: -60px;
    display: flex;
    justify-content: flex-end; 
    align-items: flex-end;
    gap: 45px;
    background-color: black;
    padding: 25px 50px;
    border-top: 2px solid #dfa83c;
    box-shadow: none;
  }
  .social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease;
    position: relative;
  }
  .social-link img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  .social-link span {
    margin-top: 8px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1rem;
    color: white;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .social-link:hover img {
    transform: scale(1.15);
    filter: brightness(1.25);
  }

  .social-link:hover span {
    opacity: 1;
    transform: translateY(0);
  }

  @media only screen and (max-width: 800px) {
    #social-container {
      justify-content: flex-end;
      gap: 30px;
      padding: 20px 30px;
    }

    .social-link img {
      width: 35px;
      height: 35px;
    }

    .social-link span {
      font-size: 0.85rem;
    }
  }

  @media only screen and (max-width: 500px) {
    #social-container {
      justify-content: flex-end;
      gap: 20px;
      padding: 15px 20px;
    }

    .social-link img {
      width: 28px;
      height: 28px;
    }

    .social-link span {
      font-size: 0.75rem;
      opacity: 0; 
      transform: translateY(5px);
    }

    .social-link:hover span {
      opacity: 1;
      transform: translateY(0);
    }
  }