@font-face {
    font-family: 'Tiny5'; /* Name of the font */
    src: url('Tiny5-Regular.ttf') format('truetype'); /* Specify the font file and format */
    font-weight: normal; /* Specify the weight */
    font-style: normal; /* Specify the style */
}

html {
    font-size: 12px;
    background-color: #000;
}

.touchX {
touch-action: manipulation;
}

body {
position: fixed;
padding: 0px;
margin: 0px;
background-color: rgba(0,0,0,0);
color: #fff;
font-family: Tiny5, Gill Sans, Verdana, sans-serif;
font-size:1.2em;
}

.inherited {
font-family:inherit;
color:inherit;
background-color:inherit;

font-size:inherit;
}

a {
color:inherit;
background-color:inherit;
border:inherit;
font-size:inherit;
}

h2 {
line-height:0;
margin-top:18px;
margin-left:10px;
bottom:0px;
padding:0px;
font-size:2em;
}

button {
color:inherit;
background-color:inherit;
border-radius:0px;
font-size:inherit;
font-family:inherit;
text-align:center;
border:2px solid;
margin:6px;
padding:4px;
cursor: pointer;
}

.btnW {
width: 20%;
max-width:100px;
text-align:center;
padding:3px;
font-size:1em;
}

.input {
width:90%;
max-width:400px;
font-family:inherit;
font-size:1.2em;
height:1.2em;
color:inherit;
background-color:inherit;
border-radius:0px;
border: 2px solid;
margin:0;
cursor: pointer;
text-align:center;
}

input[type="radio"] {
appearance: none;
border: 2px solid;
color:inherit;
background-color: inherit;
width: 16px; /* adjust to your desired size */
height: 16px;
cursor: pointer;
border-radius:0px;
margin:0px;
margin-left:4px;
margin-right:2px;
}

input[type="radio"]:checked {
appearance: none;
color:inherit;
background-color: rgba(0,0,0,0.5);
width: 16px; /* adjust to your desired size */
height:16px;
cursor: pointer;
border-radius:0px;
margin:0px;
margin-left:4px;
margin-right:2px;
}

input[type="color"] {
appearance: none;
border: 2px solid;
padding:0px;
color:inherit;
background-color: inherit;
width: 24px; /* adjust to your desired size */
height: 24px;
cursor: pointer;
border-radius:0px;
margin:0px;
margin-left:4px;
margin-right:4px;
}

.colorMode {
    width:1em;
    height:1em;
    border:none;
    padding:0px;
}

.svgAnim {
    filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.6));
}

input[type="number"] {
appearance: none;
border:none;
padding:auto;
color:inherit;
background-color: inherit;
width: 48px; /* adjust to your desired size */
height: 24px;
cursor: pointer;
margin:0px;
margin-left:2px;
margin-right:2px;
font-size:1.2em;
}


.input:active {
color:inherit;
background-color:inherit;
}

.input:focus {
color:inherit;
background-color:inherit;
}

.inputParams {
display:inline-block;
width:auto;
text-align:center;
color:inherit;
background-color:inherit;
font-size:1.1em;
}

.inputCheck {
width:1em;
border-radius:0px;
}

.inputCtn {
position:fixed;
line-height: 1.8;
bottom:28px;
width:100%;
max-width:400px;
text-align:center;
left: 50%;
transform: translateX(-50%);
}

.navCtn {
padding-top:15px;
padding-left:4px;
position:fixed;
top:0;
width:100%;
overflow: visible;
text-align:left;
z-index:10;
left: 50%;
transform: translateX(-50%);
}

canvas {
display:block;
position:relative;
}

.frame {
display: block;
position:relative;
align-items:center;
justify-content:center;
height: 100%;
width: 100%;
padding: 0px;
margin: 0px;
overflow: hidden;
position: relative;
}

.canvasDraw {
position: relative;
display:block;
height: 280px;
width: 280px;
padding:112px;
z-index: 1; /* Ensure this is above the frame */
}

.canvasCtn {
display: block;
position:relative;
top:-6%;
height: 504px;
width: 504px;
padding: 0px;
overflow: hidden;
z-index: 0; /* Ensure this is below the drawing canvas */
}

.filter {
background-color: rgba(0, 0, 0, 0);
position: absolute;
display: block;
width: 280px;
height: 280px;
-webkit-backdrop-filter: blur(0px) saturate(80%);
backdrop-filter: blur(0px) saturate(80%);
z-index: 10;
padding: 0px;
margin: 0px;
overflow: hidden;
}

.container {
display:flex;
position:fixed;
justify-content:center;
align-items:center;
position:fixed;
height:100vh;
width:100vw;
padding:0px;
margin:0px;
flex-direction:column;
}

.conBtn {
max-width:40%;
background-color:inherit;
border-radius:0px;
border: 2px solid;
cursor:pointer;
color:inherit;
font-family: inherit;
justify-content: right;
align-items: center;
overflow: hidden;
padding:4px;
font-size:1em;
text-decoration: none;
position: fixed;
top:15px;
right:5px;
z-index:200;
overflow:none;
display:flex;
}

.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Old versions of Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently
supported by Chrome, Edge, Opera and Firefox */
touch-action: manipulation;
color:inherit;
background-color:inherit;
}

.conBtnTxt {
white-space:nowrap;
font-size: 1em;
}

.netLogo:hover {
-webkit-animation: pulse 0.2s; 
-webkit-animation-iteration-count: infinite;  
animation-fill-mode: both;
animation: pulse 0.2s; 
animation-iteration-count: infinite;
}

.netLogo {
color:inherit;
background-color:inherit;
margin-right:0px;
margin-left:2px;
margin-bottom:0px;
height:1.8rem;
width:1.8rem;
float:right;
}

.logoColor {
    color:inherit;
    background-color:inherit;
}

.hidden {
display: none;
}

:root {
--gradient-shadow: linear-gradient(
45deg,
#fb0094,
#0000ff,
#00ff00,
#ffff00,
#ff0000,
#fb0094,
#0000ff,
#00ff00,
#ffff00,
#ff0000
);
}

.rainbowbox {
font-family:inherit;
position: relative;
text-align: center;
background: linear-gradient(0deg, #000, #262626);
}
.rainbowbox:before,
.rainbowbox:after {
content: "";
position: absolute;
top: -2px;
left: -2px;
background: var(--gradient-shadow);
background-size: 400%;
width: calc(100% + 4px);
height: calc(100% + 4px);
z-index: -1;
animation: animate 20s linear infinite;
}

.rainbowbox:after {
filter: blur(20px);
}

@keyframes animate {
0% {
background-position: 0 0;
}
50% {
background-position: 300% 0;
}
100% {
background-position: 0 0;
}
}

.bg-container {
position: fixed; 
top: -50%; 
left: -50%; 
width: 200%; 
height: 200%;
z-index: -1;
-webkit-animation: fadeIn 2s; 
-webkit-animation-iteration-count: once;
-webkit-animation-delay: 0.6s;
-webkit-animation-fill-mode: both;
animation: fadeIn 2s; 
animation-iteration-count: once;
animation-delay: 0.6s; 
animation-fill-mode: both;
}

.bg-container img {
position: fixed; 
top: 0; 
left: 0; 
right: 0; 
bottom: 0; 
margin: auto; 
min-width: 100%;
min-height: 100%;
opacity:0.4;
-webkit-filter: blur(15px) saturate(130%);
filter: blur(15px) saturate(130%);
-webkit-transform: scale(1.4); 
transform: scale(1.4); 
-webkit-transition: .5s;
transition: .5s;
}