article {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
    gap: 2em;
}

section {
    padding: 0.5em;
    max-width: 39em;
    width: 30em;
    flex-grow: 1;
}

.center {
    text-align: center;
}

#board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1px;
    max-width: 39em;
    padding: 0.5em;
    background: #ccc;
    border-radius: 0.5em;
}

#bg-selected {
    fill: #999;
}

#variety {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 0.4em;
    padding: 0.5em;
    background: #ddd;
    border-radius: 0.5em;
}

#variety > .card {
    width: 18%;
}

.pcb_bg {
    fill: #147718;
}

.conductor {
    stroke: #00bd00;
    stroke-width: 8%;
    stroke-linecap: round;
}

.wire {
    stroke: #999;
    stroke-width: 8%;
    stroke-linecap: round;
}

.thru {
    fill: #333;
    stroke: #dead10;
    stroke-width: 6%;
}

.solder {
    fill: #000;
    stroke: #ccc;
    stroke-width: 6%;
}

.resistor {
    fill: #a7484a;
}

.resistorRing {
    stroke-width: 4%;
}

.Ryellow {
    stroke: #fd2;
}

.Rviolet {
    stroke: #c4e;
}

.Rred {
    stroke: #e41;
}

.Rorange {
    stroke: #f82;
}

.Rblack {
    stroke: #000;
}

.Rblue {
    stroke: #8bf;
}

.Rgreen {
    stroke: #1b4;
}


