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

body, html {
    width: 100%;
    height: 100%;
    font-family: sans-serif;
    display: flex;
}

.container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.sidebar {
    width: 250px;
    background: #222;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

h2 {
    margin-bottom: 10px;
}

.ingredients {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    overflow-y: auto;
    padding-right: 5px;
    user-select: none;
}

.ingredient {
    background: #444;
    padding: 5px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.ingredient img {
    width: 50px;
    height: 50px;
    margin-bottom: 3px;
}

.ingredient span {
    font-size: 11px;
    text-align: center;
}

#synthesizer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pot {
    width: 80px;
    height: 80px;
    position: relative;
}

.pot img {
    width: 80px;
    height: 80px;
}

#launchBtn {
    margin-top: 10px;
    padding: 10px 20px;
    background: #25e622;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#launchBtn:hover {
    background: #22e68b;
}

#console {
    background: #111;
    color: #fff;
    font-family: monospace;
    font-size: 12px;
    height: 80px;
    overflow: hidden;
    padding: 5px;
    display: flex;
    flex-direction: column-reverse;
}

canvas {
    flex: 1;
    background: #000;
}
