body {
    min-height: 95dvh;
    padding: 0;
    margin: 0;
    background: linear-gradient(to top, #540094, #1b0033);
    background-attachment: fixed;
    background-position: 0;
    background-size: 100dvw 100dvh;
    color: whitesmoke;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 160%;
    position:relative;
}

a{
    color:magenta;
}

a:hover {
    text-shadow: 1px 1px 5px rgba(245, 245, 245, 0.4),1px 1px 10px darkmagenta;
}

a:visited {
    color:mediumpurple;
}

header {
    position: relative;
    margin-top: 0;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 72px;
    padding-left: 18%;
    padding-right: 18%;
    background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0));
}

header>h1 {
    font-size: xxx-large;
    margin-bottom: 16px;
    line-height: 180%;
}

div#main_area {
    position: relative;
}

nav {
    position:fixed;
    z-index: 10;
    top:0;
    left:0;
    right:0;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background: linear-gradient(to bottom, black,rgba(0,0,0,0.25));
}

nav a {
    font-style: normal;
    font-weight: bolder;
    color: whitesmoke;
    text-decoration: none;
}

nav a:visited {
    color: unset;
}

nav a:hover {
    text-shadow: 1px 1px 5px rgba(245, 245, 245, 0.4),1px 1px 10px gold;
}

main {
    /*border: 2px solid rgba(0, 0, 255, 0.158);*/
    position: relative;
    left: 20dvw;
    width: 60dvw;
    top: 0;
    margin-bottom: 72px;
}

div.index {
    display:flex;
    flex-direction: column;
    flex-wrap:wrap;
    position:relative;
    width:90%;
    height: 650px;
    padding: 15px;
    border: 2px solid purple;
    border-radius: 5px;
    margin: auto;
    align-content: space-evenly;
    align-items: baseline;
}
div.index>a {
    position: relative;
    font-size: small;
    flex-grow: 1;
    margin: 0 10px;
}
div.index>a.section {
    font-size: medium;
}
div.index>a.lvl2 {
    padding-left:20px;
}
div.index>a.lvl3 {
    padding-left:40px;
}
div.index>a.lvl4 {
    padding-left:60px;
}

h2 {
    margin-top: 72px;
}

h3 {
    text-align: center;
    margin-top: 72px;
    font-size:x-large;
}

h4 {
    border-top: 1px solid darkmagenta;
    border-left: 1px solid darkmagenta;
    border-radius: 0 30px 0 0;
    padding:15px;
    font-size: larger;
}

h5 {
    padding: 10px;
    font-size: large;
}

footer{
    position: absolute;
    bottom: 0;
    right: 2dvw;
}

.centered {
    text-align: center;
    display: block;
}

.image-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 8px;
    margin-right: 8px;
}
.image-row img {
    object-fit: contain;
}
.image-row>div {
    margin-left: 5%;
    margin-right: 10%;
}
.image-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.image-column img {
    object-fit: contain;
}

.image-sbs {
    display: flex;
    flex-direction: row;
    width: 95%;
    margin: 2% 2.5%;
}

.img-caption-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0 2%;
    justify-content: space-evenly;
    align-self: flex-end;
    align-items: center;
}

.img-caption-container img {
    position: relative;
    width: 100%;
    object-fit: contain;
}

.img-caption-container>p.note {
    text-align: left;
    font-size: xx-small;
}

.img-caption {
    font-size: small;
    font-style: italic;
    text-align: center;
}

.img-large {
    width: 100%;
    object-fit: contain;
}

.img-addon {
    width: 70%;
    position:relative;
    left: 15%;
    padding: auto;
}

div:has(> blockquote) {
    background-color: rgba(100, 148, 237, 0.25);
    margin: 10px 0;
    padding: 25px 5px 5px 5px;
    border-radius: 5px;
    text-align: center;
    width: 90%;
    position:relative;
    left:1%;
}
blockquote p::before {
    content: "\201C";
}
blockquote p::after {
    content: "\201D";
}
blockquote {
    margin:5px;
}
blockquote.by-bc::before {
    content:"BigClaudia:";
    text-align: left;
    font-style: italic;
    color: deeppink;
    position: absolute;
    top: 5px;
    left: 15px;
}
blockquote.by-tt::before {
    content:"TeaTiffs:";
    text-align: left;
    font-style: italic;
    color: orange;
    position: absolute;
    top: 5px;
    left: 15px;
}
div:has(> blockquote) + p {
    /*background-color: rgba(127, 255, 212, 0.25);*/
    border-left: 2px solid purple;
    text-align: left;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    width: 90%;
    position: relative;
    left: 7%;
}

.note {
    font-size: small;
    font-style: italic;
    text-align: center;
    display: block;
    line-height: 100%;
    margin-bottom: 5px;
}

.underline {
    text-decoration: underline;
}

.italic {
    font-style: italic;
}

.reduce {
    font-size: small;
}

.rules {
    font-size: small;
}

@media (width <= 1024px) {
    body {
        min-height: 100dvh;
        padding: 0;
        margin: 0;
        background: unset;
        background-attachment: unset;
        background-size: 105vw 105vh;
        color: whitesmoke;
        font-family: Arial, Helvetica, sans-serif;
        line-height: 150%;
        font-size: 1.05rem;
        font-weight: 400;
        position:absolute;

    }

    body::before {
        z-index: -1;
        content: "";
        width: 105%;
        height: 105%;
        background: linear-gradient(to top, #540094, #1b0033);
        background-repeat: no-repeat;
        position: fixed;
        top: 0;
    }

    header {
            position: relative;
            margin-top: 0;
            text-align: center;
            margin-bottom: 40px;
            padding-top: 72px;
            padding-left: 5%;
            padding-right: 5%;
            background: linear-gradient(to bottom, black, rgba(0, 0, 0, 0));
    }
    header>h1{
        line-height: 120%;
    }
    main {
        position: relative;
        width:unset;
        top:0;
        left:0;
        right:0;
        padding:0 5%;
    }

    nav {
        right: unset;
        width: 100%;
        height: 60px;
        align-content: center;
    }

    nav a {
        flex-shrink: 1;
        position: relative;
        display:block;
        margin: auto;
    }

    div.index {
        text-overflow: ellipsis;
        overflow: hidden;
    }

    footer {
        position: absolute;
        padding-right: 80px;
        float: right;
    }

    .image-row {
        max-width: 100%;
        position:relative;
    }

    .image-row img {
        object-fit: contain;
        flex-shrink: 1;
        max-width: 250px;
        min-width: 100px;
    }

    .image-row>div {
        flex-shrink: 1;
    }

    .image-sbs>div.img-caption-container {
        align-self: center;
    }

    .image-sbs img {
        object-fit: contain;
        max-height: 450px;
    }

    .note {
        font-size: smaller;
        overflow-wrap: break-word;
    }

}