/************************************/
/*************  COLORS   ************/
/************************************/
.module-gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 5.5vw 1fr 5.5vw 1fr 5.5vw 1fr 5.5vw 1fr 5.5vw 1fr;
  grid-template-columns: repeat(6, 1fr);
  gap: 4vw 5.5vw;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.module-gallery .project-container {
  cursor: pointer;
}
.module-gallery .project-container:hover .image-container .image {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.module-gallery .project-container:hover .text-container {
  opacity: 1;
  -webkit-transform: translateY(0px);
          transform: translateY(0px);
}
.module-gallery .project-container .image-container {
  margin-bottom: 12px;
  overflow: hidden;
}
.module-gallery .project-container .image-container .image {
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}
.module-gallery .project-container .text-container {
  opacity: 0;
  -webkit-transform: translateY(-10px);
          transform: translateY(-10px);
  -webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition: opacity 0.4s ease, transform 0.4s ease, -webkit-transform 0.4s ease;
}
.module-gallery .project-container .text-container .title {
  margin-bottom: 3px;
}
.fixed-image-container {
  position: fixed;
  overflow: hidden;
  pointer-events: none;
  z-index: 25;
}
.fixed-image-container .image {
  position: relative;
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.module-images-projects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  overflow: auto;
  z-index: 20;
  padding: var(--lateral-space);
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  scrollbar-gutter: stable;
}
.module-images-projects.overflow-hidden {
  overflow: hidden;
  -ms-touch-action: none;
      touch-action: none;
  overflow-scrolling: none;
}
.module-images-projects.hidden {
  pointer-events: none;
  opacity: 0;
}
.module-images-projects.hidden .project-container {
  opacity: 0;
}
.module-images-projects.hidden .project-container .image {
  pointer-events: none;
}
.module-images-projects .close-container {
  position: sticky;
  top: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 0;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  z-index: 1;
}
.module-images-projects .close-container .close {
  cursor: pointer;
  -webkit-transition: color 0.4s ease;
  transition: color 0.4s ease;
}
.module-images-projects .close-container .close:hover {
  color: var(--color-gray-hover);
}
.module-images-projects .project-container {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 200px calc(100% - 400px) 200px;
  grid-template-columns: 200px calc(100% - 400px) 200px;
  -webkit-transition: opacity 0.4s ease 0.2s;
  transition: opacity 0.4s ease 0.2s;
}
.module-images-projects .project-container:first-child {
  padding-top: 30vh;
}
.module-images-projects .project-container .text-container {
  position: sticky;
  top: 0px;
  margin-bottom: 40px;
  z-index: 1;
}
.module-images-projects .project-container .text-container .title {
  margin-bottom: 3px;
}
.module-images-projects .project-container .text-container .text {
  margin-bottom: 12px;
}
.module-images-projects .project-container .image {
  pointer-events: auto;
}
.module-images-projects .project-container .images-container {
  margin-bottom: 16px;
  margin-top: -16px;
}
.module-images-projects .project-container .images-container .image-container {
  height: 75vh;
}
.module-images-projects .project-container .images-container .image-container .image {
  position: relative;
  width: auto;
  left: 50%;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-transform-origin: center;
          transform-origin: center;
  will-change: transform;
}
@media (min-width: 1921px) {
  .module-images-projects .project-container {
    -ms-grid-columns: 10.4167vw calc(100% - 20.8334vw) 10.4167vw;
    grid-template-columns: 10.4167vw calc(100% - 20.8334vw) 10.4167vw;
  }
}
@media (max-width: 800px) {
  .module-gallery {
    -ms-grid-columns: 1fr 10px 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .module-gallery .project-container .image-container {
    margin-bottom: 0;
  }
  .module-gallery .project-container .text-container {
    display: none;
  }
  .module-images-projects .project-container {
    position: relative;
    display: block;
    -ms-grid-columns: initial;
    grid-template-columns: initial;
  }
  .module-images-projects .project-container .text-container {
    width: calc(100% - 40px);
    margin-bottom: 20px;
  }
  .module-images-projects .project-container .images-container {
    margin-top: 0px;
    margin-bottom: 32px;
  }
  .module-images-projects .project-container .images-container .image-container {
    height: auto;
    margin-bottom: 10px;
    text-align: center;
  }
  .module-images-projects .project-container .images-container .image-container .image {
    display: inline-block;
    left: initial;
    width: 100%;
  }
}
