﻿body {
    overflow: hidden !important;
}

:root {
    --color-blue: #ff5d24;
    --text-color: #ff5d24;
    --secondary-text-color: #9e9e9e;

    --font-size: 16px;
    --line-height: 26px;

    --border-style: 1px solid #E8E8E8;
    --header-height: 48px;
    --panel-width: 300px;
    --panel-padding: 16px;
    --icon-size: 20px;
}

@font-face {
    font-family: 'Favorit';
    src: url("fonts/Favorit/Favorit_Regular.otf") format("opentype");
}

@font-face {
    font-family: 'Lyno';
    src: url("fonts/Lyno\ Family/LynoStan.otf") format("opentype");
}

@font-face {
    font-family: 'LynoUlys';
    src: url("fonts/Lyno\ Family/LynoUlys.otf") format("opentype");
}

html {
    font-size: calc(var(--font-size) - 1px);
    line-height: calc(var(--line-height) - 1px);
}

body {
    font-family: 'Favorit', monospace;
    color: var(--text-color);
    margin: 0;
    background-color: #222222;
}

.body-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden
}

button:focus {
    outline: none;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
}

h2 {
    padding: 0;
    margin: 16px 0;
    line-height: var(--line-height);
    font-weight: 500;
}

h3 {
    margin: 0;
    font-weight: 500;
    font-size: calc(var(--font-size) - 1px);
    line-height: var(--line-height);
    color: var(--secondary-text-color);
}

h1 a {
    color: var(--color-blue);
}

.spacer {
    color: var(--secondary-text-color);
    margin-left: 2px;
    padding-right: 2px;
}

.tooltip {
    background: -webkit-linear-gradient(0deg, rgba(255, 93, 36, .75) 0%, rgba(0, 0, 0, .75) 25%, rgba(0, 0, 0, .75) 100%);
    background: linear-gradient(0deg, rgba(255, 93, 36, .75) 0%, rgba(0, 0, 0, .75) 25%, rgba(0, 0, 0, .75) 100%);
    padding: 20px 50px 120px;
    max-width: calc(100% - 140px);
    max-height: 828px;
    position: fixed;
    transition: all 300ms;
    top: 0;
    line-height: 1.4;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.tooltip[data-open="left"] {
    left: 0;
    right: 60px;
    transform: translate(-200px, 50px);
    -webkit-transform: translate(-200px, 50px);
}

.tooltip[data-open="right"] {
    right: 0;
    transform: translate(200px, 50px);
    -webkit-transform: translate(200px, 50px);
    left: 60px;
}

.tooltip.active {
    opacity: 1;
    z-index: 1;
    pointer-events: all;
}

.tooltip-open .tooltip[data-open="left"] {
    transform: translate(30px, 30px);
    -webkit-transform: translate(30px, 30px);
}

.tooltip-open .tooltip[data-open="right"] {
    transform: translate(-30px, 30px);
    -webkit-transform: translate(-30px, 30px);
}

.tooltip *:first-child {
    margin-top: 0;
}

.tooltip h2 {
    font-size: 62px;
    line-height: 0.9;
    font-family: 'Lyno', monospace;
}

.tooltip h2 i {
    font-family: 'LynoUlys', monospace;
    font-style: normal;
}

.tooltip a {
    color: cadetblue;
}

.tooltip img {
    max-width: 100%;
    margin: 1em 0 2em;
    max-height: 400px;
}

.tooltip-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: 0;
    width: 56px;
    height: 56px;
    font-size: 0;
    color: var(--text-color);
    font-family: 'Favorit';
}

.tooltip-close:after {
    content: '';
    width: 80%;
    height: 80%;
    display: block;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,%3Csvg%20id%3D%22Layer_2%22%20data-name%3D%22Layer%202%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2255.39%22%20height%3D%2255.39%22%20viewBox%3D%220%200%2055.39%2055.39%22%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill%3Anone%3Bstroke%3A%23ff5d24%3Bstroke-miterlimit%3A10%3Bstroke-width%3A1.5px%3B%7D%3C%2Fstyle%3E%3C%2Fdefs%3E%3Ctitle%3Eex%3C%2Ftitle%3E%3Cline%20class%3D%22cls-1%22%20x1%3D%220.53%22%20y1%3D%220.53%22%20x2%3D%2254.86%22%20y2%3D%2254.86%22%2F%3E%3Cline%20class%3D%22cls-1%22%20x1%3D%2254.86%22%20y1%3D%220.53%22%20x2%3D%220.53%22%20y2%3D%2254.86%22%2F%3E%3C%2Fsvg%3E");
}

.controls-top {
    position: fixed;
    top: 20px;
    z-index: 1;
    right: 0;
}

.controls-bottom {
    position: fixed;
    bottom: 35px;
    z-index: 1;
    left: 0;
    width: 100%;
}

.controls-inner {
    margin: auto;
    position: relative;
    padding: 10px 50px;
}

.controls-current {
    font-size: 0;
}

.prev, .next {
    position: absolute;
    background: none;
    border: 0;
    height: 50px;
    width: 60px;
    font-size: 24px;
    color: var(--text-color);
    font-family: 'Lyno', monospace;
    pointer-events: all;
}

.prev {
    left: 15px;
    top: 0;
}

.next {
    right: 15px;
    top: 0;
}

.text-container{
    max-height: 70vh;
    overflow-y: auto;
}

.text-container p{
    margin-right: 5px;
}

.loader {
    font-family: 'Lyno';
    position: absolute;
    background: black;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    display: flex;
    align-self: center;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    opacity: 1;
    transition: opacity 800ms;
    z-index: 1;
    pointer-events: none;
    -webkit-animation-name: loader; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-out;
    animation-name: loader;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

@-webkit-keyframes loader {
    0% {
        color: var(--text-color);
    }
    50% {
        color: black;
    }
    100% {
        color: var(--text-color);
    }
}

/* Standard syntax */
@keyframes loader {
    0% {
        color: var(--text-color);
    }
    50% {
        color: black;
    }
    100% {
        color: var(--text-color);
    }
}

.loader.off {
    opacity: 0;
}

.dg .cr.function:focus::after {
    content: ' copied';
}

.mute-button {
    color: var(--text-color);
    position: absolute;
    top: 40px;
    right: 40px;
    width: 30px;
    height: 30px;
    background-color: transparent;
    border: 0;
    pointer-events: all;
}

.tooltip h2 img {
    margin-bottom: 0;
}

@media all and (max-width: 767px) {
    p {
        font-size: 14px;
    }
}

@media all and (max-width: 400px) {
    p {
        font-size: 12px;
    }
}