html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: sans-serif;
}

iframe {
    display: block;
    border: 0;
    width: 100%;
    height: 100%;
}

.app {
    display: flex;
    width: 100%;
    height: 100%;
}

#api-frame {
    flex: 1 1 auto;
	border: 1px solid #a1a1a1;
	
}
.app {
	
	background-color: #d1d1d1;
}



.options {
    box-sizing: border-box;
    flex: 0 0 300px;
    padding: 30px;
    overflow: auto;
}

.option {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid #ccc;
}

.option:first-child {
    border-top: 1px solid #ccc;
}

.option label {
    flex: 0 0 130px;
}

.color {
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.color input[type='radio'] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.color__swatch {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.5);
    margin-right: 4px;
}

.color input:checked + .color__swatch {
    box-shadow: 0 0 0 2px #000;
}

.color:hover .color__swatch {
    box-shadow: 0 0 0 2px #999;
}

.texture {
    display: block;
    position: relative;
    margin-bottom: 10px;
}

.texture input[type='radio'] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.texture__preview {
    display: block;
}

.texture__preview  img {
    display: block;
    max-width: 100%;
    height: auto;
}

.texture input:checked + .texture__preview > img {
    box-shadow: 0 0 0 2px #000;
}

.texture__name {
    display: block;
    margin-top: 4px;
}