/* RESET CSS */
#loading {
  position: fixed;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-align: center;
  opacity: 0.7;
  z-index: 1031;
  background-color: rgb(13 13 13);
}

#loading-image {
  z-index: 100;
  text-align: center;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* RESET CSS */

body {
	background: url('../img/bg.png') no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;

	cursor: url("../img/cursor.png"), auto;
}

.unselectable {
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
}

.container {
	width: 1600px;
	margin-left: auto;
	margin-right: auto;
}

.high-text {
	font-family: 'Poppins';
    font-size: 18px;
    position: absolute;
    top: 12px;
    left: 50%;
	transform: translate(-50%, -50%);

	color: rgb(236, 214, 177);
	line-height: 1.2;
	text-align: center;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.004);

	-webkit-text-stroke: 0.3px black;
	paint-order: stroke fill;
}

.board-img {
    position: absolute;
    content: url(../img/ui_bg.png);
    background-size: cover;
    width: 100%;
	min-height: 565px;
}

.inventory {
	display: block;
	width: 100%;
	height: 656px;
	position: relative;
	margin-top: 100px;
	color: white;
}

.free-inv-slots {
	position: absolute;
	content: url("../img/free_inv_slots.png");
	top: -60px;
	left: 35px;
}

.slots-text {
	font-family: 'Poppins';font-size: 12px;
	color: rgb(255, 255, 255);
	line-height: 1.2;
	text-align: center;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.004);
	position: absolute;
	left: 90px;
	top: -45px;

	-webkit-text-stroke: 0.3px black;
	paint-order: stroke fill;
}

.slots-img {
    position: relative;
    background-image: url(../img/inv-slot.png);
    height: 70px;
    width: 70px;
    display: inline-block;
    margin-right: 5px;
    background-size: cover;
}

.inv-slots {
	height: 602px;
	position: relative;
	max-height: 520px;
	overflow-y: auto;
    top: 58px;
    left: 20px;
}

.game {
	display: block;
	width: 100%;
	height: 656px;
	position: relative;
	top: 100px;
	color: white;
}

.fish-caught {
	position: absolute;
	content: url("../img/fish_caught.png");
	top: 50px;
	left: 25px;
}

.fish-bait {
	position: absolute;
	content: url("../img/fish_bait.png");
	top: 50px;
	left: 240px;
}

.caught-text {
	font-family: 'Poppins';font-size: 12px;
	color: rgb(255, 255, 255);
	line-height: 1.2;
	text-align: center;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.004);
	position: absolute;
	top: 65px;
	left: 90px;

	-webkit-text-stroke: 0.3px black;
	paint-order: stroke fill;
}

.bait-text {
	font-family: 'Poppins';font-size: 12px;
	color: rgb(255, 255, 255);
	line-height: 1.2;
	text-align: center;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.004);
	position: absolute;
	top: 67px;
	left: 295px;

	-webkit-text-stroke: 0.3px black;
	paint-order: stroke fill;
}

.energy-text {
	font-family: 'Poppins';font-size: 12px;
	color: rgb(255, 255, 255);
	line-height: 1.2;
	text-align: center;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.004);
	position: absolute;
	top: 65px;
	left: 520px;

	-webkit-text-stroke: 0.3px black;
	paint-order: stroke fill;
}

.energy {
	position: absolute;
	content: url("../img/energy.png");
	top: 50px;
	left: 465px;
}

.water-img {
	position: absolute;
	content: url("../img/water2.webp");
    top: 100px;
    left: 19px;
    width: calc(100% - 35px);
    height: 508px;
}

.loading-img {
	position: absolute;
	content: url("../img/timer_empty.png");
	bottom: 23px;
	left: 100px;
}

.loading-bar {
	width: 400px;
	height: 30px;
	position: absolute;
	content: url("../img/timer_full.png");
	bottom: 23px;
	left: 100px;
}

.clock-img {
	position: absolute;
	content: url("../img/clock.png");
	bottom: 22px;
    left: 82px;
    height: 36px;
}

.target-circle {
	position: absolute;
	content: url("../img/target_circle.png");
	width: 260px;
	height: 260px;
	border-radius: 50%;
	bottom: 190px;
    left: 0;
    right: 0;
    margin: 0 auto;
	display: none;
}

.fish {
	position: absolute;
	content: url("../img/fish.png");
	display: none;
	margin-top: 100px;
	margin-left: 50px;
	max-width: 100px;
}

.play-text, .cool-down-text {
	font-family: 'Poppins';font-size: 72px;

	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	color: rgb(236, 214, 177);
	line-height: 1.2;
	text-align: center;
	text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.004);

	-webkit-text-stroke: 3px black;
	paint-order: stroke fill;
}
.bottom-timer {
    position: absolute;
    bottom: 30px;
	left: 60px;
}
.slot-disabled {
	opacity: 0.4;
}
.item {
    position: absolute;
    display: block;
    top: 25%;
    margin: 0 auto;
    left: 0;
    right: 0;
	max-height: 42px;
	max-width: 68px;
}
#cooldown {
	display: none;
}
.slots-img span {
    position: absolute;
    bottom: 4px;
    right: 10px;
    font-size: 12px;
}
@media (max-width: 1199px) {
	.bottom-timer {
		margin-left: 0;
	}
}
@media (max-width: 1399px) {
	.inv-slots {
		height: 528px;
		width: calc(100% - 35px);
	}
	.fish {
		margin-top: 160px;
	}
	.bottom-timer {
		margin-left: -72px;
	}
	.water-img {
		top: 160px;
	}
	.energy {
		top: 100px;
		left: 150px;
	}
	.energy-text {
		top: 114px;
		left: 205px;
	}
	.fish-bait {
		left: 250px;
	}
	.bait-text {
		left: 305px;
	}
	.board-img {
		min-height: 625px;
	}
	.bottom-timer {
		margin-left: -120px;
	}
	.water-img {
		height: 445px;
	}
}
@media (max-width: 490px) {
	.fish-bait {
		left: 25px;
		top: 100px;
	}
	.bait-text {
		left: 80px;
		top: 117px;
	}
	.energy {
		top: 150px;
		left: 25px;
	}
	.energy-text {
		top: 165px;
		left: 80px;
	}
	.water-img {
		height: 400px;
		top: 205px;
	}
	.clock-img {
		left: 82px;
		height: 28px;
	}
	.loading-bar {
		width: 245px;
		height: 25px;
	}
	.loading-img {
		width: 245px;
		height: 24px;
	}
	.target-circle {
		width: 154px;
		height: 154px;
	}
	.fish {
		width: 75px;
	    margin-top: 200px;
	}
	.bottom-timer {
		margin-left: unset;
		left: 0;
	}
	.play-text, .cool-down-text {
		top: 60%;
	}
}
@media (max-width: 992px) {
	.inventory {
		margin-top: 150px;
	}
}