/* vars */
:root {
  --transp: .3s;
}
.transition{
  transition: all var(--transp);
}

/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* type */
html{
  font-size: 1.25rem;
  line-height: 1.25em;
}
h1, h2, h3, h4, h5, h6{
  font-size: 1em;
}
.smaller-type{
  font-size: .666em;
}
.bold{
  font-weight: bold;
}
.hide{
  display: none!important;
}

/* cookie */
.cc-color-override-530831885.cc-window{
  color: black!important;
  background-color: rgba(255,255,255,.8)!important;
}
.cc-color-override-530831885 .cc-btn {
  background-color: black!important;
}
.cc-color-override-530831885 .cc-link{
  color: black!important;
}

/* menu */
.header{
  position: fixed;
  top: 0;
  z-index: 1001;
}
.header a{
  text-decoration: none;
}
.header .wrapper{
  position: fixed;
  width: 100%;
  padding: 1em;
}
.min-max-button{
  display: none;
  margin-left: 0;
}
.box-button{
  color: white;
  cursor: pointer;
}
.header .box-button{
  display: none;
}
.header.small .box-button{
  display: block;
  margin-left: 1.25em;
}
nav ul{
  position: absolute;
  width: 100%;
  z-index: 1001;

  margin: 0;
  padding: 1em 1em 0 1em;
  right: 0;
  top: -8.5em;

  display: flex;
  flex-direction: column;

  text-align: right;
  background: white;
}
nav li{
  list-style: none;
}
nav .static-menu{
  margin-bottom: .625em;
}
nav .works-shows{
  position: absolute;
  top: 1em;
}
nav .works-shows.works{
  top: 2.825em;
}
nav .when-what, nav .german-english, nav .images-words{
  display: none;
}
nav .toggle-menu{
  position: fixed;
  z-index: 1002;
  top: 1em;
  right: 1em;
  background: none;
  border: none;
  padding: 0;
}
.header nav .toggle-menu.black{
  display: none;
}
.header nav .toggle-menu.white{
  display: block;
}
nav .toggle-menu img{
  width: 1em;
  height: 1em;
}

/* an entire section dedicated to custom checkboxes love it */
/* Customize the label (the container) */
.container {
  display: block;
  position: relative;
  padding-left: 1.25em;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
/* Create a custom checkbox */
.checkmark {
  position: absolute;
  bottom: .2em;
  left: 0;
  height: .8em;
  width: .8em;
  background-color: white;
  border: 1px solid black;
}
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  background: url('../images/kreuz.svg');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  color: black;
  position: absolute;
  display: none;
}
/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}
/* Style the checkmark/indicator */
.container .checkmark:after {
  width: 1em;
  height: 1em;
  left: -.1em;
  top: -.2em;
}

/* menu toggle */
.menu-down{
  transform: translateY(8.5em);
}
#body .wrapper.menu-down{
  position: relative;
  z-index: -1;
  filter: blur(4px);
}
.logo.left.menu-down{
  position: fixed;
}
#box.menu-down *{
  filter: blur(4px);
  z-index: -1;
}
/* small box */
#box{
  display: none;
}



.header a{
  color: black;
}

/* password section */
.login{
  width: 100%!important;
  height: 100%!important;
  position: absolute!important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.login fieldset{
  border: none;
  display: flex;
  justify-content: center;
}
.login .button{
  margin-left: .25em;
  background: black;
  border: none;
  color: white;
}
#password{
  border: 1px solid black;
}


/* desktop */
@media only screen and (min-width: 850px) {
  /* menu */
  .header .wrapper{
    display: flex;
    padding: 1.25em;
  }
  nav{
    flex:1;
  }
  /* nav .works-shows{
    display: none;
  } */
  nav ul{
    top: unset;
    padding: 0;
    background: unset;
  }
  nav li{
    margin-left: 1.25em;
  }
  nav .static-menu{
    margin-bottom: 0;
  }
  .when-what.when::before{
    content:"sort by ";
  }
  .when-what.when::after{
    content:"/";
  }
  nav .when-what.what{
    margin-left: .25em;
  }
  nav ul{
    position: relative;
    right: unset;
    text-align: unset;
    flex-direction: row;
  }
  nav .works-shows{
    position: unset;
    top: unset;
  }
  nav .works-shows.shows{
    top: unset;
  }
  nav .static-menu.archive{
    margin-left: auto;
  }
  nav .toggle-menu{
    display: none;
  }
}
