:root {
    --main-bg-color: #DCBCCB;
    --main-fg-color: #26073B;
    --main-highlight-color: #e4e4e4;
    --secondary-bg-color: #d86185;
}
* {
    box-sizing: border-box;
}
html {
    background-color: #ee9a9a;
    background: url(../../images/column.png), url(../../images/columnrev.png), url(../../images/blogtile2.png);
    background-position: left top, right top, left top;
    background-repeat: repeat-y, repeat-y, repeat;
    background-size: auto, auto, 100px;
    color: #26073B;
    background-attachment: fixed;
}
img {
    align-self: center
}
nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #d86185;
}
nav,
main,
footer {
    width: 100%;
    max-width: 900px;
    padding: 1rem;
}
main {
    background-color: #DCBCCB;
    color: #26073B;
    flex-grow: 1;
    margin-bottom: 5px;
    box-shadow: 0 0 9px #98405b;
    flex: 1;
    padding: 17px;
    border-radius: 15px;
    border: 3px solid #764E79;
    font-family: georgia, 'Segoe UI';
    margin: 0 auto;
    overflow-y: auto;
}
main h1 {
    color: #7A1E8D;
    font-size: 30px;
    text-align: center;
}
main a {
    color: #1D016D;
    font-weight: bold;
}
a {
    color: #1D016D;
}
main h3 {
  color: darkmagenta;
  font-size: 20px;
}
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: url(../../images/column.png), url(../../images/columnrev.png), url(../../images/blogtile2.png);
    background-position: left top, right top, left top;
    background-repeat: repeat-y, repeat-y, repeat;
    background-size: auto, auto, 100px;
    color: #26073B;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#pagination {
    margin: 0;
    box-shadow: none;
    font-size: smaller;
    max-height: 63px;
    background-color: #DE8DB4;
    width: 100%;
    border: 4px solid #764E79;
    border-top: 0;
    border-radius: 0 0 15px 15px;
    align-items: center;
    padding: 5px 18px 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
}

nav,
footer {
    border: none;
    margin: 10px auto;
}
footer {
    margin: 10px auto 0;
    height: auto;
    background-color: #DB7C95;
    width: 100%;
    padding: 8px 16px!important;
    font-size: 0.8rem;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 0 9px #98405b;
}
footer p {
    margin-inline: 0;
    margin: 0.1rem;
    text-align: left;
}
footer div, footer aside {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

nav, main {
    box-shadow: 0 0 9px #98405b;
}

blockquote {
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--main-highlight-color);
}
code {
    background-color: var(--main-highlight-color);
    padding: 0.1rem;
}
pre:has(code) {
    background-color: var(--main-highlight-color);
}
#topContainer {
    margin: 10px auto 15px;
    width: 100%;
    max-width: 900px;
    max-height: calc(30px + 165px + 40px);
    padding: 5px;
    background-color: #D379BD;
    box-shadow: 0 0 9px #98405b;
    border-radius: 15px 15px 15px 15px;
}
#date {
    background-color: #DE8DB4;
    padding: 10px;
    padding-bottom: 0;
    margin: 0;
    color: #28004D;
    border: 4px solid #764E79;
    border-bottom: 0;
    border-radius: 15px 15px 0 0;
    text-align: center;
    font-family: monospace;
    font-size: 30px;
}
.pagectrl {
    width: 200px;
    display: flex;
    flex-direction: column;
}
.pagectrl, .pagectrl a, .pagectrl a p, #pagination a {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    font-weight: bold;
}
.pagectrl a, #pagination a {
    color: #702073;
}
.pagectrl a:hover, #pagination a:hover {
    color: #f5d0e5;
}
.pagenext {
    margin-left: 1rem;
    text-align: end;
}
.pageprev {
    margin-right: 1rem;
}
.pagectrl p {
    margin: 0;
}
#sliding {
    background: url(../../images/sky.jpg) repeat-x;
    background-size: 200vh;
    background-attachment: fixed;
    height: 100vh;
    width: 800vh;
    animation: slide 120s linear infinite;
    position: sticky;
    top: 0;
    left: 0;
    z-index: -100;
}
.bloglet {
    margin-bottom: 3px;
}
.bloglet:first-of-type {
    margin-bottom: 12px;
}
.bloglet summary {
    font-size: 18px;
    color: #65005e;
    font-weight: bold;
    cursor: pointer;
}
.bloglet summary:hover {
    text-decoration: underline;
}
.bloglet:first-of-type summary {
    font-size: 20px;
    text-decoration: underline;
    color: #790041;
}
body:has(.loosemain) {
    display: flex;
    flex-direction: column;
}
.loosemain, .loosemain ~ footer {
    border-radius: 0;
    max-width: 100%;
}
.loosemain ~ footer {
    margin-top: 10px;
    background-color: #ef6685;
    height: 40px !important;
    text-align: center
}
.loosemain ~ footer a {
    color: #702073;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem
}
.loosemain ~ footer a:hover {
    color: #f5d0e5;
}
body:has(.loosemain) {
    background: url(../../images/blogtile2.png);
}