body {
    margin: 0;
}

canvas {
    display: block;
}

#eco-setup-backdrop {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99;
    background: #000000;
    opacity: .2;
}

#eco-setup-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#eco-setup {
    width: 50%;
    height: 500px;
    background: #000000;
    color: #ffffff;
    z-index: 100;
    display: flex;
    flex-direction: column;
    position: relative;
    font: .9rem 'Lucida Grande', sans-serif;
}

/* very lazy ;) */
#eco-setup span {
    color: #2B86C2;
}

#eco-setup .eco-setup-tabs {
    display: flex;
    position: absolute;
    top: -34px;
    width: 100%;
}

#eco-setup .eco-setup-tabs .eco-setup-tab {
    padding: 8px 20px;
    cursor: pointer;
    background: #4a4a4a;
    font-size: 1rem;
    margin-right: 1px;
}

#eco-setup .eco-setup-tabs .eco-setup-tab.eco-setup-tab-active {
    background: #000000;
}

#eco-setup-minimize {
    padding: 8px 12px;
    cursor: pointer;
    background: #000000;
    font-size: 1rem;
    margin-left: auto;
}

#eco-setup-maximize {
    padding: 8px 12px;
    cursor: pointer;
    background: #000000;
    font-size: 1rem;
    margin-left: auto;
    color: #FFFFFF;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 100;
}

#eco-setup .eco-setup-tab-content {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

#eco-setup .eco-setup-start {
    text-align: center;
    padding: 10px;
}

#eco-setup .eco-setup-start button {
    font-size: 1rem;
    background: #FFFFFF;
    border: 1px solid #FFF;
    padding: 4px 16px;
}

#eco-setup .eco-setup-start button:focus {
    outline: none;
    background: #000000;
    color: #FFFFFF;
}

#eco-setup .eco-setup-intro, #eco-setup .eco-setup-world {
    margin: 20px;
}

#eco-setup .eco-setup-header {
    font-size: .8rem;
    margin: 18px 0 6px 0;
    color: #666;
    text-transform: uppercase;
}

#eco-setup .eco-setup-header:first-child {
    margin: 0 0 6px 0;
}

#eco-setup .eco-setup-row {
    display: flex;
    margin: 4px 0;
}

#eco-setup .eco-setup-row .eco-setup-row-name {
    width: 15%;
    text-align: right;
    margin-right: 20px;
}

#eco-setup .eco-setup-row .eco-setup-row-input {
    width: 15%;
    display: flex;
    height: 1.1rem;
    padding: 0 6px;
    justify-content: space-between;
}

#eco-setup .eco-setup-row .eco-setup-row-description {
    width: 70%;
    margin-left: 20px;
}

#eco-setup .eco-setup-row .eco-setup-row-input-text {
    width: 25%;
    background: #333;
    border: 0;
    outline: none;
    color: white;
}

#eco-setup .eco-setup-row .eco-setup-row-input-slider {
    width: 70%;
    background: #333;
    cursor: e-resize;
}

#eco-setup .eco-setup-row .eco-setup-row-input-slider .eco-setup-row-input-slider-progress {
    background: #2B86C2;
    height: 100%;
}

.eco-bottom-button {
    position: absolute;
    background: #000;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    text-align: center;
    transition-duration: 0.1s;
    font: 1.5rem 'Lucida Grande', sans-serif;
    line-height: 30px;
    z-index: 1;
    bottom: 20px;
}

.eco-bottom-button:hover {
    background: #222;
    cursor: pointer;
}

#eco-audio-button {
    right: 55px;
    font-size: 1.3rem;
    transform: rotate(180deg);
}

#eco-info-button {
    right: 15px;
}

#eco-info {
    position: absolute;
    background: black;
    color: white;
    bottom: 25px;
    right: 25px;
    display: none;
    height: 200px;
    width: 400px;
    font: .9rem 'Lucida Grande', sans-serif;
}

#eco-info .eco-info-tab-content {
    flex-grow: 1;
    display: flex;
    flex-flow: column;
}

#eco-info .eco-info-tabs {
    position: absolute;
    bottom: -25px;
    display: flex;
}

#eco-info .eco-info-tabs .eco-info-tab {
    padding: 5px 10px;
    cursor: pointer;
    background: #333;
}

#eco-info .eco-info-tabs .eco-info-tab.eco-info-tab-active {
    background: #000;
}

#eco-info .eco-info-stats-header {
    display: flex;
    justify-content: space-around;
    padding: 2px;
}

#eco-info .eco-tick {
    text-align: center;
}

#eco-info .eco-name {
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #333;
    padding: 4px;
}

#eco-info .eco-animal-content {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
}

#eco-info .eco-animal-state {
    width: 50%;
    border-right: 1px solid #333;
    padding: 4px;
}

#eco-info .eco-animal-traits {
    width: 50%;
    padding: 4px;
}

#eco-info .eco-progress {
    height: 15px;
    position: relative;
    background-color: #222222;
    margin: 2px;
}

#eco-info .eco-progress > .eco-progress-bar {
    display: block;
    height: 100%;
    background-color: #2B86C2;
}

#eco-info .eco-progress > .eco-progress-text {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 1px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

#eco-info .eco-property {
    display: flex;
}

#eco-info .eco-property-key {
    width: 50%;
}

#eco-info .eco-property-value {
    width: 50%;
    text-align: right;
}

#eco-info .eco-animal-dead {
    color: #ff7878;
    padding: 5px;
    text-align: center;
}

