@import url(https://fonts.bunny.net/css?family=nunito:300);

/* 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 */ 


body {
                font-family: 'Nunito',sans-serif;
                margin: 0;
                background-color: #EFFBEF;
                color: #000000;
                text-shadow:0px 0px 1px;
            }

html, body {margin: 0}




            * {
                box-sizing: border-box;
            }

            #container {
                max-width: 1070px;
                margin: 0 auto;
            }

            a {
                color: #008B4F;
                font-weight: normal;
                text-decoration:none;
                text-shadow:0px 0px 1px;
            }

            h1 a, h2 a, h3 a, h4 a, h5 a {
                color: #3F7445;
                text-decoration:none;
                text-shadow:0px 0px 1px;
            }

            a:hover {
                color: #666;
                text-shadow:0px 0px 1px;
            }


            #header {
                width: 100%;
                background-repeat: no-repeat;
                background-size: 1800px;
                background-position: center;
                background-color: #D4F1D7;
                height: 250px;
                mask-image: linear-gradient(to bottom, rgba(0,0,0,5.5), rgba(0,0,0,0));
   -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,5.5)), to(rgba(0,0,0,0.0)));
            }

            main {
                background-color: #EFFBEF;
                padding: 20px 20px 20px 80px;
                text-align: justify;
            }

            h1, h2 {
                text-align: left;
                border-bottom: 1px #3F7445 solid;
                width: 100%;
            }

            h4 {
                text-align: left;
                font-size: 19px;
                margin: 0px;
                width: 100%;
            }

            footer {
                background-color: #D4F1D7;
                width: 100%;
                height: 40px;
                padding: 10px;
                text-align: center;
            }
            
            #pagedoll {
            position: fixed;
            bottom: 10px;
            right:10px;
            }

            .two-columns {
            display: flex;
            }

            .two-columns > * {
            flex: 1 1 0;
            margin: 0;
            }

            .two-columns > *:first-child {
            padding-right: 0.75em;
            }

            .two-columns > *:last-child {
            padding-left: 0.75em;
            }


            .imagehere {
                height: 80px;
                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 solid #3F7445;
            }

            .galleryimage {
              float: left;
              width: 170px;
              height: 170px;
              background-repeat: no-repeat;
              background-size: auto 100%;
              background-position: center;
              margin: 10px;
              border: 1px solid #3F7445;
            }
            
            .images-row {
            display: flex;
            width: calc(100% + 5px + 5px);
            margin-left: -5px;
            margin-right: -5px;
            }

           .images-row img {
           width: 250px;
           height: auto;
           padding: 5px;
           margin: 0;
           overflow: hidden;
           }


            h1,
            h2,
            h3 {
                color: #3F7445;
                text-shadow:0px 0px 1px;
            }

            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: #D4F1D7;
                border: 1px solid #3F7445;
                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: #D4F1D7;
                border: 1px solid #3F7445;
            }

            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: #D4F1D7;
            }

            /* Clear floats after the columns */
            .row:after {
              content: "";
              display: table;
              clear: both;
            }


            table {
              border-collapse: collapse;
              width: 300px;
              background-color: #D4F1D7;
              border-top: 1px solid #3F7445;
              border-bottom: 1px solid #3F7445;
            }

            tbody {
              margin: 3px 10px;
            }

            td, th {
              text-align: left;
              padding: 3px 10px;
              border-right: 1px solid #3F7445;
              border-left: 1px solid #3F7445;
            }

            td:nth-child(odd) {
              font-weight: 600;
                text-align: right;
            }

            tr:nth-child(odd) {
              background-color: #EFFBEF;
            }


            /* 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;
              }

            }
            