* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: RedRose;
  src: url(/fonts/RedRose-Medium.ttf);
}
@font-face {
  font-family: RedHatMono;
  src: url(/fonts/RedHatMono-Light.ttf);
}
@font-face {
  font-family: Zain;
  src: url(/fonts/Zain-Light.ttf);
}
:root {
  --index: calc(1vh + 1vw);
  --color-title: gainsboro;
  --color-text: #a9a9a9;
  --font-family-title: RedRose;
  --font-variant-title: small-caps;
  --font-family-text: Zain;
  --3d-depth: 4000px;
  --transition-method: 0.7s ease-out;
  background-color: black;
  color: var(--color-title);
  --video-height: 150vh;
  --increase-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
  --height-menu: 4rem;
}

h3 {
  font-family: var(--font-family-title);
  font-size: calc(var(--index) * 1.6);
  font-variant: var(--font-variant-title);

}

p {
  font-family: var(--font-family-title);
  font-size: calc(var(--index) * 1);
  font-variant: normal;
  color: var(--color-text);
  text-shadow: var(--increase-shadow);

}

.title {
  text-align: center;
  font-family: var(--font-family-title);
  font-variant: var(--font-variant-title);
  color: var(--color-title);
  font-size: calc(var(--index) * 2);
  margin: 3rem;
  padding: 1rem;
  text-transform: uppercase;
}
.center {
  display: flex;
  justify-content: center;
}
.button-expand {
  border: 2px solid lightsalmon;
  height: calc(var(--index) * 2.5);
  width: calc(var(--index) * 2.5);
  border-radius: 50%;
  opacity: 1;
  background: #191c1f;
  color: white;
  box-shadow: 0 0 16px darkorange;
  cursor: pointer;
}
.button-expand:hover {
  background: darkorange;
  color: black;
}
.button-open {
  transition-delay: .5s;
  transform-origin: center;
  transform: rotate(180deg);
}
.hide {
  display: none;
}
.sq {
  border: 0.5px solid var(--color-text);
  margin: calc(var(--index)* (-1.25)) 3rem;
}
.text {
  padding: 3rem;
  font-family: var(--font-family-text);
  font-size: calc(var(--index) * 1);
  color: var(--color-text);
}


/* menu */
.menu-title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content:space-around;
  align-items: center;
  margin-bottom: -2rem;
  height: var(--height-menu);
  position: fixed;
  z-index: 1;
  width: 100%;
  top: 0;
  background-color: black;
}
.menu-button {
  color: var(--color-title);
  font-style: normal;
  font-family: var(--font-family-title);
  font-variant: var(--font-variant-title);
  font-size: calc(var(--index) * 1);
  text-decoration: none;

}
.menu-button:hover {
    color: darkorange;
}

/* logo */
.logo-small {
    height: calc(var(--index) * 1.5);
}

/* gear */
.gear {
    top: 1rem;
    right: 1rem;
    height: calc(var(--index) * 1.5);
}


/* title */
.container-title {
  z-index: 0;
  position: relative;
  height: var(--video-height);
}
.note {
  width: 100%;
  height: 100vh;
  position: fixed;
  /*margin-top: -50vh;*/
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.74);
  /*margin: 0 auto;*/
  text-wrap-mode: wrap;
  text-wrap-style: pretty;
  text-align: center;
}
.note-text {
  color: var(--color-title);
  font-family: RedRose;
  font-size: calc(var(--index) * 5);
  font-variant: small-caps;
}
.note-secondary-text {
  color: var(--color-text);
  font-family: RedRose;
  font-size: calc(var(--index) * 1);
  text-shadow: var(--increase-shadow);
}
.video-spacer {
  padding-top: var(--video-height);
}

/* about */
.container-experience {
  position: relative;
  .title, .text {
    position: relative;
    z-index: 1;
  }
  .text {
    padding-left: 50vw;
  }
  @media screen and (max-width: 1000px) {
    .text {
      padding-left: 3rem;
    }
  }
  .experience-image {
    width: calc(var(--index) * 10);
    position: absolute;
    top: 10rem;
    left: 3rem;
    z-index: 0;
    filter: brightness(.5) contrast(0.9);
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}
.container-recent {
  position: relative;
  z-index: 1;
}

/* gallery */
.portrait {
  height: var(--big);
  width: var(--small);
}
.landscape {
  height: var(--small);
  width: var(--big);
}

/*.smooth-wrapper {*/
/*  overscroll-behavior: none;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    overflow-x: hidden;*/
/*}*/

/* gallery5 */
.portfolio1 {
  .gallery-title {
    overflow-x: hidden;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    img {
      width: calc(var(--index) * 12);
    }
  }

  .gallery-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 1rem;
    grid-row-gap: 33.3vh;
    width: 100vw;
    margin: 0 auto;

    .gallery-item {
      position: relative;
      overflow: hidden;
      height: 80vh;
      max-height: 500px;
    }

    .gallery-text {
      position: absolute;
      left: 1rem;
      bottom: 1rem;
      z-index: 2;
    }

    .gallery-image {
      position: absolute;
      width: 100%;
      height: 160%;
      object-fit: cover;
      bottom: 0;
    }

    .gallery-item:nth-child(1) {
      grid-column: 1 / -1;
      grid-row: 1;
      height: 95vh;
    }

    .gallery-item:nth-child(2) {
      grid-column: 2 / span 8;
      grid-row: 2;
      height: 60vh;
    }

    .gallery-item:nth-child(3) {
      grid-column: 4 / span 8;
      grid-row: 3;
      height: 60vh;

      img {
        object-position: right;
      }
    }

    .gallery-item:nth-child(4) {
      grid-column: 2 / span 8;
      grid-row: 4;
      height: 60vh;
    }

    .gallery-item:nth-child(5) {
      grid-column: 1 / -1;
      grid-row: 5;
      height: 80vh;
    }

    .gallery-item:nth-child(6) {
      grid-column: 4 / span 8;
      grid-row: 6;
      height: 60vh;
    }

    .gallery-item:nth-child(7) {
      grid-column: 2 / span 8;
      grid-row: 7;
      height: 60vh;
    }

    .gallery-item:nth-child(8) {
      grid-column: 4 / span 8;
      grid-row: 8;
      height: 60vh;
    }

    .gallery-item:nth-child(9) {
      grid-column: 1 / -1;
      grid-row: 9;
      height: 60vh;
    }

    @media screen and (min-width: 1000px) {
      .gallery-item {
        max-height: unset;
      }

      .gallery-item:nth-child(2), .gallery-item:nth-child(4), .gallery-item:nth-child(7) {
        grid-column: 2 / span 5;
      }

      .gallery-item:nth-child(3), .gallery-item:nth-child(6), .gallery-item:nth-child(8) {
        grid-column: 7 / span 5;
      }

    }
  }
}

/* more */
.gallery-more {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  height: 100vh;
  margin-top: calc(var(--index) * (-10));
  h3 {
    margin: 0 auto;
  }
}
.button-more {
  color: var(--color-title);
  background-color: darkorange;
  padding: 1rem;
  margin: 2rem auto;
  border: 1.5px solid var(--color-title);
  border-radius: 10px;
  width: 20vw;
  cursor: pointer;
  font-size: calc(var(--index) * 1);
}

/* core */
ul.desc {
  padding-left: 60px;
  padding-right: 60px;
  margin-left: 30px;
}
.current-text span {
  font-family: var(--font-family-title);
}


/* partners */
.partners {
  min-height: 50vh;
  background: linear-gradient(to bottom, black, var(--color-title));
  padding: 1rem;
  .partners-images {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    justify-content: space-around;
    img {
      /* filter: brightness(0) invert(1); */
      min-width: 200px;
    }
  }
}

/* footer */
.footer {
  height: 100vh;
  font-family: var(--font-family-text);
  font-size: calc(var(--index) * .7);
  color: black;
  background-color: var(--color-title);
  
  min-height: 50vh;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  .w-33 {
    width: 33%;
    min-width: 300px;
    padding: 1rem;
    height: auto;
    text-align: left;
    .block {
      display: block;
    }
  }
  .w-100 {
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
  }
  a,
  p {
    color: black;
    text-decoration: none;
  }
  img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* filter: brightness(0) invert(1); */
  }
}

.gear, #smooth-content {
  will-change: transform;
}
