/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: #8e6877;
  background-image: url('https://hogsnout.neocities.org/images/bubbles.gif');
  background-repeat: repeat-y;
	background-position: center;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
  margin: 0;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

hr {
  border: solid #c7b591;
  border-width: 2px 0 0 0;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.right {
  float: right;
  margin-left: 1em;
}
.left {
  float: left;
  margin-right: 1em;
}
.center {
  display: block;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .small {
    max-width: 60%;
    height: auto;
  }
}
.caption {
  margin-top: 0;
  font-size: 0.9em;
  font-style: italic;
}

a:hover { 
  background-color: #fff6e6;
}

h1, h2, h3, h4, h5 {
  font-family: Georgia, serif;
  color: #607c8c;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #f2eabc;
  color: #151515; 
  outline-color: #607c8c;
  outline-style: ridge;
  outline-width: 4px;
  outline-offset: 0;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: #ce898c;
  padding: 0 5%;
  border-color: #607c8c;
  border-style: ridge;
  border-width: 0 0 4px 0;
}
#header ul {
  list-style-type: none;
  padding: 0.5em 0;
  margin: 0;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 1.5em;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  color: white;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  text-decoration: underline;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
}

/* Flexbox for lists*/
.flex-container {
  display: flex;
  flex-wrap: wrap;
  list-style: none; /* Removes the default bullet points */
  padding: 0;      /* Removes default padding */
  margin: 0;       /* Removes default margin */
  justify-content: space-around; /* Distributes space evenly between and around items */
  gap: 1em;        /* Adds space between items, a modern alternative to margins */
}

/*character hub list items*/

.item {
  /* This example creates 3 items per row with 1em gap */
  flex: 0 0 calc(33.333% - 1em); 
  /* Ensures padding/border are included in the width calculation */
  box-sizing: border-box; 
}
/*PAGEDOLL STYLE*/
..capt {
    padding:10px 12px;
    border:1px solid #000;
    line-height:13px;
    border-radius:10px;
    position: relative;
    text-align: center;
    min-width:100px;
} .capt a {
    color:white!important;
    font-weight:bold!important;
} .capt p {
    margin:5px 0px;
} .capt p:last-child {
    margin-bottom: 0px;
} .capt p:first-child {
    margin-top:0px;
} .capt::after {
    content:"";
    display:block;
} .capt::before {
    content:'html by #202';
    font: bold 9px Calibri;
    color:black;
} .capt::after, .capt::before {
    position: absolute;
}

@media only screen and (min-width: 992px) {
    
    .float {
        position:fixed!important;
        z-index: -1;
    } .note-editor .float {
        display: none!important;
    } 
    
    .float.bl, .float.tl {
        left:10px;
    } .float.br,.float.tr {
        right:10px;
    } .float.bl, .float.br {
        bottom:10px;
    } .float.tl, .float.tr {
        top:10px;
    }
    
    .float.bl.ani, .float.br.ani {
        animation: floatb 5.5s infinite;
    } .float.tl.ani, .float.tr.ani {
        animation: floatt 5.5s infinite;
    }
    
    @keyframes floatb {
        0% {bottom:30px;}
        50% {bottom:10px;}
        100% {bottom:30px;}
    } @keyframes floatt {
        0% {top:10px;}
        50% {top:30px;}
        100% {top:10px;}
    }
    
    .capt {
        max-width:250px;
        display: inline-block;
        transition: 0.5s ease;
        opacity:0;
    } .float.br .capt, .float.tr .capt {
        float:left;
    } .float.bl .capt, .float.tl .capt {
        float:right;
    } 
    
    .float:hover .capt {
        opacity:1;
    } .float.br:hover .capt, .float.tr:hover .capt {
        margin-right:10px;
    } .float.bl:hover .capt, .float.tl:hover .capt {
        margin-left:10px;
    }
    
    .float.bl .capt::after, .float.tl .capt::after, .float.br .capt::after, .float.tr .capt::after {
        bottom:-11px;
        border-bottom:10px solid transparent;
    }
    
    .float.bl .capt::after, .float.tl .capt::after {
        border-left:10px solid #fff;
        border-left-color:inherit!important;
        left:10px;
    } .float.br .capt::after, .float.tr .capt::after {
        border-right:10px solid #fff;
        border-right-color:inherit!important;
        right:10px;
    } .float.bl .capt::before, .float.tl .capt::before {
        bottom:-12px;
        right:0px;
    } .float.br .capt::before, .float.tr .capt::before {
        bottom:-12px;
        left:0px;
    }
    
} @media only screen and (max-width: 991px) {
    
    .float {
        max-width:50%;
        margin-left:25%;
        margin-bottom:15px;
        text-align: center;
    } .capt {
        display:block;
        margin-top:10px;
        margin-bottom:10px;
    } .capt::after {
        border-top: 10px solid transparent;
        border-right: 10px solid #fff;
        border-right-color: inherit!important;
        top:-10px;
    } .capt::before {
        bottom: -13px;
        right:0px;
    }
    
}
    
