/* document setup */

:root {
    --gradient-start: rgb(15, 15, 15, 1);
    --gradient-end: rgb(15, 15, 15, 1);
    --gradient-angle: 180deg;
    
    --bg-url: 'url()';
    --bg-size: '100%';
    --bg-pos-x: '50%';
    --bg-pos-y: '50%';
    --bg-tile: 'no-repeat';
    
    --radius: 6px;
    --accent-red: 88;
    --accent-green: 101;
    --accent-blue: 242;
    --accent: rgb(var(--accent-red), var(--accent-green), var(--accent-blue));
    
    --whitney: 'Whitney', 'WhitneyOTF', 'Helvetica', 'Arial', sans-serif;
    --ease: all 0.3s cubic-bezier(0.4,0,0,1);
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
    background: #000;
}

::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background: #090909;
}

*:focus:not(.nav-title) {
    outline: 0 !important;
}

@font-face {
    font-family: Whitney;
    font-weight: 400;
    src: url('https://betterdark.noahgrice.com/fonts/whitneymedium.woff') format("woff");
}
@font-face {
    font-family: Whitney;
    font-weight: 500;
    src: url('https://betterdark.noahgrice.com/fonts/whitneysemibold.woff') format("woff");
}
@font-face {
    font-family: Whitney;
    font-weight: 700;
    src: url(https://betterdark.noahgrice.com/fonts/whitneybold.woff) format("woff");
}

@font-face {
    font-family: WhitneyOTF;
    font-weight: 400;
    src: url('https://betterdark.noahgrice.com/fonts/whitneymedium.otf') format("otf");
}

@font-face {
    font-family: WhitneyOTF;
    font-weight: 500;
    src: url('https://betterdark.noahgrice.com/fonts/whitneysemibold.otf') format("otf");
}

@font-face {
    font-family: WhitneyOTF;
    font-weight: 700;
    src: url(https://betterdark.noahgrice.com/fonts/whitneybold.otf) format("otf");
}

body {
    width: 100%;
    min-height: 120vh;
    position: relative;
    margin: 0px;
    background: #090909;
    font-family: var(--whitney);
}

:not(.checkbox).mdc-ripple-surface::before, :not(.checkbox).mdc-ripple-surface::after {
    background: #fff;
}

.checkbox.mdc-ripple-surface::before, .checkbox.mdc-ripple-surface::after {
    background: var(--accent);
}

.modal-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: rgba(0,0,0,0);
    z-index: 999;
    position: fixed;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    pointer-events: none;
    user-select: none;
    transition: var(--ease);
}

.modal-container.active {
    background: rgba(0,0,0,0.5);
    pointer-events: all;
}

.modal {
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 30px;
    background: #0B0B0B;
    border-radius: var(--radius);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-top: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--ease);
}

.modal-container.invalid .modal#invalid, .modal-container.override .modal#override {
    opacity: 1;
    margin-top: 0px;
    pointer-events: all;
}

.modal h3 {
    padding-bottom: 10px;
}

.modal#invalid .button {
    float: right;
}

.header {
    width: 100%;
    height: auto;
    background: #070707;
    position: relative;
    margin-bottom: -60px;
    padding-top: 120px;
    padding-bottom: 140px;
    user-select: none;
}

.header-link {
    font-size: 16px;
    font-weight: 500;
    position: absolute;
    top: 24px;
    right: 20px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
}

.header-link span {
    position: relative;
}

.header-link span:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    left: 25%;
    right: 0px;
    bottom: -4px;
    opacity: 0;
    pointer-events: none;
    background: rgba(255,255,255,0.4);
    transition: var(--ease);
}

.header-link:hover span::after {
    width: 100%;
    left: 0px;
    opacity: 1;
}

.header-link svg {
    width: 24px;
    height: 24px;
    margin-right: 4px;
    margin-top: -2px;
    vertical-align: middle;
    transition: var(--ease);
}

.header-link:hover svg {
    margin-right: 8px;
}

.header-link path {
    fill: rgba(255,255,255,0.4);
}

h1 {
    font-size: 64px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin: 0px;
    margin-bottom: -8px;
}

h2 {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin: 0px;
}

h3 {
    line-height: 36px;
    font-size: 36px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin: 0px;
}

h4 {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

h5 {
    font-size: 14px;
    font-weight: 500;
    margin: 0px;
    padding-bottom: 10px;
    color: rgba(255,255,255,0.5);
}

h5.margin {
    padding-top: 10px;
    padding-bottom: 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

a.accent {
    text-decoration: underline !important;
    color: rgba(255,255,255,0.9);
}

i.accent {
    font-style: italic !important;
    color: rgba(255,255,255,0.9);
}

.button {
    min-width: 64px;
    height: 36px;
    line-height: 36px;
    margin-top: 32px;
    padding: 0px 24px;
    border: none;
    border-radius: 5px;
    background: var(--accent);
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    user-select: none;
    cursor: pointer;
    transition: var(--ease);
}

.button:hover, .button:focus {
    color: #fff;
}

.button svg {
    width: 24px;
    height: 24px;
    margin-right: -6px;
    margin-left: 8px;
    vertical-align: text-top;
    margin-top: -2px;
}

.button path {
    fill: rgba(255,255,255,0.9);
    transition: var(--ease);
}

.button:hover path, .button:focus path {
    fill: #fff;
}

.section {
    width: 100%;
    height: auto;
    margin-bottom: 120px;
}

.footer {
    width: 100%;
    height: auto;
    padding: 60px 0px;
    background: #070707;
    user-select: none;
}

.footer .container#footer-grid {
    display: grid;
    grid-template-columns: auto 24px 24px 24px;
    padding-bottom: 20px;
}

.footer h2 {
    line-height: 24px;
}

.footer span {
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-right: 20px;
}

.footer a svg {
    width: 24px;
    height: 24px;
    vertical-align: top;
}

.footer a path, .footer a circle {
    fill: rgba(255,255,255,0.5);
    transition: var(--ease);
}

.footer a:hover path, .footer a:hover circle, .footer a:focus path, .footer a:focus circle {
    fill: rgba(255,255,255,0.7) !important;
}

.footer h5:last-of-type {
    padding-bottom: 0px;
}

.container {
    width: 100%;
    max-width: 1480px;
    padding: 0px 40px;
    margin: 0px auto;
    position: relative;
}

.onboarding-grid {
    width: 100%;
    height: auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3,1fr);
}

.card#coming-soon::before {
    content: 'Coming soon';
    width: 30%;
    height: 24px;
    line-height: 24px;
    border-radius: var(--radius);
    left: 35%;
    bottom: -6px;
    background: var(--accent);
    position: absolute;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card {
    width: 100%;
    height: auto;
    position: relative;
    padding: 20px 25px;
    border-radius: var(--radius);
    background-color: #0b0b0b;
}

.card-header {
    width: 100%;
    height: 36px;
    display: grid;
    grid-gap: 16px;
    grid-template-columns: 36px auto;
}

.card-header svg {
    width: 36px;
    height: 36px;
    margin-top: -2px;
    vertical-align: middle;
}

.card-header path {
    fill: rgba(255,255,255,0.6);
}

.card p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    margin: 0px;
    padding-top: 20px;
}

.settings-grid {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: auto auto 400px;
    grid-template-areas:
        'ui ui settings-header'
        'ui ui colors'
        'bg-img bg-img file-setup';
}

.ui { grid-area: ui; }
.settings-header { grid-area: settings-header; }
#colors { grid-area: colors; padding-bottom: 30px; }
#bg-img { grid-area: bg-img; }
#file-setup { grid-area: file-setup; }

.settings, .settings-header {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.setting h3, .settings h3, .settings-header h3 {
    padding-bottom: 20px;
}

.setting p {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    margin: 0px;
    margin-bottom: 10px;
}

.setting .grid-vert p {
    height: 38px;
    line-height: 38px;
    margin-bottom: 0px;
}

.setting-grid {
    width: 100%;
    height: auto;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(2,1fr);
}

.color-input-grid {
    width: 100%;
    height: 80px;
    display: grid;
    grid-gap: 4px;
    grid-template-columns: auto 80px;
}

.input {
    width: 100%;
    height: 38px;
    display: block;
    position: relative;
    background: #0F0F0F;
    border-radius: var(--radius);
    overflow: hidden;
}

.color-input-grid .input:last-of-type {
    margin-top: 4px;
}

.input input[type="text"], .input input[type="number"] {
    width: 100%;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    border: none;
    background: transparent;
    padding: 10px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
}

.input#color input {
    padding-left: 26px;
}

.input::after {
    content: '';
    width: 0%;
    height: 3px;
    background: var(--accent);
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: 50%;
    transition: var(--ease);
}

.input:focus-within::after {
    width: 100%;
    left: 0px;
}

.input.invalid::after {
    width: 100% !important;
    left: 0px !important;
    background: #e81123 !important;
}

.input#color::before {
    content: '#';
    pointer-events: none;
    position: absolute;
    left: 10px;
    top: 10px;
    line-height: 18px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.input#alpha::before {
    content: '%';
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 10px;
    line-height: 18px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.input#angle::before {
    content: '°';
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 10px;
    line-height: 18px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.input#file-name .prefix {
    pointer-events: none;
    position: absolute;
    left: 10px;
    top: 10px;
    line-height: 18px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.input#file-name .suffix {
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 10px;
    line-height: 18px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.input#file-name input {
    padding-left: 166px;
    padding-right: 92px;
}

.input#file-version::before {
    content: 'v';
    position: absolute;
    left: 10px;
    top: 10px;
    line-height: 18px;
    font-family: var(--whitney);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
}

.input#file-version input {
    padding-left: 20px;
}

.color-output-preview, .angle-output-preview {
    width: 80px;
    height: 80px;
    background: #272727;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.gradient-output-preview {
    width: 100%;
    height: 40px;
    background: #272727;
    margin-top: 8px;
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
    display: grid;
    grid-template-columns: repeat(10,1fr);
}

.color-output-preview .checkerboard, .gradient-output-preview .checkerboard, .angle-output-preview .checkerboard {
    width: 100%;
    height: 0px;
    padding-bottom: 100%;
    position: relative;
}

.color-output-preview .checkerboard::before, .color-output-preview .checkerboard::after, .gradient-output-preview .checkerboard::before, .gradient-output-preview .checkerboard::after, .angle-output-preview .checkerboard::before, .angle-output-preview .checkerboard::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: #1B1B1B;
}

.color-output-preview .checkerboard::before, .gradient-output-preview .checkerboard::before, .angle-output-preview .checkerboard::before {
    top: 0px;
    left: 0px;
}

.color-output-preview .checkerboard::after, .gradient-output-preview .checkerboard::after, .angle-output-preview .checkerboard::after {
    bottom: 0px;
    right: 0px;
}

.color-output-preview .color, .angle-output-preview .color {
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    border-radius: var(--radius);
}

#gradient-start .color {
    background: var(--gradient-start);
}

#gradient-end .color {
    background: var(--gradient-end);
}

#gradient-angle .color {
    background: linear-gradient(var(--gradient-angle), var(--gradient-start), var(--gradient-end));
}

#accent .color {
    background: var(--accent);
}

.gradient-output-preview .color {
    width: calc(100% - 20px);
    height: 20px;
    left: 50%;
    top: 50%;
    position: absolute;
    z-index: 2;
    transform: translate(-50%, -50%);
    border-radius: var(--radius);
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
}

.angle-output-preview .angle {
    width: 30px;
    height: 30px;
    padding: 3px;
    border-radius: 50%;
    backdrop-filter: invert(1);
    left: 50%;
    top: 50%;
    position: absolute;
    z-index: 3;
    transform: translate(-50%, -50%) rotate(var(--gradient-angle));
}

.angle-output-preview .angle path {
    transform-origin: center;
    transform: rotate(90deg);
}

.bg-img-settings {
    width: 100%;
    height: 100%;
    user-select: none;
    pointer-events: all;
    opacity: 1;
    padding-top: 20px;
    transition: var(--ease);
}

.bg-img-settings.hidden {
    max-height: 0px;
    pointer-events: none;
    opacity: 0;
}

.bg-img-settings-grid {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: auto auto auto 140px;
}

.alert {
    width: 100%;
    height: 64px;
    background: #CC7A00;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 32px auto;
    grid-gap: 16px;
    transition: var(--ease);
}

.alert.hidden {
    margin-bottom: 0px;
    margin-top: -10px;
    height: 0px;
    opacity: 0;
    pointer-events: none;
}

.alert span {
    width: 100%;
    height: 32px;
    line-height: 32px;
    border-radius: calc(var(--radius) * 0.66);
    background: rgba(255,255,255,0.7);
    color: #CC7A00;
    text-align: center;
    font-weight: 700;
    font-size: 24px;
    user-select: none;
}

.alert h5 {
    margin: 0px;
    padding: 0px;
    font-size: 18px;
    height: 32px;
    line-height: 32px;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}

.slider-container {
    width: 100%;
    height: 48px;
    display: grid;
    grid-template-columns: auto 60px;
    grid-gap: 10px;
}

.slider-container h3, .color-grid h3 {
    color: var(--accent);
    margin-top: 16px;
    user-select: none;
    cursor: pointer;
    text-align: center;
}

.slider-container input[type='range'] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border: none;
    outline: none;
    user-select: none;
    margin: 23px 0px;
    transition: var(--ease);
}

.slider-container input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 16px;
    height: 16px;
    position: relative;
    background: #090909;
    border: 2px solid var(--accent);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--ease);
}

.slider-container input[type='range']::-webkit-slider-thumb:hover {
    background: var(--accent);
}

.slider-container .slider-value {
    width: 60px;
    line-height: 48px;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    user-select: none;
    text-align: center;
    text-transform: capitalize;
}

.checkbox-container label {
    cursor: pointer;
    position: relative;
    font-weight: 500;
}

.checkbox-container label input[type='checkbox'] {
    display: none;
}

.checkbox-container .label-text {
    width: calc(140px - 48px);
    height: 48px;
    line-height: 48px;
    display: block;
    position: absolute;
    left: 56px;
    top: 0px;
    font-size: 18px;
    color: rgba(255,255,255,0.7);
}

.checkbox-container input[type='checkbox'] + .checkbox {
    width: 48px;
    height: 48px;
    position: relative;
    transition: var(--ease);
}

.checkbox-container input[type='checkbox'] + .checkbox .checkbox-inner {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid rgba(255,255,255,0.7);
    position: absolute;
    left: 15px;
    top: 15px;
    transition: var(--ease);
}

.checkbox-container input[type='checkbox']:checked + .checkbox .checkbox-inner {
    background: var(--accent);
    border-color: var(--accent);
}

.checkbox-container input[type='checkbox']:checked + .checkbox::before, .checkbox-container input[type='checkbox']:checked + .checkbox::after {
    background: var(--accent);
}

.checkmark {
    width: 14px;
    position: absolute;
    top: 1px;
    left: 1px;
}

.checkmark-path {
    stroke-width: 3px;
    stroke-dasharray: 30px;
    stroke-dashoffset: 30px;
    opacity: 0;
    transition: var(--ease);
}

.checkbox-container input[type='checkbox']:checked + .checkbox .checkmark-path {
    stroke-dashoffset: 0px;
    opacity: 1;
}

.ui {
    width: 100%;
    max-width: 960px;
    height: 540px;
    background: #000;
    position: relative;
    margin: 0px auto;
    border-radius: 5px;
    overflow: hidden;
    user-select: none;
}

.ui-gradient {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: linear-gradient(var(--gradient-angle), var(--gradient-start), var(--gradient-end));
}

.ui-img {
    width: 100%;
    height: 100%;
    z-index: 1;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-image: var(--bg-url);
    background-size: var(--bg-size);
    background-position: var(--bg-pos-x) var(--bg-pos-y);
    background-repeat: var(--bg-tile);
    transition: var(--ease);
}

.ui-elements {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3;
}

.top-bar-windows {
    width: 960px;
    height: 15px;
    background: #020202;
    position: absolute;
    top: 0px;
    left: 0px;
}

.top-bar {
    width: 784px;
    height: 24px;
    background: rgba(0,0,0,0.37);
    position: absolute;
    left: 176px;
    top: 15px;
}

.top-bar .entry-text {
    width: 100px;
    height: 12px;
    position: absolute;
    left: 6px;
    top: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.sidebar-servers {
    width: 36px;
    height: 525px;
    background: #020202;
    position: absolute;
    left: 0px;
    top: 15px;
}

.sidebar-servers .server {
    width: 36px;
    height: 30px;
    position: relative;
}

.sidebar-servers .server::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 3px;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    overflow: hidden;
}

.sidebar-servers .server.green::before{
    background: #43B581 !important;
}

.sidebar-servers .server.accent::before {
    background: var(--accent) !important;
}

.sidebar-servers .entry-blank {
    width: 24px;
    height: 8px;
    margin: 6px auto;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.sidebar {
    width: 140px;
    height: 525px;
    background: rgba(0,0,0,0.37);
    position: absolute;
    left: 36px;
    top: 15px;
    overflow: hidden;
}

.sidebar .entry-blank {
    width: 140px;
    height: 24px;
    position: relative;
}

.sidebar .entry-text {
    width: 140px;
    height: 16px;
    position: relative;
}

.sidebar .entry-profile {
    width: 140px;
    height: 36px;
    position: relative;
}

.sidebar .entry-profile:nth-child(5) {
    width: 132px;
    height: 28px;
    margin: 4px;
    background: rgba(var(--accent-red), var(--accent-green), var(--accent-blue), 0.3);
    border-radius: var(--radius);
}

.sidebar .entry-blank::before {
    content: '';
    width: 75%;
    height: 12px;
    position: absolute;
    left: 6px;
    top: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.sidebar .entry-text::before {
    content: '';
    width: 50%;
    height: 8px;
    position: absolute;
    left: 6px;
    top: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.sidebar .entry-profile::before {
    content: '';
    width: 18px;
    height: 18px;
    position: absolute;
    left: 9px;
    top: 9px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.sidebar .entry-profile:nth-child(5)::before {
    left: 5px;
    top: 5px;
    background: rgba(255,255,255,0.3);
}

.sidebar .entry-profile::after {
    content: '';
    width: 50%;
    height: 12px;
    position: absolute;
    left: 32px;
    top: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.sidebar .entry-profile:nth-child(5)::after {
    width: calc(50% + 4px);
    left: 28px;
    top: 8px;
    background: rgba(255,255,255,0.3);
}

.sidebar .entry-blank::before {
    content: '';
    width: 75%;
    height: 12px;
    position: absolute;
    left: 6px;
    top: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.profile {
    width: 124px;
    height: 44px;
    background: #020202;
    border-radius: 5px;
    position: absolute;
    left: 44px;
    bottom: 8px;
}

.messages {
    width: 100%;
    max-width: 768px;
    height: auto;
    position: absolute;
    bottom: 8px;
    left: 184px;
}

.messages .message {
    width: 100%;
    margin: 8px 0px;
    position: relative;
}

.messages .message.small {
    height: 30px;
}

.messages .message.large {
    height: 44px;
}

.messages .message.xl {
    height: 72px;
}

.messages .message::before {
    content: '';
    width: 30px;
    height: 30px;
    display: inline-block;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    position: absolute;
    left: 0px;
    top: 0px;
}

.messages .message::after {
    content: '';
    width: 70px;
    height: 10px;
    position: absolute;
    left: 40px;
    top: 0px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.messages .message.small .message-inner::before, .messages .message.large .message-inner::before, .messages .message.large .message-inner::after, .messages .message.xl .message-inner::before, .messages .message.xl .message-inner::after, .messages .message.xl div::before, .messages .message.xl div::after {
    content: '';
    width: 100%;
    max-width: 384px;
    height: 10px;
    position: absolute;
    left: 40px;
    top: 14px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.message.mention .message-inner::before {
    width: 100%;
    max-width: calc(384px - 3px) !important;
    border-left: 3px solid var(--accent) !important;
    background-color: rgba(var(--accent-red), var(--accent-green), var(--accent-blue), 0.3) !important;
}

.messages .message.large .message-inner::after, .messages .message.xl .message-inner::after {
    top: 28px;
}

.messages .message.xl div::before {
    top: 42px;
}

.messages .message.xl div::after {
    width: 30%;
    top: 56px;
}

.messages .message-box {
    width: 100%;
    max-width: 768px;
    height: 36px;
    background: #1B1B1B;
    border-radius: 5px;
    position: relative;
}

.messages .message-box::before, .messages .message-box::after {
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.messages .message-box::before {
    left: 6px;
}

.messages .message-box::after {
    right: 6px;
}

.messages .message-box-inner::before, .messages .message-box-inner::after {
    content: '';
    width: 24px;
    height: 24px;
    position: absolute;
    top: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.messages .message-box-inner::before {
    right: 36px;
}

.messages .message-box-inner::after {
    right: 66px;
}

.grid-2 {
    display: grid;
    grid-column-gap: 40px;
    grid-template-columns: auto;
}

.button-container {
    justify-content: center;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 170px 230px;
}

.button-container .button {
    width: 100%;
    margin: 0px;
    text-align: center;
}

#disclaimer, #main-output, #color-output, #bg-output, #final-output {
    display: none;
    pointer-events: none;
}

@media screen and (max-width: 1200px) {
    .onboarding-grid {
        grid-template-columns: repeat(2,1fr);
    }
    
    .settings-grid {
        grid-template-columns: 400px auto;
        grid-template-areas: 
            'ui ui ui'
            'settings-header settings-header settings-header'
            'colors bg-img bg-img'
            'file-setup file-setup file-setup';
    }
    
    .settings-header {
        max-width: 100%;
        padding: 20px 0px;
    }
    
    #colors {
        padding-bottom: 0px;
    }
    
    .bg-img-settings {
        max-height: 250px;
    }
    
    .bg-img-settings-grid {
        grid-template-columns: repeat(2,1fr);
    }
    
    .grid-2 {
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 900px) {
    .onboarding-grid {
        grid-template-columns: auto;
    }
    
    .settings-grid {
        grid-template-columns: auto;
        grid-template-areas: 
            'ui ui ui'
            'settings-header settings-header settings-header'
            'colors colors colors'
            'bg-img bg-img bg-img'
            'file-setup file-setup file-setup';
    }
    
    .input#file-name .suffix {
        display: none;
    }
    
    .settings {
        max-width: 100%;
    }
    
    .button-container {
        width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .input#file-name .suffix {
        display: block;
    }
    
    .grid-2, .button-container {
        grid-template-columns: auto;
    }
}