/*主题色#2bcbba*/


* {
    padding: 0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
}


#app {
    display: flex;
    height: 99.9vh;
}




 
#window {
    position: relative;
    width: 84%;
    height: 1005;
    flex-grow: 1;
}

#nav {
    width: 14%;
    height: 100%;
    background-color: #0D0F1B;
    overflow-y: scroll;
}

.nav-item {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 18px;
    padding: 14px 0 14px 0;
    font-weight: 100;
    cursor: pointer;
    color: #ddd;
}

.nav-item--active {
    background-color: #32364A;
}

#out-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    overflow: hidden;
    border: 1px solid #444;
}

.container--active {
    visibility: visible;
}


#btn-bar {
    display: flex;
    justify-content: space-around;
    position: absolute;
    width: 400px;
    margin: 0 auto 0;
    left: 0;
    right: 0;
    bottom: 20px;
}


.btn {
    display: block;
    border: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid #32364A;
    padding: 10px 0 10px 0;
    color: #ddd;
    cursor: pointer;
    padding: 10px;
    width: 90px;
    background-color: transparent;
    cursor: pointer;
    text-align: center;
    font-size: 18px;
    user-select: none;
}

.btn:hover {
    background-color: #ddd;
    color: #0D0F1B;
}


#float {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px;
    color: #fff;
    text-align: center;
    padding: 15px;
}

#size {
    margin: 10px auto 0;
    outline: none;
    border: 1px solid #ddd;
    display: block;
    background-color: #00adb5;
    padding: 8px;
    width: 60px;
    color: #fff;
    text-align: center;
}


#editor {
    width: 600px;
    height: 100%;
    background-color: #eee;
    border: 1px solid #ddd;
}

#btn-group {
    width: 100%;
    height: 5%;
    display: flex;
    justify-content: space-between;
    padding-right: 18px;
}

#run {
    display: inline-block;
    border: none;
    outline: none;
    background-color: #f6416c;
    padding: 8px;
    text-align: center;
    width: 80px;
    color: #fff;
    opacity: 0.7;
    cursor: pointer;
}

#run:hover {
    opacity: 1;
}

#editor-type {
    display: flex;
}

.btn-type {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    text-align: center;
    width: 86px;
    background-color: #eee;
    color: #333;
    user-select: none;
    cursor: pointer;
}

.btn-type--active {
    background-color: #fff;
}

#inner-editor {
    width: 100%;
    height: 95%;
}