body {
    font-family: "Courier New", monospace;
    background-color: #E4C580;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.game-wrapper {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
    overflow-x: auto;
    display: flex;
}

h1 {
    text-align: center;
    margin: 20px 0;
    color: white;
}

#gameContainer {
    display: flex;
    align-items: flex-start;
    background-color: #888888;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


#materialsColumn, #toolsColumn {
    display: flex;
    text-align: center;
    flex-direction: column;
    gap: 10px;
}
#canvasColumn {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    margin: 0 20px;
}
#gameCanvas {
    border: 4px solid black;
    background-color: white;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.button {
    background-color: #444444;
    border: 1px solid #222;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 4px;
    transition-duration: 0.4s;
    width: 150px;
}
.button:hover {
    background-color: #555555;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.selected {
    background-color: #8888ff;
}
.pause {
    background-color: red;
}

/* Titles */
#particleCount {
    margin: 10px 0;
    color: white;
}
#hoveredParticleDisplay {
    margin: 10px 0;
    color: white;
}
.columnTitle {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Scroll */
#columnScroll {
    position: relative;
    max-height: 625px;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
    padding-right: 10px;
    overflow-y: scroll;
}
#columnScroll::-webkit-scrollbar {
    width: 8px;
}
#columnScroll::-webkit-scrollbar-track {
    background-color: #f5f5f5;
    border-radius: 6px;
}
#columnScroll::-webkit-scrollbar-thumb {
    background-color: #d5cece;
    border-radius: 6px;
}

/* Credits */
#credits {
    text-align: center;
}

/* Adnimations */
@keyframes dustAnimation {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0;
    }
}
.dustParticle {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #B59B6A;
    animation: dustAnimation 4s infinite;
}
.dustContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 4s ease-in-out forwards;
}

@media (min-width: 1200px) {
    .game-wrapper {
        justify-content: center;
    }
}