/* lets do the styling,the css yay*/
:root{
    --pink: #ff00ff;
    --blue: #00ffff;
    --bg: #050505;
    --font: 'Courier New', courier, monospace;
}
/*keeping as simple but the code's gonna be messy soon*/
body{
    background-color: var(--bg);
    color: white;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    overflow: hidden;
}
#game-container{
    position: relative;
    border: 4px solid var(--bg);
    border-radius:8px ;
    background: #000;
}
canvas{
    display: block;
    cursor: none;
}
#ui-layer{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    inset:0;
    pointer-events: none;
}
.hud{
    position: absolute;
    top: -50px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 24px;
}
#start-screen, #game-over{
    background: rgba(0, 0, 0, 0.83);
    padding: 40px;
    text-align: center;
    border: 2px solid black;
    pointer-events: auto;
}
h1{
    font-size: 48px;
    color:var(--blue);
    margin-bottom: 20px;
    line-height: 5px;
}
button{
    background: transparent;
    color: var(--blue);
    border: 2px solid black;
    padding: 15px 30px;
    font-size: 20px;
    font-family: var(--font);
    transition: 0.3s;
    cursor: pointer;
}
/*not much left for css then the scary part but not for me lol*/
button:hover{
    background: var(--blue);
    color: #000;
}
.hidden{
    display: none !important;/*not importat just as me */
}
.scanline{
    width: 100%;
    height: 100px;
    position: absolute;
    bottom: 100%;
    z-index: 10;
    animation: scanline 6s linear infinite;
    opacity: 0.1;
}
/* lets do some anumation stuff*/
@keyframes scanline{
    from{
        bottom: 100%;
    } to{
        bottom: -100%;
    }
}
.footer{
    margin-top: 29px;
    color: #555;
    font-size: 12px;
}
.decor-box{
    height: 100px;
    width: 100px;
    position:absolute;
    border: 1px solid #222;
    z-index: -1;
}
.b1{
    top: 10%;
    left: 10%;
    transform: rotate(45deg);
}
.b2{
    bottom: 10%;
    right: 10%;
    transform: rotate(-15deg);
}
.b3{
    top: 20%;
    right: 15%;
    border-color: #000;
    opacity: 0.3;
}
#history-container{
    border-top: 1px solid #333;
    margin: 20px 0;
    max-height: 150px;
    overflow-y: auto;
}
#history-list li{
    width: 200px;
    font-size: 18px;
    margin: 5px auto;
    display: flex;
    justify-content: space-between;
}

/*finishe the css YAY 8*/