* {
    Box-sizing: border-box;
}

/*@font-face {
    font-family: 'logotype';
    src: url('./fonts/setbackt.ttf');
}
@font-face {
    font-family: 'logotype-small';
    src: url('./fonts/joystix_monospace-webfont.woff2'), url('./fonts/joystix_monospace-webfont.woff2');
}

@font-face {
    font-family: 'screen1';
    src: url('./fonts/MunroSmall.ttf');
}

@font-face {
    font-family: 'screen2';
    src: url('./fonts/MunroNarrow.ttf');
}

@font-face {
    font-family: 'pixelar';
    src: url('./fonts/pixelar_regular-webfont.woff2'), url('./fonts/pixelar_regular-webfont.woff');
}*/

body {
    font-family: 'Helvetica Neue', Verdana, Helvetica, Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 72px;
    padding-bottom: 50px;
    font-size: 1.125em;
    color: #333;
    line-height: 1.5em;
    color: #fff;
    background-color: #000011;
}

#background1, #background2{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    z-index: -1;
    backround-repeat: repeat;
}
#background1 {
    background-image: url("../bg0.png");
}
#background2 {
   background-image: url("../bg2.png");
}

nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    background-color: #4A235A;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: stretch;
    align-items: center;
}

nav a {
    display: inline-block;
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    cursor: pointer;

    font-family: 'logotype-small', courier, mono space;
    font-size: .8em;
    /*font-family: 'pixelar';
    font-size: 1.2em;*/

    color: #ffffff;
    padding-left: 20px;
    padding-right: 20px;
}

nav .logotype {
    order: 0;
    flex: 0 1 auto;
    align-self: flex-end;
    font-family: 'logotype-small', courier, mono space;
    color: #aaffaa;

}

nav a.active {
    background-color: violet;
}

nav a.active:hover {
    text-decoration: none;
}

h1, h2, h3 {

}
h1 {
    font-family: 'logotype', courier, mono space;
    font-size: 5em;
    line-height: 1em;
    color: #88ee88;
    margin-top: 10px;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px #444;

}

h2 {
    font-size: 2em;
    text-align: center;

}

h3 {
    font-size: 1.5em;
    color: #777;
}

a {
    color: #00aa00;
    text-decoration: none;

}

a:hover {
    text-decoration: underline;
}

.center{
    text-align: center;
}
.hex-text {
    color: #00aa00;
    margin: 10px;
    font-family: 'pixelar', mono space;
}

.hex {
    margin: 10px;
    font-size: 1.2em;
    font-family: screen1;
    color: #bbffbb;
}

.panel .hex {
    color: #222;
}

.panel{
    color: #4400bb;
    background-color: #fff;
    margin: 50px 10px;
    padding: 10px;
    font-size: 1.5em;
    font-family: 'pixelar', mono space, sans-serif;
    box-shadow: 8px 8px 0px 0px #555555;
}
.panel em, em {
    color: red;
    font-style: normal;
}

.panel .info{
    margin: 4px;
    font-size: 1.1em;

}

.info+.info{
    margin-top: 20px;
}

.clear-panel {
    /*margin: 50px 10px;*/
   /* padding: 10px;*/
    background-color: none;
}

button{
    padding: 10px 20px;
    margin: 10px;
    font-size: 1.5em;
    font-family: screen1;
    border: none;
    color: #ffffff;
    background-color: #777777;
    box-shadow: 8px 8px 0px 0px #444444;
    cursor: pointer;
    outline: none;
}

button:hover{
    position: relative;
    top: 3px;
    left: 3px;
    box-shadow: 5px 5px 0px 0px #444444;
}

button:active{
    position: relative;
    top: 6px;
    left: 6px;
    box-shadow: 2px 2px 0px 0px #444444;
}

button.ok{
    background-color: green;
    color: black;
}

button.cancel{
    background-color: red;
}

button.nav{
    background-color: blue;
}

button.select{
    background-color: orange;
}


select{
    padding: 10px 20px;
    margin: 10px;
    font-size: 1.5em;
    font-family: screen1;
    border: none;
    color: #ffffff;
    background-color: orange;
    box-shadow: 8px 8px 0px 0px #444444;
    cursor: pointer;
    outline: none;

}

select:hover {
   position: relative;
    top: 3px;
    left: 3px;
    box-shadow: 5px 5px 0px 0px #444444;

}

.toolbar {
    margin-bottom: 10px;
    text-align: right;
}

.toolbar button, .toolbar select {
    font-size: 1.2em;
    padding: 8px 12px;
}

.toolbar .label{
    position: relative;
    top: 2px;
    color: red;
    font-family: 'pixelar', mono space, sans-serif;
    display: inline-block;
    font-weight: bold;
    margin-left: 20px;
}

.toolbar .label.balanced{
    min-width: 65px;
    text-align: center;
    top: 8px;
    margin-left: 15px;
    margin-right: 10px;
    font-size: 1.4em;
    font-family: screen1;
    color: orange;
}
.toolbar.bottom {
    margin-bottom: 100px;
    text-align: center;

}
.cat-box{
    border: 2px solid white;
     display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;/*flex-start;*/
    align-content: space-around;
    align-items: center;
    background-color: rgba(0,0,0,.8);
    min-height: 50px;
    padding-bottom:8px;

}
.empty-question {
    font-family: screen1;
    font-size: 20em;
    padding: .5em;
}
.cat-thumb {

    order: 0;
    flex: 0 0 auto;
    align-self: auto;

    padding: 5px;
    margin: 5px;
    text-align: center;

}
.cat-thumb img {
    /* cursor: -webkit-grab; */
    /* cursor: grab; */
    cursor: pointer;

    image-rendering: pixelated;
    -webkit-transition: transform 1s;
    transition: transform 1s;
}
.cat-thumb img:hover{
    transform: scale(4);
}

.platform {

    width: 100%;
    height: 16px;
    border-radius: 50%;
    margin-top: -11px;


}

.cat-thumb .platform{
}


.cat-thumb .platform.offered {
    border-color: #6666ff;
    background-color: #6666ff;
}

.cat-thumb .platform.requested {
    border-color: #ff6666;
    background-color: #ff6666;
}

.cat-thumb .platform.owner {
    border: 2px solid #ffffff;
}

.cat-thumb .platform.owner.offered {

}

.cat-thumb .platform.owner.requested {

}


.thumb-info {
    font-family: screen1;

}
.groups {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: stretch;
    align-items: center;
}
.group {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
}



.detail-overlay {
    z-index: 2000;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("../grey.png");
    background-repeat: repeat;
}

.detail-modal {
    position: relative;
    max-width: 800px;
    max-height: 100vh;
    overflow-y: auto;
    margin: 0px auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    -webkit-font-smoothing: antialiased;
    font-size: 1.125em;
    color: #fff;
    line-height: 1.5em;
    background-color: #222;
    border: 8px solid #4A235A;
    font-family: 'pixelar', courier, mono space, sans-serif;
    font-size: 1.5em;
}

.detail-modal .close {
    position: absolute;
    top: 3;
    right: 3;
}

.detail-modal button {
    font-size: 1.2em;
    padding: 8px 12px;
}

.detail-modal .info-group{
    margin-top: 20px;
    margin-bottom: 20px;
}

.detail-modal .text-group{
    display: inline-block;
    position: relative;
}

.detail-modal input{
    position: relative;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 1.2em;
    padding: 8px 12px;
    color: #fff;
    font-family: 'pixelar', courier, mono space, sans-serif;
    background-color: #222;
    border: 2px solid blue;
    /*box-shadow: inset 6px 6px 0px 0px #333, inset 8px 8px 0px 0px #444444;
    text-shadow: 6px 6px 0px #3a3a3a;*/
}
.detail-modal .input-shadow{
    position: absolute;
    border: 2px solid #444444;
    top: 8px;
    bottom: -7px;
    left: 13px;
    right: -2px;

}


.detail-modal input:focus{
    outline: none;
    border-color: green;
}

.detail-modal input:focus.invalid {
    border-color: red;
}

.detail-info {
    font-size: 1.5em;
}

.detail-info.blank {
    color: #444;
}
.user-info{
    font-family: 'pixelar', courier, mono space, sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: stretch;
    align-items: center;
    font-size: 1.5em;
    border: 2px solid white;
    background-color: rgba(0,0,0,.8);
    padding: 0px 20px;
    border-bottom: none;
}
.user-info em {
    color: blue;
}
.user-info button {
    position:relative;
    font-size: .6em;
    padding: 4px 8px;
    box-shadow: 4px 4px 0px 0px #444444;
}
.user-info button:hover {
    box-shadow: 1px 1px 0px 0px #444444;
}
.user-info .address {
    font-size: .7em;
}
.user-info div{
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
}

.events {
    position: fixed;
    right: 0;
    bottom: 0;
}

.event {
    font-family: 'pixelar', courier, mono space, sans-serif;
    position: relative;
    border-left: 2px solid orange;
    border-bottom: 2px solid orange;
    border-top: 2px solid orange;
    background-color: #000;
    overflow: hidden;
    max-height: 500px;

    -webkit-animation: showevent 10s;
    animation: showevent 10s;

    padding: 0px 10px;
    border-width: 0px;
    max-height: 0px;
    opacity: 0;
    margin: 0;
    cursor: pointer;

}

@-webkit-keyframes showevent {
  0%   {
	padding: 0px 10px;
	border-width: 0px;
	max-height: 0px;
	margin: 0;
    }
    5% {
	padding: 10px 10px;
	border-width: 2px;
	max-height: 500px;
	opacity: 0;
	margin-top: 5px;
	margin-bottom: 5px;
    }
    10% {
	opacity: 1;

    }
    90% {
	opacity: 1;
    }
    95% {
	padding: 10px 10px;
	border-width: 2px;
	max-height: 500px;
	opacity: 0;
	margin-top: 5px;
	margin-bottom: 5px;

    }
    100% {
	padding: 0px 10px;
	border-width: 0px;
	max-height: 0px;
	margin: 0;
    }
}
@keyframes showevent {
    0%   {
	padding: 0px 10px;
	border-width: 0px;
	max-height: 0px;
	margin: 0;
    }
    5% {
	padding: 10px 10px;
	border-width: 2px;
	max-height: 500px;
	opacity: 0;
	margin-top: 5px;
	margin-bottom: 5px;
    }
    10% {
	opacity: 1;

    }
    90% {
	opacity: 1;
    }
    95% {
	padding: 10px 10px;
	border-width: 2px;
	max-height: 500px;
	opacity: 0;
	margin-top: 5px;
	margin-bottom: 5px;

    }
    100% {
	padding: 0px 10px;
	border-width: 0px;
	max-height: 0px;
	margin: 0;
    }
}


.loader-small,
.loader-small:before,
.loader-small:after {
    background: rgba(0,0,0,0);
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 1em;
}
.loader-small {
    color: #bbffbb;
    text-indent: -9999em;
    margin: 30px auto;
    position: relative;
    top: -1.5em;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
.loader-small:before,
.loader-small:after {
    position: absolute;
    top: 0;
    content: '';
}
.loader-small:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.loader-small:after {
    left: 1.5em;
}
@-webkit-keyframes load1 {
    0%,
    80%,
    100% {
	box-shadow: 0 1em;

    }
    40% {
	box-shadow: 0 2em;

    }
}
@keyframes load1 {
    0%,
    80%,
    100% {
	box-shadow: 0 1em;

    }
    40% {
	box-shadow: 0 2em;

    }
}

.loader {
    margin: 100px auto;
    font-size: 25px;
    width: 1em;
    height: 1em;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load5 1.1s infinite ease;
    animation: load5 1.1s infinite ease;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}


@-webkit-keyframes load5 {
    0%,
    100% {
	box-shadow: 0em -2.6em 0em 0em #bbffbb, 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.5), -1.8em -1.8em 0 0em rgba(187,255,187, 0.7);
    }
    12.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.7), 1.8em -1.8em 0 0em #bbffbb, 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.5);
    }
    25% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.5), 1.8em -1.8em 0 0em rgba(187,255,187, 0.7), 2.5em 0em 0 0em #bbffbb, 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    37.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.5), 2.5em 0em 0 0em rgba(187,255,187, 0.7), 1.75em 1.75em 0 0em #bbffbb, 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    50% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.5), 1.75em 1.75em 0 0em rgba(187,255,187, 0.7), 0em 2.5em 0 0em #bbffbb, -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    62.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.5), 0em 2.5em 0 0em rgba(187,255,187, 0.7), -1.8em 1.8em 0 0em #bbffbb, -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    75% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.5), -1.8em 1.8em 0 0em rgba(187,255,187, 0.7), -2.6em 0em 0 0em #bbffbb, -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    87.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.5), -2.6em 0em 0 0em rgba(187,255,187, 0.7), -1.8em -1.8em 0 0em #bbffbb;
    }
}
@keyframes load5 {
    0%,
    100% {
	box-shadow: 0em -2.6em 0em 0em #bbffbb, 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.5), -1.8em -1.8em 0 0em rgba(187,255,187, 0.7);
    }
    12.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.7), 1.8em -1.8em 0 0em #bbffbb, 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.5);
    }
    25% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.5), 1.8em -1.8em 0 0em rgba(187,255,187, 0.7), 2.5em 0em 0 0em #bbffbb, 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    37.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.5), 2.5em 0em 0 0em rgba(187,255,187, 0.7), 1.75em 1.75em 0 0em #bbffbb, 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    50% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.5), 1.75em 1.75em 0 0em rgba(187,255,187, 0.7), 0em 2.5em 0 0em #bbffbb, -1.8em 1.8em 0 0em rgba(187,255,187, 0.2), -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    62.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.5), 0em 2.5em 0 0em rgba(187,255,187, 0.7), -1.8em 1.8em 0 0em #bbffbb, -2.6em 0em 0 0em rgba(187,255,187, 0.2), -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    75% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.5), -1.8em 1.8em 0 0em rgba(187,255,187, 0.7), -2.6em 0em 0 0em #bbffbb, -1.8em -1.8em 0 0em rgba(187,255,187, 0.2);
    }
    87.5% {
	box-shadow: 0em -2.6em 0em 0em rgba(187,255,187, 0.2), 1.8em -1.8em 0 0em rgba(187,255,187, 0.2), 2.5em 0em 0 0em rgba(187,255,187, 0.2), 1.75em 1.75em 0 0em rgba(187,255,187, 0.2), 0em 2.5em 0 0em rgba(187,255,187, 0.2), -1.8em 1.8em 0 0em rgba(187,255,187, 0.5), -2.6em 0em 0 0em rgba(187,255,187, 0.7), -1.8em -1.8em 0 0em #bbffbb;
    }
}

#countdown-cover {
    z-index: 500;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url("../grey.png");
    background-repeat: repeat;
}

#countdown {
    font-family: 'pixelar';
    position: relative;
    top: 30%;
    transform: translateY(50%);
    text-align: center;
    background-color: #000;
    padding-bottom: 40px;
    border-top: 8px solid #4A235A;
    border-bottom: 8px solid #4A235A;

}

#countdown-text{
    color: #bbffbb;
    font-size: 40px;
    padding: 20px;
}

#countdown-timer{
    font-size: 80px;
}


#remaining-cats{
    position: fixed;
    display: inline-block;
    left: 10px;
    bottom: 0px;
    text-align: center;
    font-family: 'pixelar';
    font-size: 1.5em;
    background-color: #000;
    border-left: 2px solid orange;
    border-right: 2px solid orange;
    border-top: 2px solid orange;
    padding: 1px 5px;

}
#remaining-cats a{
    color: #ffffff;
}