@font-face {
    font-family: 'ItalianGaramond';
    src: url('../fonts/ItalianGaramondW01-Roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }

  @font-face {
    font-family: 'ItalianGaramond';
    src: url('../fonts/ItalianGaramondW01-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
  }
  

body, html {
    /* height: 100%; */
    margin: 0;
    overflow-x: hidden;
    cursor: none;
  }
a{
  text-decoration: none;
  color: inherit;
} 
a.visited{
  color: inherit;
}
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'ItalianGaramond', serif;
    font-size: 1.25vw;
    color: black;
    background-color: white;
  }
  p{
    margin: 0;
    padding:0;
  }
  .italic{
    font-family: 'ItalianGaramond', serif;
    font-style: italic;

  }
  
  .project-carousel {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: none;
    z-index: 20;
    mix-blend-mode: difference;
    color: white;
  }
  
  .centered.active {
    display: block;
  }


  .hover-image {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
  }
  
  .project-item:hover .hover-image.multiple-images {
    
    display: block;
  opacity: 1;
  pointer-events: none;
  }
  
  .project-item:hover .hover-image.single-image {
  
    display: block;
  opacity: 1;
  pointer-events: none;
  }
  
  .random-img {
    position: absolute;
    max-width: 18vw;
    max-height: 18vh;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  .hover-image.single-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80vw;
    max-height:80vh;
    object-fit: contain;
  }

  .pageTitle{
    position: fixed;
    top: 2%;
    left: 2%;
    z-index: 50;
  }
  .pageTitleInfoOff{
        position: fixed;
    top: 2%;
    left: 2%;
  }
.Informations{
    position: fixed;
    top: 2%;
    right: 2%;
    z-index: 50;
    mix-blend-mode:difference;

}
.prev,.next{
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.prev{
  left: 2%;
}
.next{
  right: 2%;
}

/* OVERLAY */

#overlayInformations {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: white;
  z-index: 80;
  overflow: scroll;
}

#text{
  position: absolute;
  top: 2%;
  left: 20vw;
  width: 60vw;

}
 details > summary {
   list-style: none;
 }
 details > summary::-webkit-details-marker {
   display: none;
 }
.detailsTab{
  padding-left: 2vw;
}
.detailsTabTab{
  padding-left: 4vw;
}

.detailsTabTab a{
  text-decoration: underline;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio → 9 / 16 = 0.5625 */
  height: 0;
  overflow: hidden;
  margin: 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.image-embed{
  margin: 0;
  padding: 0;
}


/* Subpages */
.WorkScroll{
  width: 100vw;
}
.CoverSection{
  position: relative;
  width: 100vw;
  height: 100vh;
}

.WorkCoverImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.WorkCoverImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.WorkTitleCentered{
      text-align: center;
      position: absolute;
      z-index: 20;
      color: white;
        top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.pageTitle,
.Informations {
  color: white;
  mix-blend-mode: difference;
}

a {
}
.workSpecs{
  display: grid;
  grid-template-columns: 30vw 25vw 40vw;
  padding: 0;
  margin: 2vw; 
}

.workSpecsHeader {
  grid-column: 1 / 2;
}

.workSpecsSpecs {
  grid-column: 2 / 3;
}

.workSpecsAbstract {
  grid-column: 3 / 4;
}

.WorkSpecsTitle{
  font-size: 2.5vw;
  
}

blockquote{
    font-size: 2.5vw;
  text-align: center;
  width: 60%;
  margin: auto;
  margin-top: 2vw;
  margin-bottom: 2vw;
  padding: 1vw;
    font-family: 'ItalianGaramond', serif;
    font-style: italic;
  }

  .workBlock-gallery figure{
    width: 100vw;
    padding: 0;
    margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  scroll-snap-type: x mandatory; /* optional: for snap effect */
  width: 100vw;  

  }
  .bts-gallery{
        padding: 0;
        margin-top: 15vh;
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    width: 100vw;
  }
  .bts-gallery img{
    height: 25vh !important;
  }

    .workBlock-gallery ul {

  gap: 0.5vw; 

}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
}

li{
    margin: 0;
  padding: 0;
      display: inline;
        flex: 0 0 auto; /* don't shrink, no wrap */
  scroll-snap-align: start; /* optional: snap effect */

}
figure img {
  display: block;
  height: 80vh;
  object-fit: cover;
}
.workBlock-image figure img{
  margin: auto;
}
.workBlock-quote {
  margin-top: 15vh;
  margin-bottom: 15vh;
}
.workBlock-text{
    margin-top: 5vh;
  margin-bottom: 5vh;
}
.workBlocks p{
      column-count: 2;
    column-gap: 2vw;
    margin: 2vw;
}
.back{
  width: 100vw;
  margin-top: 15vw;
  margin-bottom: 15vw;
  text-align: center;
}

.password{
  width: 100vw;
  margin-top: 2vw;
  margin-bottom: 2vw;
  text-align: center;
}

/*.password-link{
  text-decoration:  underline;
  text-underline-offset: 0.15em;
}*/

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 55px;
  height: 20px;
  pointer-events: none;
  border-radius: 50%;
  background-color: white;
  /*background: radial-gradient(circle, rgba(17, 0, 255, 0.6) 0%, rgba(255,255,255,0) 90%);*/
  /*box-shadow: 0 0 30px 15px rgba(0, 0, 0, 0.5); */
  z-index: 9999;
  transition: opacity 0.2s ease, transform 0.05s ease-out;
  opacity: 1;
  mix-blend-mode: difference;

}
.cursor.hidden {
  opacity: 0;
}

figcaption p{
  margin-top:0.5vh !important;
  margin-left:2vw !important;
  font-style: italic;
}

.workBlock-image p{
  text-align: center;
  column-count: 1;
}

.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* padding: 2rem; */
}

.image-modal.hidden {
  display: none;
}

.modal-content {
  /* position: relative; */
  text-align: center;
  /* max-width: 90vw;
  max-height: 90vh; */
}

.modal-content img {
  max-width: 100%;
  max-height: 95vh;
}

.modal-content figcaption {
  color: #fff;
  margin-top: 0.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: white;
}

.swipe-hint {
  display: none;
}

@keyframes fadeLoop {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}


@media only screen and (max-width: 600px) {

  html, body {
    font-size: 5vw;
    
  }

  .cursor {
    display: none;
  }

  .pageTitle {
    top: 2%;
    left: 4%;
  }

  .pageTitleInfoOff {
    top: 2%;
    left: 4%;
  }

  .Informations {
    top: 2%;
    right: 4%;
  }

  .prev {
    left: 3%;
  }

  .next {
    right: 3%;
  }

  figure img {
    height: 35vh;
  }


  .WorkSpecsTitle {
    font-size: 8vw;
    margin-left: 2vw;
    margin-top: 3vh;
  }

  blockquote {
    font-size: 8vw;
    width: 90%;
    margin: auto;
    
  }

  /* Mobile layout */
  .workSpecs {
    display: block;

  }

  .workSpecsHeader {
    order: 0;
    width: 100%;
    text-align: center;
  }

  .workSpecsAbstract {
    margin-top: 10vw;
    margin-left: 2vw;
    margin-right: 3vw;

  }

  .workSpecsSpecs {
    margin-top: 10vw;
    margin-left: 2vw;

  }
  .workBlocks p {
    column-count: 1 !important;
    column-gap: 0;
    margin-left: 4vw;
    margin-right: 3vw;
  }

  #text{
    left: 35vw;
    width: 60vw;
  }

  .hover-image {
    display: block !important;
    opacity: 1 !important;
    pointer-events: none;
  }

  .hover-image .random-img {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .hover-image .random-img.active {
    opacity: 1;
  }

  .hover-image.single-image img {
    opacity: 0;
    transition: opacity 3s ease-in-out;
  }

  .hover-image.single-image img.active {
    opacity: 1;
  }

  .project-item:hover .hover-image {
    /* disables hover effect on mobile */
    display: block;
    opacity: 1;
  }

  .prev, .next {
    display: none;
  }

  .random-img {
    max-width: 35vw; 
    max-height: 35vh; 
  }

  .password {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .mobile-home {
    height: 85vh;  
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;

  }



  .swipe-hint {
    display: block;
    position: fixed;
    bottom: 3vh;
    left: 50%;
    transform: translateX(-50%);
    mix-blend-mode: difference;
    color: white;
}

.CoverSection{
  position: relative;
  width: 100vw;
 top:25%
}

#text {
  position: relative; /* statt absolute */
  top: auto;
  left: auto;
  width: 90vw; /* oder 100%, wie du magst */
  margin: 15vw auto 0 auto; /* Abstand vom Titel */
}

.detailsTab{
  padding-left: 6vw;
}
.detailsTabTab{
  padding-left: 6vw;
}





}
  




/*tablet */
@media only screen and (min-width: 600px) and (max-width: 1024px) {

  body {
    font-size: 5vw;
  }
}

/* landscape tablets */
@media only screen and (min-width: 768px) {

}


