#wrapcenter{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    height: calc(100vh - 10px);
}

@media (orientation: landscape){

}

h1{
    text-align: center;
}

#wrapper{
    max-width: 95%;
    width: 1100px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

pre{
    border: 1px #1e1f22 solid;
    border-radius: 5px;
    padding: 5px;
    background-color: #2b2d31;
    margin: 0px 5px 0px 0px;
}

#maintext {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    flex-grow: 1;
    background-color: #262626;
    outline: none;
    padding: 12px;
    border: none;
    color:#bdc0c2;
    font-size: 1.05rem;
    font-family: Roboto, sans-serif, 'open-sans', Arial, system-ui ;
    resize: none;
}

#mainthing{
    flex-grow: 1;
    margin-bottom: 8px;
    padding: 12px;
    background-color: #262626;
    color:#bdc0c2;    
    font-size: 1.05rem;
    font-family: Roboto, sans-serif, 'open-sans', Arial, system-ui ;
}

@media (orientation: portrait){
    #submit{
        width: min-content;
    }

    input,[type="text"]{
        width: min-content;
    }

    #wrapperforinputs{
        flex-direction: column;
    }

    #editandurl{
        flex-direction: column;
    }

    .seperatory{
        height: 5px;
    }
}

body{
    padding: 0%;
    margin: 0%;
    width: 100%;
    height: 100%;
    background-color: #1c1c1c;
    font-family: Roboto, sans-serif, 'open-sans', Arial, system-ui ;
}

#wrapperforinputs{
    display: flex;
    justify-content: space-between;
}

#editandurl{
    display: flex;
}

.seperator{
    width: 8px;
}

input,[type="text"]{
    background-color: #262626;
    border: none;
    outline: none;
    color: #bdc0c2;
    padding: 8px;
    font-size: 1.05rem;
    font-family: Roboto, sans-serif, 'open-sans', Arial, system-ui ;
}

#submit{
    background-color: #262626;
    border: none;
    outline: none;
    color: #bdc0c2;
    padding: 8px;
    font-size: 1.05rem;
    font-family: Roboto, sans-serif, 'open-sans', Arial, system-ui ;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

#submit:hover{
    background-color: #313131;
}

.btnup{
    background-color: transparent;
    outline: none;
    padding: 12px;
    border: none;
    color:#9d9d9d;
    font-size: 1rem;
    font-family: Roboto, sans-serif, 'open-sans', Arial, system-ui ;
}

.selectedbtn{
    background-color: #262626;
    color:#bdc0c2;
}

.btnup:hover{
    color: rgb(128, 166, 236);
    cursor: pointer;
}

#btns{
    display: flex;
    width: 100%;
    flex-direction: row;
}

#preview{
    display: none;
}

a{
    color:rgb(132, 173, 250);
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

.error{
    color: #e96767;
    display: list-item;
    list-style-position: inside;
    margin: 0;
}

.success{
    color: #67e96e;
    display: list-item;
    list-style-position: inside;
    margin: 0;
}