body {
    font-family: sans-serif;
}

button {
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #f0f0f0;
}

#main-content {
    padding: 1em;
    margin: auto;
    max-width: 1200px;
}

#list-container {
    border: solid 1px black;
    margin-top: 1em;
    padding: 1em;
}

#list-container li {
    display: inline;
    margin-right: 1em;
}

#list-container ul {
    margin: 0;
    padding: 0;
}

#pattern-container {
    position: relative;
    border: solid 1px black;
    box-shadow: 1px 1px 3px;
    overflow: hidden;
    text-align: center;
}

#pattern-container svg {
    margin-bottom: -4px; /* TODO cannot figure out how else to get rid of that space... */
}

.labeled-slider {
    margin-top: 2em;
}

.light-bg {
    background-color: #f0f0f0;
}

.pattern-overlay {
    width: 100%;
    text-align: right;
    position: absolute;
    height: 1.5em;
    transform: translateY(-1.5em);
}

.pattern-overlay * {
    height: 100%;
}

.pattern-preview {
    height: 100px;
    width: 100px;
}

.pattern-select {
    background-color: white;
    border: solid 1px black;
    cursor: pointer;
    display: inline-block;
}

.pattern-select:hover {
    box-shadow: 1px 1px 3px;
}

.slider-label {
    margin-top: 0.5em;
    position: absolute;
}

.text-center {
    text-align: center;
}
