body {
  background-color: #000000;
  background-image: url('../images/bg_Paint.png');
  background-repeat: repeat;
	background-position: 100% 5px, 5px;
	background-attachment: fixed;
  font-size: 18px;
  font-family: Times New Roman, serif;
  margin: 0;
  cursor: url('../images/cursor.png'), auto;
}

a:link {
  color: #001aff; /* Color of unvisited links */
}

a:visited {
  color: #001aff; /* Color of visited links */
}

a {
  text-transform: lowercase;
  
}

h1, h2, h3, h4, h5 {
  color: #ffffff;
  font-family: "Times New Roman", serif;
  font-weight: normal;
  text-transform: lowercase;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}
#content li {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

a:hover, a:focus {
  color: #ff0000;
  background-color: #000000;
}

img {
  max-width: 100%;
  height: auto;
}
.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;
}

.ezgallery.horizontal { 
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: minmax(100px, auto);
}

.ezgallery.horizontal a {
  text-align: center;
}

.ezgallery.horizontal img {
  text-align: center;
  vertical-align: middle;
  margin: 0 5px 5px 0;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  object-position: bottom;
}

ul {
  list-style-type: none; /* Removes bullets */
}

/*The horizontal rule appears at the top of the footer to visually separate the footer
from the content. You can also use <hr> to divide sections in the content!*/
hr {
  border-width: 5px 0 0 0;
  border-style: dotted;
  border-color: #ffffff; 
}

/*#CONTAINER is the rectangle that has contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: #000000;
  color: #FFFFFF; 
  overflow: hidden;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  position: relative; /*doesn't change this element, but needed for the ring's positioning*/
  background-color: #000000;
  padding: 0 5%;
  border-color: #ffffff;
  border-style: solid;
  border-width: 0 0 3px 0;
  background-clip: padding-box;
  
}
#header ul {
  display: inline-block;
  list-style-type: none;
  padding: 0;
  margin-bottom: 1em;
  margin-top: 1em;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 0.5em;
  margin-bottom: 0.7em;
  margin-top: 0.7em;
}
#header li a {
  color: white;
  background-color: #000000;
  border-radius: 25px;
  border: 3px solid #ffffff;
  padding: 6px 20px;
  text-transform: lowercase;
  text-decoration: none;
}
#header li a:hover {
  color: #ffffff;
  background-image: url('../images/bg_Paint.png');
  text-decoration: none;
}
#header li a:active {
  background-image: url('../images/bg_Paint2.png');
  text-decoration: none;
}
/*Floating ring*/
#header:after {
    position: absolute;
    right: 5%;
    bottom: -15px;
    content: '';
    background-image: url('../images/scribble.png');
    border-radius: 50%;
    border: 3px solid #ffffff;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/*POST LIST STYLE*/
#postlistdiv ol {
  font-size: 1.2em;
  padding: 0;
  list-style-type: lower-roman;
  text-transform: lowercase;
}
#recentpostlistdiv ol {
  font-size: 1.2em;
  padding: 0;
  list-style-type: lower-roman;
  text-transform: lowercase;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
  list-style-type: lower-roman;
  text-transform: lowercase;
}

/*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%;
}