body {
                                
display: flex;
    flex-direction: column;
font-family: 'IBM Plex Sans',sans-serif;
                margin: 0;
                background-image: url(https://file.garden/Z-nQabBnkQVshXrU/omllj.png);repeat;
                color: #000000;
            }
            
            a {
                color: #79280a;
                font-weight: normal;
                text-decoration:none;
            }

            h1 a, h2 a, h3 a, h4 a, h5 a {
                color: #000000;
                text-decoration:none;
            }
            
            
            h2 {
            }

            a:hover {
                color: #ca4310;
            }

                                    /* Custom character colors, code stolen from project sekai wiki */

a[href="/johto/154"] {
    color: #636b43 !important;
    font-weight: bold
}

a[href="/johto/243"] {
    color: #c59350 !important;
    font-weight: bold
}

a[href="/johto/245"] {
    color: #388a73 !important;
    font-weight: bold
}

a[href="/johto/249"] {
    color: #e1e2f2 !important;
    font-weight: bold
}

a[href="/johto/250"] {
    color: #f95133 !important;
    font-weight: bold
}

a[href="/johto/251"] {
    color: #617f53 !important;
    font-weight: bold
}

a[href="/alola/802"] {
    color: #2b2f30 !important;
    font-weight: bold
}

a[href="/alola/807"] {
    color: #b39933 !important;
    font-weight: bold
}

/* ---- isotope ---- */

.element-item          { background: #81a596; }
.element-item.normal  { background: #aab09f; }
.element-item.fire      { background: #ea7a3c; }
.element-item.fighting        { background: #cb5f48; }
.element-item.water      { background: #539ae2; }
.element-item.flying { background: #7da6de; }
.element-item.grass       { background: #71c558; }
.element-item.poison        { background: #b468b7; }
.element-item.elec         { background: #e5c531; }
.element-item.ground  { background: #cc9f4f; }
.element-item.psychic      { background: #e5709b; }
.element-item.rock        { background: #b2a061; }
.element-item.ice      { background: #70cbd4; }
.element-item.bug { background: #94bc4a; }
.element-item.dragon       { background: #6a7baf; }
.element-item.ghost        { background: #846ab6; }
.element-item.dark         { background: #736c75; }
.element-item.steel         { background: #89a1b0; }
.element-item.fairy       { background: #e397d1; }

/* ---- isotope button ---- */

.button {
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: 10px;
  background: #EEE;
  border: none;
  border-radius: 7px;
  background-image: linear-gradient( to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2) );
  color: #222;
  font-family: sans-serif;
  font-size: 16px;
  text-shadow: 0 1px white;
  cursor: pointer;
}

.button:hover {
  background-color: #d4c4a3;
  text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
  color: #222;
}

.button:active,
.button.is-checked {
background-color: #84b474;
}

.button.is-checked {
  color: white;
  text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
  box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}









#header{
margin-bottom: 10px;
padding: 10px;
border-bottom: 1px solid #485e41;
background-image: linear-gradient(90deg,rgba(132, 180, 116, 1) 0%, rgba(212, 196, 163, 1) 100%);

color: #fff;
letter-spacing: 3px;
}
 
#header h1{
margin: 0px;
}


.column {
    justify-content: center;
}

             main {
                  flex: 1 0 auto;
                padding: 20px 20px 20px 20px;
                text-align: justify;
            }

.mainboxes{
background-color: #e0d5be;
border: 1px solid #485e41;
padding: 0px;
margin: 0px 0px 10px 0px;
}
 
.subheader{
background-image: linear-gradient(90deg,rgba(132, 180, 116, 1) 0%, rgba(212, 196, 163, 1) 100%);

border-bottom: 1px solid #485e41;
padding: 3px;
color: #fff;
letter-spacing: 3px;
}
 
.subheader h3{
margin: 0px;
}
 
.mainboxescontent{
padding: 0px 20px 0px 20px;
                text-align: justify;
background-color: #e0d5be;
border-color: #2b3827;
font-size: 17px;



  box-sizing: content-box;
  min-width: 200px;
  /* Total width: 160px + (2 * 20px) + (2 * 8px) = 216px
     Total height: 80px + (2 * 20px) + (2 * 8px) = 136px
     Content box width: 160px
     Content box height: 80px */
}
            h1, h2 {
                text-align: left;
                border-bottom: 1px black solid;
                width: 100%;
            }

            h4 {
                text-align: left;
                font-size: 19px;
                margin: 0px;
                width: 100%;
            }


            .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: 1px black solid;
            }

            h1,
            h2,
            h3 {
                color: #000000;
            }

            h1 {
                font-size: 40px;
            }

            h2 {
                font-size: 25px;
            }

            /* 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: #90bc82;
                border: 1px solid #000000;
            }

            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: #E7E9EB;
            }



            /* 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;
              }












