@font-face {
    font-family: 'Neuzeit Shadow';
    src: url('./NeuzeitShadow-100.woff') format('woff')
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
    font-size: 24px;
    font-family: 'Neuzeit Shadow';
}

.fading {
  opacity: 1;
  transition: all .5s ease-in-out;
}

.fading.open {
  opacity: 0.4;
}


/* nav codes */
nav {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  height: 50px;
  top: -40px;
  line-height: 1.5;
  transition: all .5s ease-in-out;
  z-index: 7;
  position: fixed;
  cursor: pointer;
  opacity: 1;
}

nav.is-shown {
  position: fixed;
  top: 0;
  /* left: 0; */
}

nav span, nav a {
  padding: 10px;
  z-index: 1;
  cursor: pointer;
}

nav.open {
  opacity: 0.4;
}

.name-top {
  margin-top: 35vh;
  margin-bottom: 35vh;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 65%;
  max-height: 85vh;
  margin-top: 20vh;
  margin-bottom: 20vh;
}

.caption {
  position: fixed;
  right: 0px;
  bottom: 0px;
  padding: 20px;
  max-width: 60%;
  text-align: right;
}

.txt {
  line-height: 1.3em;
  opacity: 1;
  transition: opacity .5s ease-in-out;
}

.txt.open {
  opacity: 0.4;
}

/* .statement {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10vh;
  width: calc(65% - 280px);
  padding-left: 280px;
  padding-bottom: 10vh;
  hanging-punctuation: first;
} */

.container {
  margin-top: 10vh;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
  padding-bottom: 15vh;
}

.addCaption {
  display: flex;
  max-width: 65%;
  padding-bottom: 10vh;
  flex-direction: row;
}

.worktitle {
  min-width: 350px;
  margin-right: 20px;
}

.weblink {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5vh;
  text-align: center;
  line-height: 1.3em;
  opacity: 1;
  transition: opacity .5s ease-in-out;
}

.weblink.open {
  opacity: 0.4;
}

a {
  text-decoration: none;
}

.materials {
  display: none;
}

div.right-page {
  opacity: 0;
  width: 40vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 100vw;
  display: flex;
  justify-content: flex-start;
  transition: all .5s ease-in-out;
  z-index: 9;
  background-color: white;
  overflow: auto;
}

div.right-page.open {
  transform: translateX(-40vw);
}

ul li {
    list-style-type: none;
    line-height: 1.3;
    cursor: pointer;
}
ul {
    min-width: 310px;
    padding: 40px;
}
div.thumbnail {
    /* position: absolute; */
    /* right: 50px; */
    width: 100%;
    height: auto;
    background-image: none;
    background-repeat: no-repeat;
    background-size: contain;
    margin-top: 35px;
    margin-right: 70px;
}

div.closing-right {
  font-size: 1.5em;
  position: fixed;
  padding-top: 6px;
  padding-right: 20px;
  top: 0;
  right: 0;
  transform: translateX(40vw);
  transition: transform .5s ease-in-out;
  cursor: pointer;
  z-index: 10;
}

div.closing-right.open {
  transform: translateX(0);
}

#closeList {
  display: none;
}

@media only screen and (min-width: 1025px) and (max-width: 1365px) {
  .container {
    max-width: 60%;
  }

  .addCaption {
    flex-direction: column;
  }

  .worktitle {
    margin-bottom: 1em;
  }

  .caption {
    max-width: 70%;
  }

  div.thumbnail {
    display: none;
  }

}


@media only screen and (min-width: 800px) and (max-width: 1024px) {
  .container {
    max-width: 75%;
  }

  .addCaption {
    flex-direction: column;
  }

  .worktitle {
    margin-bottom: 1em;
  }

  .caption {
    max-width: 80%;
  }

  div.thumbnail {
    display: none;
  }

}

@media only screen and (max-width:799px) {
  body {
    font-size: 20px;
  }

  img {
    max-width: 90%;
  }

  .addCaption {
    flex-direction: column;
  }

  .container {
    max-width: 90%;
  }

  .worktitle {
    margin-bottom: 1em;
  }

  .caption {
    max-width: 90%;
  }

  .aN {
    display: none;
  }

  div.right-page {
    width: 100vw;
  }

  div.right-page.open {
    transform: translateX(-100vw);
  }

  div.thumbnail {
    display: none;
  }

}

#closeList {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}

#closeList.tab-is-shown {
  cursor: url('./close.png'), auto;
  z-index: 8;
}
