* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    overflow: hidden;
}

#noteblock-container {
    position: relative;
    z-index: 10;
}

#noteblock {
    width: 200px;
    height: 200px;
    cursor: pointer;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    transition: transform 0.1s ease;
    user-select: none;
    -webkit-user-drag: none;
}

#noteblock:hover {
    transform: scale(1.15);
}

#noteblock:active {
    transform: scale(1.05);
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.note-particle {
    position: absolute;
    width: 31.25px;
    height: 50px;
    background-image: url('https://external-content.duckduckgo.com/iu/?u=https://noteblock.world/notes_sprites.png');
    background-size: 750px 50px;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    pointer-events: none;
    z-index: 5;
    animation: float-up 2s ease-out forwards;
}

@keyframes float-up {
    0% {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) translateX(var(--drift-x));
    }
}