.section {
    background: #8a859a;
    color: #dfd3ff;
    border-radius: 5px;
    padding: 13px;
    margin-top: 20px;
    max-width: 100vw;

}

.sub-section {
    background: #726695;
    color: #dfd3ff;
    border-radius: 5px;
    padding: 13px;
    border-width: 3px;
    margin-top: 20px;

}

#container {
    position: relative;
    padding: 13px;
    margin-left: 31px;
    margin-right: 31px;
    max-width: 90vw;
}

.randomize-whole-doll-button {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 13px;
}

.doll {
    position: sticky;
    width: 300px;
    height: fit-content;
    cursor: pointer;
    top: 0px;
}

.fun-canvas {
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    filter: saturate(0.5) brightness(0.75);
}

.part-row {
    display: flex;
}

.doll-wrapper {
    width: 300px;
}

.doll-container {
    position: relative;
    border: 3px solid black;
    border-radius: 3px;
    width: 100%;
    height: fit-content;
    display: flex;
}

.doll img {
    max-width: 500px;
    position: absolute;
    left: 0px;
    top: 0px;
}



.color-picker {
    display: block;
}

.controls {
    width: 50%;
    height: 90%;
    padding-left: 13px;
    padding-bottom: 13px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 3px;
}






.randomize-all-colors-button {
    margin-top: 13px;
}

.controls span {
    font-size: 10px;
    vertical-align: top;
    display: inline-block;
    margin-top: 3px;
    font-weight: lighter;
}

select {
    margin-right: 13px;
    width: 100%;
    margin-bottom: 13px;
    display: block;
    height: 50px;
    scrollbar-color: #13022a #432a63;
    overflow: auto;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    color: black;
    background-color: #8a859a;
}

.custom-select {
    margin-right: 13px;
    width: 100%;
    margin-bottom: 13px;
    display: block;
    height: 150px;
    scrollbar-color: #13022a #432a63;
    overflow: auto;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    color: black;
    background-color: #8a859a;
}

.custom-option[selected="true"] {
    background-color: #c4c4c4;
    border: 1px solid black;
}

.custom-option:hover {
    background-color: rgb(147, 129, 69);
}

.custom-option {
    padding-left: 3px;
}

.custom-option img {
    height: 50px;
}

.custom-select:disabled {
    opacity: 0.5;
}

select {
    text-align-last: right;
}

option {
    direction: rtl;
}

.color-input-container {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}



.layer-controls {
    border: 3px solid #432a63;
    padding: 13px;
    margin: 3px;
    width: 150px;
}