

#hero {
  height: fit-content !important;
  padding-left: 0;
  padding-right: 0;
  max-width: none;
  max-height: none;
  min-width: 100vw;
  min-height: fit-content;
  margin-bottom: 0;
}
.nav-blur{
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.logo-box{
    max-height: 4rem;
}

#project-details{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: fit-content;
}

.project-aspect{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    min-height: 2rem;
    margin: 0 0 4rem 0;
    
}


.project-image{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 85vh !important;
    
}

.project-image-1{
    min-height: 26rem;

}

.project-image img{
    object-fit: fill;
    max-width: 100%;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    overflow: hidden;
    

}




.aspect-1 .project-image{
    flex-direction: row;
    align-items: center;
    overflow: hidden;
}

.aspect-2 .project-image{
      max-width: max(118vh, 45rem);


}


.project-description{
    height: fit-content;
    width: 96%;
    max-width: max(107vh, 37.5rem);
    min-height: 1rem;
    margin-top: 1rem;
    
}




.slideshow {
  position: relative;
  width: 100%;
  max-width: max(107vh, 37.5rem);
  aspect-ratio: 1.5/1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* box-shadow: 4px 6px 12px rgba(0,0,0,0.3); */
}

.slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 8s infinite;
}

.slideshow img:nth-child(1) { animation-delay: 0s; }
.slideshow img:nth-child(2) { animation-delay: 4s; }

@keyframes fade {
  0%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  95%  { opacity: 0; }
  100% { opacity: 1; }
}



.slideshow-2 {
  position: relative;
  min-height: 28rem;
  height: 55vh;
  max-width: max(107vh, 37.5rem);
  aspect-ratio: 1/1;
  /* overflow: hidden; */
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bg-color 12s infinite;
  min-height: 1px;
  min-width: 1px;
  border-radius: 50%;
  flex-grow: 0;
  flex-shrink: 0;
  margin-top: 3vh;
  margin-bottom: 8vh;
}

@keyframes bg-color {
  0%   { background-color: rgb(255, 241, 163); }
  5%   { background-color: rgb(255, 241, 163); }


  15%  { background-color: rgb(191, 255, 168); }
  30%  { background-color: rgb(191, 255, 168); }


  40%  { background-color: rgb(196, 255, 249); }
  55%  { background-color: rgb(196, 255, 249); }


  65%  { background-color: rgb(255, 211, 218); }
  80%  { background-color: rgb(255, 211, 218); }
  
  90% { background-color: rgb(255, 241, 163); }
  100% { background-color: rgb(255, 241, 163); }
}

  


.slideshow-2 img {
  position: absolute;
  width: 160%;
  height: 160%;
  object-fit: cover;
  opacity: 0;
  animation: fade-2 12s infinite;
  overflow: visible;
  z-index: 100;
  margin-top: -5%;
}

.slideshow-2 img:nth-child(1) { animation-delay: 0s; }
.slideshow-2 img:nth-child(2) { animation-delay: 3s; }
.slideshow-2 img:nth-child(3) { animation-delay: 6s; }
.slideshow-2 img:nth-child(4) { animation-delay: 9s; }

@keyframes fade-2 {
  0%   { opacity: 0; }
  10%  { opacity: 1; }   /* einblenden */
  30%  { opacity: 1; }   /* sichtbar bleiben */
  40%  { opacity: 0; }   /* ausblenden */
  100% { opacity: 0; }
}









.slideshow-3 {
  position: relative;
  width: 98%;
  max-width: max(107vh, 37.5rem);
  aspect-ratio: 4/1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  box-shadow: 4px 6px 12px rgba(0,0,0,0.3);
}

.slideshow-3 img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: fade-3 12s infinite;
}

.slideshow-3 img:nth-child(1) { animation-delay: 0s; }
.slideshow-3 img:nth-child(2) { animation-delay: 4s; }
.slideshow-3 img:nth-child(3) { animation-delay: 8s; }


@keyframes fade-3 {
  0%   { opacity: 0; }
  10%  { opacity: 1; }   /* einblenden */
  40%  { opacity: 1; }   /* sichtbar bleiben */
  50%  { opacity: 0; }   /* ausblenden */
  100% { opacity: 0; }
}





.aspect-4{
    background:linear-gradient( #ffffff, #f6f6f6 15%);
    margin-bottom: 0;
    padding-bottom: 4rem;
    overflow: hidden;
}

.aspect-5{
    background-color: #f6f6f6 ;
    padding-bottom: 2rem;
    margin-bottom: 0rem;


}






















@media (max-width: 52rem){
    .project-image{
        min-height: 1px;

    }

}
