* {
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
}
body {
	background: #555;
}
#cookie {
	color: #222;
	font-size: 100px;
	width: calc(100% - 300px);
  height: 100%;
	outline: none;
	border: 0px;
	transition: 0.1s ease;
	background: transparent;
	position: fixed;
    top: 50px;
}
#forTooltip {
  position: absolute;
  top: 50px;
  left: 0;
  width: calc(100% - 314px);
  height: 0px;
  background: #fc0;
  padding: 0px;
  overflow: hidden;
  transition: 0.2s;
}
.select {
	background: #333;
	color: #fc0;
	height: 50px;
	width: 72px;
	border: 2px solid #333;
	outline: 0;
  transition: 0.1s;
}
.selected {
	background: #fc0;
	font-weight: bold;
	border: 1px solid #fc0;
	color: #333;
}
.select:disabled {
	opacity: 0.3;
}
.shop {
    width: 300px;
    background: #222;
    color: #fc0;
    position: absolute;
    right: 0;
    top: 132px;
    max-height: 100px;
}
.shopi {
	width: 100%;
	background: #333;
	box-shadow: 0 -5px 0 #fc0 inset;
	opacity: 0.3;
	transition: 0.3s;
	border: none;
	text-align: left;
	outline: none;
	color: #fc0;
}
.shopi>h1 {
	font-size: 24px;
	color: #fc0;
	padding: 5px;
	padding-bottom: 0;
}
.shopi>p {
	padding: 5px;
	padding-top: 0;
}
.shopi>h4 {
	position: relative;
	float: right;
	margin: 5px;
	font-size: 17px;
}
.shopi>img {
	position: absolute;
	right: 3px;
	margin-top: -11px;
}
.shopg {
	width: 300px;
	background: #222;
	color: #fc0;
	position: absolute;
    right: 0;
    top: 50px;
}
.scroll {
    background: #222;
    margin-bottom: 26px;
}
.rs {
	background: #fc0;
	width: 40px;
	height: 40px;
	position: relative;
	display: inline-block;
	color: #444;
	font-weight: bold;
	text-shadow: 0 1px 0 rgba(255,255,255,0.2);
	text-align: center;
	left: 4px;
	margin-right: 4px;
}
.h {
	color: #fc0;
	font-size: 20px;
	padding: 8px;
	font-weight: bold;
}
#header {
    background: #444;
    position: fixed;
    width: calc(100%);
    height: 50px;
    overflow-x: hidden;
}
.pop {
	position: absolute;
	color: transparent;
	transition: color 0.2s;
	background: transparent;
	border: 0;
	font-size: 20px;
	outline: 0;
}
#popup-a {
	background: #333;
	position: fixed;
	left: 5px;
	bottom: 5px;
	padding: 8px 10px;
	color: #fff;
	font-weight: bold;
	border-radius: 2px;
	transition: 0.6s;
	z-index: 1;
}
#popup-o {
	background: #333;
	position: fixed;
	left: 5px;
	bottom: 5px;
	height: 35px;
	width: 35px;
	color: #fff;
	font-weight: bold;
	border-radius: 2px;
	transition: 0.2s;
	background-image: url(o.png);
	background-size: 31px 31px;
	background-position: center;
	background-repeat: no-repeat;
	outline: none;
	border: none;
	z-index: 1;
}
#popup-w {
	min-height: 200px;
	background: #333;
	position: absolute;
	top: -1000px;
	left: 175px;
	width: calc(100% - 350px);
	border-radius: 3px;
	transition: 0.5s ease;
	padding-bottom: 6px;
}
#popup-w h1 {
	color: #fc0;
	margin-left: 5px;
	padding: 2px;
	margin-bottom: 4px;
}
#popup-w p {
	color: #ddd;
	display: inline;
	margin-left: 5px;
}
#popup-w button {
	padding: 4px;
	color: #fc0;
	background: none;
	border-radius: 2px;
	border: 2px solid #fc0;
	outline: none;
	transition: 0.2s;
	margin-left: 10px;
	font-weight: bold;
	margin-bottom: 3px;
}
#popup-w button:hover {
	color: #333;
	background: #fc0;
}
#popup-d {
	min-height: 100px;
	background: #333;
	position: absolute;
	top: 180px;
	left: calc(50% - 200px);
	width: 400px;
	border-radius: 3px;
	padding: 6px;
	transition: 0.5s;
	box-shadow: 0 0 0 5000px rgba(0,0,0,0.5), 0 2px 4px #333;
	transform: scale(0);
	opacity: 0;
}
#popup-d h1 {
	color: #fc0;
	margin-left: 5px;
	padding: 2px;
	margin-bottom: 4px;
	text-align: center;
}
#popup-d p {
	color: #ddd;
	margin-left: 5px;
	text-align: center;
}
#popup-d button {
	padding: 4px;
	color: #fc0;
	background: none;
	border-radius: 2px;
	border: 2px solid #fc0;
	outline: none;
	transition: 0.2s;
	margin-left: 10px;
	font-weight: bold;
}
#popup-d button:hover {
	color: #333;
	background: #fc0;
}
#popup-d>div {
	width: 100px;
	margin: 0 auto;
	padding: 5px;
}
@media (max-width: 800px) {
	#popup-w {
		width: 100%;
		left: 0px;
		border-radius: 0;
	}
	#popup-d {
		width: calc(100% - 15px);
		left: 0;
		top:0;
		transform: scale(1);
		overflow: hidden;
		border-radius: 0;
	}
}
@media only screen and (max-device-width: 480px) {
	#popup-w {
		width: 100%;
		left: 0px;
		border-radius: 0;
	}
	#popup-d {
		width: calc(100% - 15px);
		left: 0;
		top:0;
		transform: scale(1);
		overflow: hidden;
		border-radius: 0;
	}
}

#close-p-w {
	position: absolute !important;
	height: 35px !important;
	width: 35px !important;
	color: #fff !important;
	font-weight: bold !important;
	border-radius: 2px !important;
	transition: 0.2s !important;
	background-image: url(close.png) !important;
	background-size: 31px 31px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: none !important;
	outline: none !important;
	border: 0 !important;
	top: 3px;
	right: 3px;
}
#close-p-w:hover {
	background-color: #444 !important;
}
#c {
	position: fixed;
	right: 4px;
	bottom: 4px;
	z-index: 1;
}
#c a {
	color: rgba(255,255,255,0.5);
	font-size: 15px;
}
#c span {
	color: rgba(255,255,255,0.5);
	font-size: 15px;
	margin-right: 8px;
	padding-right: 8px;
	border-right: 1px solid rgba(255,255,255,0.5);
}

::-webkit-scrollbar {
	width: 5px;
	background: #1b1b1b;
}
::-webkit-scrollbar-thumb {
	background: #fc0;
}

.shopgi {
    width: 38.40px;
    display: inline-flex;
    background: rgba(0,0,0,0);
    height: 38.40px;
    flex-direction: row;
    border: none;
    outline: 0;
    transition: 0.5s;
}
.shopgi:hover {
    background: #333;
}
.shopgi:active {
    transform: scale(1.1);
}
.shopgi img {
    width: 38.40px;
    height: 38.40px;
}
.g {
	padding-left: 4px;
	padding-top: 2px;
	background: #292929;
	height: 42px;
}
#globe {
	  background-image: url("icons/globe.png");
	  background-size: 100%;
	  height: 60vw;
	  width: 60vw;
	  bottom: -36vw;
	  left: 18vw;
	  position: fixed;
	  animation-name: spin;
    animation-duration: 300s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: -1;
    transition: 10s;
}
@keyframes spin {
    to {transform: rotate(360deg)}
}
@media (max-width: 550px) {
	#c span:first-child {
	    display: none;
	}
}
#main {
	max-width: 1000px;
}

#d {
  position: fixed;
  right: 50px;
  bottom: 50px;
  z-index: 1;
  background: #333;
  padding: 5px;
}
#money {
  position: absolute;
  top: 0;
  right: 0;
  height: 50px;
  width: 95px;
  color: #fc0;
  background: #333;
  border: none;
  outline: none;
  font-weight: bold;
  transition: 0.2s;
}
#sell {
  position: absolute;
  top: 0;
  right: 95px;
  height: 50px;
  width: 135px;
  color: #fc0;
  background: #393939;
  border: none;
  outline: none;
  transition: 0.2s ease;
  font-weight: bold;
  box-shadow: -4px 0 8px 4px rgb(68, 68, 68);
}
#sell:hover {
    background: #fc0;
    color: #333;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
}
#happiness {
  position: fixed;
  bottom: 120px;
	left: calc(22vw - 1%);
  background: -webkit-linear-gradient(left, rgba(51,51,51,1) 0%, rgba(51,51,51,0) 100%);
  padding: 5px;
  z-index: -99;
  padding-right: 50px
}
#happiness>* {
  display: inline-block;
}
#happiness img {
  position: absolute;
  margin-top: -14px;
  margin-left: -20px;
}
#happiness p {
  margin-left: 27px;
  color: #fc0;
  font-weight: bold;
}
#cimage {
    width: 300px;
    height: 300px;
    position: fixed;
    top: 50px;
    background-position: center !important;
    background-size: 90% !important;
    background-repeat: no-repeat !important;
}
#cimage:active {
	transform: scale(0.976);
	transition: 0.1s ease;
}

.se {
  background: transparent;
  border: 2px solid #fc0;
  padding: 4px;
  font-weight: bold;
  color: #fc0;
  text-decoration: none;
  border-radius: 2px;
  transition: 0.2s;
  font-size: 13.3333px;
  cursor: default;
}
.se:hover {
  background: #fc0;
  color: #333;
}
.n {
  color: #fc0;
}

@media (max-width: 900px) {
	#money {
	    top: 50px;
	    height: 40px;
	    background: #444444;
	    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	    right: 300px;
	    width: 80px;
      position: fixed;
	}
	#sell {
	    right: 0;
	}
}
@media (max-width: 800px) {
	button#sell {
	    right: 300px;
	    height: 40px;
	    top: 50px;
	    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	    position: fixed;
  }
	#money {
	    right: 435px;
	}
}

/* COOKIE */

.i0 {
  background-image: url("icons/stone.png");
}
.i1 {
  background-image: url("icons/water2.png");
}
.i2 {
  background-image: url("icons/tree.png");
}
.i3 {
  background-image: url("icons/canbig.png");
}
.i4 {
  background-image: url("icons/ironbig.jpg");
}
.i5 {
  background-image: url("icons/copperbig.png");
}
.i6 {
  background-image: url("icons/oilbig.svg");
}
.i7 {
  background-image: url("icons/coalbig.png");
}
.i8 {
  background-image: url("icons/chokobig.jpg");
}