
body {
    background-color: #03121f;
    position: relative;
    overflow: hidden;
    margin:0;
    padding:0;
}

nav {
    height:40vh;
    width: 100%;
    position:absolute;
    top:8vh;     
}

.navi{
   color:black;
   font-weight: bold;
   text-align: center; 
   display: block;
   position: relative;
   justify-content: center;
   font-size: 2.5vh;
   text-decoration: none;
   }

.navi:hover {
color:rgb(58, 59, 59)
}

.navi2{
    color:black;
    font-weight: bold;
    text-align: left; 
    left:1vw;
    display: block;
    position: relative;
    justify-content: center;
    text-decoration: none;
    font-size: 2vh;
 }
 
 .navi2:hover {
 color:rgb(58, 59, 59)
 }

.links{
    color:rgb(110, 110, 110);
    text-align: center; 
    display: block;
    position: relative;
    justify-content: center;
    text-decoration: underline;
 }
 
 .links:hover {
 color:#afafaf
 }
 

.submenu {
    display: none;
}

.submenu.show {
    display: block;
}

.inhalt {
    text-align: left;
    height: 90vh;
    width: 100vw;
    padding:10vh 10vw;
    color: #afafaf;
    font-size: 2vh;
    overflow-y: auto;
    scroll-padding-top: 10vh;
}

article.inhalt p, 
article.inhalt h1, 
article.inhalt h3 {
    text-align: left !important; /* Rücksetzen der Zentrierung */
    margin: 0; /* Entferne mögliche unerwünschte Ränder */
}


.intro{
    font-size:2vh;
    line-height: 1.5;
}

h1 {
    text-decoration: underline;
    margin-bottom: 50px;
}

.screen {
   
    margin-bottom: 30px; 
    max-width: 80%; 
    height: 200px; 
    text-align: left;


}

.img-text-container {
    display: flex; 
    align-items: center; 
    gap: 20px; 
}


article.inhalt h3 {
    text-decoration: underline;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-top: 20px;
}

article.impressum h3 {
    text-decoration: underline;
    margin:0;
    padding:0;
}

.flex-container {
    display: flex;
    height: calc(100vh-5vh); 
    width:100vw;
    margin-top:5vh;
    
}

.sidebar {
    display: flex;
    flex-direction: column;
    width: 20vw; /* Breite der Seitenleiste (Navigation + Shape) */
    max-width: 200px;
    min-width: 120px;
    
}


.container {
    position: relative;
    left:5vw;
    width: 100%;
    
}

.shape {
    width: 100%; 
    height: 90vh; 
    background-color: grey;
    border-top-left-radius: 0;
    border-bottom-right-radius: 60px; 
        
}


.line {
    position:absolute;
    width: 92vw;
    height: 5vh; 
    left:5vw;
    background-color: grey;
    z-index:10;
    
    
}


footer {
       
    text-align: center;
}

footer > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding-inline-start: 0;
    
}

.footer-navbar li {
    margin: 0 20px; /* Abstand zwischen den Links */
}


.impressum {
    text-align: center;
    height: 90vh;
    width: 100vw;
    padding:10vh 10vw;
    color: #afafaf;
    font-size: 2vh;
    overflow-y: auto;
    scroll-padding-top: 10vh;
   
}


.datenschutz {
    text-align: center;
    margin:auto;
    height: 90vh;
    width: 100vw;
    padding:10vh 10vw;
    color: #afafaf;
    font-size: 2vh;
    overflow-y: auto;
    scroll-padding-top: 10vh;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); 
}

.modal-content {
    display: block;
    margin: auto;
    margin-top: 10vh;
    max-width: 80%; 
    max-height: 80%; 
}

.close {
    position: absolute;
    top: 20vh;
    right: 5vw;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

#caption {
    text-align: center;
    color: white;
    padding: 10px 0;
}

/* Foto Gallery Styles */
.slide-container {
    background-color: #03121f;
    display: flex;
    width: 80%;
    height: 80%;
    margin: auto;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}
.changepic 
{
position:absolute;
margin:auto;
top:90%;
cursor:pointer;
}

.slides {
    transition: transform 1s ease;
    text-align: center;
    font-size: 24px;
    overflow: hidden;
    position: absolute; 

}

#slide1 {
    transform: translate(-60%, -40%);
    z-index: 1;
}

#slide2 {
    z-index: 2;
    transform: translate(0, 40%);
}

#slide3 {
    transform: translate(60%, -40%);
    z-index: 1;
}

.imgslides {
    height: 200px; 
    width: 300px; 
    object-fit: cover; 
    display: block;
    margin: auto;
}

.inner-slide {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotate {
    animation: rotate 1s ease;
}

@keyframes rotate {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}

/*Gallery 2*/

* {
    box-sizing: border-box;
  }
  
  
  .slidecontainer {
    position: relative;
  }
  
 
  .mySlides {
    display: none;
      }

  .mySlides:first-child {
        display: block; 
      }
  
  
  .cursor {
    cursor: pointer;
  }
  
  
  .prev2,
  .next2 {
    cursor: pointer;
    position: absolute;
    width: auto;
    padding: 1.5%;
    top:50%;
    transform: translateY(-50%);
    margin: auto;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
 
.prev2 {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.next2 {
    right: 0;
    border-radius: 0 3px 3px 0;
}
  
  .prev2:hover,
  .next2:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  
  .caption-container {
    display:flex;
    justify-content: center;
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
    height:7vh;
    min-height: 7vh;
    position: relative;
    width: auto;
   
  }
  
  #caption2 {
    position:absolute;
    top:40%;
   
  }


  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  
  .column {
    float: left;
    width: 16.66%;
  }
  
  
  .demo {
    opacity: 0.6;
    width:100%;
  }
  .large {
   position: relative;
   margin:auto;
   width:55%;
   height:55%;
   display:block;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

.scroll-container {
    scrollbar-width: thin; 
    scrollbar-color: #4caf50 #2a2a2a; 
}


  div.scroll-container {
    display:flex;
    overflow:auto;
    white-space: nowrap;
    padding: 10px;
    width:100%;
    height: 60%;
   
  }
  
  div.scroll-container img {
    padding: 10px;
  }


  /* Scrollbar styling for WebKit browsers */
.scroll-container::-webkit-scrollbar {
    height: 8px; 
    background-color: #2a2a2a; 
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #4caf50; 
    border-radius: 10px; 
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #388e3c; 
}

.scroll-container::-webkit-scrollbar-track {
    background-color: #1c1c1c; 
}