/*  

	Author : Moskva Yigit
	Author URI : http://www.moskvayigit.com/

	Table of Contents
	- Draggable Infinitive Gallery
	 
*/

.ki-description{width:100%;}

/*----------------------------
	. Draggable Infinitive Gallery
-----------------------------*/

*,
*::after,
*::before {
	box-sizing: border-box;
}

.draggable-infinitive-gallery--container {
  overflow: hidden;
  position: relative;
  --spacing-base: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --color-text: #ffffff;
  --color-text-dim: 0.6;
  --transition-medium: 0.3s ease;
  --font-size-base: 14px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

.draggable-infinitive-gallery--container::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: transparent
    url("../images/noise-transparent.png") repeat 0 0;
  background-size: 300px 300px;
  animation: noise-animation 0.3s steps(5) infinite;
  opacity: 0.9;
  will-change: transform;
  z-index: 100;
  pointer-events: none;
}

@keyframes noise-animation {
  0% {
    transform: translate(0, 0);
  }

  10% {
    transform: translate(-2%, -3%);
  }

  20% {
    transform: translate(-4%, 2%);
  }

  30% {
    transform: translate(2%, -4%);
  }

  40% {
    transform: translate(-2%, 5%);
  }

  50% {
    transform: translate(-4%, 2%);
  }

  60% {
    transform: translate(3%, 0);
  }

  70% {
    transform: translate(0, 3%);
  }

  80% {
    transform: translate(-3%, 0);
  }

  90% {
    transform: translate(2%, 2%);
  }

  100% {
    transform: translate(1%, 0);
  }
}

.draggable-infinitive-gallery--container.dark {
    color: #fff;
	background #000;
}

.draggable-infinitive-gallery--container.light {
    color: #000;
	background #fff;    
}

.draggable-infinitive-gallery--coordinates-section {
  grid-column: 1 / span 3;
}

.draggable-infinitive-gallery--container a {
  position: relative;
  cursor: pointer;
  color: var(--color-text);
  padding: 0;
  display: inline-block;
  z-index: 1;
  text-decoration: none;
  font-size: var(--font-size-base);
  opacity: 1;
  transition: color var(--transition-medium);
  font-weight: 700;
}

.draggable-infinitive-gallery--container a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color-text);
  z-index: -1;
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.draggable-infinitive-gallery--container a:hover::after{
  width: 100%;
}

.draggable-infinitive-gallery--container a:hover {
  color: black;
  mix-blend-mode: difference;
  opacity: 1;
}

.draggable-infinitive-gallery--container p {
  display: block;
  text-decoration: none;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01rem;
  -webkit-font-smoothing: antialiased;
}

.draggable-infinitive-gallery--container ul {
  list-style: none;
  padding: 0;
}

.draggable-infinitive-gallery--container li {
    padding: 0;
    margin: 0;
    height: 20px;
}

.draggable-infinitive-gallery--container h3 {
  font-size: 14px;
  margin-bottom: var(--spacing-base);
  font-weight: 600;
}

.draggable-infinitive-gallery--header,
.draggable-infinitive-gallery--footer {
  position: absolute;
  left: 0;
  width: 100vw;
  padding: 1.5rem;
  z-index: 10000;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--spacing-base);
}

.draggable-infinitive-gallery--header {
  top: 0;
}

.draggable-infinitive-gallery--footer {
  bottom: 0;
}

.draggable-infinitive-gallery--nav-section {
  grid-column: 1 / span 3;
}

.draggable-infinitive-gallery--values-section {
  grid-column: 5 / span 2;
}

.draggable-infinitive-gallery--location-section {
  grid-column: 7 / span 2;
}

.draggable-infinitive-gallery--contact-section {
  grid-column: 9 / span 2;
}

.draggable-infinitive-gallery--social-section {
  grid-column: 11 / span 2;
  text-align: right;
}

.draggable-infinitive-gallery--coordinates-section {
  grid-column: 1 / span 3;
}

.draggable-infinitive-gallery--links-section {
  grid-column: 5 / span 4;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-base);
}

.draggable-infinitive-gallery--info-section {
  grid-column: 9 / span 4;
  text-align: right;
}

.draggable-infinitive-gallery--logo-container {
  margin-bottom: var(--spacing-md);
  display: block;
  width: 3rem;
  height: 1.5rem;
  position: relative;
}

.draggable-infinitive-gallery--logo {
  position: relative;
  width: 100%;
  height: 100%;
}

.draggable-infinitive-gallery--container {
  position: relative;
  max-width: 100vw;
  height: 100vh;
  overflow: hidden;
  cursor: grab;
}

.draggable-infinitive-gallery--canvas {
  position: absolute;
  will-change: transform;
}

.item {
  position: absolute;
  overflow: hidden;
  background-color: #000000;
  cursor: pointer;
  border-radius: var(--border-radius, 0px);
}

.item-image-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.item-image-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  box-shadow: inset 0 0 var(--vignette-size, 0px) rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.item:hover img {
  transform: scale(var(--hover-scale, 1.05));
}

.item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  z-index: 2;
}

.draggable-infinitive-gallery--project-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 10002;
}

.draggable-infinitive-gallery--project-title p {
  position: relative;
  height: 42px;
  color: #ffffff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  overflow: hidden;
}

.draggable-infinitive-gallery--project-title p .word {
  position: relative;
  display: inline-block;
  font-size: 36px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  transform: translateY(0%);
  will-change: transform;
}

.item-name {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
  position: relative;
  overflow: hidden;
  height: 16px;
}

.item-name .word {
  position: relative;
  display: inline-block;
  will-change: transform;
}

.item-number {
  color: #888888;
  font-size: 10px;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  height: 14px;
}

.item-number .char {
  position: relative;
  display: inline-block;
  will-change: transform;
}

.expanded-item {
  position: fixed;
  z-index: 10000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #000000;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--border-radius, 0px);
}

.expanded-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.draggable-infinitive-gallery--overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
}

.draggable-infinitive-gallery--overlay.active {
  pointer-events: auto;
}

.draggable-infinitive-gallery--page-vignette-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.draggable-infinitive-gallery--page-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 var(--page-vignette-size, 0px)
    var(--page-vignette-color, rgba(0, 0, 0, 0.9));
}

.draggable-infinitive-gallery--page-vignette-strong {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 var(--page-vignette-strong-size, 0px)
    var(--page-vignette-strong-color, rgba(0, 0, 0, 0.95));
}

.draggable-infinitive-gallery--page-vignette-extreme {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 var(--page-vignette-extreme-size, 0px)
    var(--page-vignette-extreme-color, rgba(0, 0, 0, 1));
}

.caption-clone {
  position: fixed;
  z-index: 10002;
}

.caption-clone {
  position: fixed;
  z-index: 10001;
}

.caption-clone .item-name,
.caption-clone .item-number {
  overflow: hidden;
}
