@font-face {
    font-family: Inconsolata-Black;
    src: url('../fonts/Inconsolata-Black.ttf');
}

@font-face {
    font-family: Roboto-Regular;
    src: url('../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: "GROBOLD";
    src: url("../fonts/GROBOLD.ttf");
}

@font-face {
    font-family: "Arrows2";
    src: url("../fonts/Arrows2.otf");
}

body {
    font-family: Roboto-Regular;
    font-weight: 400;
    user-select: none;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    -o-user-select: none;
    /* Opera */
    font-variant-ligatures: none;
    margin: 0px;
    font-family: arial;
}

@keyframes rotateAnimation {
	from {transform: rotateY(0deg);}
	to {transform: rotateY(540deg);}
}

h1 {
    font-family: Inconsolata-Black;
    font-weight: 900;
    font-size: 450%;
    text-align: center;
    line-height: 0.75em;
    margin: 0;
    margin-top: 10vh;
    color: #ffffff;
    text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
}

.rotate {
    color: #ea4335;
	transform: rotateY(180deg);
	animation: rotateAnimation 2s ease-out 1;
}

#main {
    margin: 0px;
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 57%;
}

#ctx0 {
    z-index: 1;
}

#ctx1 {
    z-index: 4;
}

#ctx2 {
    /*	z-index depends of a variable */
}

#ctx3 {
    z-index: 5;
}

#ctx4 {
    z-index: 7;
}

#ctx5 {
    z-index: 2;
    opacity:0.75;
}

#ctxtop {
    z-index: 8;
}

#ctxtop:hover {
    cursor: pointer;
}

#ctx6 {
    width: 100%;
    height: auto;
}

#ctx7 {
    width: 100%;
    height: auto;
}

.episode {
    width: 100%;
    height: auto;
}

button {
    border-radius: 2px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-transform: uppercase;
}
button:hover {
	cursor:pointer;
	filter: brightness(90%);
}

.bar {
    overflow: hidden;
    background-color: #707070;
}

.tabs {
	color:#ffffff;
    background-color: inherit;
    line-height:100%;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
}

.tabs:hover {
    background-color: #777777;
}

.contents {
    display: none;
}

#settings {
    color: #00dd00;
    margin-bottom: 10px;
}
#settings td {
    padding-left: 10px;
    padding-right: 10px;
}

#quit {
    float:right;
}

#message {
    color: #666666;
    text-align: center;
}

.drawing {
    font-size: 1vw;
    color: #ddddff;
    background: #3333bb;
    border: 1px solid grey;
    border-radius: 4px;
    font-size: 1vw;
    padding: 4%;
}

.drawing:hover {
    color: #bbbbff;
    background: #000033;
    cursor: pointer;
}

.nodrawing {
    font-size: 1vw;
    color: #aaaaff;
    background: #000000;
    border: 1px solid grey;
    border-radius: 4px;
    font-size: 1vw;
    padding: 4%;
}

.nodrawing:hover {
    color: #bbbbff;
    background: #000033;
    cursor: pointer;
}

.table4 tr {
    vertical-align: middle;
}

.table4 td {
    width: 320px;
    padding: 20px;
    text-align: center;
    color: #00dd00;
}

.table4 td:hover {
    color: #66ff66;
    cursor: pointer;
}

.table3 {
    height: 500px;
}

.table3 tr {
    vertical-align: middle;
}

.table3 td {
    width: 320px;
}

.table3 td:hover {
    color: #66ff66;
}

.choicei {
    text-align: center;
    font-family: GROBOLD;
    font-size: 5vw;
    color: #00dd00;
}

.choicei:hover {
    color: #66ff66;
    cursor: pointer;
}

#computer {
    display: none;
    position: absolute;
    top: 2%;
    left: 58%;
    width: 38.8%;
    min-height: 42vw;
    background-image: url(../images/c0.jpg);
    padding: 1%;
    border: 1px solid grey;
    border-radius: 8px;
    z-index: 2;
}

#computer td {
    width: 5vw;
    height: 5vw;
    text-align: center;
    line-height: 5vw;
}

#editor {
    display: none;
    position: absolute;
    background-image: url(../images/c0.jpg);
    top: 2%;
    left: 58%;
    padding: 1%;
    z-index: 1;
    border-radius: 8px;
}

#editor td {
    text-align: center;
}

.blocks {
    width: 6.5vw;
    height: 6.5vw;
    border: 1px solid #777777;
    color: #aaaaaa;
    background:#000000;
    border-radius: 0.65vw;
}

.blocks:hover {
    border: 1px solid #ffff00;
    cursor: pointer;
}

.selectedplayer {
    width: 6.5vw;
    height: 6.5vw;
    background:#222244;
    border: 1px solid #0000ff;
    border-radius: 0.65vw;
}

.selectedblock {
    width: 6.5vw;
    height: 6.5vw;
    background:#224422;
    border: 1px solid #00ff00;
    border-radius: 0.65vw;
}

.header td {
    color: #aaaaaa;
    font-weight: bold;
    height: 16px;
    line-height: 16px;
}

.mini {
    font-size: 1vw;
}

.choice {
    font-size: 5vw;
    font-weight: bold;
    background: #ddddff;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice:hover {
    background: #ccccff;
    cursor: pointer;
    color: blue;
}

.choice0 {
    font-size: 2vw;
    color: #d7d8df;
    background: #000000;
    padding-left: 2vw;
    padding-right: 2vw;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice0:hover {
    background: #000033;
    cursor: pointer;
    color: #eeeeff;
}

.choice2 {
    font-size: 4vw;
    color: #d7d8df;
    background: #000000;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice2disabled0 {
    font-size: 4vw;
    background: #111111;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice2disabled1 {
    font-size: 4vw;
    color: #eeeeee;
    background: #111111;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice2disabled2 {
    font-size: 4vw;
    color: #eeeeee;
    background: #111111;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice2:hover {
    background: #000033;
    cursor: pointer;
    color: #eeeeff;
}

.choice3 {
    font-size: 2vw;
    color: #aaffaa;
    background: #000000;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice3:hover {
    color: #bbffbb;
    background: #003300;
    cursor: pointer;
}

.choice3disabled {
    font-size: 2vw;
    background: #111111;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice4 {
    font-size: 2vw;
    color: #ffaaaa;
    background: #000000;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice4:hover {
    color: #ffbbbb;
    background: #330000;
    cursor: pointer;
}

.emptychoice {
    font-size: 4vw;
}

.choice50 {
    opacity: 0.5;
}

.choice50:hover {
    opacity: 0.75;
    cursor: pointer;
}

.choice50active {
    opacity: 1;
}

.choice51 {
    font-size: 1vw;
    color: #ffffff;
    background: #000000;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice51:hover {
    background: #104020;
    cursor: pointer;
}

.choice51active {
    font-size: 1vw;
    color: #ffffff;
    background: #208040;
    border: 1px solid grey;
    border-radius: 8px;
}

.choice51disabled {
    font-size: 1vw;
    color: grey;
    background: #111111;
    border: 1px solid grey;
    border-radius: 8px;
    font-size: 1vw;
}


.choice6:hover {
    color: #ffffff;
    cursor: pointer;
}

#code {
    color: #d7d8df;
    background: #1d1f20;
    font-size: 2.5vw;
}

#text {
    display: none;
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 8;
    color: #ccccff;
    background: #000000;
    opacity: 0.75;
    text-align: justify;
    padding: 12px;
    font-family: Calibri;
    font-size: 4vw;
    line-height: 1em;
    border: 2px solid #ccccff;
    border-radius: 8px;
}

#text:hover {
    cursor: pointer;
}

.text0 {
    color: #ccccff;
}

.text1 {
    color: #000033;
}

#name0 {
    width: 120px;
    background-color: #333333;
    color: #aaaaaa;
    text-align: center;
}

#name1 {
    width: 120px;
    color: #333333;
    text-align: center;
}

.blue {
    color: #4285f4;
}

.purple {
    color: #ea43ea;
}

.red {
    color: #ea4335;
}

.yellow {
    color: #fbbc06;
}

.green {
    color: #34a853;
}

.choicefont {
    font-family: GROBOLD;
    font-size: 5vw;
    font-weight: bold;
    background: #ddddff;
    border: 1px solid grey;
    border-radius: 8px;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltiptext {
    width:14em;
}
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 200%;
    left: 50%;
    margin-left: -7em;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.saveinfo {
    font-size: 75%;
    padding: 0.5em;
}

.saveinfo0 {
    font-size: 75%;
    padding: 0.5em;
    color: #aaffaa;
}

#counterinfo {
    background: #000000;
    color: #aaaaaa;
    border-radius: 0.2vw;
}

.saveinfo1 {
    font-size: 75%;
    padding: 0.5em;
    color: #ffaaaa;
}