

/*=======================
      global project
 =======================*/

/* title------------- */

html {
  background-color: var(--greis);
  transition: background-color 0.7s ease;
}


.projectGrid,
.projectGridSub,
.projectGridSub2 {
  row-gap: 16px;
  column-gap: 16px;
}
.projectGridSub {
  grid-template-columns: repeat(6, 1fr);
}
.projectGridSub2 {
  grid-template-columns: repeat(6, 1fr) 11vw 6vw;
}

.gridRowAuto {
  grid-template-rows: auto auto;
}
.projectGrid p {
  margin-top: 0;
}

.projectSub {
  margin-top: 0;
}


.projectGridA {
  grid-column: 3 / 9;
}

.projectStartText {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tools {
  margin-top: auto;
  width: 100%;
}
.toolsHead {
  margin-bottom: 20px;
}
.toolsUsed {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  column-gap: 8px;
}
.toolsIcon {
  width: 50%;
  min-width: 3.2em;
  max-width: 5em;
}

.projectImg {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 80vh;
}
.projectImgSq {
  aspect-ratio: 1 / 1;
  height: auto;
}
.projectImgSq2 {
  aspect-ratio: 2 / 1;
  height: auto;
}

.PI_H40 {
  height: 40vh;
}
.PI_H60 {
  height: 60vh;
}
.PI_Hauto {
  height: auto;
}

.I1 {
  width: 100%;
  height: 40vh;
}




/* Project image grids */

.PI_Full {
  grid-column: 3 / 15;
}

/* Grid item start */
.PI_S1 {
  grid-column-start: 1;
}
.PI_S2 {
  grid-column-start: 2;
}
.PI_S3,
.projectTitle {
  grid-column-start: 3;
}
.PI_S4 {
  grid-column-start: 4;
}
.PI_S7 {
  grid-column-start: 7;
}
.PI_S6 {
  grid-column-start: 6;
}
.PI_S9 {
  grid-column-start: 9;
}
.PI_S11 {
  grid-column-start: 11;
}
.PI_S12 {
  grid-column-start: 12;
}

/* Grid item width */

.PI_W2 {
  grid-column-end: span 2;
}
.PI_W3 {
  grid-column-end: span 3;
}
.PI_W4 {
  grid-column-end: span 4;
}
.PI_W5 {
  grid-column-end: span 5;
}
.PI_W6 {
  grid-column-end: span 6;
}
.PI_W8 {
  grid-column-end: span 8;
}
.PI_W12,
.projectTitle {
  grid-column-end: span 12;
}

.PI_R2 {
  grid-row-start: 2;
}
.PI_R2B {
  grid-row: span 2;
}






/* old shit VVV */

#projectTitleDiv {
  height: 100vh;
  width: 90vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 200px;
  text-align: center
}

.projectTextDiv {
  top: 50%;
  margin-top: 0;
  margin-bottom: auto;
  height: inherit;
  width: inherit;
  display: table-cell;
  vertical-align: middle;
}

.projectText {
  font-size: 17em;
  line-height: 0.9;
  height: auto;
  color: var(--whyte);
  margin-top: auto;
  padding-top: auto;
  padding-bottom: auto;
  word-break: break-word;
  vertical-align: middle;
  transition: color 0.7s ease;
}

.projectSubText {
  color: var(--whyte);
  margin: 26px;
  transition: color 0.7s ease;
}


.imageRotate {
  animation: rotate 12s infinite linear;
  position: absolute;
  height: 300px;
  width: auto;
  left: 0;
  right:0;
  margin-left: auto;
  margin-right: auto;
  top: 0;
  bottom: 0;
  margin-top: auto;
  margin-bottom: auto;
  z-index: -1;
}

@keyframes rotate{
    from {
        transform: rotate(0deg);
      }
      to {
        transform: rotate(-360deg);
      }
    }

/*=======================
      image modal
 =======================*/

.spotlight {
  cursor: pointer;
}

#imageModal {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  top: 0;  
  bottom: 0;  
  left: 0;  
  right: 0;
  margin: auto;
  background-color: rgba(240, 128, 128, 0.452);
}

#closeModal {
  z-index: 999999;
}

#zoomOuter {
  overflow: hidden;
  display: inline;
  max-width: 100vw;
  max-height: 100vh;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  cursor: pointer;
  background-color: rgba(252, 113, 0, 0.233);
}

#imageModal img {
  max-height: 90vh;
  max-width: 80vw;
  cursor: grab;
  transform-origin: 0px 0px;
  transform: scale(1) translate(0px, 0px);
  z-index: 10001;
}

#modalBg {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: pointer;
  background-color: var(--background);
}

/*=======================
      exit button
 =======================*/

.exitBar {
  width: 6px;
  height: 30px;
  background: var(--whyte);
  transform: rotate(45deg);
  transition: background-color 0.7s ease;
}

.exitBar2 {
  position: absolute;
  transform: rotate(-45deg);
}

.space {
  width: 100%;
  height: 40px;
}

 .spaceBig {
  width: 100%;
  height: 80px;
 }

 /* title break ------------------------------- */

.titleBreak {
  text-align: center;
  display: flex;
  flex-wrap: nowrap;
  justify-content:center;
  align-items: center;
}

.titleBreak h3 {
  display: flexbox;
  flex-grow: 2;
  margin: auto 2rem auto 0rem;
}

.titleBreak hr {
  display: flexbox;
  flex-grow: 100;
  margin: auto;
  width: auto;
  border: 0;
  height: 1px;
  background: var(--greis);
}

/* image ------------------------------------ */

.projectContent {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20vw;
  padding-right: 20vw;
  display: grid;
  gap: 24px;
  row-gap: 48px;
  grid-template-columns: repeat(12, 1fr);
  box-sizing: border-box;
  position: relative;
}

.noGap {
  row-gap: 0px;
}

.wrapperSub {
  display: grid;
  gap: 24px;
  row-gap: 0;
  grid-template-columns: repeat(12, 1fr);
}

.wrapperSub,
.item-full {
  grid-column: 1 / 13;
  position: relative;
}

.item-half {
  grid-column: 4 / 10;
}

.item-a {
  grid-column: 1 / 7;
  position: relative;
}

.item-b {
  grid-column: 7 / 13;
  position: relative;
}

.item-c {
  grid-column: 1 / 5;
  position: relative;
}
.item-c2 {
  grid-column: 5 / 13;
  position: relative;
}

.item-d {
  grid-column: 5 / 9;
  position: relative;
}

.item-e {
  grid-column: 9 / 13;
  position: relative;
}
.item-e2 {
  grid-column: 1 / 9;
  position: relative;
}

.item-f {
  grid-column: 2 / 6;
  position: relative;
}

.item-f2 {
  grid-column: 2 / 12;
  position: relative;
}

.item-g {
  grid-column: 8 / 12;
  position: relative;
}

.itemShort-a {
  grid-column: 1 / 4;
  position: relative;
}
.itemShort-b {
  grid-column: 4 / 7;
  position: relative;
}
.itemShort-c {
  grid-column: 7 / 10;
  position: relative;
}
.itemShort-d {
  grid-column: 10 / 13;
  position: relative;
}

.item-footer2 {
  grid-column: 5 / 13;
}

.rotate {
  animation: rotate 6s infinite linear;
}

@media (max-width: 768px) {

  .projectContent {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .projectContent,
  .wrapperSub {
    grid-template-columns: repeat(4, 1fr);
  }

  section.projectGrid {
    grid-template-columns: 3vw 3vw repeat(4, 1fr) 3vw 3vw;
    margin-bottom: 12rem;
  }

  .projectGridSub,
  .projectGridSub2 {
    grid-template-columns: repeat(4, 4fr);
  }

  .projectTitle,
  .PI_Full,
  .PI_S1,
  .PI_S2,
  .PI_S3,
  .PI_S4,
  .PI_S6,
  .PI_S7,
  .PI_S9,
  .PI_S11,
  .PI_S12
   {
    grid-column-start: 3;
  }

  .projectTitle,
  .PI_Full,
  .PI_W2,
  .PI_W3,
  .PI_W4,
  .PI_W6,
  .PI_W8
  {
    grid-column-end: span 4;
  }

  .PI_R2,
  .PI_R2B {
    grid-row: auto;
  }

  .PI_M_S4 {
    grid-column-start: 4;
  }
  .PI_M_S5 {
    grid-column-start: 5;
  }
  .PI_M_W1 {
    grid-column-end: span 1;
  }
  .PI_M_W2 {
    grid-column-end: span 2;
  }
  .PI_M_W4 {
    grid-column-end: span 4;
  }

  .PI_M_Full {
    grid-column: 1 / 9;
  }


  .projectGridSub > img,
  .projectGridSub > p,
  .projectGridSub2 > img,
  .projectGridSub2 > p
   {
    grid-column-start: 1;
  }

  .projectRowAuto {
    grid-row: auto ;
  }


  .wrapperSub,
  .item-full,
  .item-half,
  .item-a,    .itemShort-a,
  .item-b,    .itemShort-b,
  .item-c,    .itemShort-c,
  .item-d,    .itemShort-d,
  .item-e,
  .item-f,    .item-f2,
  .item-g,
  .item-footer2 {
      grid-column: 1 / 5;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .projectContent {
    padding-left: 10vw;
    padding-right: 10vw;
  }

  section.projectGrid {
    grid-template-columns: 3vw 3vw repeat(12, 1fr) 3vw 3vw;
  }

  .projectContent,
  .wrapperSub {
    grid-template-columns: repeat(8, 1fr);
  }

  .toolsIcon {
    width: 80%;
  }

  .item-full,
  .item-full-tablet,
  .wrapperSub {
      grid-column: 1 / 9;
  }

  .item-half-tablet {
    grid-column: 2 / 8;
  }

  .item-a-tablet {
      grid-column: 1 / 5;
  }

  .item-b-tablet {
      grid-column: 5 / 9;
  }

  .item-c-tablet {
      grid-column: 1 / 3;
  }
  .item-c2-tablet {
      grid-column: 3 / 9;
  }

}

@media (max-width: 1599px){
}

@media (max-width: 1919px){

}


/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {

}

.projectContent img {
  max-width: 100%;
}

.imageBanner {
  max-height: 40vh;
  width: 100vw;
}

.imageFull,
.vidFull {
  max-width: 100%;
  max-height: 90vh;
}

.vid {
  display: block;
  margin: 0 auto;
}

.imageCrop {
  aspect-ratio: 1;
  max-height: 65vh;
}


/* image + text */

.imgText {
  display: flex;
  max-height: 80vh;
  align-items: center;
  justify-content: center;
}

.imgText > p {
  text-align: left !important;
}

.imgText > p,
.imgText > img {
  max-width: 40%;
}

.imgText > img {
  max-height: 80vh;
  width: auto;
}

.orderSwap p {
  order: 2;
}

.pLow,
.projectGrid .pLow {
  margin-top: auto;
}

/* statement texts */

.statement ul{
  padding-left: 0;
}

.statement li::marker {
content: none;
}

.statement p {
  max-width: 100%;
}



.showMobile {
  display: none;
}
.hideMobile {
  display: block;
}

@media (max-width: 1920px){
  .projectText {
    font-size: 13rem;
  }
}

@media (max-width: 1280px){

  .projectGrid,
  .projectGridSub,
  .projectGridSub2 {
    row-gap: 16px;
    column-gap: 8px;
  }

  .projectText {
    font-size: 10rem;
  }

  .imgText p {
    margin-left: 0;
    
  }
  .imgText img {
    margin-right: auto;
    margin-left: 30px;
  }
  .imageRow {
    flex-wrap: wrap;
    max-height: none;
  }

  .flexNr4 > img {
    max-width: 33vw;
  }

  .imageRow > img {
    margin-top: 2vw;
  }
  .imageRow > img:first-child {
    margin-left: auto;
  }
  .imageRow > img:last-child {
    margin-right: auto;
  }
}

@media (max-width: 769px) {
  .titleBreak {
    max-width: 100%;
    margin: 100px 0 auto;
  }
  .titleBreak h3 {
    margin: auto 0;
  }
  .titleBreak hr {
    display: none;
  }

  .projectText {
    font-size: 6rem;
  }
  .imgText {
    flex-wrap: wrap;
  }
  .imgText p {
    width: auto;
    max-width: none;
  }
  .imgText img {
    margin-left: auto;
    margin-right: auto;
    max-width: 70vw;
    max-height: 50vh;
  }
  .orderSwap p {
    order: 0;
  }
  .flexNr4 > img {
    max-width: 80vw;
  }

  .statement p{
    text-align: left;
  }


  .showMobile {
    display: block;
  }
  .hideMobile {
    display: none;
  }



}


