/* menu */
.header .wrapper{
  background: white;
}
/* general */
.nope{
  display: none;
}
/* menu */
.header nav .toggle-menu.black{
  display: block;
}
.header nav .toggle-menu.white{
  display: none;
}
/* type */
#body{
  color: black;
  margin: 3em 0;
}
#body a{
  color: black;
}
.header, .header a{
  color: black;
}
#body ul{
  padding: 0 1em;
  list-style: none;
}
.images h2{
  margin-bottom: 0;
}
.images a{
  max-width: 100%;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* desktop */
@media only screen and (min-width:850px) {
  /* menu */
  .header .wrapper{
    background: none;
  }
  .wordtoggle{
    display: flex;
  }
  .wordtoggle li{
    margin-right: 1em;
  }
  nav .images-words{
    display: block;
  }
  .min-max-button{
    display: block;
  }
  /* content */
  #body{
    max-width: 40em;
    margin: 3.75em 0;
    color: black;
  }
  #body .wrapper{
    margin: 0 1.25em;
  }
  #body a{
    color: black;
  }
  #body ul{
    padding: 0;
  }
  .header.small, .header.small a{
    color: white;
  }
  #body.small, #body.small a{
    color: white;
  }
  /* box styling and transition */
  #box{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    background: white;
    width: 100vw;
    height: 100vh;
    z-index: -1;
  }
  #box .wrapper{
    position: fixed;
    width: 100%;
    height: 100%;
  }
  #box .box-button{
    position: absolute;
    z-index: 1001;
    top: 1.25em;
    right: 1.25em;
  }
  #box .box-button.max{
    display: none;
  }
  #box iframe{
    position: absolute;
    width: 100%;
    height: 100%;
  }
  #body.small{
    position: relative;
    z-index: 1000;
  }
  #box.small{
    display: block;
    position: fixed;
    top: unset;
    right: 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;
    z-index: 1001;
  }
  #box.small iframe{
    width: 352px;
    height: 198px;
  }
}
