:root{
    --color-dark1: #222;
    --color-dark2: #444;
    --color-white: #fff;
    --color-purple: #a259ff;
    --color-black: #000;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Gill Sans MT';
    box-sizing: border-box;
}

body{
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.game-name{
    position: fixed;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
}

#game{
    position: relative;
    width: 600px;
    height: 400px;
    overflow: hidden;
    border: 2px solid var(--color-white);
}

#player{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    font-size: 32px;
}

.bullet{
    position: absolute;
    width: 4px;
    height: 10px;
    background: red;
}

.invader{
    position: absolute;
    font-size: 32px;
}

#score{
    position: absolute;
    top: 5px;
    left: 5px;
    color: var(--color-white);
}

.stars{
    position: fixed;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: contain;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: -1;
}

.star{
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-white);
    border-radius: 50%;
    animation: starMove linear infinite;
}

@keyframes starMove {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(100vh) scale(1.5);
        opacity: 0;
    }
}

.logo-png{
    position: fixed;
    top: 50px;
    left: 50px;
    z-index: 1000;
}

.logo-png img{
    width: 80px;
    height: 80px;
}

.water-mark {
    display: flex;
    position: fixed;
    bottom: 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    gap: .5rem;
}

.water-mark strong{
    color: var(--color-purple);
}

.water-mark img{
    width: 20px;
    height: 20px;
    opacity: 0.5;
    margin-bottom: -0.2rem;
}