html {
    height: 100%;
    background-color: #123456;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-weight: 400;
    font-style: normal;
}

main {
    overflow-y: auto;
    padding: 20px 0;
}

.navbar {
    background-color: #041E34;
    position: fixed;
    width: 100%;
    top: 0;
}

/*overwrite media styles*/
.navbar, .navbar-end, .navbar-menu, .navbar-start {
    align-items: stretch;
    display: flex;
}

/*overwrite media styles*/
.navbar-menu {
    background-color: #041E34;
    padding: 0;
    flex-grow: 1;
    flex-shrink: 0;
}

/*overwrite media styles*/
.navbar-start {
    justify-content: flex-start;
    margin-right: auto;
}

/*overwrite media styles*/
.navbar-end {
    justify-content: flex-end;
    margin-left: auto;
}

.footer {
    background-color: #041E34;
    color: #aaaaaa;
    padding: 0.2rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}

.footer strong {
    color: #bbbbbb;
}

.note-preview {
    color: black;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.card {
    background-color: burlywood;
    color: #222222;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.card-header-title {
    font-weight: bold;
    font-size: 1.25rem;
    color: darkblue;
    text-transform: uppercase;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    padding-right: 10px;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.9);
}

.card:hover .card-header-title {
    color: mediumblue;
}

.card:hover .card-content {
    color: #111111;
}

.card-action:hover {
    color: darkgreen;
}

.card-content:hover {
    cursor: pointer;
}

.title {
    color: #4682b4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

p.note-view {
    margin-right: 5px;
}

.input,
.textarea {
    background-color: burlywood;
    color: #333333;
}

.label {
    color: #3672a4;
}

.actions {
    margin-top: 30px;
}

.button.is-primary,
.button.is-info {
    color: #111111;
}

.button.is-primary:hover,
.button.is-info:hover {
    color: #222222;
}

button.card-header-icon {
    padding: 0 6px;
}

.notes-notification {
    color: #111111 !important;
}

.notes-notification-shadow {
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.column.htmx-swapping {
    opacity: 0;
    transition: opacity 1s ease-out;
}

p.subtitle {
    color: #bbbbbb;
}

.highlight {
    background-color: steelblue;
    color: #cccccc;
}

.note-content-view {
    white-space: pre-wrap;
    border: 1px solid #dbdbdb;
    padding: 0.75em;
    border-radius: 4px;
    background-color: burlywood;
    height: calc(70vh);
    overflow-y: auto;
}

.note-content-view,
input.note-content-edit,
textarea.note-content-edit {
    color: black;
    font-weight: 500;
}

textarea.note-content-edit {
    height: calc(70vh);
    resize: none;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .navbar-item {
        padding-left: 0.2rem;
        padding-right: 0.2rem;
    }

    div.navbar-item button.button {
        padding-left: 0.5em;
        padding-right: 0.5em;
    }

    .note-content-view {
        height: calc(65vh);
    }

    textarea.note-content-edit {
        height: calc(51vh);
    }
}
