@font-face {
    font-family: 'Items';
    src: url('Items-Medium.eot');
    src: url('Items-Medium.eot?#iefix') format('embedded-opentype'),
        url('Items-Medium.woff2') format('woff2'),
        url('Items-Medium.woff') format('woff'),
        url('Items-Medium.ttf') format('truetype'),
        url('Items-Medium.svg#Items-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mabry Pro';
    src: url('MabryPro-Light.eot');
    src: url('MabryPro-Light.eot?#iefix') format('embedded-opentype'),
        url('MabryPro-Light.woff2') format('woff2'),
        url('MabryPro-Light.woff') format('woff'),
        url('MabryPro-Light.ttf') format('truetype'),
        url('MabryPro-Light.svg#MabryPro-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}



/* mini reset */
*,*::before,*::after {
box-sizing: border-box;
padding: 0;
margin: 0;
background: none;
text-decoration: none;
outline: none;
font-family: inherit;
font-size: inherit;
line-height: inherit;
color: inherit;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
-webkit-text-size-adjust: none;
 text-size-adjust: none;
 font-variant: normal;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-size: inherit;
}

body,
html {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
-webkit-tap-highlight-color: transparent;
font-variant-numeric: slashed-zero;
-webkit-overflow-scrolling: touch;
font-size: 13px;
}

body {
  display: flex;
  flex-direction: column;
  max-width: 1800px;
}

header, footer {
  max-width: 1800px;
}

main {
  flex-grow: 1;
}

::selection {
  background: #eee;
}

/*variables*/
.object-cover {
  object-fit: cover;
}

/*.f0 {
  font-size: 11em!important;
}

.f1 {
  font-size: 7em!important;
}

.f2 {
  font-size: 4em!important;
}
*/
.mabry {
  font-family: "Mabry Pro", sans-serif;
}

.items {
  font-family: "Items", serif;
}

.object-contain {
  object-fit: contain;
}

.pointer {
  cursor: pointer;
}

.mt-auto {
  margin-top: auto;
}

.mb-auto {
  margin-bottom: auto;
}

.v-bottom {
    vertical-align: bottom;
}

.bg-placeholder {
  background: #eee;
}

.w-fit {
    width: fit-content;
}

.events-none {
    pointer-events: none;
}

/* to top */
#toTop {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  transform-origin: right bottom;
  -webkit-transform-origin: right bottom;
}

/* font size  */
.f0 {
  font-size: 138px;
}

.f1 {
  font-size: 96px;
  line-height: 90px;
}

.f2 {
  font-size: 69px;
  line-height: 72px;
}

.f3 {
  font-size: 25px;
  line-height: 28px;
}

.mabry.f1 {
  letter-spacing: -0.3px;
}

.items.f3 {
  letter-spacing: 0.5px;
}

.mabry.f0 {
  letter-spacing: -0.3px;
}

.items.f2 {
  letter-spacing: 0.1px;
}

/*fader*/
#fader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    pointer-events: none;
   background: #fff;
   animation-duration: 300ms;
   animation-timing-function: ease-in-out;
}

@keyframes fade-out {
    from { opacity: 1 }
      to { opacity: 0 }
}

@keyframes fade-in {
    from { opacity: 0 }
      to { opacity: 1 }
}

#fader.fade-out {
    opacity: 0;
    animation-name: fade-out;
}

#fader.fade-in {
    opacity: 1;
    animation-name: fade-in;
}

/*home*/
.project-thumb {
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  -webkit-transform: translate(-50%,-50%);
  z-index: -1;
}

.project-thumb img {
  max-height: 70vh;
  filter: grayscale(100);
  -webkit-filter: grayscale(100);
}

.project-thumb_wrapper::after {
  content: "";
  background: var(--bgColor);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  mix-blend-mode: screen;
}

  .projects li {
transition: color .3s ease;
-webkit-transition: color .3s ease;
}


/*.projects {
  line-height: 0.9em;
  letter-spacing: -2.4px;
}*/

/*project*/
.align-left {
  margin-right: auto;
}

.align-center {
  margin-left: auto;
  margin-right: auto;
}

.align-right {
  margin-left: auto;
}

  .project .lazyload,
  .project .lazyloading {
    opacity: 0;
    transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
  }

  .project .lazyloaded {
transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
  }

  .project .lazyloaded {
    opacity: 1;
  }


/*desktop only*/
@media screen and (min-width: 60rem) {


  .projects li .project-thumb {
    transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
  }

.projects li:hover .project-thumb {
  opacity: 1;
}

.projects li:hover {
  color: var(--bgColor);
}


header a,
footer a {
  transition: color .3s ease;
  -webkit-transition: color .3s ease;
}

header a:hover,
footer a:hover {
  color: var(--bgColor);
}




}


/*not desktop*/
@media screen and (max-width: 60rem) {

/*  to top */
  #toTop {
  transform-origin: unset;
  -webkit-transform-origin: unset;
}


/* font size  */
.f0 {
  font-size: 50px;
  letter-spacing: 50px;
  letter-spacing: -0.3px;
}

.f1 {
  font-size: 32px;
  line-height: 33px;
  letter-spacing: -0.3px;
}

.f2 {
  font-size: 32px;
  line-height: 33px;
  letter-spacing: 1px;
}

.f3 {
  font-size: 16px;
  line-height: 18px;
}

/*.projects {
  margin-top: 22rem!important;
}*/

/*.mabry.f1 {
  letter-spacing: -0.3px;
}
*/
.items.f3 {
  letter-spacing: 0.5px;
  line-height: 15px;
}

.mabry.f3 {
  letter-spacing: -1px;
}

/*.mabry.f0 {
  letter-spacing: -0.3px;
}*/

.items.f2 {
  letter-spacing: 1px;
}

    .projects {
  line-height: 1em;
  letter-spacing: 0px;
}

  .project-thumb img {
    max-width: 60vw;
    max-height: auto;
  }

  .projects li.active {
    color: var(--bgColor);
  }

  .projects li .project-thumb {
      transition: opacity .3s ease;
    -webkit-transition: opacity .3s ease;
  }


  .projects li.active .project-thumb {
    opacity: 1;
  }

/*  .f0 {
  font-size: 5em!important;
}

    .f1 {
    font-size: 2.5em!important;
  }

  .f2 {
  font-size: 2.5em!important;
}*/

#my-list li {
  cursor: pointer;
}

#my-list li.active {
  font-weight: bold;
}


}

/*big screens*/
@media screen and (min-width: 1800px) {
  body, header, footer {
   margin-left: auto;
   margin-right: auto;
  }
  header {
    left: auto!important;
  }
}

