        body{
    background-color: black;
}
#main2{
    background-color: black;
    border-radius: 10px;
    max-width: 90%;
    height: auto;
    margin-left: 5%;
    margin-top: 50px;
}
#main2 h1{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    text-align: left;
    font-size: 22px;
}
#main2 p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 14px;
    text-align: left;
    color: white;
    padding: 10px;
}
.flex-container{
    display: flex;
    justify-content: center;
}
#main3{
    background-color: rgb(29, 27, 27);
    border-radius: 10px;
    max-width: 40%;
    height: auto;
    margin-right: 25px;
    margin-top: 20px;
}
#main3 h1{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    text-align: center;
}
#main3 p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 23px;
    text-align: center;
    color: white;
    padding: 10px;
}
#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: 16px;
    color: white;
    text-align: center;
}
#impressum{
  color: #dfa83c;
}


@media only screen and (max-width: 500px){
    #main2{
    background-color: black;
    border-radius: 10px;
    max-width: 90%;
    height: auto;
    margin-left: 5%;
    margin-top: 30px;
    }
    #main2 h1{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    text-align: left;
    font-size: 18px;
    }
    #main2 p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 12px;
    text-align: left;
    color: white;
    padding: 10px;
    }
    #main3{
    background-color: rgb(29, 27, 27);
    border-radius: 10px;
    max-width: 90%;
    height: auto;
    margin-right: 5%;
    margin-top: 20px;
    margin-left: 5%;
    }
    #main3 h1{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
    text-align: center;
    }
    #main3 p{
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 18px;
    text-align: center;
    color: white;
    padding: 10px;
    }
    #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: 11ch; /* 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;
  }
}

/*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);
    }
  }