@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Share+Tech+Mono&family=Squada+One&family=Staatliches&display=swap');

@font-face {
    font-family: 'Pixel';
    src: url('https://dl.dropbox.com/s/w24duntt8xd2pmt/VCR_OSD_MONO_1.001.ttf?dl=1');
}

::-webkit-scrollbar {
    display: none;
}

html{
    height:100%;
    user-select:none;
}

.Welcome {
    background-color: #000000;
    color: white;
}

body {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0px;
    height:100%;
    width:100%;
}

.BTN {
    position: absolute;
    height: 38px;
    width: 60px;
    margin-top: 250px;
    background-image: url('https://i.imgur.com/KLdBgL9.png');
    background-size: contain;
    cursor: pointer;
    z-index: 100;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#BTN {
    position: absolute;
    height: 38px;
    width: 60px;
    margin-top: 250px;
    background-size: contain;
    cursor: pointer;
    z-index: 100;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #BTN:active .BTN {
        background-image: url('https://i.imgur.com/NH1gIFm.png');
    }

.BatteryContainerMain {
    position: absolute;
    height: 260px;
    width: 70px;
    margin-right: 250px;
    margin-top: 0px;
    z-index: 50;
}

.BatteryContainer {
    position: relative;
    width: 100%;
    height:40px;
    margin-bottom: -5px;
}

.Battery{
    position:absolute;
    left:3px;
    height:42px;
}

.BatteryAmount{
    position:absolute;
    bottom:2px;
    right:2px;
    font-size:20px;
    color:#FFF;
    font-family: 'Pixel';
}

.message {
    position: absolute;
    color: #ff9d48;
    text-shadow: 1px 1px 3px rgb(183, 0, 0);
    font-size: 25px;
    font-weight: bold;
    font-family: 'Staatliches';
    top: -50px;
    width: 100px;
    text-align: center;
}

.CenterBench {
    position: absolute;
    margin-top: 40px;
    pointer-events: none;
    z-index: 8;
    filter: brightness(0.5);

}

#PowerStatsContainer {
    position: absolute;
    height: 120px;
    width: 250px;
    margin-left: 15px;
    margin-top: 530px;
    font-family: 'Staatliches', cursive;
    font-size: 20px;
    color: #ff9d48;
    text-shadow: 1px 1px 3px rgb(183, 0, 0);
    z-index: 100;
    text-align: right;
}

.BarContainer{
    position:absolute;
    bottom:27px;
    left:5px;
    border:1px solid orangered;
    padding:2px;
    height:15px;
    width:150px;
}

.BarProgress{
    position:absolute;
    background-color: #ff9d48;
    z-index:1;
    
}

@keyframes BarAni {
    0%{width:0%;height:14px;}
    100%{width:96%;height:14px;}
}

.CloseButton{
    position:absolute;
    top:3px;
    right:3px;
    height:12px;
    width:15px;
    border:1px solid #FFF;
    color:#FFF;
    cursor:pointer;
    z-index:300;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding-bottom:3px;
    transition:all 0.5s;
}

.CloseButton:hover{
    color:#000;
    background-color:#FFF;
}

.MinimizeButton{
    position:absolute;
    top:3px;
    right:23px;
    height:12px;
    width:15px;
    border:1px solid #FFF;
    color:#FFF;
    cursor:pointer;
    z-index:300;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding-bottom:3px;
    transition:all 1s;
}

.MinimizeButton:hover{
    color:#000;
    background-color:#FFF;
}

/*SHOP*/
.PurchaseMenu {
    position: absolute;
    height: 20px;
    width: 480px;
    border: 1px solid #FFF;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    top: 10px;
    right: 10px;
}

.PowerGeneratorShop {
    position: relative;
    height: 80px;
    width: 434px;
    margin: 4px;
    margin-top: 6px;
    border: 1px solid orangered;
    background-image:url('https://i.imgur.com/aPaqNzF.png');
    background-size:130%;
    background-position:1% 0%;
    padding: 2px;
    font-family: 'Staatliches';
}

.PowerGeneratorName {
    font-size: 30px;
    color: #ff9d48;
    text-shadow:2px 2px 3px #000;
    line-height: 30px;
    margin:0px;
    margin-left: 5px;
    border-bottom:1px solid #ff9d48;
    width:fit-content;
}

.PowerGeneratorDesc {
    font-size: 10px;
    color: #8b8b8b;
    line-height: 10px;
    padding: 2px;
    margin: 0px;
    text-align: center;
}

.PowerGeneratorStats {
    font-size: 15px;
    color: #FFF;
    line-height: 15px;
    padding: 2px;
    margin: 0px;
    text-align: right;
}

.PowerGeneratorCost {
    position:absolute;
    bottom:5px;
    left:5px;
    font-size: 15px;
    color: #ff9d48;
    line-height: 15px;
    padding: 2px;
    margin: 0px;
}

.OwnedCount{
    position:absolute;
    top:-3px;
    right:5px;
    font-family:'Squada One';
    font-size:60px;
    color:#000;
    text-shadow: 3px 3px 4px #ff7801c3;
    font-weight:bold;
    text-align:right;
}

/*SHOP UPGRADES*/
#UpgradesPurchaseMenu {
    position: absolute;
    height: 20px;
    width: 480px;
    border: 1px solid #FFF;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    top: 50px;
    right: 10px;
}

.UpgradeGeneratorShop {
    position: relative;
    height: 80px;
    width: 434px;
    margin: 4px;
    margin-top: 6px;
    border: 1px solid orangered;
    background-image:url('https://i.imgur.com/aPaqNzF.png');
    background-size:130%;
    background-position:1% 0%;
    padding: 2px;
    font-family: 'Staatliches';
}

.UpgradeGeneratorName {
    font-size: 25px;
    color: #ff9d48;
    line-height: 25px;
    padding: 2px;
    margin: 0px;
}

.UpgradeGeneratorDesc {
    font-size: 15px;
    color: #8b8b8b;
    line-height: 15px;
    padding: 2px;
    margin: 0px;
    text-align: center;
}

.UpgradeGeneratorStats {
    font-size: 15px;
    color: #FFF;
    line-height: 15px;
    padding: 2px;
    margin: 0px;
    text-align: right;
}

.UpgradeGeneratorCost {
    position:absolute;
    bottom:5px;
    left:5px;
    font-size: 15px;
    color: #ff9d48;
    line-height: 15px;
    padding: 2px;
    margin: 0px;
}

.Titlebar{
    position:sticky;
    top:0px;
    padding:2px;
    width:100%;
    border-bottom: 1px solid #FFF;
    color:#FFF;
    font-family: 'Share Tech Mono';
    background-color:#000;
    z-index:1;
    pointer-events: none;
    user-select: none;
}

.ScrollContainer{
    position:absolute;
    top:20px;
    height:465px;
    width:448px;
    overflow:auto;
    margin-left:16px;
    border-bottom:1px solid #FFF;
    user-select: none;
}

/* Style the tab */
.tab {
    border-style: solid solid solid none;
    border-width: 1px;
    border-right: 1px solid #FFF;
    border-left: 1px solid #FFF;
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;
    position: absolute;
    height: 50px;
    width: 350px;
    margin-left: 700px;
    margin-bottom: 550px;
    overflow: auto;
}

/* Style the buttons inside the tab */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    color: white;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
} 
