/* menu */
.header .wrapper{
  background: white;
}
/* general */
.nope{
  display: none;
}
.when-what.active span{
  text-decoration: underline;
  font-weight: bold;
}
.when-what{
  display: none;
}
/* menu */
.german-english input, .german-english label, .when-what span{
  cursor: pointer;
}
.header nav .toggle-menu.black{
  display: block;
}
.header nav .toggle-menu.white{
  display: none;
}
/* content */
#body .wrapper{
  margin: 0 1em;
}
.cv-container ul p{
  display: inline-block;
  margin: 0;
}
/* type */
#body{
  color: black;
  margin: 3em 0;
}
#body a{
  color: black;
}
.header, .header a{
  color: black;
}
#body .about-top, #body .about-download, #body .about-content{
  padding: 0 1em;
}
#body .about-top{
  list-style: none;
  padding: 0;
}
#body .pdf{
  color: #DB60CF;
}
#body .email{
  color: #79BC94;
  list-style: none;
}
/* desktop */
@media only screen and (min-width: 850px) {
  .when-what{
    display: block;
  }
  /* menu */
  .header .wrapper{
    background: none;
  }
  nav .german-english{
    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 .about-top{
    display: flex;
  }
  #body .about-top li{
    margin-right: 1em;
  }
  #body .about-top li.when{
    margin-right: .25em;
  }
  .header.small, .header.small a{
    color: white;
  }
  #body.small, #body.small a{
    color: white;
  }
  #body.small .pdf{
    color: #DB60CF;
  }
  #body.small .email{
    color: #79BC94;
    list-style: none;
  }
  /* 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;
    top: 1.25em;
    right: 1.25em;
  }
  #box .box-button.max{
    display: none;
  }
  #box iframe{
    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;
  }
}
