body,
html {
  padding: 0;
  margin: 0;
  font-family: 'Roboto', sans-serif;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.header {
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  width: 100%;
  padding: 16px;
  height: 64px;
  z-index: 3;
}
.header .logo {
  font-weight: 300;
  font-size: 1.6em;
  color: #fff;
}
.header .center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-align: center;
  padding: 8px;
  padding-left: 210px;
}
.header .center #showbutton {
  float: right;
}
.header .center .button {
  position: relative;
  display: inline-block;
  text-align: center;
  height: 48px;
  width: auto;
  line-height: 48px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  font-weight: 500;
  margin: 0 4px;
  -moz-transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
}
.header .center .button a {
  padding: 0 16px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87);
  text-transform: uppercase;
  width: 100%;
  height: 100%;
  display: block;
}
.header .center .button:hover {
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
}
.header .center .button:active {
  -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.header .center .button.active {
  background: #303F9F;
}
.header .center .button.active a {
  color: rgba(255, 255, 255, 0.87);
}
.demo-info {
  position: absolute;
  width: 500px;
  top: 200px;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
  padding: 16px;
  max-width: 100vw;
  background: #fff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -moz-transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.demo-info.hidden {
  -moz-transform: translate(0, -300%);
  -ms-transform: translate(0, -300%);
  -o-transform: translate(0, -300%);
  -webkit-transform: translate(0, -300%);
  transform: translate(0, -300%);
}
.demo-info h1 {
  margin-top: 0;
  font-weight: 500;
}
.demo-info .button,
.demo-info a {
  color: #fff;
  background: #303F9F;
  display: inline-block;
  text-align: center;
  padding: 0 16px;
  height: 48px;
  line-height: 48px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 500;
  text-transform: uppercase;
}
.demo-info .button {
  float: right;
  width: auto;
}
.demo-info a {
  text-decoration: none;
  margin: 8px 0;
}
.demo-info ul {
  list-style: square;
}
article {
  padding: 16px;
  width: 100vw;
  max-width: 900px;
  background: #fff;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.16);
  z-index: 2;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  margin: auto;
}
article .head {
  background: #303F9F;
  padding: 16px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
article .head a {
  text-decoration: none;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
}
article .head a:hover {
  background: rgba(255, 255, 255, 0.15);
}
article h1 {
  font-size: 24px;
  line-height: 28.8px;
  font-weight: 400;
}
article blockquote {
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  color: #545454;
}
article p {
  font-size: 13px;
  line-height: 20.8px;
  font-weight: 400;
}
.icon {
  color: rgba(0, 0, 0, 0.87);
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  display: inline-block;
  line-height: 48px;
  text-transform: none;
  text-align: center;
  letter-spacing: normal;
  -ms-word-wrap: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  -moz-font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
}
.icon.invert {
  color: rgba(255, 255, 255, 0.87);
}
#reader-container {
  /*width: 80%;
    height: 85%;
    min-height: 500px;
    position: absolute;
    top: 64px + 16px;
    left: 0;
    right: 0;
    margin: auto;
    background: transparent;*/
  height: 256px;
  max-width: 256px;
  width: 100vw;
  float: right;
  border: 1px solid rgba(0, 0, 0, 0.19);
  margin-left: 16px;
  margin-bottom: 16px;
}
#reader-container.big {
  float: none;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  height: 442px;
}
#reader-container:fullscreen {
  background-size: cover;
}
#reader-container:-webkit-fullscreen {
  background-size: cover;
}
#reader-container:-webkit-full-screen {
  background-size: cover;
}
#reader-container:-moz-fullscreen {
  background-size: cover;
}
#reader-container:-ms-fullscreen {
  background-size: cover;
}
#background {
  z-index: 1;
  background: url(image/background.png) 50% 50% no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-filter: sepia(50%) hue-rotate(155deg) saturate(20%);
  filter: sepia(50%) hue-rotate(155deg) saturate(20%);
}
.mobile-only {
  display: none;
}
@media only screen and (max-width: 1220px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: initial;
  }
}
@media only screen and (max-width: 670px) {
  .header .logo {
    display: none;
  }
  .header .center {
    padding-left: 8px;
  }
  .demo-info {
    top: 90px;
  }
}
@media only screen and (max-width: 419px) {
  .header .center .button {
    margin: 0;
  }
  .header .center .button a {
    padding: 0 8px;
  }
}
