/* FONTS */
.geo-regular {
  font-family: "Geo", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.geo-regular-italic {
  font-family: "Geo", sans-serif;
  font-weight: 400;
  font-style: italic;
}


.bitcount-100 {
  font-family: "Bitcount", system-ui;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings:
    "slnt" 0,
    "CRSV" 0.5,
    "ELSH" 0,
    "ELXP" 0;
}


/* STYLE */
body, html {
  height: 100%;
  margin: 0px;
}

input[type=text],input[type=number],select {  
    background-color: #00000000;
    border-color: #00000000;
    color: white;
    width: 100%;
}

input[type=text]:disabled,input[type=number]:disabled,select:disabled {
    opacity: 0.2;
}

select option {
    background-color: rgb(23 0 39);
}

#desktop {
    position: fixed;
    width: 100%;
    height: 100%;
    background-image: url('rsc/wallpaper_01.jpg');
    overflow: hidden;
    font-family: system-ui ;
}

#app-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#app {
    position: absolute;
    width: 550px;
    height: 600px;
    /* background-color: magenta; */
    filter: drop-shadow(5px 5px 10px #000000);
    font-family: system-ui, "Geo";
    font-size: 12px;
}

#header {
    position: relative;
    margin-top: -105px;
    margin-left: -20px;
    z-index: 100;
    display: inline-block;
    user-select: none;
}

#header img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    filter: drop-shadow(0px 3px 5px #000000c0);

}

#form-content {
    width: 409px;
    margin-left: auto;
    margin-right: auto;
}

#title-info-field {
    position: relative;
    margin-top: -45px;
    width: 410px !important;
}

#title-area {
    font-family: "Bitcount", "Geo";
	font-size: 20px;
    white-space: pre;
}

.field-title {
    display: inline-block;
    font-weight: bolder;
    font-size: 14px;
    color: white;
    vertical-align: middle;
    width: 110px;
    text-align: right;
    margin-top: 10px;
}

.field-input {
    width: 100%;
}

.connection-field {
    margin-bottom: -10px;
}

.whole-field-thin {
    display: block;
}

.text-area-thin {
    display: inline-block;
    width: 100px;
    height: 48px;
    background-image: url('./rsc/ui_hole_thin.png');
}

.help-button {
    display: inline-block;
    color: white;
    vertical-align: middle;
    text-align: center;
    width: 32px;
    height: 100%;
    font-size: 24px;
}

.help-button-label {
    display: inline-block;
}

.text-area-thin-smaller {
    display: inline-block;
    width: 250px;
    height: 48px;
    background-image: url('./rsc/ui_hole_thin_smaller.png');
    vertical-align: middle;
}

.text-area-content {
    display: block;
    margin: 13px;
    color: white;
    overflow: hidden;
    word-wrap: none;
    white-space: nowrap;
}

.text-area-medium {
    display: block;
    width: 409px;
    height: 61px;
    background-image: url('./rsc/ui_hole_medium.png');
}

.text-area-big {
    display: block;
    width: 409px;
    height: 126px;
    background-image: url('./rsc/ui_hole_big.png');
}

#content {
    position: relative;
    display: block;
    top: 125px;
    left: 20px;
    width: 475px;
    height: 405px;
    background-image: url('./rsc/ui_bg.png');
    background-color: #0d001f;
    border-radius: 30px;
}

#score-field {
    width: 75px;
}

#connect-button {
    width: 350px;
    height: 30px;
    background-color: #3c0066;
    border: 3px outset #200036;
    border-radius: 10px;
    color: white;
    font-weight: bold;
}

#connect-button:active {
    background-color: #1a002c !important;
    border: 3px inset #200036;
}

#connect-button:hover {
    background-color: #500089;
}

.button-wrapper {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 2px;
    text-align: center;
}

#submit-button {
    color: white;
    background-color: #3c0066;
    width: 100%;
    height: 35px;
    margin-top: 10px;
    border: 3px outset #200036;
    border-radius: 10px;
    font-weight: bold;
    transition: background-color ease-in 0.3s;
    transition: color ease-in 0.3s;
}

#submit-button:disabled {
    color: #544a5c;
    background-color: #362344;
}

.desktop-icon {
    position: absolute;
    top: 0px;
    left: 0px;
}

.desktop-icon:hover {
    background-color: #ffffff88;
    border-radius: 5px;
}

.desktop-icon img {
    width: 64px;
    height: 64px;
    user-select: none;
    pointer-events: none;
}

.desktop-icon .img-wrapper {
    user-select: none;
    pointer-events: none;
}

.desktop-icon-label {
    width: 100px;
    text-align: center;
    user-select: none;
    pointer-events: none;
    word-wrap: break-word;
    color: white;
    text-shadow: 1px 1px 3px black;
}

.img-wrapper {
    display: block;
    text-align: center;
}

.hide {
    display: none !important;
}

.show {
    display: unset !important;
}

.tinted {
    filter: hue-rotate(90deg);
}

.inverted {
    filter: invert();
}

.dimmed {
    filter: brightness(50%);
}

.transition-enabled {
    transition: filter cubic-bezier(.1,.87,.36,.94) 0.5s;
}

#warning-popup {
	position: absolute;
    top: 30%;
    left: 0;
    width: 500px;
	border: 3px;
	border-radius: 10px;
	background-color: #3e00f8;
	filter: drop-shadow(5px 5px 10px #000000);
	color: white;
	padding: 15px;
    z-index: 100;
    display: none;
    text-align:center;
}

#warning-popup button {
    font-size: 18px;
}

#help-challenge-url {

}

.help-popup {
	position: absolute;
    top: 39%;
    left: 92%;
    width: 400px;
    max-height: 265px;
	border: 3px;
	border-radius: 10px;
	background-color: #0d001f;
	filter: drop-shadow(5px 5px 10px #000000);
	color: white;
	padding: 15px;
    overflow-x: hidden;
    overflow-y: scroll;
    display: none;
}

.help-shown {
    display: block !important;
}

.help-button-label a {
    display: inline-block;
    cursor: pointer;
    user-select: none;
    color: white;
    width: 26px;
}

.help-button-label a:hover {
    background-color: white;
    color: black;
    border-radius: 16px;
}

.help-popup li {
    margin-bottom: 10px;
}

button {
    transition: background-color ease-in 0.3s;
}

.button-connection-inprogress {
    background-color: #4a658f !important;
}

.button-connection-failed {
    background-color: #ff2d2a !important;
}

.button-connection-success {
    background-color: #378215 !important;
}

@keyframes color-pump {
    from { background-color: #00ff91 }
    to   { background-color: #03ddff }
}

.adjust-ethics-progress {
    color: black !important;
    animation: 0.5s linear 0s infinite alternate color-pump;
}

#ethical-redacted {
    display: none;
    position: absolute;
    top: 197px;
    left: 302px;
    background-color: black;
    width: 122px;
    height: 27px;
    transform: rotate(-7deg);
}

.answers-field-invalid {
    transition: background-color ease-in 0.5s;
    transition: color ease-in 0.5s;
    background-color: crimson !important;
    color: white !important;
}

.warning {
    font-size: 1.5rem;
    overflow: hidden;
    width: 100%;
    word-wrap: normal;
    text-wrap: nowrap;
}

#warning-header, #warning-footer {
    font-family: monospace;
    white-space: pre;
}