/* FONT IMPORT */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
    /* Background Colors: */
    --container: rgba(23, 13, 46, 0.82);
    --bubble: rgba(86, 67, 129, 0.49);
    --bubbleborder: rgba(86, 67, 129);
    --background-color: #1c103c;
    --text-color: #ffffff;
    --sidebar-text-color: #ffffff;
    --link-color: #82ffff;
    --link-hover: #ffe1ae;
    --font: Verdana, sans-serif;
    --heading-font: "Quicksand", sans-serif;
    --round-borders: 5px;
    --header-color: #ffe1ae;
    --border-color: #5d28c2;
    --box-border: rgba(82, 49, 143, 0.38);
    --scrollbar: #5d28c2 transparent;
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
    box-sizing: border-box;
}

body {
    color: black;
    font-family: var(--font);
    background: var(--background-color);
    background-image: url("https://mavisdeluna.art/images/Plain%20BG.png");
    background-size: cover;
    background-attachment: fixed;
    scrollbar-color: #5d28c2 transparent;
}

hr,
.main hr,
.right hr,
.aside hr,
.footer hr {
    border: 1px solid rgba(86, 67, 129);
}

#statuscafe hr {
    border: 1px solid rgba(86, 67, 129);
}

::selection {
    /* (Text highlighted by the user) */
    background: rgba(0, 0, 0, 0.2);
}

mark {
    /* Text highlighted by using the <mark> element */
    text-shadow: 1px 1px 4px var(--link-color);
    background-color: inherit;
    color: var(--text-color);
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: #5d28c2 transparent;
    line-height: 1.5;
}

body {
    font-family: "Verdana";
    font-size: 14px;
    color: white;
}

a {
    color: #82ffff;
}

a:hover {
    color: var(--header-color);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Quicksand";
    font-weight: 900;
}

.container {
    display: grid;
    grid-gap: 10px;
    grid-template:
        "header header header"
        "sidebar main right"
        "footer footer footer"
        / 1fr 4fr 1fr;
    max-width: 1200px;
    border: none;
    border-radius: 5px;
    margin: auto;
}

header {
    grid-area: header;
    border-radius: 5px;
}

header img {
    width: 100%;
    height: initial;
    border: 2px solid black;
    border-radius: 5px;
}

aside {
    grid-area: sidebar;
    padding: 0 5px;
    border: 2px solid black;
    border-radius: 5px;
    background-color: var(--container);
}

aside p,
right p {
    padding: 5px 10px;
}

aside h2,
right h2 {
    background-color: rgb(196, 152, 255);
    background-image: url("https://mavisdeluna.art/images/Plain%20BG.png");
    background-size: cover;
    color: white;
    padding: 5px 10px;
    font-size: 20px;
    margin: 10px -10px;
    font-weight: 900;
    border: 2px solid black;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

main b,
main i {
    color: var(--hyperlink-color);
}

main {
    grid-area: main;
    padding: 5px;
    text-align: center;
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    /* flex-flow: row wrap; */
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 10px;
    background-color: var(--container);
    border-radius: 5px;
    border: 2px solid black;
}

right {
    grid-area: right;
    padding: 0 5px;
    border: 2px solid black;
    background-color: var(--container);
    border-radius: 5px;
}

footer {
    grid-area: footer;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    border: 2px solid black;
    background-color: var(--container);
    border-radius: 5px;
}

aside > .div {
    border-radius: 5px;
    text-align: center;
    line-height: 1.5;
}

main img {
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

main > .div {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
}

main > .full {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    width: 100%;
}

main > .half {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    width: 49%;
}

main > .quarter {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    width: 24%;
}

main > .tq {
    border: 1px solid black;
    border-radius: 5px;
    padding: 10px;
    width: 75%;
}

/* MAIN AREA WIDE DIV */
.fulldiv {
    width: 100%;
    border: 1px solid rgba(86, 67, 129, 1);
    padding: 10px;
    background-color: rgba(86, 67, 129, 0.49);
    border-radius: 5px;
    justify-content: center;
    align-content: center;
}

.fulldiv p {
    padding: 20px 0;
}

/* MAIN AREA TWO COLUMNS */
.columns {
    display: grid;
    grid-gap: 10px;
    grid-template:
        "leftc rightc"
        / 1fr 1fr;
    width: 100%;
    min-height: 50px;
}

.leftc {
    grid-area: leftc;
    border: 1px solid;
    padding: 10px;
    background-color: rgba(86, 67, 129, 0.49);
    border-color: rgba(86, 67, 129, 1);
    border-radius: 5px;
}

.rightc {
    grid-area: rightc;
    border: 1px solid;
    padding: 10px;
    background-color: rgba(86, 67, 129, 0.49);
    border-color: rgba(86, 67, 129, 1);
    border-radius: 5px;
}

/* MAIN AREA THREE COLUMNS */
.threecolumns {
    display: grid;
    grid-gap: 5px;
    grid-template:
        "leftt middlet rightt"
        / 1fr 1fr 1fr;
    width: 100%;
    min-height: 50px;
}

.middlet {
    grid-area: middlet;
    border: 1px solid black;
    padding: 10px;
    background-color: #000000;
}

.leftt {
    grid-area: leftt;
    border: 1px solid black;
    padding: 10px;
    background-color: #000000;
}

.rightt {
    grid-area: rightt;
    border: 1px solid black;
    padding: 10px;
    background-color: #000000;
}

/* MAIN AREA LEFT WIDE COLUMN */
.wideone {
    display: grid;
    grid-gap: 5px;
    grid-template:
        "theleft theright"
        / 50%;
    width: 100%;
    min-height: 50px;
    background-color: rgba(86, 67, 129, 0.49);
    border: 1px solid rgba(86, 67, 129);
    border-radius: 5px;
    color: white;
    font-size: 14px;
}

.theleft {
    grid-area: theleft;
    margin: auto;
    padding: 5px 15px;
}

.theright {
    grid-area: theright;
    margin: auto;
    padding: 0 15px;
}

/* MAIN AREA RIGHT WIDE COLUMN */
.widetwo {
    display: grid;
    grid-gap: 10px;
    grid-template:
        "lefty righty righty"
        / 1fr 1fr 1fr;
    width: 100%;
    min-height: 50px;
}

.lefty {
    grid-area: lefty;
    border: 1px solid;
    padding: 10px;
    background-color: rgba(86, 67, 129, 0.49);
    border-color: rgba(86, 67, 129, 1);
    border-radius: 5px;
    height: 220px;
}

.lefty img {
    border-radius: 5px;
    padding: 0;
    margin: 0;
}

.righty {
    grid-area: righty;
    border: 1px solid;
    padding: 10px;
    background-color: rgba(86, 67, 129, 0.49);
    border-color: rgba(86, 67, 129, 1);
    border-radius: 5px;
    height: 220px;
}

.navbutton {
    background-color: rgba(86, 67, 129, 0.49);
    border: 1px solid rgba(86, 67, 129);
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: white;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 25px;
    text-decoration: none;
    text-align: center;
    width: 95%;
    margin: 1px auto;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.navbutton:hover {
    background-color: rgba(23, 13, 46, 0.82);
    border: 1px solid rgb(15, 4, 38);
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
.navbutton:active {
    position: relative;
    top: 1px;
    color: white;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.deadbutton {
    background-color: darkgrey;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: grey;
    font-family: Verdana;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 25px;
    text-decoration: none;
    text-align: center;
    width: 95%;
    margin: 1px auto;
}

.deadbutton:hover {
    color: grey;
}

.bubble {
    border-radius: 5px;
    text-align: center;
    line-height: 1.5;
    background-color: rgba(86, 67, 129, 0.49);
    padding: 5px 0;
    font-size: 10px;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    height: 175px;
    scrollbar-color: #5d28c2 transparent;
    border: 1px solid rgba(86, 67, 129);
}

textarea {
    text-align: justify;
    overflow-x: hidden;
    overflow-y: scroll;
}

.inbubble {
    overflow-x: hidden;
    overflow-y: scroll;
    height: 100%;
    scrollbar-color: #5d28c2 transparent;
    padding: 10px;
    margin: 0 5px;
}

.inbubble img {
    max-width: 100%;
}

#statuscafe {
    padding: 0.5em;
    width: 100%;
}

#statuscafe-username {
    margin-bottom: 1em;
    color: #ffe1ae;
    font-size: 11px;
}

#statuscafe-username a {
    color: var(--hyperlink-color);
}
#statuscafe-content {
    margin: auto;
    width: 100%;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    padding: 5px;
}

.heading,
#heading {
    display: block;
    background-color: rgb(196, 152, 255);
    background-image: url("https://mavisdeluna.art/images/Plain%20BG.png");
    background-size: 100% auto;
    color: white;
    padding: 10px;
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    border-radius: 5px 5px 0 0;
    border-bottom: 1px solid black;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.columns ul {
    padding: 0 10px;
    margin: 0;
    width: 100%;
    overflow: auto;
    scrollbar-width: thin;
    list-style: none;
    margin-top: 20px;
    font-size: 12px;
}

.columns b {
    color: #82ffff;
}

.columns li {
    padding: 5px 0px;
    border-bottom: 1px solid #5d28c2;
    text-align: left;
    margin: 5px 0;
    line-height: 1.5;
}

span {
    color: var(--hyperlink-color);
}

.imgwide {
    height: 100%;
    object-fit: contain;
    box-sizing: border-box;
}

#pagedoll {
    position: fixed;
    bottom: 10px;
    right: 50px;
    height: 250px;
}

.socials {
    background-color: var(--container);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--bubbleborder);
    text-decoration: none;
    font-size: 15px;
    color: var(--link-color);
    line-height: 1.5;
    margin: 5px auto;
}

.socials:hover {
    background-color: var(--bubble);
    border: 1px solid var(--bubbleborder);
    text-decoration: none;
    color: var(--header-color);
}

.float {
    float: right;
    margin: 10px 15px;
    width: 300px;
    border-radius: 5px;
}

#guestbook p {
    font-size:14px;
    margin:20px 10px;
}


/* MOBILE RESPONSIVE */
@media (max-width: 1100px) {
    .container {
        grid-template:
            "header"
            "main"
            "sidebar"
            "right"
            "footer";
        width: 100%;
    }

    .columns {
        grid-template:
            "leftc"
            "rightc";
    }

    .threecolumns {
        grid-template:
            "leftt"
            "middlet"
            "rightt";
    }

    .wideone {
        grid-template:
            "theleft"
            "theright";
    }

    .widetwo {
        grid-template:
            "lefty"
            "righty";
    }

    .imgwide {
        height: 100%;
    }

    #pagedoll {
        display: none;
    }

    .fulldiv .socials {
        width: 100%;
        line-height: 1.5;
        margin: 5px auto;
    }

    .float {
        float: none;
    }
}