/* 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." */
@import url('https://fonts.cdnfonts.com/css/open-dyslexic');

body {
  background: url("./BGs/04f3m8.png") repeat; 
  font-size: 15px;
  font-family: Lucida Console, monospace;
  margin: 0;
  width: 100%;
}

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*/
}

em {
  color: #1f1f1f;
  background-color: #ffd8ed; 
}

.pro {
  font-style: normal;
  font-weight: bold;
  background-color: #97f59d;
  padding: 0 0.2em;
  color: #1f5823;
  margin-right: 0.2em;
}
.con {
  font-style: normal;
  font-weight: bold;
  background-color: #ffb8b8;
  padding: 0 0.2em;
  color: #843838;
  margin-right: 0.2em;
}

img {
  max-width: 100%;
  height: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.bordered {
  border: 1px solid #AAA;
}
.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 {
  color: #8e959c;
}

a:hover { 
  background-color: #fff;
}

h1, h2, h3, h4, h5 {
  font-family: 'Open-Dyslexic', sans-serif;
  background-color: #fff;
  line-height: 0.8;
}

.faq {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #5388ad;
}

.answer {
  margin-top: 0.5em;
  margin-left: 1em;
}

#content .contents li {
  margin-bottom: 0.8em;
  line-height: 1.3em;
}
#content .contents li a {
  text-decoration: none;
}

.contents {
  position:relative;
}

blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
  color: #555;
}

#content {
  margin: 10px 0 10px 0;
  padding: 10px 5% 20px 5%;
  background-color: #F1F1F1;
  border: 1px dashed;
}


/*HEADER STYLE*/
#header {
  position: relative;
  background-color: #F1F1F1;
  padding: 0 5%;
  border: 1px dashed;
}
#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;
  background-color: #fff;
  line-height: 0.8;
}
#header li a {
  color: black;
  font-family: Lucida Console, monospace;
  text-decoration: none;
  background-color: inherit;
}
#header li a:hover {
  letter-spacing: 5px;
}

/*Floating Logo*/
#header:after {
    position: absolute;
    right: 10px;
    top: -10px;
    content: '';
    background-image: url('https://64.media.tumblr.com/9ee3978521ff4b036b51de9d4de92716/7bea1762e12b7167-3a/s75x75_c1/69f07228236367ad5e8db61c386a116917429ec0.gifv');
    background-repeat: no-repeat;
    pointer-events: none;
    width: 48px;
    height: 48px;
    overflow:hidden;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  padding: 0;
  list-style-type: none;
}

#postlistdiv ul a{
    text-decoration: none;
    color: #8e959c;
}

#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;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  padding: 0 5% 10px 5%;
  background-color: #F1F1F1;
  border: 1px dashed;
}

#footer a {
  text-decoration: none;
   color: #8e959c;
}

/*THEME PICKER STYLE*/
#themepicker {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 15px 15px;
}

@media only screen and (min-width: 500px) {
  #themepicker {
    grid-template-columns: auto auto auto;
  }
}

.themegriditem {
  outline: 1px solid #AAA;
  box-shadow: 0 2px 4px 0 #555;
  display: block;
  margin: 0 auto;
}

.themegriditem img {
  margin: 0;
}

/*Responsive Youtube Embed*/
.video-container {
    overflow: hidden;
    position: relative;
    width:100%;
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
