.avatar-preview {
    flex-grow: 1;

    border-top: 1px solid #CCC;
}

.avatar-thing-categories {
    border-top: 1px solid #CCC;

    height: 10vh;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.avatar-thing-categories .avatar-thing-category {
    display: inline-block;
    height: 10vh;
    width: 10vh;
    border-right: 1px solid #CCC;

    border-right: 1px solid #CCC;
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.avatar-thing-categories .avatar-thing-category span {
    display: block;

    text-align: center;
    padding: 5px 0 10px 0;
    color: #333;
    background: rgb(222,235,244);
background: linear-gradient(180deg, rgba(222,235,244,1) 0%, rgba(0,0,0,0) 100%);
}


.avatar-things {
    border-top: 1px solid #CCC;

    height: 20vh;

    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
}

.avatar-things .avatar-thing {
    display: inline-block;
    height: 20vh;
    width: 20vh;

    border-right: 1px solid #CCC;
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.avatar-preview-container {
    flex-grow: 1;

    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
}

.avatar-preview,
.avatar-preview .avatar {
    width: 100%;
    height: 100%;
}

.avatar-preview .avatar {
    position: relative;
}

.avatar-preview .avatar .avatar-thing {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}