.height_1_5 {
  height: calc(100vh / 10.5 * 1.5);
  height: calc(100dvh / 10.5 * 1.5);
  /* background: yellow; */
}

.height_3_5 {
  height: calc(100vh / 10.5 * 3.5);
  height: calc(100dvh / 10.5 * 3.5);
  /* background: red; */
}

.height_1 {
  height: calc(100vh / 10.5 * 1);
  height: calc(100dvh / 10.5 * 1);
  /* background: blue; */
}












.image-strip-container {
  position: fixed;
  top: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  z-index: 1;
}

.image-strip {
  display: flex;
  gap: 0;
  height: 33.3333vh;

}

.image-item {
  height: 33.3333vh;
  flex-shrink: 0;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-family: Arial, sans-serif;
}

.image-item img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: cover;
}

.image-item:last-of-type {
  margin-right: 4rem;
}


/* .section img {
  width: auto;
  height: 33.333vh;
  color: white;
  cursor: pointer;
}

.section img:last-of-type {
  margin-right: 4rem;
}

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: 100dvh;
} */











.desktop {
  z-index: 9999;
  position: relative;
  pointer-events: none;
}

.pointer-enabled {
  pointer-events: initial;
}

.scrollayer {
  position: absolute;
  top: 0;
}

.navilayer {
  position: fixed;
  top: 0;
}

.columns {
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-rows: 1fr 1fr 1.5fr 3.5fr 1.5fr 1fr 1fr;
  gap: 0;
  min-height: 100vh;
  min-height: 100dvh;
  margin-right: var(--standard);
  margin-left: var(--standard);
  width: calc(100vw - (2 * var(--standard)));
  width: calc(100dvw - (2 * var(--standard)));
}

.rows {
  display: grid;

  bottom: 0;
  top: 0;
  grid-template-columns: 3.5fr 1fr 1fr 2.5fr 1fr 1fr 1fr 2.5fr;
  gap: 0;
}

.bottom div {
  align-self: flex-end;
}

.project-rows {
  display: grid;
  right: var(--standard);
  left: var(--standard);
  bottom: 0;
  top: 0;
  grid-template-columns: 3.5fr 10fr;
  gap: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 4.5fr 1fr 1fr 2.5fr;
  gap: 0;
}

.page-navigation{
  pointer-events: initial;
  margin-top: var(--standard);
}


/*----fullscreen overlay----*/
.fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;

  background-color: white;
}

.fullscreen-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.close-button {
  pointer-events: initial;
  position: relative;
  z-index: 99999;
}

.close-button:hover {
  pointer-events: initial;
  opacity: 0.5;
  cursor: pointer;
}


/*----splide customization----*/
.splide {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
}

.splide__track {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
}

.splide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.splide__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Custom arrow styles */
.splide__arrows {
  display: block;
  /* z-index: 9998; */
}

.splide__arrow {
  background: none;
  border: none;
  width: 50vw;
  width: 50dvw;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
  transition: all 0.2s ease;
  -ms-flex-align: center;
  align-items: center;
  background: none;
  border: 0;
  border-radius: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0;
  padding: 0;
  position: absolute;
  top: 0;
  transform: none;
  -webkit-tap-highlight-color: transparent;  
  touch-action: manipulation;                
}

.splide__arrow--prev:hover {
  cursor: w-resize;
}

.splide__arrow--next:hover {
  cursor: e-resize;
}

.splide__arrow svg {
  display: none;
}

/* .splide__arrow--prev {
  left: 2rem;
}

.splide__arrow--next {
  right: 2rem;
} */

.splide__arrow:disabled {
  /* opacity: 0.3; */
  cursor: not-allowed;
  /* transform: none; */
}

/* .splide__arrow:disabled:hover {
  background: white;
  transform: none;
} */

.splide__pagination {
  display: none;
}

/* Fade effect for non-active slides */
.splide__slide:not(.is-active) {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.splide__slide.is-active {
  opacity: 1;
}


#hidelink.inactive {
  opacity: 0;
  pointer-events: none;
}

#mobilehidelink.inactive {
  opacity: 0;
  pointer-events: none;
}


/* .wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  transition: 0.3s opacity;
}

.wrapper.open {
  opacity: 0.3;
} */

/* .project-grid {
  display: grid;
  grid-template-columns: 1fr 4fr 1fr 1fr;
  gap: 1rem;
  width: 100%;
  padding-bottom: var(--standard);
} */

.gallery-image {
  pointer-events: initial;
}

/*-------top grid------*/
.top-grid {
  display: grid;
  position: fixed;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "a b c";
  right: var(--standard);
  left: var(--standard);
  top: 0;
  z-index: 9997;
  gap: var(--standard);
  transition: 0.4s;
  pointer-events: none;
  margin-top: 16.5vh;
}

.close-grid {
  display: grid;
  position: fixed;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "a b c";
  right: var(--standard);
  left: var(--standard);
  top: 0;
  gap: var(--standard);
  transition: 0.4s;
  pointer-events: none;
  margin-top: 16.5vh;
  z-index: 99999;
}

.top-grid a {
  pointer-events: initial;
}

.a {
  grid-area: a;
}

.b {
  grid-area: b;
}

.c {
  grid-area: c;
}

/*-------low grid------*/
.low-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "d e e"
    "d f f";
  right: var(--standard);
  left: var(--standard);
  bottom: 0;
  top: 0;
  position: fixed;
  z-index: 9998;
  gap: var(--standard);
  transition: 0.4s;
  pointer-events: none;
  margin-bottom: 16.5vh;

}

.infoblock {
  padding-bottom: var(--standard);
}

.e {
  grid-area: e;
  height: 100vh;
  height: 100dvh;
  align-self: end;
  transition: 0.3s height;
}

.infobox {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--standard);
}

.e.open {
  height: 30vh;
  height: 30dvh;
}

.f {
  grid-area: f;
  pointer-events: initial;
  height: calc (100vh - (var(--standard) * 2) - 30vh);
  height: calc (100dvh - (var(--standard) * 2) - 30dvh);
  overflow: scroll;
  padding-bottom: var(--standard);
}

#toggle-info {
  pointer-events: initial;
  cursor: pointer;
}

#toggle-info:hover {
  opacity: 0.5;
}

/*-------hide scroll------*/
html,
body {
  padding: 0;
  margin: 0;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.scrollbar::-webkit-scrollbar,
.f::-webkit-scrollbar {
  display: none;
}

.scrollbar,
.f {
  scrollbar-width: none;
}

#mobileCloseButton {
  display: none;
  z-index: 9999;
}

.close-button {
  display: inline-block;
}

.close-container {
  justify-self: flex-end;
}

.closewrapper{
  position: absolute;
  top:0;
}

.padding-bottom{
  padding-bottom: 16.5vh;
}

/*-------mobile------*/
@media screen and (max-width: 580px) {

  .image-strip-container {

  height: 95vh;
  height: 95dvh;

}

  .close-button {
    display: none;
  }

  #mobileCloseButton {
    display: inline-block;
    position: fixed;
    top: var(--standard);
    right: var(--standard);
  }

  #mobileinfotext.active {
    opacity: 1;
    pointer-events: initial;

  }

  #mobileinfotext {
    opacity: 0;
    pointer-events: none;
  }


  .mobile-header {
    position: fixed;
    background: none;
    z-index: 9999;
  }

  .mobile-footer {
    background: none;
    z-index: 9999;
  }

  .mobile-center {
    max-height: var(--center-height);
    position: absolute;
    top: var(--header-height);
    
    bottom: var(--footer-height);
    
    pointer-events: none;
    overflow-y: scroll;
  }


  .mobile-project-spacer{
height: 84vh;
height: 84dvh;
pointer-events: none;
  }


  .mobile-project-area{
    margin-right: var(--standard);
    margin-left: var(--standard);
    z-index: 9999;position: relative;
    margin-bottom: var(--standard);
    display: grid;
grid-template-columns: 3fr 1fr;  
}

.area-right{
  justify-self: flex-end;
}

    .mobile-project-text{
    margin-right: var(--standard);
    margin-left: var(--standard);
    z-index: 9999;position: relative;
        margin-bottom: var(--standard);

  }


  #container {
    display: none;
  }

  #container-mobile {
    display: block;
    width: 100vw;
    padding: 30vh 0;
  }

  .scroll-img {
    width: calc(100vw - (var(--standard) * 2));
    margin: 0 var(--standard);
  }

  .top-grid {
    display: grid;
    position: fixed;
    grid-template-columns: 2fr 1fr;
    grid-template-areas:
      "a b";
    right: var(--standard);
    left: var(--standard);
    top: 0;
    z-index: 9998;
    gap: var(--standard);
    transition: 0.4s;
    margin-top: 0vh;
  }

  .a {
    grid-area: a;
    margin-top: var(--standard);
  }

  .b {
    grid-area: b;
    margin-top: var(--standard);
    justify-self: end;
  }

  .c {
    display: none;
  }

  /*-------low grid------*/
  .low-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "e"
      "f";
    right: var(--standard);
    left: var(--standard);
    bottom: 0;
    position: fixed;
    z-index: 9998;
    gap: var(--standard);
    transition: 0.4s;
    pointer-events: none;
    margin-bottom: 16.5vh;

  }

  .mobile-hide {
    display: none;
  }

  .project-grid {
    grid-template-columns: 3fr 1fr;
  }

  .year {
    justify-self: end;
  }
}

/* Smooth scrollbar styles */
[data-scrollbar] {
  display: block;
  position: relative;
}

.scroll-content {
  display: flow-root;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.scrollbar-track {
  position: absolute;
  opacity: 0;
  z-index: 1;
  background: rgba(222, 222, 222, .75);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 0.5s 0.5s ease-out;
  transition: opacity 0.5s 0.5s ease-out;
}

.scrollbar-track.show,
.scrollbar-track:hover {
  opacity: 1;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.scrollbar-track-x {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
}

.scrollbar-track-y {
  top: 0;
  right: 0;
  width: 8px;
  height: 100%;
}

.scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: rgba(0, 0, 0, .5);
  border-radius: 4px;
}