.code-container{
    width: calc(100% - 4rem);
    height: calc(100vh - 4rem);
    background-color: #fafafa;
    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0,0,0,0.3);
    margin-top: 1rem;
    padding: 1rem;
    margin-left: auto; margin-right: auto;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}
.code-content{
    height: calc(100% );
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.code-line-number{
    width: 1.8rem;
    text-align: right;
    overflow-y: hidden;
    overflow-x: visible;
    border-radius: 1rem 0 0 1rem;
    border-right: none;
    padding-left: 0;
    background-color: #fefefe;
    line-height: 1.2rem;
}
.code-line-number,.code-input{
    height: calc(100% - 2px - 1rem);
    font-style: "Consolas", "Menlo", "Monaco", "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, "sans-serif";
    padding: 0.5rem;
    border: 1px solid #ccc;
}
.code-input{
    width: calc(100% - 2px - 2rem);
    border-radius: 0 1rem 1rem 0;
    line-height: 1.2rem;
    border-left: none;
    overflow: scroll;
    white-space: pre;
    resize: none;
}
.code-input:focus{
    outline: none;
}
.code-line-number{
    font-size: 0.9rem;
}
.upload-btn{
    width:100%;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 1rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: "SIMHEI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
}
.upload-btn:hover{
    background-color: #f7f7f7;
}
.upload-btn:active{
    background-color: #f3f3f3;
}