body {
    margin: 0;
    padding: 0;
    font-family: 'Bree Serif', serif;
    background-color: #ea9e50;
    font-size: 16px;
}

table {
    border-collapse: separate;
    border-spacing: 15px;
    margin-bottom: 20px;
  }

nav {
    background-color: #ea9e50;
    color: black;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
  }
  
  li {
    margin: 0 20px;

    font-weight: bold;
    font-size: 1.3rem;
    padding: 10px;
    border: 2px solid black;
    border-radius: 10px;
  }
  
  a {
    text-decoration: none;
    color: black;
  }

.navbar li.active {
    background-color: #cbe1d0;
    padding: 10px;
    color: #1b5428;
    border: solid #08641d 3px;
    border-radius: 10px;
} 
.navbar li:hover {
    background-color: rgba(203, 225, 208, 0.5);
    padding: 10px;
    color: #1b5428;
    border: solid #08641d 3px;
    border-radius: 10px;
}

.burger-menu {
    display: none;
    background-color: #cbe1d0;
    color: #1b5428;
    border: solid #08641d 3px;
    border-radius: 10px;
}

.burger-icon {
    display: block;
    width: 35px;
    height: 5px;
    margin: 6px 0;
    background-color: black;


}

.titleImg {
    max-width: 1200px;
    width: 100%;
    margin-inline: auto;  /* <- sorgt dafür, dass es zentriert ist */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
}
.wrapper {
    max-width: 1200px;
    margin-inline: auto;  /* <- sorgt dafür, dass es zentriert ist */
}

.wrapper1 {
    max-width: 1200px;
    margin-inline: auto;  /* <- sorgt dafür, dass es zentriert ist */
}

.wrapper2 {
    max-width: 12000px;
    margin-inline: auto;
}

/* .backgroundImg {
    background-image: url(images/Pianovoci_Background_medium.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 50px;
}

.img1 {
    max-width: 300px;
    padding-left: 30px;
    padding-bottom: 100px;
    padding-right: 30px;
}

.img2 {
    max-width: 550px;
    padding-left: 200px;
    padding-top: 100px;
    padding-bottom: 20px;
} */



.backgroundImg {
    background-image: url(images/Pianovoci_Background_medium.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 3px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.7);

}

.img1 {
    max-width: 300px;
    width: 100%;
    order: 1;
    align-self: flex-start;
    margin-left: 20px;
    /* padding-left: 30px;
    padding-bottom: 100px;
    padding-right: 30px; */
}

.img2 {
    max-width: 600px;
    width: 100%;
    order: 2;
    align-self: flex-end;
    padding-top: 100px;
    margin-right: 20px;
    /* padding-left: 200px;
    padding-top: 100px;
    padding-bottom: 20px; */
}

.portait-img {
    max-width: 100%;
    height: auto;
}

.logo {
    max-width: 200px;
    margin-right: 20px;
}

.green-box {
    background-color: #cbe1d0;
    padding: 10px;
    color: #1b5428;
    border: solid #08641d 3px;
    border-radius: 10px;
    font-size: 1.2rem;
    font-style: italic;
}

.main-section {
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
}

.musiker1 {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.musiker2 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.musiker1 .item1 {
    flex: 0 0 30%;
    margin-right: 20px;
}

.musiker2 .item2 {
    flex: 0 0 30%;
    margin-left: 20px;
}

.musiker1 .item1 img {
    max-width: 200px;
    height: auto;
}

.musiker2 .item2 img {
    max-width: 200px; 
    height: auto;
    float: right;
}

.musiker1 .item2, .musiker2 .item1 {
    flex: 1 1 auto;
}

.section-aktuelles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.aktuelles {
    margin-right: 30px;
    margin-left: 10px;
}

.section-aktuelles > * {
    width: 50%; /* Or any other desired width */
    box-sizing: border-box;
  }

.termine {
    margin-left: 30px;
    margin-right: 10px;
}

.contact {
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 50%;
}

.flex-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.flex-container > * {
    flex: 1;
}



@media screen and (max-width: 1200px) {
    li {
        margin: 0 5px;
      }
    .wrapper {
        max-width: 767px;
        margin-inline: auto;  /* <- sorgt dafür, dass es zentriert ist */
    }

    .flex-container {
        flex-direction: column;
    }

    .img1 {
        max-width: 200px;
        width: 100%;
        order: 1;
        align-self: flex-start;
        margin-left: 20px;
        /* padding-left: 30px;
        padding-bottom: 100px;
        padding-right: 30px; */
    }

    .img2 {
        max-width: 500px;
        width: 100%;
        order: 2;
        align-self: flex-end;
        padding-top: 100px;
        margin-right: 20px;
        /* padding-left: 200px;
        padding-top: 100px;
        padding-bottom: 20px; */
    }
}

  @media screen and (max-width: 767px) {
    .backgroundImg, .main-section, .musiker1, .musiker2, .section-aktuelles, .flex-container {
      flex-direction: column;
    }

    .section-aktuelles {
        justify-content: center;
    }

    .section-aktuelles h1 {
        font-size: 1.4rem;
    }

    .section-aktuelles > * {
        margin: 0;
        margin-bottom: 20px;
    } 
    .wrapper {
        max-width: 700px;
        margin-inline: auto;  /* <- sorgt dafür, dass es zentriert ist */
    }

    .img2 {
        max-width: 350px;
        margin-left: 10px;
    }

    .logo {
        margin-bottom: 20px;
    }

    .musiker2 .item2 {
        order: 1;
    }

    .musiker2 .item1 {
        order: 2;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: block;
        float: right;
        margin-right: 10px;
    }

    .nav-link .active {
        display: block;
    }

    .nav-links.show {
        display: block;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: rgba(248, 248, 248, 0.6);
        z-index: 1; /* Make sure the dropdown is above other elements */
        padding: 10px;
        border-radius: 0 0 5px 5px;
      }

      .nav-links.show li {
        display: block;
        margin: 10px 0;
      }

      nav {
        justify-content: right;
      }
  }


  @media screen and (max-width: 602px) {

    .titleImg {
        flex-direction: column;
    }
    .img2 {
        max-width: 280px;
    }
  }