html{
    overflow: hidden;
    background-size: cover;
    text-align: center;
    font-family: "roboto";
}
*,html,body{
    user-select: none;
    margin: 0px;
    padding: 0px;
    outline: none;  
}
 @font-face{
    font-family: "roboto";
    src: url('Roboto-Regular.ttf');
}
@font-face{
    font-family: "robotoslab";
    src: url('RobotoSlab-Regular.ttf');
}
.option{
    width: 12.5%;
    background-color: black;
    display: block;
    color: white;
    text-align: center;
    font-family: roboto;
    padding: 10px;
    height: 15%;
    display: inline-block;
    vertical-align: top;
    margin-right: 5%;
    transition: 0.5s all;
    margin-left: 5%;
    position: absolute;
}
.bottomoption{
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    bottom: 0;
}
.topoption{
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
    top: 0;
}
.option h1{
    margin-top: 15%;
    font-size: 1.5em;
}
#sound{
    background-color: gold;
    left: 0%;
    z-index: 1;
    box-shadow: 5px 0px black;
}
#howto{
    box-shadow: -5px 0px black;
    background-color: gainsboro;
    color: black;
    left: 14%;
    z-index: 2;
}
.bottomoption:hover{
    transform: translateY(10%);
}
.topoption:hover, #old:hover{
    transform: translateY(-10%);
}
#old{
    background-color: crimson;
    color: white;
    position: absolute;
    left: 10%;
    padding: 10px;
    top: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    font-size: 0.8em;
    transition: 0.5s all;
}
#about{
    box-shadow: 5px 0px black;
    background-color: cadetblue;
    right: 14%;
    z-index: 2;
}
#linescreen{
    background: black;
    height: 100%;
    width: 100%;
    top: 0;
    position: absolute;
    margin-left: -50%;
}
#gamemsg{
	position: relative;
	z-index: 5;
    color: red;
    animation: 5s fadeout ease;
    animation-fill-mode: forwards;
    margin-top: 2%;
    display: block;
}
#gamescreen{
    display: none;
    position: absolute;
    margin: auto;
    z-index: 3;
    background-color: blue;
    animation: enlarge 2s ease;
    border: 1px gray solid;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
body{
    transition: 1s all;
    width: 100%;
    height: 100%;
    background-color: black;
}
#darkener{
    position: absolute;
    width: 100%;
    top: 0;
    height: 100%;
    display: none;
    z-index: 3;
    background-color: rgba(0,0,0,0.8);
}
#rules{
    width: 450px;
    margin: auto;
    height: auto;
    position: absolute;
    top: 15%;
    left: 50%;
    background-color: white;
    color: black;
    display: none;
    border: 1px solid dimgray;
    border-radius: 10px;
    box-shadow: 0px 10px 10px -6px;
    padding: 10px;
    padding-bottom: 30px;
    transition: all 1s;
    position: fixed;
    left: 0; 
    right: 0; 
    z-index: 4;
}
#rules h3, #rules h2{
    float: left;
    margin-left: 30px;
    margin-right: 30px;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
}
#rules h3{
    padding-left: 1em;
    text-indent: -1em;
}
#rules h3 button{
    color: white;
    background-color: #67645F;
    border-radius: 10px;
    border: none;
    padding: 0.5em;
    font-size: 0.8em;
    font-family: "roboto";
    transition: 0.5s all;
}
#rules h3 button:hover{
    background-color: dimgray;
    box-shadow: 0px 5px 6px -4px rgba(0,0,0,0.75);
}
#rules h2{
    margin-top: 20px;
    width: 100%;
}
#restartbox{
	justify-content: center;
    width: 500px;
    margin: auto;
    height: auto;
    margin-top: 50px;
    background-color: white;
    color: black;
    display: none;
    border: 1px solid dimgray;
    border-radius: 10px;
    box-shadow: 10px 10px 10px;
    padding: 10px;
    padding-bottom: 30px;
    overflow-wrap: break-word;
    transition: all 1s;
    position: fixed;
    font-family: 'robotoslab';
    left: 0; 
    right: 0; 
    z-index: 4;
}
#restartbox h3, #restartbox h2{
    float: left;
    margin-left: 30px;
    margin-right: 30px;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
}
#restartbox h2{
    margin-top: 10px;
    color: darkred;
}
#restartbox button{
	margin: 10px;
	border-radius: 10px;
    transition: all 1s;
    padding: 20px;
    height: auto;
    font-family: 'robotoslab';
    font-size: 1.5em;
}
#yesbutton{
    color: white;
    background-color: greenyellow;
    border: 2px solid green;
}
#yesbutton:hover{
    background-color: lawngreen;
    transform: scale(1.1);
}
#nobutton{
    color: black;
    background-color: crimson;
    border: 2px solid darkred;
}
#nobutton:hover{
    background-color: firebrick;
    transform: scale(1.1);
}
#revivebutton{
	color: white;
	background-color: gold;
	border: 2px solid goldenrod;
}
#revivebutton.locked{
	filter: grayscale();
}
#revivebutton:not(.locked):hover > #gamerevivecost{
	box-shadow: 0px 0px 5px black;
}
#gamerevivecost{
	transition: 0.2s all linear;
	border-radius: 15px;
	background-color: gray;
	color: white;
	padding: 10px;
	font: 'roboto' 1em;
}
#play{
    color: white;
    background-color: greenyellow;
    border: 1px solid green;
    border-radius: 10px;
    transition: all 1s;
    padding: 20px;
    top: 82.5%;
    position: absolute;
    width: auto;
    height: auto;
    left: 0; 
    right: 0; 
    z-index: 1;
    margin-left: -60px;
    left: 50%;
    font-family: 'robotoslab';
    font-size: 2em;
}
#profile{
    background-color: #36494E;
    right: 14%;
    box-shadow: 5px 0px black;
    z-index: 2;
}
#play:hover{
    background-color:lawngreen;
    transform: scale(1.1);
}
.close{
    float: right;
    position: relative;
    transition: .5s all;
    font-size: 2em;
    z-index: 2;
    width: 1em;
    line-height: 1em;
    height: 1em;
    border-radius: 50%;
    background-position: bottom;
}
.close:hover{
    background-color: gray;
}
#rules .close{
    position: absolute;
    margin-left: 190px;
}
.next, .previous{
    position: absolute;
    left: 0;
    font-size: 1.4em;
    border: none;
    padding: 7px;
    font-weight: bold;
    margin-left: 1%;
    z-index: 2;
    transition: .5s all;
    background-position: bottom;
    border-radius: 5px;
    color: white;
}
.next:hover, .previous:hover{
    box-shadow: 1px 1px 5px black;
}
.next{
    margin-left: 6em;
    background-color: rgb(58, 137, 194);
}
.previous{
    background-color: rgb(200, 50, 114);
}
.pagetitle .close{
    margin-right: 20px;
    font-size: 2.5em;
    margin-top: -1em;
}
#banner{
    position: absolute;
    top: 50%;
    margin-top: -200px;
    left: 50%;
    margin-left: -150px;
    font-family: 'robotoslab';
}
#banner h1{
    animation: 3s color-change infinite;
    top: 50%;
    left: 50%;
    z-index: 1;
    position: absolute;
    transform: translate(-50%, -50%);
	border: 4px solid black;
	border-radius: 15px;
	background-color: white;
	padding: 10px;
}
#banner img{
    height: 300px;
    animation-name: spin;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}
*::-webkit-scrollbar{
    width: 12px;
}
*::-webkit-scrollbar-track {
    background: gainsboro; 
}
*::-webkit-scrollbar-thumb {
    background: gray; 
}
#shop{
    background-color: #FF686B;
    color: white;
    right: 0%;
}
.coin{
	color: gold;
	animation: slideout-bottom 1s linear, fadeout 1s linear;
	position: absolute;
	display: block;
}
.shinecontainer:active{
	transform: scale(0.95);
}
#coinclicker img{
	width: 40%;
	display: inline;
	float: left;
	border-radius: 15px;
	border-radius: 15px;
	border: 4px solid black;
}
.shinecontainer:hover > .shine{
    transform: skewX(20deg) translateX(500px);
}
.shinecontainer{
	display: none;
	position: absolute;
	overflow: hidden;
	top: 30%;
	width: 20%;
	left: 70%;
	border-radius: 15px;
}
.shine{
	position: absolute;
	transition: all .3s linear;
	transform: skewX(20deg) translateX(-100px);
	top: 0;
	left: -70px;
	height: 100%;
	width: 50px;
	background: rgba(255, 255, 255, 0.4);
}
#coinclicker{
	border-radius: 15px;
	text-align: left;
	padding: 15px;
	height: auto;
	background-color: #212224;
	border: 4px solid black;
}
#coinclicker h1{
	font-size: 189%;
	display: inline;
	margin-left: 10px;
	background: linear-gradient(orangered, orange);
	-webkit-background-clip: text;
	color: transparent;
}