* {
  user-select: none;
}
.selectable,
.selectable * {
  user-select: text;
}
body {
  background: #000;
  margin: 0;
  padding: 0;
  font: 400 10pt/1.25 Helvetica, Arial, sans-serif;
}
h1 {
  font: 400 25pt/1.4 Courier, Courier New, monospace;
  font-weight: bold;
  margin: 0 -4px 0;
  padding: 0;
}
em {
  font-style: normal;
}
p {
  margin: 0.6em 0;
}
a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
body,
.imprint {
  color: rgba(255,255,255,0.45);
  color: #aaa;
}
h1,
em {
  color: #3d9db5;
  color: #adb538;
}
a.nb {
  color: #0ff;
}
.yt a {
  color: #ffe000;
  color: #ff0;
  color: #f0f;
}
.year {
  color: #f0f;
}
.new {
  color: #ff0;
}
.link a {
  color: #0ff;
}
.link img.badge {
  max-width: 80%;
}
#nav {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 11;
  pointer-events: none;
}
#nav > * {
  pointer-events: auto;
}
.sociallinks {
  display: inline-block;
  margin: 0.7em 0 0;
}
.social {
  opacity: 1;
  margin-left: 0.6em;
}
.social:hover {
  opacity: 1;
}
.social img {
  margin-top: -0.5em;
  transition: all 0.2s;
  width: 20px;
}
.social:hover img {
  transform: scale(1.35);
}
.loading #nav,
.navfade:not(.creditsvisible) #nav {
  display: none;
}
.navfade:not(.creditsvisible) * {
  cursor: none;
}
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
}
#zc {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  background: #000;
  z-index: 5;
  opacity: 0;
}
#status {
  position: absolute;
  top: 60%;
  left: 50%;
  width: 200px;
  height: 18px;
  margin-top: -10px;
  margin-left: -100px;
  z-index: 100;
  text-align: right;
  opacity: 0;
  border: 2px solid rgba(255,255,255,0.267);
  border-radius: 3px;
  overflow: hidden;
  display: none;
}
.loading #status {
  display: block;
}
#logo {
  position: absolute;
  width: 350px;
  left: 50%;
  bottom: 45%;
  margin-left: -175px;
  z-index: 100;
}
#credits .logo {
  width: 100%;
  margin: 1em 0;
  max-width: 100%;
}
.link a {
  display: inline-block;
  margin: 8px 0 0;
}
.link a:hover {
  text-decoration: none;
}
.link img {
  max-width: 100%;
  margin: 0.2em 0 0;
}
#loadbar {
  position: relative;
  height: 18px;
  width: 0%;
  background: rgba(255,255,255,0.267);
}
.seekbar {
  position: fixed;
  height: 32px;
  z-index: 10;
  left: 15px;
  right: 15px;
  bottom: 0;
  cursor: pointer;
}
.campaign {
  text-align: center;
  font-size: 90%;
}
.campaign a {
  color: rgba(255,255,255,0.9);
}
.campaign a:hover {
  text-decoration: underline;
}
.seekbar-visible {
  position: absolute;
  background: rgba(255,255,255,0.2);
  height: 4px;
  left: 0;
  right: 0;
  bottom: 20px;
}
.seekbar .marker {
  position: absolute;
  width: 4px;
  height: 100%;
  background: #fff;
  left: 0;
  bottom: 0;
  margin-left: -2px;
}
#preview {
  position: fixed;
  background: #000;
  z-index: 11;
  bottom: 40px;
  left: 10px;
  display: none;
  pointer-events: none;
}
.dragging .button,
.dragging .seekbar,
.dragging .icon {
  pointer-events: none;
}
.dragging * {
  cursor: grabbing !important;
  cursor: -moz-grabbing !important;
  cursor: -webkit-grabbing !important;
}
.buttons {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 64px;
}
#fullscreen {
  display: inline-block;
  height: 36px;
  line-height: 36px;
  cursor: pointer;
  margin-bottom: 0;
}
#fullscreen:before {
  content: '';
  display: inline-block;
  position: relative;
  vertical-align: top;
  opacity: 0.6;
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
  background-repeat: no-repeat;
  background-position: left center;
  background-image: url("/zoomquilt/images/full.png");
}
#fullscreen:hover {
  color: #fff;
}
#fullscreen:hover:before {
  opacity: 1;
}
#speedcontrol {
  width: 218px;
  height: 40px;
  margin: 0.6em auto 0;
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(255,255,255,0);
}
#speedcontrol img {
  display: block;
  position: absolute;
  width: 200px;
  left: 9px;
  bottom: 0;
  opacity: 0.25;
  pointer-events: none;
}
#speedcontrol .handle {
  pointer-events: none;
  position: absolute;
  left: 0px;
  bottom: 0;
  height: 50px;
  width: 2px;
  margin-left: -1px;
  margin-bottom: 0;
  opacity: 0.5;
  background: #fff;
}
.dragging #speedcontrol .handle {
  opacity: 0.75;
}
.icon.active {
  opacity: 1;
}
.buttonrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.button {
  opacity: 0.4;
  display: inline-block;
  cursor: pointer;
  margin-left: 5px;
}
.button.active {
  opacity: 1;
}
.textbutton.fx:hover {
  color: #fff;
}
.textbutton.fx {
  padding: 1px 5px;
  opacity: 1;
  display: inline-block;
  cursor: pointer;
}
.textbutton.fx.active {
  color: #fff;
  color: #000;
  background: #009ec5;
  background: #adb538;
  border-radius: 2px;
}
.greyfx a,
.greyfx .textbutton.fx {
  color: #fff;
}
.showhistory {
  cursor: pointer;
  color: rgba(255,255,255,0.75);
}
.showhistory:hover {
  color: #fff;
  text-decoration: none;
}
.settings {
  margin: 0;
  display: block;
}
#credits {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 333px;
  max-width: 90vw;
  display: block;
  z-index: 10;
  opacity: 1;
  background: rgba(6,47,11,0.8);
  background: rgba(0,0,0,0.5);
  transition: margin-left 0.5s, opacity 0.5s;
  overflow-x: hidden;
  text-align: center;
  opacity: 0;
  margin-left: -300px;
}
#credits::-webkit-scrollbar {
  width: 1px;
}
#credits::-webkit-scrollbar-track {
  box-shadow: none;
  background: transparent;
}
#credits::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.5);
  box-shadow: none;
  outline: none;
}
#credits {
  -ms-overflow-style: none;
}
.creditsvisible #credits {
  opacity: 1;
  margin-left: 0;
}
.creditsinner {
  position: absolute;
  height: 100%;
  padding: 0 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  cursor: default;
}
.creditsinner .upper {
  flex-grow: 1;
}
.creditsinner .lower {
  margin-bottom: 1em;
}
.history {
  z-index: 100;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16pt;
  opacity: 0;
  transition: all 0.4s;
}
.historyinner {
  position: relative;
  max-width: 1200px;
  background: rgba(0,0,0,0.8);
  max-height: 100%;
  border: 2px solid #444;
  transition: transform 0.3s, opacity 0.7s;
  transform: scale(0.7);
  line-height: 1.6;
}
.history h2 {
  margin: 0;
  color: #fff;
}
.historyscroll {
  padding: 2em;
  max-height: 100vh;
  overflow-y: auto;
}
.close {
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
  height: 32px;
  color: #ccc;
  font-size: 24pt;
  background: url("./uiimg/close.png") no-repeat center/100%;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s linear;
  display: none;
}
.close:hover {
  opacity: 1;
}
.creditsvisible.historyvisible .history {
  opacity: 1;
}
.creditsvisible.historyvisible .historyinner {
  pointer-events: all;
}
.historyvisible .historyinner {
  transform: scale(1);
}
.adblock {
  margin: 0 auto;
}
.mobilebanner {
  display: none;
  margin-top: 0;
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 1em;
}
.sidebanner {
  position: fixed;
  right: 2em;
  top: 2em;
  bottom: 2em;
  width: 450px;
  z-index: 20;
  margin-right: -255px;
  transition: all 0.7s;
  opacity: 0;
  pointer-events: none;
}
.creditsvisible .sidebanner {
  margin-right: 0;
  opacity: 1;
}
.creditsvisible .sidebanner * {
  pointer-events: all;
}
@media (max-width: 900px) {
  .creditsvisible .sidebanner {
    display: none;
  }
  #credits .mobilebanner {
    display: block;
  }
}
@media (min-width: 1300px) {
  .sidebanner {
    width: 800px;
  }
}
@media (max-width: 800px) {
  .keyboard {
    display: none;
  }
  #credits {
    max-width: 80%;
/* width: 260px; */
/* margin-left: -155px; */
  }
  #credits .close {
    display: block;
  }
  .buttons {
    display: flex;
    flex-flow: column;
  }
  .buttons1 {
    order: 3;
    display: block;
    text-align: center;
  }
  .buttons1 {
    margin-top: 1em;
  }
  #info {
    padding: 0.2em;
  }
  .settings {
    margin-top: 1em;
    order: 2;
    margin-bottom: 1em;
    display: block;
  }
  .settings .button:first-child {
    margin-left: 0;
  }
  .sociallinks {
    display: block;
  }
  .social {
    margin-left: 0.2em;
    margin-right: 1em;
  }
  .social img {
    width: 24px;
    margin-top: 0.3em;
  }
}
#faq h3 {
  font-size: 14px;
  padding: 0;
  margin: 0;
  line-height: 14px;
  text-align: left;
}

.faq-item {
  background: #cec9c9; 
  margin:10px 5px;
}
.faq-question {
  font-size: 14px;
  padding: 20px;
  margin: 0;
  background: #f0f0f0;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}
.faq-question h3:after {
  content: '+';
  float: right;
}
.faq-question.active h3:after{
  content: '-'; 
}

.faq-question:hover {
  background: #e0e0e0;
}
.faq-answer {
  display: none;
  padding: 8px 10px;
  background: #fafafa;
  /* border-left: 4px solid #666; */
  text-align: left;
}
.faq-answer p {
  text-align: left;
  margin: 0;
  padding: 0; 
}

