@import url("https://fonts.googleapis.com/css?family=Lato:300,400");

body {
    margin: 0px;
    overflow: hidden;
    font-family: 'Lato', sans-serif;
    background: black
}

ul {
    list-style: none;
    text-align: center;
    margin: 0px;
    padding: 0px
}

a {
    display: block;
    text-decoration: none
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.btn-main {
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 1rem;
    color: #ccc;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 24px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition: all 300ms ease-in-out
}

.btn-main:hover {
    background-color: white;
    color: #333
}

.btn-git {
    padding: 4px 10px 4px 8px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 32px;
    background-color: #eee;
    font-size: 0.75rem;
    background-image: linear-gradient(180deg, #fcfcfc 0, #eee);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fcfcfc", endColorstr="#eeeeee", GradientType=0);
    background-repeat: no-repeat;
    border: 1px solid #d5d5d5;
    outline: none
}

.overlay {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%
}

.screen-fader {
    display: none;
    background: black;
    z-index: 999
}

.loader {
    background-color: black;
    color: #fff;
    text-align: center;
    z-index: 1024;
    opacity: 1
}

.loader .wrapper .icon {
    display: block;
    margin: 0 auto;
    border: 2px solid #333;
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    animation: spin 0.25s linear infinite
}

.loader .wrapper .title {
    font-size: 21px;
    font-weight: 300
}

.loader .wrapper .desc {
    font-size: 14px;
    font-weight: 300
}

.loader .wrapper .btn-main {
    display: none;
    margin-top: 1rem
}

.ws {
    display: none;
    text-align: center;
    color: #fff
}

.ws .wrapper h1,
.ws .wrapper h3 {
    font-weight: 300;
    text-transform: uppercase
}

.ws .wrapper button {
    margin: 0 auto;
    padding: 12px 24px;
    font-size: 16px;
    color: #ccc;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 24px;
    text-transform: uppercase;
    margin-top: 64px;
    text-align: center;
    cursor: pointer;
    transition: all 300ms ease-in-out
}

.ws .wrapper button:hover {
    background-color: white;
    color: #333
}

.authoring {
    display: none;
    position: absolute;
    z-index: 1024;
    right: 0;
    top: 0;
    margin-right: 32px;
    margin-top: 32px
}

.authoring img,
.authoring span {
    display: inline-block;
    vertical-align: middle
}

.authoring img {
    margin-right: 0.25rem
}

.config-palette {
    display: block;
    position: absolute;
    width: 960px;
    bottom: 0px;
    right: 25%;
    left: 50%;
    margin-left: -480px;
    margin-bottom: 32px
}

.config-tab {
    cursor: pointer;
    padding: 0.5rem 1rem;
    /* background: rgba(0, 0, 0, 0.75); */
    background: rgb(90, 99, 147);
    transform: skew(20deg);
    -webkit-transform: skew(20deg)
}

.config-tab__list li {
    display: inline-block
}

.config-tab span {
    display: block;
    color: #ffffff;
    transform: skew(-20deg);
    -webkit-transform: skew(-20deg)
}

.config-tab:hover {
    background: white
}

.config-tab:hover span {
    color: #000
}

.config-tab.active {
    background: #ccc
}

.config-tab.active span {
    color: #333
}

.config-options {
    display: none;
    color: white
}

.config-options__wrap {
    display: block;
    /* background: rgba(0, 0, 0, 0.75); */
    width: 100%
}

.config-options ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto
}

.color-swatch,
.texture-swatch {
    position: relative;
    width: 128px;
    height: 81px;
    line-height: 81px;
    margin: 1rem 0.75rem;
    padding: 0px;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    border-radius: 0.375rem;
    cursor: pointer
}

.color-swatch span,
.texture-swatch span {
    display: block;
    position: relative;
    opacity: 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    transition: linear opacity 300ms
}

.color-swatch:focus,
.texture-swatch:focus {
    outline: 0
}

.color-swatch:hover span,
.texture-swatch:hover span {
    opacity: 1
}

.color-swatch::after,
.texture-swatch::after {
    position: absolute;
    pointer-events: none;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.5) 50%);
    -webkit-mask-image: linear-gradient(#000, transparent)
}

.texture-swatch {
    object-fit: cover;
    background-position: center;
    background-color: #333;
    background-repeat: no-repeat
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}