body{
  padding-top: 0;
  padding-left: 0;
  overflow: hidden;
}
nav{
  padding: 2em;
  position: absolute;
  top:0;
  z-index: 100;
  box-sizing: border-box;
  left:0;
}
#gallery{
  float: left;
  height:100vh;
  overflow-x: auto;
  /* display: inline-block; */
  width: 70%;
  /* background-color: var(--gray); */
}

#gallery img{
  width: 100%;
  object-fit: contain;
  object-position: left;
}

#text{
  display: inline-block;
  width:30%;
  padding: 2em 0 2em 2em;
  box-sizing: border-box;
  overflow-y: auto;
  height:100vh;

}

#mobshowmore{
  display: none;
}

#mobshowmore::after{
  content:'+ read more'
}

img.loaded{
  background-image: none !important;
}

@media (max-width:700px){
  body{
    padding: 1em;
    overflow-y: auto;
  }
  nav{
    padding: 0;
    position: relative;
  }

  #gallery{
    float: none;
    width:100%;
    height:unset;
  }
  #text{
    display: block;
    width:100%;
    margin: 2em 0 1em 0;
    padding: 0;
    height:auto;
    font-size: var(--fs2);
  }

  #mobshowmore{
    display: block;
  }

  #text p:first-of-type + div#mobshowmore{
    display: none;
  }

  #text p{
    display: none;
  }

  #text p:first-of-type,
  .showmore #text p{
    display: block;
  }

  .showmore #mobshowmore::after{
    content:'- read less'
  }
}
