body{
    font-family: 'Open Sans', sans-serif;
    background-color: #222228;
    margin-top: 30px;
    color: white;
    max-width: 100%;
    overflow-x: hidden;    
}
html{
    scroll-behavior: smooth;
}

.header {
    position: fixed;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    z-index: 3;
    top: -15px;
    font-weight: bold;
    text-align: center;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
  }

  .Name{
    display: none;
  }


.navbar a:hover{
    transform: translateY(-20px);
    text-shadow: 0 0 5px white ;
    transform: scale(1.2);
}

.header ul {
    display: flex;
    justify-content: center;
}

.header ul li{
    position: relative;
    list-style: none;
}

.header ul li a{
  margin: 0 40px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: 0.6s;
  font-size: 25px;
}

.logo{
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    height: 90px;
    margin-bottom: 10px;
    left: 50%;
}

.header__right {
    margin-right: 0;
  }

.sticky .logo img{
    max-height: 90px;
    max-width: 90px;
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}

.sticky .logo{
    margin-top: auto;
    margin-bottom: auto;
    
}

.logo img{
    object-fit: cover;
    z-index: -10;
    max-height: 100px;
}

.sticky ul li a {
    margin: 0px 0px;
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
}

.sticky {
    padding: 0px 10px;
    background-color: #0c0c0c;
    width: 100%;
    max-width: 1400px;
    left: 50%;
    transform: translateX(-50%);
    transition: 0,5s;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -15px;
    height: 70px;
    box-shadow: 0px 0px 17px #ffffff;
    z-index: 3;
}

.sticky ul{
    margin-right: 100px;
}

.menu{
    transition: all ease-in-out 0.2s;
}

.buttonhalter{
    display: inline-block;
}

@media only screen and (max-width: 750px) {
    .navbar{
        display: none;
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000000;
  }
  
  .navbarphone {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #222228;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    z-index: 3;
    height: 100%;
    width: 100%;
  }
  
  .navbarphone li {
    margin: 0;
    padding: 50px 0;
    list-style-type: none;
  }
  
  .navbarphone a {
    text-decoration: none;
    color: white;
    margin-left: -40px;
    padding: 0;
    font-size: 20px;
    text-shadow: 0 0 5px white;
    font-weight: bold;
    animation: breathe 4s ease-in-out infinite;
  }
  
  @keyframes breathe {
    0% {
      text-shadow: 0px 0px 0px white;
    }
    30% {
        text-shadow: 0px 0px 3px white;
    }
    50% {
      text-shadow: 0px 0px 10px white;
    }
    80%{
        text-shadow: 0px 0px 3px white;
    }
    100% {
      text-shadow: 0px 0px 0px white;
    }
  }
  
  
  .navbarphone a img {
    filter: invert(100%);
    -webkit-filter: invert(100%);
    position: fixed;
    width: 30px;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .menuphone {
    position: relative;
  }
  
  .hamburgericon {
    display: none;
    cursor: pointer;
    z-index: 4;
    width: 50px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(0, -50%);
    filter: invert(100%);
}

 .sticky .hamburgericon {
    width: 50px;
    margin-top: 7px;
    margin-bottom: auto;
    margin-right: 10px;
 }


@media only screen and (max-width: 750px) {
    .hamburgericon{
        display: block;
    }

}


#background {
  padding-top: 60px;
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

#background h1 {
  color: white;
  text-align: center;
  z-index: 1;
  position: absolute;
  align-items: center;
  top: 40%;
  left: 20%;
  right: 20%;
  transform: translateY(-50%, -50%);
  text-shadow: #0c0c0c 0px 10px 10px;
}

#background p {
  color: white;
  text-align: center;
  z-index: 1;
  position: absolute;
  align-items: center;
  top: 50%;
  left: 10%;
  right: 10%;
  transform: translateY(-50%, -50%);
  text-shadow: #0c0c0c 0px 5px 5px;

}

.dia {
    position: absolute;
    width: 100%;
    height: 700px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}

.aktiv {
  opacity: 1;
}

@media only screen and (max-width: 750px) {
  .dia{
    width: 100%;
    max-height: 350px;
  }

  #background h1{
    top: 20%;
    left: 5%;
    right: 5%;
  }

  #background p{
    top: 35%;
    left: 3%;
    right: 3%;

  }

}




.telefon {
  color: white;
  text-align: center;
  font-size: 12px;
  margin-bottom: 10px;
  padding-left: 100px;
  padding-right: 100px;
}

.telefon-text h1 {
  margin-bottom: 20px;
}

.telefon-button a {
  display: flex;
  height: 50px;
  min-width: 120px;
  border: 2px solid white;
  padding: 10px;
  transition: all ease-in-out 0.2s;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 15px;
  display: none;
  
  /* Zentrieren Sie den Button horizontal und vertikal */
  margin: auto;
  
  /* Legen Sie eine maximale Breite fest, damit der Button nicht zu breit wird */
}

/* Legen Sie Media Queries fest, um das Layout für verschiedene Bildschirmgrößen zu optimieren */
@media (max-width: 1200px) {

  .telefon {
    padding-left: 50px;
    padding-right: 50px;
    margin-top: -220px;
  }
  
  .telefon-button a {
    width: 105px;
    display: block;
    top: 10px;

  }

  .telefon-button p{
    font-size: 18px;
    font-weight: bold;
  }
}

@media (max-width: 480px) {
  .telefon {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .telefon-button a {
    width: 80px;
    font-size: 10px;
  }
}


.telefon a:hover{
    box-shadow: 0 0 8px white}


.container{
display: flex;
justify-content: space-between;
padding-top: 50px;
  }
  
  .box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 260px;
    height: 500px;
    border: 2px solid white;
    padding: 10px;
    margin: 5px;
  }
  
  .box-left {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: left;
  }
  
  .box-right {
    display: flex;
    flex-direction: column;
    width: 50%;
    text-align: right;
  }
  .container h3{
    text-align: center;
  }
  .container {
    position: relative;
    overflow: hidden;
  }
  
  .Section {
    opacity: 0;
  }
  
  .section.active {
    display: block;
  }
  
  .box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .box-left {
    flex-basis: 50%;
  }
  
  .box-right {
    flex-basis: 50%;
    text-align: right;
  }
  
  @media only screen and (max-width: 600px) {

    .container {
        flex-direction: column;
        justify-content: center;
      }

    .arrow {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    }
    .arrow.left {
    left: 10px;
    transform: translateX(0);
    }
    .arrow.right {
    right: 10px;
    transform: translateX(0);
    }
    .box {
    margin-left: auto;
    margin-right: auto;
    }
    }
    
.Oeffnungszeiten-top{
    color: white;
    font-size: 20px;
    text-align: center;
    margin-top: 100px;
    background-image: url(products.jpg);
    background-size: cover;
    background-position: 20% 50%;
    background-size: 1590px;
    margin-left: -110px;
    margin-right: -110px;
    font-weight: 100;
}
.Oeffnungszeiten{

    color: white;
    margin-left: 300px;
    margin-right: 300px;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 80px;
    text-shadow: 20px 20px 20px black;
    padding-top: 50px;
}

@media (max-width: 600px){
    .Oeffnungszeiten-top{
        margin-top: 0px;
        height: 540px;
    }
    }

.day{
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid white;
    opacity: 0;

}
.ueber-uns-top{
    color: white;
    text-align: center;
}
.ueber-uns{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 23px;
    font-weight: bold;
    margin-bottom: 80px;
    padding: 0 50px;
}

.ueber-uns p {
    flex-basis: 60%;
    margin-right: 50px;
    margin-left: -100px;
    opacity: 0;
}

.ueber-uns img{
    max-width: 36%;
    margin-left: auto;
    padding-top: 200px;
    opacity: 0;
}

.slideshow {
    width: 100%;
    height: 700px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide {
    opacity: 0;
    transition: opacity 0.5s;
    position: absolute;

}

.slidebild{
    width: 100%;
}

.textbereich{
    position: absolute;
    left: 20%;
    right: 36%;
    top: 16%;
    color: white;
    font-size: 19px;
    font-weight: bold;
    text-shadow: black 0px 2px 5px;
    opacity: 0;
}

.ueberschrift{
    position: absolute;
    color: white;
    top: 5%;
    bottom: 90%;
}

.textbereich img{
    left: 122%;
    position: absolute;
    right: 60%;
    top: 30%;
}

.indikatorenliste {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    list-style-type: none;
    font-size: 20px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.indikator {
    padding: 0 5px;
    user-select: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.5s;
}

.aktiv {
    opacity: 1;
}

.social-media-header {
    color: white;
    text-align: center;
    margin-right: -100px;
    margin-left: -100px;
  }

  .socialmedia {
    text-align: center;
    color: white;
    font-size: 22px; /* Use a single font-size value */
    margin-right: 250px;
    margin-left: 250px;
    font-weight: bold;
    height: 100px;
  }

.bildergallerie{
    column-count: 3;
    column-gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 200px;
    padding-right: 200px;
}

.gallerieblock{
    display: inline-block;
}

.gallerieblock img{
    width: 100%;
    max-width: 300px;
    opacity: 0;
}


.maps-container{
   display: flex;
   justify-content: space-between;
    width: auto;
    background-image: url(Bild\ Herrensalon\ \(2\).jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 100% 50%;
    height: 650px;
    padding-left: 100px;
    padding-right: 100px;
}

.maps-container h1{
    text-align: center;
    align-items: center;
}

.maps-text{
    width: 60%;
    margin-left: 10px;
    color: white;
    font-size: 27px;
    text-align: center;
    align-items: center;
    font-weight: bolder;
    margin-top: auto;
    margin-bottom: auto;
    text-shadow: 0px 0px 8px black;
}

.maps-image{
    border: 0;
    height: 400px;
    width: 60%;
    margin-right: 80px;
    margin-top: auto;
    margin-bottom: auto;

}

.legal-content{
    padding: 12px;
    color: white;
}
  
.legal-text{
    margin-right: 10px;
    color: white;
    
}

a.legal-content{
    padding: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-size: 19px;
    transition: all ease-in-out 0.2s;


}

a.legal-content:hover{
    text-shadow: 0 0 5px white ;

}


@media (max-width: 600px){
    
    html{
        overflow-x: hidden;
    }

.header{
    height: 100px;
}




.sticky{
    height: 70px;
}

    #header-image img{
        height: 400px;
        object-fit: cover;
        object-position: 50% 50%;
        width: 100%;   
        padding-top: 70px;
    }
      
    .menu a{
    font-size: 15px;
    font-weight: 600; 
    justify-content: space-between;
    }
    
    .buttonhalter{
        display: inline-block;
        margin-left: 20px;
        margin-right: 20px;
        cursor: pointer;}

        

    .telefon{
    text-align: center;
    font-size: 8px;
    padding-left: 10px;
    padding-right: 10px;
    }

    a.telefon-link{
        width: 80px;
        height: 30px;
        border: 5px solid white;
    }
       


        .oeffnungszeiten-area{
            margin-left: -10px;
            margin-right: -8px
        }

        .Oeffnungszeiten{ font-size: 18px;
            margin-left: 50px;
            margin-right: 50px;
            
        }
        .Oeffnungszeiten-top{
            background-position: 40% 50%;
            background-size: 900px;
            margin-left: 0px;
            margin-right: 0px;
            padding-bottom: 30px;
        }

        .day p{
            text-shadow: #0c0c0c 0px 5px 5px;
        }


    
.überschrift{
    font-size: 20px;
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;}
    .ueber-uns {
        flex-direction: column;
        justify-content: center; /* Text mittig ausrichten */
        text-align: center;
        font-size: 18px;
        padding: 0 20px;
      }
    
      .ueber-uns p {
        flex-basis: 100%;
        margin-right: 90px;
        margin-bottom: -50px;
      }
    
      .ueber-uns img{
        max-width: 100%; /* Bildbreite anpassen */
        margin: 0 auto;
        margin-bottom: -100px;

      }
  
.slideshow {
    width: 100%;
    height: 740px;
    position: relative;
    display: block;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.slide {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;


}

.slidebild{
    width: 100%;
    height: 680px;
    object-fit: cover;
}

.textbereich{
    position: absolute;
    font-size: 16px;
    font-weight: 200;
    left: 10%;
    right: 10%;
    text-align: center;
    text-shadow: black 15px -15px 15px, black -15px 10px 18px ;
    top: 12%;
    margin-left: 80px;
    margin-right: -120px;
    
    
}

.ueberschrift{
    position: relative;
    text-align: center;
    top: 2%;
}

.textbereich img{
    display: none;
}

.indikatorenliste {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    list-style-type: none;
    font-size: 20px;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.indikator {
    padding: 0 5px;
    user-select: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.5s;
}

.aktiv {
    opacity: 1;
}

#socialmediacontainer {
    margin-right: 15px;
    margin-left: 15px;
    margin-bottom: 10px;
    margin-top: 0;
  }

  .social-media-header {
    font-size: medium;
  }

  .socialmedia {
    height: 130px;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 18px;
    font-weight: bold;
  }


.bildergallerie{
    column-count: 3;
    column-gap: 6px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.gallerieblock{
    display: inline-block;
}

.gallerieblock img{
    width: 100%;
    max-width: 1000px;
}

.maps-container{
    padding-left: 40px;
    padding-right: 40px;
    flex-wrap: wrap;    
    height: 450px;
    background-position: 50% 50%;

}

.maps-text{
    width: 100%;
    margin-left: 0px;
    color: white;
    font-size: 20px;
    text-align: center;
    align-items: center;
    font-weight: bolder;
    margin-top: 80px;
    margin-bottom: 0px;
}

.maps-image{
    border: 0;
    height: 200px;
    width: 100%;
    margin-right: 0px;
    margin-top: 30px;
    margin-bottom: auto;

}
a.legal-content{
    font-size: 14px;    
    }
}
