.flash-error {
    background: #ffaaaa;
}

.flash-warning {
    background: #ffcc88;
}

.flash-info {
    background: #aaaaff;
}

.flash-success {
     background: #aaffaa;
}

.flash-error, .flash-warning, .flash-info, .flash-success {
    border: 1px;
    color: white;
    border-radius: 0.5rem;
    padding: 0.3rem 3rem;
    margin: 1rem 0;
}

main {
    max-width: 1600px;
    margin: 0 auto;
}

header, .header-left, .header-right {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: calc(max(3vh - 30px, 0px));
    margin-bottom: calc(max(5vh - 50px, 0px));
}

h1 { font-size: calc(3rem + 0.5vw); }
h2 { font-size: calc(2rem + 0.5vw); }
h3 { font-size: 28px; }
h4 { font-size: 28px; }
h5 { font-size: 28px; }
h6 { font-size: 24px; }
p, a, button, span, label, input, textarea, [role=button], legend {
    font-size: calc(1.5rem + 0.2vw);
}
code { font-size: calc(2rem + 0.2vw); }

pre {
    margin-bottom: 3rem;
}

button, [role=button] {
    padding: 0.5rem 1rem;
    border: 0px;
    background: purple;
    color: white;
    text-decoration: none;
}

body {
    font-family: "Segoe UI",Arial,sans-serif;
    font-weight: 400;
}

.page-main {
    padding-bottom: 2rem;
    border-bottom: 1px solid gray;
}

* {
    //outline: 1px #cc55cc solid;
}

.note-article {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid gray;
    border-radius: 0.5rem;
    margin: 1rem 0.5rem;
}

.note-header {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid gray;
    margin-bottom: 2rem;
}

.field {
    display: flex;
    gap: 10px;
    justify-content: left;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid gray;
    margin-bottom: 1rem;
}

.attribute-container, .note-bottom-buttons, .attribute-remover {
    display: flex;
    gap: 10px;
    justify-content: left;
    align-items: center;
}

.edit-code-form, .edit-note-form, .code-select, .new-note-form {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.note-grid {
    margin-bottom: 4rem;
}

.attribute {
    font-family: "Noto Mono";
    font-size: calc(1rem + 0.2vw);
}

.badge {
    background: #cc55ff;
    color: white;
    border-radius: 0.5rem;
    padding: 0.2rem 0.5rem;
    margin: 0;
}

.note-article {
}

//.breadcrumbs {
    //justify-content: flex-start;
//}

.crumb {
    margin-left: 0.4rem;
    margin-right: 0.4rem
}

footer {
    text-align: right;
    margin-top: 1rem;
}
