@font-face {
  font-family: "AG Book Rounded";
  src: url(../fonts/AG-Book-Rounded-Medium.otf)
}

  *,
  *:before,
  *:after {

    margin:0;
    padding:0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: medium;
    font-family:"AG Book Rounded", sans-serif;
  }

  a {
    font-family:"AG Book Rounded", sans-serif;
    color: currentColor;
    text-decoration: none;
    vertical-align:baseline;
  }
  a:hover{
      color: currentColor;
      cursor: pointer;
      text-decoration: underline;
  }

  li {
    list-style: none;
  }

  html {
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
  }
body{
  overflow-x: hidden;
}
  header{
    display: block;
    /* position: relative; */
    padding: 0.8rem;
    /* background: white; */
    height: 2.6rem;

  }
  .show {
    display: block!important;
  }

  .bio-wrapper{
    position: fixed;

    padding-top: 2.4rem;
    width: 100%;
    z-index: -100;
    background: white;
  }

  header .year{
    display: inline-block;
    width: 5.5rem;
    float: left;

  }
  header .event{
  overflow: hidden;
    display: block;
    clear: right;
  }
  header .bio{
  margin-bottom: 2.4rem;
  }
  .bio:last-of-type{
    margin-bottom: 0;
  }
  header .headline{
  margin-bottom: 1.2rem;

  }
  h1 {
    font-family:"AG Book Rounded", sans-serif;
    display: inline-block;

    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0;
    position: fixed;
    width: 80%;
    z-index: -10;
    cursor:pointer;

  }
  ul{
    font-family:"AG Book Rounded", sans-serif;
    margin:0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.2rem;
  }
  li{
    font-size: 1rem;
    line-height: 1.2rem;
  }

  .lang {
    position: fixed;
    display: inline-block;
    top: 0;
    right:0;
    height:3.2rem;
    padding:0.8rem;
    width:15rem;
    text-align: right;
    z-index: -10;
  }


  p,
  a {
    font-family:"AG Book Rounded", sans-serif;
    display: block;
    font-size: 1rem;
    line-height: 1.2rem;
    margin: 0;
  }
  

  .lang a{
    display: inline;
    cursor: pointer;
  }
  main{

    /* transition: all 500ms;
    -webkit-transition: all 500ms; */
    padding: 0.8rem;
    width: 100%;
    background: #e6e6e6;
    position: inline-block;
  }
  .thumbnail{
    overflow: hidden;
    margin-bottom: 4rem;
  }
  .thumbnail-img{
    width: 100%;
  }
  .thumbnail:last-child{
    margin-bottom:1.2rem;
  }
  .thumbnail .caption{
    margin-top: 0.2rem;
  }
  footer{
    /* overflow: hidden; */
    min-height: 100vh;
    padding: 0.8rem;
   
    bottom:-33.3vh;
    position: sticky;
    z-index: -10;
    width: 100%;
    background-color: white;
  }
  footer .col-12{
    float: left;
    padding-right: 0.8rem;
  }
  footer .section{
  margin-bottom: 2.4rem;
  }
  footer .indent p:not(.headline){
    text-indent: -5.4%;
    padding-left: 5.4%;
  }
  footer .headline{
  margin-bottom: 1.2rem;
  }
  footer .media{
    display: inline-block;
    width: 5.5rem;
    float: left;

  }
  footer .content{
  overflow: hidden;
    display: block;
    clear: right;
  }

  /* project page styles */
  .icon {
    width:1.8rem;
  }
  #home{
  position: absolute;
  top:0.6rem;
  right:0.6rem;
  z-index: 180;
  }
  .project-header {
    padding: 0.8rem;

  }
  .project-title{
    display: block;

    width:50%;
  float: left;
  margin-bottom: 3rem;
  }
  .credits {
    display: block;

    width:50%;
    float: left;
    clear: right;
    margin-bottom: 3rem;
  }

  .credits .headline {
    float: left;
    width:21.6%;
    clear: left;
    padding-left: 0.2rem;
  }
  .credits ul{
    float: left;
    width:67.6%;
    padding-left: 0.4rem;



  }
  .twocol ul{
    /* columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2; */
  }
  .grid {
  display: grid;
  grid-template-columns: repeat(36, 1fr);
  grid-gap: 0.4rem;
  align-items: start;
  justify-items: center;
  padding: 0.8rem;
  float: none;
  clear: both;

  }

  .grid .item{
  /* border: 1px solid rgba(0,0,0,0.3); */
  width: 100%;
  height: 16vw;
  text-align: right;
  line-height: 0.9rem;
  position: relative;
  /* overflow: hidden; */


  }
  .grid img{
  width: 100%;
  height: 100%;


  }
  .grid .scaledthumb{
    transform: scale(200%);
  }
  .grid .img::after{
    display: block;
    width: 100%;
    height: 100%;
    content: " ";
    background:#e6e6e6;
    border: 1px solid #e6e6e6;
    position: absolute;
    z-index: 10;
    top:0;
    left:0;
    opacity:0;
    -webkit-transition: all 500ms;
    transition: all 500ms;
  }
  .grid .inactive::after{

    opacity:1;

  }
  .grid .g-1{grid-column: span 1;}
  .grid .g-2{grid-column: span 2;}
  .grid .g-3{grid-column: span 3;}
  .grid .g-4{grid-column: span 4;}
  .grid .g-5{grid-column: span 5;}
  .grid .g-6{grid-column: span 6;}
  .grid .g-7{grid-column: span 7;}
  .grid .g-8{grid-column: span 8;}
  .grid .g-9{grid-column: span 9;}
  .grid .g-10{grid-column: span 10;}
  .grid .g-11{grid-column: span 11;}
  .grid .g-12{grid-column: span 12;}
  .grid .g-13{grid-column: span 13;}
  .grid .g-14{grid-column: span 14;}
  .grid .g-15{grid-column: span 15;}
  .grid .g-16{grid-column: span 16;}
  .grid .g-17{grid-column: span 17;}
  .grid .g-18{grid-column: span 18;}
  .grid .g-19{grid-column: span 19;}
  .grid .g-20{grid-column: span 20;}
  .grid .g-21{grid-column: span 21;}
  .grid .g-22{grid-column: span 22;}
  .grid .g-23{grid-column: span 23;}
  .grid .g-24{grid-column: span 24;}
  .grid .g-25{grid-column: span 25;}
  .grid .g-26{grid-column: span 26;}

  #lightbox {
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    /* height: 100vh; */
    z-index: 200;

  background: #e6e6e6;
height: 0px;
overflow-y: hidden;
  }
  .showlightbox{
    padding: 0.8rem;
    height: 100vh !important;
    overflow-y: auto!important;
  }
  #close {
    position: fixed;
    top:0.6rem;
    right:0.6rem;
  z-index: 500;
  cursor: pointer;
  display: none;
  }
  .slide{
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    position: fixed;
    bottom:0;left:0;
  }
  .slick-slider {
    touch-action: auto !important;
}
  .slick-track {
  height: 100%;
  float: left;
  }
  .slick-list {
  height: 100%;
  }
  .slide .unscaled,
  .unscaled {
    height: calc(100vh - 3.6rem );
    width:calc(100vw - 1.6rem );
    object-fit: contain;
    object-position: center center;
    position: fixed;
    bottom:0;
    left:0;
  }
    .slide .scaled,
    .scaled{
      position: absolute;
    }
    .scaled {
      transition: all cubic-bezier(0.32, 0, 0.67, 0), 3000ms !important;
    }


  .slide p{

    margin-right:4rem;
  }
  .slide .num {
    margin-right: 1em;
  
  }
  .slick-arrow {
    position: absolute;
    bottom:0;
    left:0;
    width: 50vw;
    height:  calc(100vh - 3.6rem);
    z-index: 200;
    cursor: none;
  }
  .slick-next{

    left:50vw;
  }
  #cursor {
    height:1.8rem;
    position: fixed;
    display: none;
    z-index: 300;
    -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  cursor: none;
  pointer-events: none
  }
  .show {
    display: block !important;
  }
  .singleimage{
    height: calc(100vh - 3.6rem );
    width:100%;
    object-fit: contain;
    object-position: left bottom;
    /* position: fixed;
    bottom:0;
    left:0; */
    padding:0.8rem;
    /* position: absolute; */
    /* bottom:0;
    left:0; */
  max-width: 100%;
  float: none;
  clear: both;
  display: block;
  }
  #temp{
    display: none;
  }
  img.lazy {
      opacity: 0;
    }
    img:not(.initial) {
      transition: opacity 1s;
    }
    img.initial,
    img.loaded,
    img.error {
      opacity: 1;
    }

    img:not([src]) {
      visibility: hidden;
    }
    .SS {
      display: none;
      position: fixed;

      width:15vw;
    z-index: 100000;
    }
    .SS img{
      width:15vw;
    }

  @media only screen and (min-width: 992px) {
    .grid .newline {
      grid-column-start: 1!important;
    }
  }
@media only screen and (max-width: 992px) {
  .SS img{

    width:25vw!important;


  }
  body {
  min-height: 100%;
  /* min-height: -webkit-fill-available; */
}
html {
  font-size: 14px !important;
  /* height: -webkit-fill-available; */
}

header {
  /* background: white; */
}
main {
  margin-bottom: 0!important;

}
  .grid .newlinem {
    grid-column-start: 1!important;
  }
  .slide{
    height: 80%;
  }
  .showlightbox{

    height: 100% !important;

  }
  .slide img{
    height: 100%!important;
    position: absolute;
    padding-top:7.2rem;
    /* margin-top: 7.2rem; */
    z-index: 10;


  }
  .bio-wrapper {
    width: 100vw;
    padding:0.8rem;
    /* background: white; */
    padding-bottom: 0.8rem;
    left: 0;
    z-index: -100;
    padding-top: 2.4rem;
  }
  .thumbnail {
    margin-top: 0!important;
    margin-bottom: 2rem;
  }

  .lang {
    width:auto;
  }
  .project-title{
    width:90%;
  }
  .credits {

    width:90%;
    }
  .credits .headline {
    width: 20%;
  }
  .credits ul {
    width: 80%;
  }
  .singleimage{
    position: fixed;
    bottom:0;
    left:0;
  }
  .thumbnail .caption {
    margin-top: 0.6rem;
  }
  .grid {
    grid-template-columns:repeat(18, 1fr);
  }
  .grid .item {
    height:32vw;
  }
  .slide p{
    /* display: block; */


    overflow: hidden;
  }
  .slide .num {
  
    float: left;    
    margin-right: 1em;
  }
  .scaled {
    width:100%;
    object-fit: contain;
    object-position: center center;

  }
  footer .col-12 {
    width:100%;
  }
  footer{

    background-color: white;
    margin-top: 0;

    z-index: -100;
  }
  footer .indent p:not(.headline){
    text-indent: -2rem;
    padding-left: 2rem;
  }
  /* Hide scrollbar for Chrome, Safari and Opera */
  footer::-webkit-scrollbar {
    display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  footer {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}
