.wrapper,body,html,article,main {
    display: flex;
    flex-direction: column
}

html {
    position: relative
}

.wrapper,body,article,main {
    gap: 1.5rem
}

body,html {
    min-height: 100vh
}

.wrapper {
    width: 100%;
    flex: 1;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2
}

main {
    flex: 1;
}

.btn,.card {
    border-radius: 1.5rem
}

.card {
    color: var(--gray-100);
    border: 0
}

.card .card {
    background-color: var(--gray-900)
}

.card,.card .card .card {
    background-color: var(--gray-950)
}

.header {
    background-size: cover;
    image-rendering: pixelated;
    background-position: top center
}

hr {
    width: 100%;
    border-top: 1px solid var(--gray-600);
    height: 0
}

.post-card {
    transition: all .3s ease-in;
    border: 1px solid var(--gray-900)
}

.post-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--gray-600)
}

.brand-letter {
    transition: all .25s ease-in
}

.navbar-brand:hover .brand-letter {
    transform: translateY(-3px)
}

.h1,.h2,.h3,.h4,.h5,.h6,.navbar-brand,h1,h2,h3,h4,h5,h6 {
    font-family: "display",sans-serif;
    font-weight: 700
}

.navbar-brand {
    margin-right: 0
}

.alert {
    border-radius: 1.5rem;
    padding: 1.5rem;
    margin: 0
}

.card {
    flex: 0 1 auto;
}

.alert>:last-child,.card-body>:last-child {
    margin-bottom: 0!important
}

.avatar {
    height: 36px;
    width: auto
}

.breadcrumb {
    margin: 0
}

.header {
    position: absolute;
    aspect-ratio: 3/2;
    min-height: 400px;
    max-height: 700px;
    width: 100%
}

.header::after {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse farthest-side at top left,transparent,var(--bs-body-bg));
    content: ""
}

.highlight {
    text-shadow: var(--bs-primary) 1px 0 10px
}

.quote {
    font-style: italic
}

.quote,small {
    opacity: .7
}

.post-card {
    text-decoration: none;
    color: inherit
}

.text {
    font-family: var(--bs-body-font-family)
}

.palette {
    display: flex;
    border-radius: 1.5rem;
    height: 40px
}

.palette-color:first-child {
    border-radius: 1.5rem 0 0 1.5rem
}

.palette-color:last-child {
    border-radius: 0 1.5rem 1.5rem 0
}

.palette-color {
    flex: 1
}

.breadcrumb-item a {
    color: var(--gray-200);
    text-decoration: none
}

.breadcrumb-item a:hover {
    color: var(--gray-100)
}

footer a {
    text-decoration: none;
    color: var(--gray-300);
}

#journal-content h2, #journal-content h3 {
    margin-top: 2rem;
}

.carousel-img {
    border-radius: 1.5rem;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    min-height: 0;
    margin: auto;
    display: block;
}

@media (min-width:500px) {
    .column-list {
        column-count: 2;
        column-gap: 1.5rem
    }
}

.char-details>:not(:last-child)::after {
    content: "·";
    margin-left: .5rem
}

@media (min-width:900px) {
    .column-list {
        column-count: 4;
        column-gap: 1.5rem
    }
}
/* cyrillic-ext */
@font-face {
  font-family: "display";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/display-normal-400-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  font-display: swap;
}

/* cyrillic */
@font-face {
  font-family: "display";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/display-normal-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-display: swap;
}

/* latin-ext */
@font-face {
  font-family: "display";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/display-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

/* latin */
@font-face {
  font-family: "display";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/display-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
/* vietnamese */
@font-face {
  font-family: "text";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/text-normal-400-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
  font-display: swap;
}

/* latin-ext */
@font-face {
  font-family: "text";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/text-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-display: swap;
}

/* latin */
@font-face {
  font-family: "text";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url("../fonts/text-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-display: swap;
}
