/* menu */
nav .works-shows{
  display: block;
}
.header, .header a{
  color: white;
}
.menu-down a{
  color: black;
}
/* type */
#body span.meta{
  display: none;
}
#body .sub-project{
  line-height: 0;
}
#body .sub-project.nope{
  display: none;
}
/* content */
#body img{
  width: 100%;
  display: block;
}
.arrow-container{
  display: flex;
  position: fixed;
  bottom: 1.25em;
  width: 100%;
  color: white;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
#body .arrow-down{
  width: 2em;
  height: 2em;
}
/* desktop */
@media only screen and (min-width: 850px) {
  .arrow-container{
    opacity: 1;
    pointer-events: all;
  }
  .arrow-down{
    width: 40px;
    height: 40px;
    cursor: pointer;
    animation: blink 3.5s infinite
  }
  @keyframes blink{
    0%{opacity: 0;}
    50%{opacity: 1;}
    100%{opacity: 0;}
  }
  /* menu */
  .min-max-button{
    display: block;
  }
  /* type */
  #body.small{
    color: white;
  }
  #body.small .arrow-container{
    opacity: 0;
    pointer-events: none;
  }
  #body.small .sub-project{
    line-height: 1.25em;
    margin-bottom: 1.25em;
  }
  #body.small span.meta{
    display: inline-block;
  }
  #body.small span.meta.subtype{
    display: block;
    /* padding-left: 1em; */
  }
  #body span.meta.bold{
    font-weight: bold;
  }
  #body span.meta.title{
    margin-bottom: .25em;
  }
  #body span.meta.date::after{
    content: "•";
    margin-left: .15em;
  }
  /* content */
  #body{
    width: 100%;
    margin: 0;
  }
  #body img{
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  /* box styling and transition */
  #box{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /* background: red; */
    width: 100%;
    height: 100%;
    z-index: -1;
  }
  #box .wrapper{
    position: fixed;
    width: 100%;
    height: 100%;
  }
  #box .box-button{
    position: absolute;
    top: 1.25em;
    right: 1.25em;
  }
  #box .box-button.max{
    display: none;
  }
  #box iframe{
    width: 100%;
    height: 100%;
  }
  #body.small{
    position: relative;
    width: 500px;
    margin: 3.75em auto;
    z-index: 1000;
  }
  #body.small img{
    height: auto;
  }
  #box.small{
    display: block;
    position: fixed;
    top: unset;
    left: 1.25em;
    top: calc(100vh - 198px - 1.25em);
    width: 352px;
    height: 198px;
    border: .5px solid black;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1000;
  }
  #box.small .wrapper{
    position: unset;
  }
  #box.small .box-button{
    top: .25em;
    right: .25em;
  }
  #box.small .box-button.min{
    display: none;
  }
  #box.small .box-button.max{
    display: block;
  }
  #box.small iframe{
    width: 352px;
    height: 198px;
  }
}
/* extra fix for when/what */
@media only screen and (min-width: 1050px) {
  /* menu */
  nav .when-what{
    display: block;
  }
  nav .when-what span{
    cursor: pointer;
  }
  nav .when-what.active span{
    text-decoration: underline;
    font-weight: bold;
  }
}
