
@font-face {
    font-family: 'Zepto';
    src: url(../font/zepto/Zepto-Regular.ttf);
}

body {
	margin: 0;
	background-color: #fff;
	color: #000;
	font-family: Monospace;
	font-size: 13px;
	line-height: 24px;
    overflow:hidden;
	overscroll-behavior: none;
}
body.dark-mode {
	background-color: #000 !important;
	color: #fff;
}

a {
	color: #ff0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

button {
	cursor: pointer;
	text-transform: uppercase;
}

#info {
    font-family: 'Zepto';
	position: absolute;
	top: 0px;
	width: 100%;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	z-index: 1; /* TODO Solve this in HTML */
}

a, button, input, select {
	pointer-events: auto;
}

.lil-gui {
	z-index: 2 !important; /* TODO Solve this in HTML */
}

@media all and ( max-width: 640px ) {
	.lil-gui.root { 
		right: auto;
		top: auto;
		max-height: 50%;
		max-width: 80%;
		bottom: 0;
		left: 0;
	}
}

#overlay {
	position: absolute;
	font-size: 16px;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background: rgba(0,0,0,0.7);
}

#overlay button {
    background: transparent;
    border: 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 18px;
    text-transform: uppercase;
    cursor: pointer;
}

#notSupported {
	width: 50%;
	margin: auto;
	background-color: #f00;
	margin-top: 20px;
	padding: 10px;
}

.sprite {
    border-radius:500px;
    max-width:100px;
    opacity:0.9;
    animation-duration: 10s;
    animation-direction: normal;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    /*-webkit-mask-image: radial-gradient(ellipse farthest-corner at 45px 45px, rgba(50, 50, 50, 1) 0%, rgba(80, 80, 80, 0.5) );*/
}
.user-active {
    animation-name: fadeCycleActive;
}
.user-inactive {
    animation-name: fadeCycleInactive;
}
@keyframes fadeCycleActive {
    0% {opacity: 0.9;}
    10% {opacity: 0.2;}
    20% {opacity: 0.9;}
    30% {opacity: 0.2;}
    40% {opacity: 0.9;}
    50% {opacity: 0.2;}
    60% {opacity: 0.9;}
    70% {opacity: 0.2;}
    80% {opacity: 0.9;}
    90% {opacity: 0.2;}
    100% {opacity: 0.9;}
}
@keyframes fadeCycleInactive {
    0% {opacity: 0.9;}
    84% {opacity: 0.8;}
    87% {opacity: 0.1;}
    90% {opacity: 0.9;}
    93% {opacity: 0.1;}
    100% {opacity: 0.9;}
}
input {
    background:#000000;
    color:#fff;
    font-family:"Zepto";
    font-size:14px;
    padding:5px;
    text-align:center;
    width:300px;
}
.text-flash {
    animation-name: textFlash;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.text-dull {
    animation-name: textDull;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes textFlash {
    0% {color: #00ffff;}
    25% {color: #ff0000;}
    50% {color: #ffff00;}
    100% {color: #ff00ff;}
}
@keyframes textDull {
    0% {color: #99aaaa;}
    25% {color: #aa9999;}
    50% {color: #aaaa99;}
    100% {color: #aa99aa;}
}

.dark-button {
    font-family: 'Zepto';
    font-size:26px;
    margin:5px;
    box-shadow: 0px 1px 5px #000;
    border-bottom: 4px solid #550000;
    border-left: 4px solid #330000;
    background-image: linear-gradient(to right, #000, #070707, #070707, #0a0a0a, #111);
    background-color: #000;
    color: white;
    transition:all 0.5s;
}
.dark-button:hover {
    box-shadow: 2px 4px 20px #000;
    transition:all 0.5s;
}
.address-button {
    margin-top:10px;
}
.collection-image {
    background-color:#fff !important;
    position:absolute;
    top:0px;
    left:-50vw;
    z-index:0;
    filter: blur(25px);
    -webkit-filter: blur(25px);
    opacity:0.5;
    overflow:hidden;
}
.animate-collection-image{
    animation-name: animateCollectionImage;
    animation-duration: 30s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
@keyframes animateCollectionImage {
    0%   {transform: scale(1,1);filter: blur(25px);-webkit-filter: blur(25px);}
    50% {transform: scale(1.4,1.4);filter: blur(2px);-webkit-filter: blur(2px);}
    100% {transform: scale(1,1);filter: blur(25px);-webkit-filter: blur(25px);}
}
.width-dominant {
    width:200vw;
}
.height-dominant {
    height:100vh;
}
.target-nft {
    cursor:pointer;
    animation-name: target;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    opacity:1;
    /*-webkit-mask-image: radial-gradient(ellipse farthest-corner at 45px 45px, rgba(50, 50, 50, 1) 0%, rgba(80, 80, 80, 0.5) );*/
}

.activate-controls-button {
    position: relative;
}
.digitorum-name {
    font-size:48px;
    text-transform:uppercase;
    animation-name: digitorumName;
    animation-duration: 3s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.collection-name {
    font-size:48px;
    text-transform:uppercase;
    animation-name: collectionName;
    animation-duration: 3s;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}
.dark-mode {
    color:#000;
}
.light-mode {
    color:#fff;
}

@keyframes target {
    0%   {box-shadow:0px 0px 100px #ff0000;}
    25%  {box-shadow:0px 0px 110px #00ffff;}
    50% {box-shadow:0px 0px 120px #ff00ff;}
    75%  {box-shadow:0px 0px 110px #ffff00;}
    100% {box-shadow:0px 0px 100px #ff0000;}
}
@keyframes digitorumName {
    0%   {color:#ff0000;filter: drop-shadow(0px 0px 20px #ff0000);}
    25%  {color:#00ffff;filter: drop-shadow(0px 0px 20px #00ffff);}
    50% {color:#ff00ff;filter: drop-shadow(0px 0px 20px #ff00ff);}
    75%  {color:#ffff00;filter: drop-shadow(0px 0px 20px #ffff00);}
    100% {color:#ff0000;filter: drop-shadow(0px 0px 20px #ff0000);}
}
@keyframes collectionName {
    0%   {filter: drop-shadow(0px 0px 20px #ff0000);}
    25%  {filter: drop-shadow(0px 0px 20px #00ffff);}
    50% {filter: drop-shadow(0px 0px 20px #ff00ff);}
    75%  {filter: drop-shadow(0px 0px 20px #ffff00);}
    100% {filter: drop-shadow(0px 0px 20px #ff0000);}
}

.loading-container {
    position:relative;
    margin:0 auto;
    width:128px;
    height:30px;
    border:2px solid #220000;
    padding:3px;
    background-color:#000;
}
.loading-percentage {
    font-family: 'Zepto';
    font-size:26px;
    color:#fff;
    position:absolute;
    left:52%;
    top:5px;
    transform:translateX(-50%);
    z-index:2;
}
.loading-bar {
    background-color: #00ff00;
    text-align:center;
    width:128px;
    height:30px;
}
.try-again {
    margin-top:20px;
}
.logo-link {
    width: 20px;
    margin-left: 10px;
    margin-bottom: -4px;
    transition:all 0.5s;
}
.input-container {
    margin-right:-30px;
}

.particles {
    width:30px;
}
.start {
    width:50px;
}
