/* This thing is largely bashed together from SadGrl's layout template (at https://sadgrl.online/projects/layout-builder/) and https://www.w3schools.com/ and some StackOverflow threads */ 

@font-face {
  font-family: Starborn;
  src: url(../Starborn.ttf);
}
@font-face {
  font-family: Romantic;
  src: url(../ROMANTIC.TTF);
}

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #ffceeb;
  --content-background-color: #fefbfc;
  --sidebar-background-color: #fefbfc;

  /* Text Colors: */
  --text-color: #ea67ad;
  --sidebar-text-color: #ff9cd1;
  --link-color: #ff1da5;
  --link-color-hover: #9b1a67;

  /* Text: */
  --font: Times New Roman, serif;
  --heading-font: Romantic, Georgia, serif;
  --sidebar-hfont: Georgia, serif;
  --font-size: 14px;

  /* Other Settings: */
  --margin: 4px;
  --padding: 16px;
  --border: 1px solid #ff45b4;
  --border-color: #ff45b4;
  --round-borders: 0px;
  --sidebar-width: 200px;
}

body {
                font-family: var(--font);
                margin: 0;
                color: var(--text-color);
            }

html, body {margin: 0}

            * {
                box-sizing: border-box;
            }

            #container {
                max-width: 1070px;
                margin: 0 auto;
            }

            a {
                color: var(--link-color);
                font-weight: normal;
            }

            h1 a, h2 a, h3 a, h4 a, h5 a {
                color: var(--link-color);
            }

            a:hover {
                color: var(--link-color-hover);
            }


            #header {
                width: 100%;
                background-repeat: no-repeat;
                background-size: auto 100%;
                background-position: center;
                background-color: #d4d4d4;
                height: 150px;
            }

            main {
                background-color: #fff;
                padding: 20px 20px 20px 80px;
                text-align: justify;
            }

            h1, h2 {
                text-align: left;
                border-bottom: var(--border);
                width: 100%;
                font-family: var(--heading-font);
            }

            h4 {
                text-align: left;
                font-size: 19px;
                margin: 0px;
                width: 100%;
            }

            footer {
                background-color: #ffceeb;
                width: 100%;
                height: 40px;
                padding: 10px;
                text-align: center;
            }

            .imagehere {
                height: 150px;
                width: 150px;
                margin-left:auto;
                margin-right:auto;
                background-repeat: no-repeat;
                background-position: center;
                background-size: auto 100%;
            }

            .charactermain-image {
                height: 350px;
                width: 300px;
                margin-left:auto;
                background-repeat: no-repeat;
                background-size: auto 100%;
                background-position: center;
                border: var(--border);
            }

            .galleryimage {
              float: left;
              width: 170px;
              height: 170px;
              background-repeat: no-repeat;
              background-size: auto 100%;
              background-position: center;
              margin: 10px;
              border: var(--border);
            }

            h1,
            h2,
            h3 {
                color: var(--text-color);
            }

            h1 {
                font-size: 40px;
            }

            h2 {
                font-size: 25px;
            }

            h4 {
                font-weight: 100;
            }


            /* Thanks to LetoLeGaosaure on Pillowfort for pointing this out! */
            h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
                color: inherit;
            } 
            /* -------- */

            .box {
                background-color: #ffceeb;
                border: var(--border);
                padding: 10px;
            }

            .gallery {
                background-color: none;
                padding: 10px;
                overflow: hidden;
            }

            #toc {
                float: left;
                text-align:left;
                width: 200px;
                margin-right:auto;
                margin: 0px 40px 10px 0px;
                background-color: #ffceeb;
                border: var(--border);
            }

            ol {
                padding-left: 8%;
                list-style-type: circle;
                }

            li {
                padding-bottom: 3px;
                }

            .characterprofile {
              float: right;
              width: 300px;
              margin-left:auto;
              margin: 0px 0px 30px 30px;
              background-color: #ffceeb;
            }

            /* Clear floats after the columns */
            .row:after {
              content: "";
              display: table;
              clear: both;
            }


            table {
              border-collapse: collapse;
              width: 300px;
              background-color: #fccfe7;
              border-top: var(--border);
              border-bottom: var(--border);
            }

            tbody {
              margin: 3px 10px;
            }

            td, th {
              text-align: left;
              padding: 3px 10px;
              border-right: var(--border);
              border-left: var(--border);
            }

            td:nth-child(odd) {
              font-weight: 600;
                text-align: right;
            }

            tr:nth-child(odd) {
              background-color: #fefbfc;
            }


            /* MEDIA QUERY */

            @media only screen and (max-width: 1350px) {
              main {
                float: left;
                width: 100%;
                margin-left: auto;
                margin-right: auto;
                margin: 10px 0px 0px 00px;
                padding: 0px;
              }
            }

            @media only screen and (max-width: 1100px) {
              table, .characterprofile {
                float: left;
                width: 100%;
                margin: 10px 0px 0px 00px;
              }
                
            .characterprofile {
                float: left;
                width: 100%;
                margin: 0px 0px 30px 0px;
              }
                
            main {
                padding: 20px;
            }
                
            .charactermain-image {
                width: 100%;
                margin: 0px 0px 10px 00px;
              }

            }
            

/* Start https://www.cursors-4u.com */ * {cursor: url(https://cur.cursors-4u.net/anime/ani-11/ani1068.cur), auto !important;} /* End https://www.cursors-4u.com */