/* 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: 'pfeffer';
  src: url(https://viihana.neocities.org/fonts/PfefferMediaeval.otf);
}

body {
                font-family: 'times new roman', serif;
                font-size: 17px;
                margin: 0;
                background-color: black;
                color: #A29A82;
                line-height: 1.5;
            }

html, body {margin: 0}

            * {
                box-sizing: border-box;
            }

            #container {
                max-width: 1070px;
                margin: 0 auto;
            }

            b {
            color: #5f6430;
            }

            em {
            color: #A29A82;
            }

            a {
                color: #5f6430;
                font-weight: normal;
                text-decoration:none;
            }

            h1 a, h2 a, h3 a, h4 a, h5 a {
                color: #A29A82;
                text-decoration:none;
            }

            a:hover {
                color: #81200F;
            }

            a:active {
               color: #81200F;

            }


            #header {
                width: 100%;
                background-repeat: no-repeat;
                background-size: auto 100%;
                background-position: center;
                background-color: black;
                height: 150px;
            }

            main {
                background-color: black;
                padding: 20px 20px 20px 80px;
                text-align: justify;
                  border-left:  34px solid transparent;
    border-image: url(https://file.garden/ak9rmSORDSvmfjFH/blacklacelarge.png) 34 round;
        overflow: auto;
        background-clip: padding-box;
            }

            h2 {
              font-family: 'pfeffer', serif;
              text-align: left;
            width: 100%;

            }
            h1 {
                  font-family: 'pfeffer', serif;
                  text-align: left;
                border-bottom: 26px solid transparent;
                border-image: url(https://file.garden/ak9rmSORDSvmfjFH/REDFLOWERS.png) 26 round;
                width: 100%;
            }
            
                   h3 {
                  font-family: 'pfeffer', serif;
                   }

            h4 {
                  font-family: 'pfeffer', serif;
                  text-align: left;
                font-size: 19px;
                margin: 0px;
                width: 100%;
            }

            footer {
                background-color: black;
                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: 1px black solid;
            }

            .galleryimage {
              float: left;
              width: 170px;
              height: 170px;
              background-repeat: no-repeat;
              background-size: auto 100%;
              background-position: center;
              margin: 10px;
              border: 20px solid transparent;
            border-image: url(https://file.garden/ak9rmSORDSvmfjFH/twisteborder.png) 24 round;
              background-clip: padding-box;
            }

            h1,
            h2,
            h3 {
                color: #A29A82;
            }

            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: #E7E9EB;
                border: 1px solid #000000;
                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: black;
     border: 20px solid transparent;
  border-image: url(https://file.garden/ak9rmSORDSvmfjFH/twisteborder.png) 24 round;
  background-clip: padding-box;
}

            ol {
                padding-left: 8%;
                list-style-type: circle;
                }

            li {
                padding-bottom: 3px;
                }

            .characterprofile {
              float: right;
              width: 340px;
              margin-left:auto;
              margin: 0px 0px 30px 30px;
              background-color: black;
            border: 20px solid transparent;
  border-image: url(https://file.garden/ak9rmSORDSvmfjFH/twisteborder.png) 24 round;
  background-clip: padding-box;
}

 table, tr, td {
      padding: 5px;
}

table {
 border: 20px solid transparent;
      border-image: url(https://file.garden/ak9rmSORDSvmfjFH/twisteborder.png) 24 round;
      background-clip: padding-box;
      max-width: 500px;
        margin: 0px auto;
            justify-content: center;
}

td {
  width: 450px;
}

 .notice {
              width: 500px;
              max-height: 150px;
              overflow-y: scroll;
            margin: 0px auto;
            justify-content: center;
            padding: 5px; 
            background-color: black;
            border: 20px solid transparent;
  border-image: url(https://file.garden/ak9rmSORDSvmfjFH/twisteborder.png) 24 round;
  background-clip: padding-box;
}

            /* Clear floats after the columns */
            .row:after {
              content: "";
              display: table;
              clear: both;
            }

            /* 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) {
              .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 0px 00px;
              }
  

.notice {
              width: auto;
              max-height: 150px;
              overflow-y: scroll;
            margin: 0px auto;
            justify-content: center;
            padding: 5px; 
            background-color: black;
            border: 20px solid transparent;
  border-image: url(https://file.garden/ak9rmSORDSvmfjFH/twisteborder.png) 24 round;
  background-clip: padding-box;
}
            }