.referenzen-header-middle-section{
  display: flex;
  align-items: center;
  justify-content: center;
 
  font-style: oblique;
  padding-left: 85px;
  overflow: hidden;
  width: 100%;
 
  flex-wrap: nowrap;
}
.referenzen-header-middle-section p{
font-size: 2.4rem;
color: rgb(56, 56, 56);
text-shadow: 2px 2px rgba(0, 0, 0, 0.2);
}
@media (min-width: 1150px) and (max-width:1290px) {
/* For mobile phones: */
.referenzen-header-middle-section{
  margin-right: 35px;
  min-width: 50px;
  padding-left: 190px;
  flex-wrap: nowrap;
}
.referenzen-header-middle-section p {
  font-size: 1.8rem;
}
}
@media (min-width: 925px) and (max-width: 1149px) {
/* For mobile phones: */
.referenzen-header-middle-section{
  margin-right: 35px;
  min-width: 50px;
  padding-left: 200px;
  flex-wrap: nowrap;
}
.referenzen-header-middle-section p {
  font-size: 1.7rem;
}
}
@media (min-width: 511px) and (max-width:924px) {
/* For mobile phones: */
.referenzen-header-middle-section{
  margin-right: 35px;
  min-width: 50px;
  padding-left: 150px;
  flex-wrap: nowrap;
}
.referenzen-header-middle-section p {
  font-size: 1.3rem;
}
}
@media (min-width: 90px) and (max-width:510px) {
/* For mobile phones: */
.referenzen-header-middle-section{
  margin-right: 35px;
  min-width: 50px;
  padding-left: 20px;
  flex-wrap: nowrap;
  padding-left: 50px;
}
.referenzen-header-middle-section p {
  font-size: 1.2rem;
}
}
body{
  background-image: url(/thumb/homepage_Elemente/Galeria3.jpg);
  background-position: left top;
  background-attachment: fixed;
  background-size: cover;
  
  background-color: rgb(214, 214, 214);
  font-style: oblique;
  }
  @media (max-width: 1250px)  {
    /* For mobile phones: */
    body{
      background-image: url(/thumb/homepage_Elemente/Galeria3.jpg);
      background-repeat: repeat;
      background-position: left top;
      background-attachment: fixed;
      background-size: 100vw;
      
    }
   
    }
  .wrapper-div{
    display: flex;
    flex-direction: column;
    margin-top: 120px;
    align-items: center;
    justify-content: center;
    margin-left: 90px;
    margin-bottom: 30vh;
  }
  .collector {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(252, 252, 252, 0.4);
    border-radius: 30px;
    box-shadow: 12px 29px 81px 0px rgba(0,0,0,0.75);
    box-shadow: 0 0 8px 8px rgba(255, 255, 255, 0.475) inset;
    backdrop-filter: blur(2.5px);
    padding-bottom: 50px;
    width: 80vw;
    flex-wrap: wrap;
    margin-bottom: 55px;
    padding: 30px;
  }
  .collector img{
    max-width: 70%;
    margin-bottom: 15px;
  }
  .fliesen-bruckner-div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  @media (min-width: 90px) and (max-width:700px) {
    /* For mobile phones: */
    .collector{
      width: 100vw;
    }
  }
  .referenzen-sidebar{
    display: flex;
    flex-direction: column;
    position: fixed;
    justify-content: center;
    text-align: center;
    align-items: center;
    left: 0;
    bottom: 45px;
    top: 85px;
    width: 95px;
    z-index: 100;
    border-right-color: rgb(255, 72, 0);
    border-right-width: 2px;
    border-right-style: solid;
    z-index: 200;
    overflow: hidden;
    background-image: url(/thumb/homepage_Elemente/sidebar1.png);
    background-repeat: no-repeat;
    background-position: left top;
    background-attachment: fixed;
    background-size: contain;
    background-size: auto;
  }
  .referenzen-sidebar-link
  {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: black;
    min-width: 95px;
    font-size: 13px;
  }
  .referenzen-sidebar :hover
  {
    background-color: rgb(255, 72, 0);
    transition: background-color 0.3s;
    text-decoration: none;
  }
  .headline-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    font-size: 16px;
    font-weight: 500;
    max-width: 50vw;
    text-align: center;
    font-style: oblique;
    padding-top: 50px;
  }
  .headline-div h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: rgb(77, 77, 77);
    font-style: oblique;
  }
  .headline-div p {
  font-size: 1.4rem;
  }
  @media (min-width: 90px) and (max-width:700px) {
    /* For mobile phones: */
    .headline-div h1{
      font-size: 1rem;
    }
    .headline-div p {
      font-size: 0.8rem;
      }
  }
 
 .cards {
  display: flex;
  margin-right: 70px;
 
 
  
 }
  .card-div1 {
    display: flex; 
    max-width: 250px;
    padding: 25px 0px 25px 25px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
  }
  @media (min-width: 90px) and (max-width:510px) {
    /* For mobile phones: */
    .cards{
      flex-direction: column;
    }
  }
  #magix-card-picture{
   width: 35vw;    
  }
.slider{
  margin-right: 0;
}
@media (max-width:500px) {
  .slider {
    margin-left: 30px;
  }
}
/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin-left: 150px;
 
}
/* Hide the images by default */
.slidePix {
  display: none;
  margin-left: 85px;
}
.slidePix img{
  min-width: 150px;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  
  width: auto;
  margin-top: -22px;
  padding: 16px;
  padding-right: 20px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  font-size: 48px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
@media (max-width:500px) {
  .slideshow-container {
    margin-left: 10px;
  }
  .prev, .next {
    font-size: 20px;
    padding-right: 10px;
  }
  .slidePix {
    
    margin-left: 20px;
  
  }
 
}
/* Position the "next button" to the right */
.next {
  right: 0px;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}
/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #717171;
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}