html {
  scroll-behavior: smooth;
}


body {
  padding: 0;
  margin: 0;
}

.container {
    width: 100%;
    font-family: sans-serif;
}

.contend{
  min-height: 90vh;
}

.header{
  background-color: black;
  z-index: 5;
  position: absolute;
  padding: 1%;
  width: 100%;
}

.slider-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slider{
  display: flex;
  width: 100%;
  height: 100%;
  animation: slide 90s infinite;
  animation-delay: 10s;
}

@keyframes slide {
  0%, 20% { transform: translateX(0); }
  20%, 40% { transform: translateX(-100%); }
  40%, 60% { transform: translateX(-200%); }
  60%, 80% { transform: translateX(-300%); }
  80%, 100% { transform: translateX(-400%); }
}

@media only screen and (max-width: 600px) {  
  .section{
	padding-left: 5% !important;
	padding-right: 5% !important; 
  }
  
  .title{
	font-size: 15vw !important;
  }
  
  .caption{
	font-size: 10vw !important;
  }
 
.logo{
    width: 100% !important;
	}
}

.slide {
  z-index: 0;
  height: 100%;
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: relative;
  bottom: 70%;
  left: 5%;
  color: white;
  background-color: rgba(0, 0, 0, 0);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 3vw;
  z-index: 2;
  display: inline-block;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.startpage-page {
  width: 100%;
  height: 10vh;
  position: relative;
  overflow: hidden;
}

.startpage {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.sidebar {
  height: 100%; 
  display: flex;
  width: 0;
  position: fixed; 
  top: 0;
  left: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: 1s;
  /* padding-top: 60px; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.SidebarLeistungen {
  overflow-y: scroll;
  background-color: #f0f0f0;
  display: grid;
  padding: 30px;
  gap: 30px;
  display: none;
}

.sidebar a {
  padding: 10px 15px;
  text-decoration: none;
  font-size: 20px;
  color: rgb(0, 0, 0);
  display: block;
  transition: 0.3s;
}

.sidebar button{
  padding: 10px 15px;
  width: 100%;
  text-decoration: none;
  font-size: 20px;
  color: rgb(0, 0, 0);
  display: block;
  background: none;
  border: none;
  transition: 0.3s;
  cursor: pointer;
}

.sidebar button:hover{
  background-color: #cecece;
}
  
.sidebar a:hover {
  background-color: #cecece;
}
  
 .dropdown-container {
    display: none;
    padding-left: 15px;
}

.dropdown-container li {
    list-style: none;
}

.dropdown-container a {
    display: block;
    padding: 8px 10px;
    color: #000000;
    text-decoration: none;
}

.dropdown-container a:hover {
    background-color: #575757;
}

.dropdown-toggle {
    cursor: pointer;
    display: block;
    padding: 8px 16px;
}

.logo{
    width: 40%;
}

.menu_button{
  height: 100%;
  width: 10vw;
  font-size: 2vh;
  cursor: pointer;
  background-color: transparent;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.7);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 5px;
  align-items: center;
}

.menu_button img {
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
  vertical-align: middle;
}

.main-content {
  transition: filter 0.5s;
}

.main-content.blurred {
  filter: blur(5px);
}

.kachel{
  position: relative;
  left: 50%;
}

.section{
    font-size: 50px;
    position: relative;
    padding-left: 20%;
	padding-right: 20%;
    font-family: sans-serif;
}

.Headline{
  text-align: center;
  width: 100%;
  overflow-wrap: break-word;
}

.tile-container {
  display: flex; 
  flex-wrap: wrap;
  gap: 50px; 
  justify-content: center; 
  padding: 10px;
  /* background-color: rgb(255, 248, 239);  */
  display: flex;
  width: 70%; 
  position: relative; 
  left: 50%; 
  transform: translate(-50%);
  padding: 50px;
  border-radius: 10px;
}

.tile-text{
  position: relative;
  height: auto;
  top: 90%;
  left: 3%;
  background-color: rgba(34, 34, 34, 0.438);
  border-radius: 5px;

}

.tile {
  width: 400px;
  height: 300px;
  color: rgb(255, 255, 255);
  display: flex;
  font-size: 24px;
  font-family: sans-serif;
  text-decoration: none;

  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.title{
	z-index: 1;
    font-size: 7vw; 
    color: #f0f0f0;
    position: absolute;
    bottom: 5%;
    left: 5%;
}

.KachelSidebar {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.KachelSidebar:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.footer {
    width: 100%;
    background-color: #111; 
    color: white; 
    text-align: center;
    padding: 20px 0; 
    position: relative;
 }

.footer a {
    color: #ffffff;
    margin: 0 10px;
}

 .textandimg{
    position: relative;
    display: flex;
    flex-wrap: wrap;
  }
 
.img-container {
    overflow: hidden;
    border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);    
  }
  
.text-container {
    flex: 1;
    font-size: 20px;
    background-color: #F0F0F0;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding-left: 5%;
	padding-right: 5%;
  }

#scrollTopBtn {
  display: none; 
  position: fixed;
  bottom: 1vh;
  right: 1vw;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #F0F0F0;
  color: black;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 50%;
  font-size: 20px;
  transition: opacity 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
