@font-face {
    font-family: AdwaitaMono;
    src: url(AdwaitaMonoNerdFont-Regular.ttf);
}
topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #303446;
    padding: 14px;
    font-size: 18px;
    z-index: 1000;
}
body {
    background-color: #191b25;
    margin-top: 55px;
}
* {
    color: #e7ecff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#pastes {
    height: 315px;
    width: 250px;
    border: 1px dotted #303446;
    border-radius: 8px;
    padding: 0px;
    box-sizing: border-box;
    background-color: #232634;
    float: right;
    margin: 8px;
}
#pastes > span {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 6px;
}
main {
    position: relative;
    width: 100%;
    max-width: 1100px;
    background-color: #232634;
    left: 50%;
    transform: translate(-50%,0);
    box-sizing: border-box;
    padding: 8px;
    display: flex;
}
input[type=submit] {
    background-color: #303446;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 8px;
    width: 100px;
    font-size: 14px;
    color: #e7ecff;
    cursor: pointer;
    transition-duration: 400ms;
}
select {
    background-color: #303446;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 4px;
    width: 150px;
    font-size: 14px;
    color: #e7ecff;
    cursor: pointer;
    transition-duration: 400ms;
    vertical-align: middle;
    outline: none !important;
}
select:hover {
    background-color: #515b8d;
}
.btn-wrapper::before {
    position: absolute;
    left: 50%;
    background-color: rgba(48, 52, 70, 0);
    border-bottom: 2px solid #8caaee;
    padding-left: 0px;
    padding-right: 0px;
    width: 0px;
    font-size: 14px;
    color: #e7ecff;
    cursor: pointer;
    content: 'Submit';
    color: transparent;
    transition-duration: 400ms;
    pointer-events: none;
    height: calc(100% - 1px);
}
.btn-wrapper:hover::before {
    width: 100%;
    left: 0;
    border-radius: 4px;
}
.btn-wrapper {
    display: inline-block;
}
.btn-wrapper-wrap {
    display: inline-block;
    position: relative;
}
.expandable > .btn-wrapper-wrap {
    width: 100%;
}
.expandable > .btn-wrapper-wrap > .btn-wrapper {
    width: 100%;
}
.sidebar {
    display: inline-block;
}
.mainbar {
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 8px;
}
@media (max-width: 699px) {
    #pastes {
        display: none;
    }
}

#pastecontent {
    width: calc(100%);
    height: 200px;
    background-color: #191b25;
    padding: 4px;
    box-sizing: border-box;
    overflow: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    resize: vertical;
    border-radius: 4px;
    border: 1px solid #838ba7;
    min-height: 100px;
    max-height: 300px
}
#pastecontent:focus {
    outline: none !important;
    border:1px solid #949cbb;
}

#pastetitle {
    width: calc(100%);
    height: 32px;
    background-color: #191b25;
    padding: 4px;
    box-sizing: border-box;
    overflow: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-radius: 4px;
    border: 1px solid #838ba7;
    margin-bottom: 8px;
}
#pastetitle:focus {
    outline: none !important;
    border:1px solid #949cbb;
}
h1 {
    margin: 0;
}
h2 {
    margin: 0;
    margin-bottom: 8px;
    margin-top: 8px;
}
p {
    margin-top: 8px;
    margin-bottom: 2px;
}
.icon {
    font-family: AdwaitaMono;
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
}
.like_count {
    float: right;
}
div.content-preview {
    font-size: 12px;
    color: #a5adce;
    padding: 3px;
    box-sizing: border-box;
    border-radius: 6px;
}
div.content-preview > .icon {
    font-size: 12px;
    color: #a5adce;
    vertical-align: bottom;
}
div.content-preview > .timeago {
    color: #a5adce;
    font-size: 12px;
}
.paste {
    border-bottom: 1px solid #303446;
    padding: 4px;
}
.paste:hover {
    background-color: #33374b;
    cursor: pointer;
    user-select: none;
}


.expandable {
    background-color: #33374b;
    border: 1px solid #303446;
    border-radius: 6px;
    margin-bottom: 8px;
    font-family: 'AdwaitaMono', monospace;
    color: #e7ecff;
    overflow: hidden;
    transition: background-color 0.3s;
}

.expandable .header {
    padding: 8px;
    display: flex;
    align-items: center;
    user-select: none;
    
    cursor: pointer;
}
.header > .icon {
    padding-left: 4px;
}

.expandable .header .icon {
    margin-right: 6px;
    transition: transform 0.3s;
}

.expandable .content {
    height: 0;
    overflow: hidden;
    padding: 0 8px;
    border-top: 1px solid #3b4057;
    transition: height 0.3s ease, padding 0.3s ease;
    background-color: #262938;
}

.expandable.active {
    background-color: #383b55;
}

.expandable.active .header .icon {
    transform: rotate(90deg);
}
label {
    margin: 4px;
    vertical-align:middle;
}
input[type=checkbox] {
    vertical-align:middle;
    width: 16px;
    height: 16px;
}
input[type=text] {
    height: 32px;
    background-color: #191b25;
    padding: 4px;
    box-sizing: border-box;
    overflow: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
    border-radius: 4px;
    border: 1px solid #838ba7;
    margin-bottom: 4px;
    margin-top: 4px;
    outline: none !important;
}
.hr {
    border: 0;
    height: 1px;
    background-color: #3b4057;
    margin-top: 20px;
    margin-bottom: 10px;
}
#foot {
    text-align: center;
    margin-top: 10px;
    color: #5c608a;
}
#code, pre, code {
    border-radius: 8px;
    min-height: 400px;
    
}
#code * {
    font-family: monospace;
}
.new_paste {
    background-color: #394630;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-left: 8px;
    padding: 8px;
    width: 150px;
    font-size: 14px;
    color: #e7ecff;
    cursor: pointer;
    transition-duration: 400ms;
    vertical-align: middle;
    outline: none !important;
    text-decoration: none !important;
}
.new_paste > .icon {
    vertical-align:bottom;
}
.new_paste:hover {
    background-color: #568d51;
}

.public_pastes {
    background-color: #304546;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-left: 8px;
    padding: 8px;
    width: 150px;
    font-size: 14px;
    color: #e7ecff;
    cursor: pointer;
    transition-duration: 400ms;
    vertical-align: middle;
    outline: none !important;
    text-decoration: none !important;
}
.public_pastes > .icon {
    vertical-align:bottom;
}
.public_pastes:hover {
    background-color: #51848d;
}
.FORTHELOVEOFGODIDONTWANTTHATUNDERLINE {
    text-decoration: none !important;
}
block {
    width: calc(100% - 10px);
    margin: 5px;
    background-color: #8a5c5c;
    color: #e7ecff;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    display: block;
    box-sizing: border-box;
    
}
.burnbtn {
    background-color: #a06c6c;
    color: #e7ecff;
    border: 1px solid #a76161;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
    margin-top: 5px;
    cursor: pointer;
    transition-duration: 400ms;
}
.burnbtn:hover {
    background-color: #a33434;
}