@font-face {
    font-family: 'zpix';
    src: url('/fonts/zpix-v3.1.1.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
    url('/fonts/zpix-v3.1.1.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
    font-weight: normal;
    font-style: normal;
    font-size: xx-small;

}

/*  ------- SECTION POSITION -------  */

body {
    background-color: black;
}
userinput {
    font-size: smaller;
    float: left;
    width: 50%;
}
h1 {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: 50px;
    color: rgba(2, 27, 255, 1);
    text-align: center;
    padding-top: 3%;
}
h2 {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: large;
    line-height: 25px;
    text-align: center;
    margin-top: -1%;
    margin-bottom: 4%;
}
h2.blue {
    color: rgb(2, 27, 255);
}
h2.offwhite{
    color: rgb(157, 164, 221);
}
h3 {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: 40px;
    color: rgb(157, 164, 221);
    overflow-wrap: break-word;
}
label {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: small;
    color: rgb(157, 164, 221);
}
p1 {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: small;
    font-weight: lighter;
    text-align: left;
    color: rgb(141, 148, 212);
    line-height: 20px;
    margin-left: 10%;
    margin-right: 10%;
    margin-bottom: 5%;
}
p2 {
    font-family: 'VT323', 'zpix', monospace;
    color: rgb(157, 164, 221);
    font-size: larger;
    overflow-wrap: break-word;
}
display {

    font-size: smaller;
    float: right;
    width: 40%;
    padding: 0% 5% 10% 3%;
}
textarea {
    border: 2px solid rgba(157, 164, 221, 1);
    background: black;
    color: whitesmoke;
    font-family: 'VT323', 'zpix', monospace;
    font-size: larger;
    padding: 4px 6px;
    display: block;
    width: 100%;
    overflow: auto;
    resize: none;
    min-height: 40px;
    max-height: 50%;
    line-height: 20px;
    outline: none;
}
textarea::placeholder {
    color: rgba(157, 164, 221, 0.5);
}

input[type=submit] {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: small;
    color: rgba(157, 164, 221, 1);
    height: 50px;
    width: 51%;
    min-width: 200px;
    padding: 1%;
    background-color: black;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(157, 164, 221, 1);
}
input[type=submit]:hover:enabled, input[type=submit]:active:enabled {
    background-color: rgba(2, 27, 255, 1);
    border-color: white;
    color: white;
    cursor: pointer;
}
input[type=submit]:disabled {
    color: rgba(157, 164, 221, 0.4);
    border-color: rgba(157, 164, 221, 0.4);
    cursor: initial;
}

button {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: large;
    color: rgb(157, 164, 221);
    min-height:30vh;
    width: 43%;
    padding: 1%;
    background-color: black;
    border-width: 3px;
    border-style: solid;
    border-color: rgba(157, 164, 221, 1);

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

button:hover {
    background-color: rgba(2, 27, 255, 1);
    border-color: white;
    color: white;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

back {
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: small;
    text-align: center;
    color: rgba(157, 164, 221, 1);

    position: fixed;
    top: 2%;
    left: 2%;
    width: 10%;
    height: 4%;
    min-width: 65px;
    min-height: 25px;
    background-color: black;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(157, 164, 221, 1);
}
back t {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
back:hover, back:active {
    background-color: rgba(2, 27, 255, 1);
    border-color: white;
    color: white;
    cursor: pointer;
}
.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 65%;
}
.iframe {
    position: absolute;
    top: 0; bottom: 0;
    left: 0; right: 0;
    border-style: none;
    width: 100%;
    height: 100%;
}
.help {
    display: none;
}
.help-button {
    position: fixed;
    top: 2%;
    right: 2%;
    width: 35px;
    height: 35px;
    background: url(../images/UI/help_icon_default.png) no-repeat;
    background-size: contain;
    cursor: pointer;
    border: none;
}
.help-button:hover {
    background: url(../images/UI/help_icon_mouseover.png) no-repeat;
    background-size: contain;
}
.help-content-child {
    box-sizing: border-box;
    margin-top: 7%;
    margin-bottom: 5%;
}
.overlay {
    position: fixed;
    vertical-align: middle;
    horiz-align: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(2, 27, 255, 0.8);
    z-index: 2;
}
.overlayBG {
    display: none;
    position: fixed;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    padding-bottom: 20px;
    vertical-align: middle;
    horiz-align: center;
    background-color: black;
    border-width: 3px;
    border-style: solid;
    border-color: rgba(2, 27, 255, 1);

    z-index: 0;
}
.overlayContent {
    position: fixed;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    vertical-align: middle;
    horiz-align: center;
    height: available;
    padding: 2% 4%;
    font-family: 'VT323', 'zpix', monospace;;
    font-size: larger;
    color: rgba(157, 164, 221, 1);
    z-index: 1;
}
.overlayContentText {
    position: relative;
    float: right;
    width: 48%;
    height: 100%;
    padding: 0.5% 5.5% 0.5% 0.5%;
    z-index: 2;
}
.overlayContentImg {
    position: relative;
    float: left;
    width: 40%;
    height: 100%;
    padding: 3%;
    z-index: 2;
}
canvas, img {
    padding: 5%;
    border: 2px solid blue;
    position: inherit;
}
a {
    position: absolute;
}
downloadImgButton {
    position: absolute;

    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: small;
    text-align: center;
    color: rgba(157, 164, 221, 1);
    width: 70%;
    min-width: 140px;
    min-height: 40px;
    background-color: black;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(157, 164, 221, 1);

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
downloadImgButton:hover, downloadImgButton:active {
    background-color: rgba(2, 27, 255, 1);
    border-color: white;
    color: white;
    cursor: pointer;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
downloadImgButton t {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/*  ------- CLASS CONFIG ------- */

.responsive {
    height: auto;
    width: 100%;
}
.noScroll {
    overflow: hidden;
}
.intro {
    display: none;
}
.wizard {
    display: none;
    margin: 7% 3%;
}
.overlayContentText{
    padding: 4% 0% 4% 2%;
    display: none;
}
.overlay {
    display: none;
}

/* TOOLTIP */

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 2px dotted rgba(157, 164, 221, 1);
    width: auto;
}
.tooltipText {
    font-family: 'VT323', 'zpix', monospace;
    font-size: large;
    font-weight: initial;
}
.tooltip .tooltipText {
    visibility: hidden;
    width: 250px;
    background-color: rgba(2, 27, 255, 1);
    color: #fff;
    text-align: center;
    border-radius: 0px;
    padding: 25px 15px;
    position: absolute;
    z-index: 1;
    top: 200%;
    left: 12.5%;
    margin-left: -60px;
}
.tooltip .tooltipText::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent blue transparent;
}
.tooltip:hover .tooltipText, .tooltip:active {
    visibility: visible;
}
.tooltip:hover ,.tooltip:active{
    color: rgba(2, 27, 255, 1);
    border-bottom: 2px solid blue;
}
b {
    font-family: inherit;
    font-size: smaller;
    font-weight: inherit;
    color: rgba(157, 164, 221, 1);
}

.loader {
    border: 8px solid rgba(157, 164, 221, 1);
    border-top: 8px solid rgba(2, 27, 255, 1);
    border-radius: 30%;
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite;
    z-index: 1;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.inputfile {
    float: left;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: absolute;
    z-index: -1;
}
.container {
    position: relative;
    white-space: nowrap;
    overflow-x: hidden;
    align-content: center;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}
.help-illustration {
    border: none;
    opacity: 90%;
    height: 100px;
    width: auto;
}

/*  ------- ID CONFIG -------  */

#help-content {
    box-sizing: border-box;
    color: rgb(157, 164, 221);
    padding: 0% 10% 0%;
}
#vid-link {
    text-align: center;
    color: rgb(49, 70, 255)
}

#vid-link:hover {
    color: rgb(8, 31, 255)
}

#vid-link:visited{
    color: rgb(171, 97, 255)
}

#retrievedMessage,
#userMessage,
#password {
    scrollbar-color: rgba(2, 27, 255, 1), rgba(2, 27, 255, 0.2);
}
#password {
    color: whitesmoke;
    max-height: 4%;
    overflow: auto;
    overflow-scrolling: auto;
    overflow-style: auto;
}
#userMessage {
    height: 60%;
    overflow-x: hidden;
    overflow-y: scroll;
    overflow-scrolling: auto;
    overflow-style: auto;
}
#retrievedMessage {
    height: 70%;
    overflow-x: hidden;
    overflow-y: scroll;
    overflow-scrolling: auto;
    overflow-style: auto;
}

#downloadButton {
    height: 10%;
    width: 100%;
}

#read-img-upload-label,
#uploadLabel {
    display: inline-block;
    float: left;
    font-family: 'Press Start 2P', 'zpix', cursive;
    font-size: small;
    text-align: center;
    align-items: center;
    color: rgba(157, 164, 221, 1);
    padding: 4% 3% 3%;

    height: 16px;
    width: 35%;
    min-width: 180px;
    max-height: 16px;

    background-color: black;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(157, 164, 221, 1);

    cursor: pointer;
}
#read-img-upload-label:hover, #uploadLabel:hover,
#read-img-upload-label:active, #uploadLabel:active {
    background-color: rgba(2, 27, 255, 1);
    border-color: white;
    color: white;
    cursor: pointer;
}

#putFileName,
#readFileName {
    font-size: xx-small;
    color: whitesmoke;
    float: right;
    display: inline-block;
    padding-top: 25px;
    width: 44%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl
}
#help-overlay-bg {
    position: fixed;
    vertical-align: middle;
    horiz-align: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2;
}
#help-bg {
    display: block;
    position: fixed;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    padding-bottom: 20px;
    vertical-align: middle;
    horiz-align: center;
    background-color: #160ab3;
    border-width: 3px;
    border-style: solid;
    border-color: rgb(14, 4, 145);
    z-index: 1;

    overflow-y:auto
}

hr.help-section {
    border-top: 1px solid #2d51dc;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
}
hr.dotted {
    border-top: 2px dotted #2d51dc;
    border-bottom: 0px;
    border-left: 0px;
    border-right: 0px;
}

/* SCROLL BAR*/
/* width */
::-webkit-scrollbar {
    width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
    background: rgba(2, 27, 255, 0.2);
}

/* scroll handle */
::-webkit-scrollbar-thumb {
    background: rgba(2, 27, 255, 0.8);
}

/* scroll handle HOVER */
::-webkit-scrollbar-thumb:hover {
    background: blue;
}
/*  custom highlight */
::selection {
    background: rgba(2, 27, 255, 0.8);
    color: whitesmoke;
}
::-moz-selection {
    background: rgba(2, 27, 255, 0.8);
    color: whitesmoke;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
