/*lets do css also i named id and classes short cuz i am lazy hehe*/
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
:root{
    --bg: #050505;
    --term: #33ff00;
    --danger: #ff3333;
}
body{
    background: var(--bg);
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'VT323', monospace;
    color: var(--term);
    user-select: none;
}
#g{
    display: block;
    width: 100vw;
    height: 100vh;
}
#ui{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}
.hud-top{
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-size: 24px;
}
#menu, #dead, #history-view, #shop-view{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    min-width: 400px;
    border: 4px solid var(--term);
    padding: 40px;
    text-align: center;
    pointer-events: auto;
}
/* tired AF*/
#history-view{
    background: #000;
    min-width: 400px;
    border: 4px solid var(--term);
    padding: 40px;
    text-align: center;
    pointer-events: auto;
}
#shop-view{ 
    background: #000;
    min-width: 500px;
    border: 4px solid var(--term);
    padding: 20px;
    z-index: 100;
}
#shop-items div{
    margin-bottom: 10px;
}
h1{
    font-size: 64px;
    margin: 0 0 20px 0;
    color: var(--term);
    text-transform: uppercase;
}
button{
    background: #000;
    color: var(--term);
    border: 2px solid var(--term);
    padding: 15px 30px;
    margin:10px;
    font-size: 24px;
    font-family: 'VT323', monospace;
    text-transform: uppercase;
}
button:hover{
    background: var(--term);
    color: #000;
}
.hidden{ 
    display: none;
 }
 /*i want to add thist thing but i am so fing tired*/
#boss-hud{
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    z-index: 20;
}

.aaa{
    text-align: center;
    color: #ff3333;
    font-size: 24px;
    
}

.bbb{
    width: 100%;
    height: 20px;
    border: 2px solid #ff3333;
    background: rgba(0, 0, 0, 0.8);
}

#boss-hp-bar{
    width:100%;
    height: 100%;
    background: #ff3333;
    transition: width 0.1s;
}