body {
    background-color: black;
    overflow: auto;
    user-select: none;
}

#sectionMiddle {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure the container is at least as tall as the viewport */
}

#myProgress {
    border-radius: 10px;
    margin-top: 20%;
    width: 100%;
    /* display: inline-block; */
    background-color: white;
}

#myBar {
    border-radius: 10px;
    width: 1%;
    height: 30px;
    background-color: #4CAF50;
    visibility: visible;
}

#content {
    color:white;
    /* display: none; */
    visibility:hidden;
    background-color: black;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    top: 0;
    left: 0;
    padding: 10px;
}

#statistics {
    position: absolute; /* Or fixed, depending on desired behavior */
    top: 0;            /* Position at the top of the viewport */
    left: 0;
    width: 100%;        /* Full width */
    height: 100%;       /* Full height */
    /* background-color: rgba(0, 0, 0, 0.8); Semi-transparent background (adjust as needed) */
    z-index: 2;        /* Ensure it's above the content */  
}

#shop {
    text-align: center;
    background-color: red;
    width: 25%;
    padding: 1px;
    border-radius: 10px;
    left: 75%;
    position: absolute;
}

img#clicker {
    width: 64px;
    height: 64px;
}

.storeTile {
    float: left;
    width: 225px;
    height: 201px;
    background: url(img/buttonTile\(1\).png);
    /* background: url(img/buttonTile.jpg) left top repeat; */
}

#quartzClicker {
    width: 64px;
    height: 64px;
    top: 1px;
    left: 4px;
    position: absolute;
}

#quartzText {
    color:red;
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 17px;
    top: 25px;
    left: 75px;
}

#painiteClicker {
    width: 64px;
    height: 64px;
    top: 4px;
    left: 4px;
    position: absolute;
}

#painiteText {
    color:red;
    position: absolute;
    font-family: 'Courier New', Courier, monospace;
    font-size: 17px;
    top: 25px;
    left: 75px;
}

#skillTree, #tierV, #tierX {
    visibility: hidden;
    background-color: red;
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 99999999999999999999999999999;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.tier1Skills, .tier2Skills{
    background-color: purple;
    line-height: 3.25vw;
    outline-style: dotted;
    outline-width: 1px;
    top: 5px;
    justify-content: space-between;
    position: relative;
}

.popup {
    display: block;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* .popup {
    display:block;
    background-color:red;
} */

#tier1, #tier2, #tier3, #tier4, #tier5, #tier6, #tier7, #tier8, #tier9, #tier10 {
    background-color: blue;
    width: 15%;
    height: 7%;
    text-align: center;
    line-height: 3.25vw;
    outline-style: dotted;
    outline-width: 1px;
    white-space: nowrap;
    display: inline-block;
    top: 5px;
    position: relative;
    /* display: none; */
}

#tierNextPage, #tierBackPage, #closeTierPage {
    background-color: blue;
    width: 15%;
    height: 7%;
    text-align: center;
    line-height: 3.25vw;
    outline-style: dotted;
    outline-width: 1px;
    white-space: nowrap;
    display: inline-block;
    top: 90%;
    position: absolute;
    right: 10px;
}

#closeTierPage {
    left: 10px;
}


.hidden {
    display: none;
}
#popupContent {
    position: absolute;
    display: block;
    text-align: center;
    line-height: 4vw;
    white-space: nowrap;
    bottom: 7%;
    left: 35%;
}
#customPopup {
    z-index: 1000 !important;
    position: absolute;
    top: 90%;
    left: 42.5%;
    height: 10%;
    width: 15%;
    text-align: center;
    display: none;
    background-color:black;
    padding: 1px;
    border-radius: 10px;
}

/* #sectionRight {
    background-color:white;
    border:purple;
    width:50%;
    height:100%;
    float:right;
}

#sectionLeft {
    background-color:red;
    border: white;
    width: 50%;
    height: 100%;
    float:left;
} */


.popup {
    display: none;
    background-color: #000;
    border-radius: 4px;
    box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 12px;
    font-family: Tahoma, sans-serif;
    padding: 8px;
    position: absolute;
    text-align: center;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 8px);
    width: 250px;
    z-index: 1000;
}

.popup::after {
    border-bottom: 8px solid #000;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    content: '';
    left: 50%;
    margin-left: -8px;
    position: absolute;
    top: -8px;
}

.popup .name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.popup .description {
    font-size: 12px;
    line-height: 1.4;
}












.listing
{
	padding:3px 16px;
	font-size:13px;
}
.listing b
{
	font-weight:bold;
	opacity:0.6;
}
.listing small
{
	font-size:11px;
	opacity:0.9;
}
.listing label
{
	font-size:12px;
	border-bottom:1px solid rgba(255,255,255,0.25);
	border-right:1px solid rgba(255,255,255,0.25);
	opacity:0.5;
	padding-left:16px;
	padding-bottom:2px;
	padding-right:4px;
	position:relative;
	left:-4px;
	top:-2px;
	background:linear-gradient(to right,rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0.5));
}
.listing:hover .hidden
{
	visibility:visible;
}
.listing.crateBox
{
	overflow-y:hidden;
	padding-bottom:12px;
	margin-bottom:-12px;
}
.crateBox .crate,.upgradeBox .crate
{
	filter:none;
	-webkit-filter:none;
}
.crateBox,.upgradeBox
{
	filter:drop-shadow(0px 3px 2px #000);
	-webkit-filter:drop-shadow(0px 3px 2px #000);
}
.listing.crateBox
{
	overflow-y:hidden;
	padding-bottom:12px;
	margin-bottom:-12px;
}


.subsection
{
	padding:8px 0px;
	font-size:14px;
}
.subsection div.title
{
	font-size:22px;
	padding-left:16px;
	margin-bottom:8px;
	background:linear-gradient(to right,rgba(0,0,0,0.5),rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0));
}
.subsection div.title:after
{
	content:'';
	display:block;
	background:linear-gradient(to right,rgba(255,255,255,0.25),rgba(255,255,255,0));
	height:1px;
	width:50%;
	margin:6px 0px;
	margin-left:-16px;
}
.subsection div.title:before
{
	content:'';
	display:block;
	background:linear-gradient(to right,rgba(255,255,255,0.25),rgba(255,255,255,0));
	height:1px;
	width:50%;
	margin:6px 0px;
	margin-left:-16px;
}

.titleFont,.title,.section,.lockedTitle
{
	font-family: 'Merriweather', Georgia,serif;
}
.title,.section,.lockedTitle
{
	font-size:28px;
	text-shadow:0px 0px 4px #000;
	color:#fff;
}

.update .title
{
	color:#69c;
}
.update.small .title
{
	font-size:16px;
	opacity:0.8;
	color:#fff;
}
.particle.title
{
	background:rgba(0,0,0,0.5);
	box-shadow:0px 0px 8px 8px rgba(0,0,0,0.5);
	border-radius:16px;
	display:none;
}
.product.locked .title {display:none;}
