@font-face {
  font-display: swap;
  font-family: 'Gotu';
  font-style: normal;
  font-weight: 400;
  src: url('Schriftarten/gotu-v17-latin/gotu-v17-latin-regular.woff2') format('woff2');
} 
.Logo {
display: flex;
height: 80px;
align-items: center;
}

nav {
    text-align: center;
    font-family: 'Montserrat';
    height: 120px;
    position: relative;
    background: transparent;
    z-index: 1000;
}

@media (max-width: 800px) {
  .nav-links {
    background-color: rgba(255, 255, 255, 0.8);
  }
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center; 
}

nav ul li {
    display: flex;
    margin: 10px;
}

nav ul li a {
    text-decoration: dotted;
    font-size: 25px;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}


nav ul li a:hover {
    background-color: #A5231C;
    color: #2a114b;
    border-radius: 30px; 
    padding: 10px 40px; 
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('Schriftarten/montserrat-v29-latin/montserrat-v29-latin-regular.woff2') format('woff2');
  }

  footer{
    background-color:rgb(238, 183, 44);
    color:rgb(247, 247, 247);
    line-height: 20px;
    text-align: center;
    padding: 20px;
    height: auto;
     
}


body {
    padding: 0;
    margin: 0;
    font-family: 'Gotu', sans-serif;
    background-image: url("Bilder/IMG_0503.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.box1 {
    width: 250px;
    height: 250px;
    background-color: #4173b4;
    position: relative;
    top: 300px;
    left: 40px;

}
body {
    padding: 0;
    margin: 0;
    font-family: 'Gotu', sans-serif;
 }

h1 {
    margin: 0;
    line-height: 1.2;
    position: relative;
    top: 20px;
    right: 8px;
}

aside {
    position: relative;
  height: 100vh;
}

aside h1 {
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translateY(-50%);
    font-size: 130px;
    color: aliceblue;
    margin: 0;
    line-height: 1.1;
    text-align: left;
}

.bilderstart {
    display: flex;
    margin-left: 20%;
}

.bilderstart img {
    position: relative;
    left: 130px;
    top: 100px;
    margin: 10px;
}


.Symbole {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.symbol {
    width: 25px;
    height: 25px;
}

.tennis05 {
    transform: rotate(25deg);
}

.Kinderfoto {
    width: 20%;
    height: auto;
    left: 0;
    top: 50px;
    position: relative;
}

.schriftimpressum {
    color: white;
    text-decoration: none;
}

@media (max-width: 800px) {
  nav {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    padding: 0 20px;
  }
}

nav ul li a:not(.logo-link):hover {
    background-color: #A5231C;
    color: #2a114b;
    border-radius: 30px; 
    padding: 10px 40px;
    }

.hamburger {
    display: none;
    font-size: 2em;
    cursor: pointer;
    
  }
  

  @media (max-width: 800px) {
    nav ul {
      display: block;
      flex-direction: column;
      width: 100%;
      background: #444;
      position: absolute;
      top: 50%;
      right: 20px;
    }
    nav ul.show {
      display: flex;
    }
  
    .hamburger {
      display: block;
       position: absolute;
       top: 50%;
     right: 20px;
     transform: translateY(-50%);
     z-index: 1100;
    }
  }

  #menu-toggle {
    display: none;
  }
  
  .hamburger {
    display: none; 
    font-size: 2em;
    cursor: pointer;
    user-select: none;
    color: #a0c4d1; 
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    justify-content: center; 
    gap: 15px;
    margin: 0;
    padding: 0;
  }
  
  @media (max-width: 800px) {
    .hamburger {
      display: block;
    }
  
    .nav-links {
      display: none; 
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 0;
      width: 60%;
      background-color: #ffffff;
      padding: 10px 0;
      z-index: 1000;
    }
  
    #menu-toggle:checked + .hamburger + .nav-links {
      display: flex;
    }
  
    .nav-links li {
        border-bottom: 1px solid #888;
    padding: 10px 0;
    margin: 0 auto;
    text-align: center;
    width: 150px
    }
  }

  .hamburger::before {
    content: "\2630";
    font-size: 2em;
  }
  
  #menu-toggle:checked + .hamburger::before {
    content: "\2715";
    font-size: 1.5em;
  }
  
  @media (max-width: 800px) {
    .nav-links .Logo {
      display: none;
    }
  }
  .nav-links li:has(img.Logo) {
    border-bottom: none;
  }

  @media (max-width: 800px) {
    .nav-links li {
      border-bottom: 1px solid #888;
      padding: 5px;
      margin: 0;
    }
  
    .nav-links li.logo-item {
      border-bottom: none;
      padding: 0;
      margin: 0;
    }
    
}

.nav-header {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 80px;
    margin-top: 20px;
  }
  
  .mobile-logo {
    height: 70px;
  }
  
  @media (max-width: 800px) {
    .nav-header {
      display: flex;
      
    }
  
    .desktop-logo {
height: 100px; 
  width: auto;    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 80px;
      right: 0;
      width: 60%;
      background-color: #ffffff;
      z-index: 1000;
    }
  
    #menu-toggle:checked + .hamburger ~ .nav-links {
      display: flex;
    }
  }

.abstandfooter {
    margin: 1em;
}

.Logofooter {
    height: 4em;
}

@media (max-width: 1173px) {
  aside {
    position: static;
    height: auto;
    padding: 40px 20px;
    text-align: center;
  }

  aside h1 {
    position: static;
    font-size: clamp(4rem, 7vw, 8rem);    
    margin: 0 auto 20px;
    transform: none;
    text-align: center;
  }

  .bilderstart {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-left: 0;
  }

  .bilderstart img {
    width: 60%;
    max-width: 300px;
    position: static;
    margin: 0 auto;
  }

  .box1 {
    width: 80%;
    height: auto;
    margin: 20px auto;
    top: 0;
    left: 0;
  }

  .Kinderfoto {
    width: 80%;
    position: static;
    margin: 20px auto;
  }
}
