html,body
{
  padding : 0;
  margin : 0;
  border: none;
  width:100%;
  height:100%;
  background: black;
  position: fixed;
  top:0;
  left:0;
  overflow: hidden;
}

*{
  font-family: 'Regular';
}


*:not(input,select,textarea)
{
  user-select: none;
  -webkit-user-select:none;
}
.background-light *,
.background-light,
.background-lightblur,
.background-lightblur *
{
  color:black;
}

*
{
  color:white;
}

p
{
  font-family: "Regular";
  font-size:15px;
}

h1{
  font-family: "Bold";
  margin: 20px;
  cursor: default;
}
h2,h3,h4,h5,h6{
  font-family: "Bold";
}

h1 img{
  height: 30px;
  object-fit: contain;
  vertical-align: baseline;
  margin-left: 10px;
  margin-right: 10px;
}

h1[center]
{
  position: absolute;
  top:10px;
  left:0;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  text-align: center;
}
spacer{
  display: block;
  height:50px;
}

@media screen and (max-width: 350px) {
  h1 {
    font-size: 25px;
  }
}



.toggle[pos=abs-top-left]
{
  position:absolute;
  top:0;
  left:0;
}
.toggle[pos=abs-top-right]
{
  position:absolute;
  top:0;
  right:0;
}

img.toggle:active{
  filter:invert(50%) saturate(0);
}

screen{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-color: inherit;
}

screen[jsmgr]
{
  display: none;
  opacity:1;
  left:100%;
  will-change: left opacity transform;
}

@-webkit-keyframes fade_zoom
{
  0%{
    transform: scale(0.95);
    opacity: 0;
  }
  100%
  {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fade_zoom
{
  0%{
    transform: scale(0.95);
    opacity: 0;
  }
  100%
  {
    transform: scale(1);
    opacity: 1;
  }
}




screen:not([jsmgr])
{
  animation-name: fade_zoom;
  animation-duration: 0.4s;
  animation-iteration-count: 1;
  animation-timing-function: ease;

  -webkit-animation-name: fade_zoom;
  -webkit-animation-duration: 0.4s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: ease;
}

scroll{
  height:100%;
  width:100%;
  top:0;
  left:0;
  padding-top:120px;
  padding-bottom: 120px;
  box-sizing: border-box;
  position: absolute;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;

  -webkit-overflow-scrolling:touch;

}

scroll[blend]
{
  -webkit-mask-image:linear-gradient(0deg,rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(0deg,rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%,rgba(0,0,0,1) 75%, rgba(0,0,0,0) 100%);
}

scroll[blend-more]
{
  -webkit-mask-image:linear-gradient(0deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 200px, rgba(0,0,0,1) 500px,rgba(0,0,0,1) calc(100% - 200px), rgba(0,0,0,0) 100%);
  mask-image:linear-gradient(0deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 200px, rgba(0,0,0,1) 500px,rgba(0,0,0,1) calc(100% - 200px), rgba(0,0,0,0) 100%);
}

@-webkit-keyframes fade_zoom
{
  0%{
    transform: scale(0.95);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fade_zoom
{
  0%{
    transform: scale(0.95);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}

viewport
{
  display: block;
  position: absolute;
  top:0;
  opacity: 0;
  left:100% ;
  width:100%;
  height:100%;
  margin: 0;
  padding:0;
  transform: scale(0.94);
  transition: left 2s ease,opacity 0.2s ease,transform 0.2s ease;
  will-change: left opacity transform;
  background: rgb(15,15,15);
}

viewport.active{

  left:0;
  opacity: 1;
  transform: scale(1);
  transition: left 0.2s ease,opacity 0.2s ease;
}

viewport.close
{
  left:100%;
  opacity: 0;
  transform: scale(1);
  transition: left 0.2s ease,opacity 0.2s ease,transform 0.2s ease;
}

viewport.open{
  left:0;
  opacity: 1;
  transform: scale(1);
  transition: left 0.2s ease,opacity 0.2s ease,transform 0.2s ease;
}

viewport.back{
  left:0;
  opacity: 0;
  transform: scale(0.94);
  transition: left 0.2s ease,opacity 0.2s ease,transform 0.2s ease;
}

bottombar{
  position: absolute;
  bottom: 0;
  left:0;
  width:100%;
}

[invert]
{
  filter:invert(100%);
  color:black;
}

[hidden]
{
  display: none;
}

[transparent]
{
  opacity: 0;
}

[anioff]
{
  -webkit-animation:none;
  animation: none;
}

[dtcolor=blue]
{
  color:rgb(10,132,255);
}
[dtcolor=green]
{
  color:rgb(48,209,88);
}
[dtcolor=violet]
{
  color:rgb(94,92,230);
}
[dtcolor=orange]
{
  color:rgb(255,159,10);
}
[dtcolor=pink]
{
  color:rgb(255,55,95);
}
[dtcolor=purple]
{
  color:rgb(191,90,242);
}
[dtcolor=purple]
{
  color:rgb(191,90,242);
}
[dtcolor=red]
{
  color:rgb(255,69,58);
}
[dtcolor=teal]
{
  color:rgb(100,210,255);
}
[dtcolor=yellow]
{
  color:rgb(255,214,10);
}
