/*
  Load fonts
*/
@font-face {
	font-family: STB;
 	src: url("./fonts/Steinschrift.eot")
 	src: url("./fonts/Steinschrift.eot?#iefix") format("embedded-opentype"); 
}
@font-face {
	font-family: STB;
	src: url("./fonts/Steinschrift.ttf")
}
@font-face {
	font-family: SSB;
 	src: url("./fonts/StreetSemiBold.eot")
 	src: url("./fonts/StreetSemiBold.eot?#iefix") format("embedded-opentype"); 
}
@font-face {
	font-family: SSB;
	src: url("./fonts/StreetSemiBold.ttf")
}
@font-face {
	font-family: LED;
 	src: url("./fonts/28Seg.eot")
 	src: url("./fonts/28Seg.eot?#iefix") format("embedded-opentype"); 
}
@font-face {
	font-family: LED;
	src: url("./fonts/28Seg.ttf")
}

:root {
  --pot-pourri: #f5e6e2;
  --lavender: #a59be1;
  --gigas: #3d3da0;
  --steel-gray: #201f2c;
  --minsk: #2d2d76;
} 

body {
    margin:0 auto;
    padding:0;
    overflow:hidden;
    background-color:var(--pot-pourri);
    font-family: STB;
    font-weight: normal;
    color: #ffffff;
/*
    user-select: none; 
    -webkit-user-select: none; 
    -moz-user-select: none;
    -khtml-user-select: none; 
    -ms-user-select: none; 
*/
}

form {
    margin-top: 15px;
    text-align: center;
}

#mystory {
    margin:auto auto;
    padding:0;
    background-color: #000000;
    display: none;
}

#navigation,
#header,
#gamebar,
#input,
#words,
#game,
#speedbar,
#mystory {
    position:absolute;
    overflow:hidden;
    z-index: 10;
}

#navigation {
    width: 2048px;
    height: 213px;
    display: none;
    top: 20px;
    background-position: 0px 0px;
    background-image: url("./images/wordblock.png");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: right;
}

.hideReader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    background-color: #101010;
    opacity: 1;
    z-index: 500;
}

.showReader {
    position: absolute;
    width: 100%;
    top: 0; left: 0; 
    z-index: 501;
}

.currentLine {
    display: block;
    background-color: #cdcdcd;
    color: #000000;    
}

.menu {
    position: absolute;
    left: 75px; top: 38px;
    width: 1900px; height: 140px;
}

.navigation_span {
    font-size: 34px;    
    cursor: pointer;
}

#game,
#words {
/*    scrollbar-width: none;*/
    overflow-y: auto;
}

#game {
    z-index: 11;
    border-radius: 16px 16px;
    background: linear-gradient(90deg, rgba(249,223,0,1) 0%, rgba(234,185,0,1) 43%, rgba(122,150,0,1) 99%, rgba(178,198,0,1) 100%);
}

#input {
    border-radius: 6px 6px;
    background: linear-gradient(90deg, rgba(70,0,178,1) 0%, rgba(44,0,117,1) 15%, rgba(89,0,136,1) 25%, rgba(150,13,155,1) 65%, rgba(171,0,126,1) 90%, rgba(222,0,201,1) 100%);
}

#gamebar {
    background-position: 0px 0px;
    background-image: url("./images/progressbar.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#speedbar {
    background-position: 0px 0px;
    background-image: url("./images/speed.png");
    background-repeat: no-repeat;
    background-size: cover;
    left: 1448px;
    top: 253px;
    width: 600px;
    height: 58px;
    display: none;
}

.speedleft {
    z-index: 21;
    position: absolute;
    left:0; top:0;
    height: 30px;
    width: 300px;
    cursor: pointer;
}

.speedright {
    z-index: 21;
    cursor: pointer;
    position: absolute;
    left:300px; top:0;
    height: 30px;
    width: 300px;
}

#header {
    background-position: 0px 0px;
    background-repeat: no-repeat;
    background-size: cover;
}

#input_form {
    display: none;
}

.gameprogress {
    position: relative;
    top: 13px;
    left: 32px;
    height: 28px;
    width: 0px;
    border-radius: 10px 10px;
    background: rgb(2,0,36);
    z-index: 20;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 43%, rgba(0,212,255,1) 100%);
}

.blur {
    position: absolute;
    top: 0;
    left: 0;
    background-image: url("./images/blur.png");
    filter: blur(10px);
    -webkit-filter: blur(10px);
    height: 100%;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: auto;
}

.read {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-family: SSB;
    font-weight: bold;
    font-size: 40px;
    color: #000000;
}

.story {
    display: block;
    text-align: center;
    font-size: 26px;
    letter-spacing: -1px;
    color: #000000;
    word-spacing: 0px;
    line-height: 40px;
    overflow: auto;
}

.input_p {
    display: block;
    text-align: center;
    font-size: 26px;
    letter-spacing: -1px;
}

.optional {
    font-size: 28px;
    display: block;
    margin: 12px 0;
}

small.opt {
    font-size: 22px;
    background-color: #dfdfdf;
    border-radius: 5px 5px;
    color: #000000;
    padding: 3px 8px;
    margin: 0 5px;
    cursor: pointer;
}

.input { 
    padding: 10px; 
    border: solid 1px #E5E5E5; 
    margin-bottom: 12px;
    outline: 0; 
    font-size: 28px;
    font-family: STB;
    color: #ffffff;
    width: 600px; 
    text-shadow: 2px 2px #000000;
    background: #c33880; 
    border-radius: 8px 8px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 0px 8px; 
    -moz-box-shadow: rgba(255, 255, 255, 0.1) 0px 0px 8px; 
    -webkit-box-shadow: rgba(255, 255, 255, 0.1) 0px 0px 8px; 
    background: -webkit-gradient(linear, left top, left bottom, from(#732d4b), to(#431a2f)); 
    background: -moz-linear-gradient(top, #732d4b, #431a2f);
}

.btn-3d-sub {
    width: 700px; 
    display: block;
    margin: 0 auto 20px auto;
    height: 80px;
    font-size: 20px;
    text-transform: uppercase;
    font-family: STB;
    border-bottom: 5px solid #173814;
    border-top: none;
    border-left: none;
    border-right: none;
    background: linear-gradient(#357b12,#1d5801);
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 2px 10px #c0c0c0;
    transition: 150ms ease;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
}

.btn_cancel {
    background: linear-gradient(#991b1b,#490e0e);
}

.word_left {
    float: left;
    width: 50%;
}

.wordcontainer {
    margin-bottom: 10px;
}

.word_right {
    float: right;
    width: 50%;
}

.theword {
    cursor: pointer;
    display: block;
    font-size: 24px;
    color: #fdfd00;
}
