/* 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." */

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colours */
  --background: #c4bdce;
  --nav-background: #ffffff;
  --content-background: #ffffff;
  --sidebar-background: #ffffff;
  --blockquote-background: #f3f2f5;
  --mark-background: #c6cebd;
  
  /* Text Colours */
  --text-color: #453d4e;
  --sidebar-text-color: #453d4e;
  --blockquote-color: #6e627d;
  --mark-color: #474e3d;
  --link-color: #897a9c;
  --link-color-hover: #8d9c7a;
  
  /* Text */
  --font: 'Latin', Arial, serif;
  --heading-font: 'Kingthings', Georgia, serif;
  --nav-font: 'Start';
  --code-font: 'Latin Small Caps';
  --h1: 'Dalek';
  --h2: 'Papernotes';
  --h3: 'Madem';
  --h4: 'Macondo';
  --i-font: 'Latin Italic';
  --b-font: 'Latin Bold';
  
  /* Text Size */
  --font-size: 14px;
  --heading-size: 40px;
  --nav-size: 8px;
  --h1-size:;
  --h2-size:;
  --h3-size:;
  --h4-size:;
  
  /* Borders */
  --border: 1px solid #c4bdce;
  --nav-border: 1px dotted #6e627d;
  --blockquote-border: 1px dashed #c4bdce;
  --hr: 1px dashed #c4bdce;
  --round-borders: 5px;
  
  /* Other Settings */
  --margin: 10px;
  --pad: 15px;
  --padding: 20px;
  --sidebar-width: 250px;
  
  /* Quote */
  --quote-background: #f5f2f4;
  --quote-color: #7d6271;
  --quote-border: 1px dashed #cebdc6;
  --quote-font: 'EB Italic';
  --quote-size: 20px;
  --quo-color: #7d6271;
  --quo-font: 'Start';
  --quo-size: 6px;
  
  /* Red */
  --red-background: #f5f2f4;
  --red-color: #7d6271;
  --red-link: #9c7a8d;
  --red-link-hover: #7a8d9c;
  --red-wavy: #7a8d9c;
  --red-wavy-hover: #9c7a8d;
  --red-border: 1px solid #cebdc6;
  
  /* Green */
  --green-background: #f4f5f2;
  --green-color: #717d62;
  --green-link: #8d9c7a;
  --green-link-hover: #897a9c;
  --green-wavy: #897a9c;
  --green-wavy-hover: #8d9c7a;
  --green-border: 1px solid #c6cebd;
  
  /* Blue */
  --blue-background: #f2f4f5;
  --blue-color: #62717d;
  --blue-link: #7a8d9c;
  --blue-link-hover: #9c7a8d;
  --blue-wavy: #9c7a8d;
  --blue-wavy-hover: #7a8d9c;
  --blue-border: 1px solid #bdc6ce;
  
  /* Purple */
  --purple-background: #f3f2f5;
  --purple-color: #6e627d;
  --purple-link: #897a9c;
  --purple-link-hover: #8d9c7a;
  --purple-wavy: #8d9c7a;
  --purple-wavy-hover: #897a9c;
  --purple-border: 1px solid #c4bdce;
  
  /* Brown */
  --brown-background: #f5f3f2;
  --brown-color: #7d6e62;
  --brown-link: #9c897a;
  --brown-link-hover: #7a8d9c;
  --brown-wavy: #7a8d9c;
  --brown-wavy-hover: #9c897a;
  --brown-border: 1px solid #cec4bd;
  
  /* Wavy Links */
  --wavy: #8d9c7a;
  --wavy-hover: #897a9c;
}
  
/* -------------------------------------------------------- */
/* FONTS */
/* -------------------------------------------------------- */

@font-face {font-family: "Bener";src: url("../../font/Bener.ttf");}
@font-face {font-family: "Butterpop";src: url("../../font/Butterpop.otf");}
@font-face {font-family: "Dalek";src: url("../../font/Dalek.ttf");}
@font-face {font-family: "EB Garamond";src: url("../../font/EBGaramond.ttf");}
@font-face {font-family: "EB Italic";src: url("../../font/EBItalic.ttf");}
@font-face {font-family: "Hebrew";src: url("../../font/FRLibre.ttf");}
@font-face {font-family: "Iosevka";src: url("../../font/Iosevka.ttf");}
@font-face {font-family: "Kingthings";src: url("../../font/Kingthings.ttf");}
@font-face {font-family: "Latin";src: url("../../font/LatinModern.otf");}
@font-face {font-family: "Latin Bold";src: url("../../font/LatinModernBold.otf");}
@font-face {font-family: "Latin Italic";src: url("../../font/LatinModernItalic.otf");}
@font-face {font-family: "Latin Small Caps";src: url("../../font/LatinModernMono.otf");}
@font-face {font-family: "Linear B";src: url("../../font/Linear B.ttf");}
@font-face {font-family: "Macondo";src: url("../../font/Macondo.ttf");}
@font-face {font-family: "Madem";src: url("../../font/Mademoiselle.otf");}
@font-face {font-family: "Papernotes";src: url("../../font/Papernotes.ttf");}
@font-face {font-family: "Start";src: url("../../font/PressStart2P.ttf");}

body {
  background-color: #436a7b;
  background-image: url('../../img/asset/purble.png');
	background-position: top;
  font-size: 14px;
  font-family: 'Latin', Georgia, "Times New Roman", serif;
  margin: 0;
  text-align: justify;
}

p {
  line-height: 1.6em; /*I find the default HTML line-height tends to be a bit claustrophobic for main text*/
}

a,
a:visited {
  color: var(--link-color);
  text-decoration: underline wavy var(--wavy);
  text-decoration-thickness: 1px;
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: underline wavy var(--wavy-hover);
  text-decoration-thickness: 1px;
}

hr {
  border: 0;
  border-top: var(--hr);
  margin: 1.5em 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;
}

/* HEADINGS: */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

h1 {
  font-family: var(--h1);
  font-size: 1.5em;
  line-height: 1em;
  text-transform: uppercase;
}

h2 {
  font-family: var(--h2);
  font-size: 1.4em;
  color: var(--h2-color);
  line-height: 1em;
}

h3 {
  font-family: var(--h3);
  font-size: 1.3em;
  line-height: 1em;
}

h4 {
  font-family: var(--h4);
  font-size: 1.4em;
  line-height: 1em;
}

h5 {
  font-family: var(--font);
  font-size: 1.4em;
}

h6 {
  font-size: 1em;
}

/*#CONTAINER is the rectangle that contains everything but the background!*/
#container {
  margin: 3em auto;
  width: 90%;
	max-width: 700px;
	background-color: var(--content-background);
  color: var(--text-color); 
  outline-color: #c4bdce;
  outline-style: solid;
  outline-width: 1px;
  outline-offset: 0;
  border-radius: 5px;
}

#content {
  padding: 10px 5% 20px 5%;
}


/*HEADER STYLE*/
#header {
  background-color: var(--content-background);
  padding: 0 5%;
  border-color: #c4bdce;
  border-style: solid;
  border-width: 0 0 1px 0;
}
#header ul {
  list-style-type: none;
  margin: 0;
  display: flex;
  justify-content: right;
}
#header li {
  font-size: 1.2em;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: 0.2em;
  margin-top: 0.2em;
}
#header li a {
  text-decoration: none;
}

#header li a:hover {

}

/*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%;
}

/* -------------------------------------------------------- */
/* FIG'S LABYRINTH */
/* -------------------------------------------------------- */

#quote {
  background: var(--quote-background);
  font-family: var(--quote-font);
  font-size: var(--quote-size);
  line-height: var(--quote-size);
  color: var(--quote-color);
  letter-spacing: 1px;
  text-align: center;
  border: var(--quote-border);
  border-radius: var(--round-borders);
  padding: var(--pad);
}

#quo {
  font-family: var(--quo-font);
  font-size: var(--quo-size);
  line-height: var(--quo-size);
  color: var(--quo-color);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: right;
  margin-top: 4px;
} 

#red {
  background: var(--red-background);
  color: var(--red-color);
  border: var(--red-border);
  border-radius: var(--round-borders);
  padding: var(--pad);
}

#red a {
  color: var(--red-link);
  text-decoration: underline wavy var(--red-wavy);
  text-decoration-thickness: 1px;
}

#red a:hover {
  color: var(--red-link-hover);
  text-decoration: underline wavy var(--red-wavy-hover);
  text-decoration-thickness: 1px;
}

#green {
  background: var(--green-background);
  color: var(--green-color);
  border: var(--green-border);
  border-radius: var(--round-borders);
  padding: var(--pad);
}

#green a {
  color: var(--green-link);
  text-decoration: underline wavy var(--green-wavy);
  text-decoration-thickness: 1px;
}

#green a:hover {
  color: var(--green-link-hover);
  text-decoration: underline wavy var(--green-wavy-hover);
  text-decoration-thickness: 1px;
}

#blue {
  background: var(--blue-background);
  color: var(--blue-color);
  border: var(--blue-border);
  border-radius: var(--round-borders);
  padding: var(--pad);
}

#blue a {
  color: var(--blue-link);
  text-decoration: underline wavy var(--blue-wavy);
  text-decoration-thickness: 1px;
}

#blue a:hover {
  color: var(--blue-link-hover);
  text-decoration: underline wavy var(--blue-wavy-hover);
  text-decoration-thickness: 1px;
}

#purple {
  background: var(--purple-background);
  color: var(--purple-color);
  border: var(--purple-border);
  border-radius: var(--round-borders);
  padding: var(--pad);
}

#purple a {
  color: var(--purple-link);
  text-decoration: underline wavy var(--purple-wavy);
  text-decoration-thickness: 1px;
}

#purple a:hover {
  color: var(--purple-link-hover);
  text-decoration: underline wavy var(--purple-wavy-hover);
  text-decoration-thickness: 1px;
}

#brown {
  background: var(--brown-background);
  color: var(--brown-color);
  border: var(--brown-border);
  border-radius: var(--round-borders);
  padding: var(--pad);
}

#brown a {
  color: var(--brown-link);
  text-decoration: underline wavy var(--brown-wavy);
  text-decoration-thickness: 1px;
}

#brown a:hover {
  color: var(--brown-link-hover);
  text-decoration: underline wavy var(--brown-wavy-hover);
  text-decoration-thickness: 1px;
}

#border {
  background: linear-gradient(to right, #453d4e, #897a9c, #c4bdce, #f3f2f5, #c4bdce, #897a9c, #453d4e);
  height: 1px;
  border: 0;
}

#header li a.one {
  background: var(--purple-background);
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  line-height: var(--nav-size);
  color: var(--purple-link);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--purple-background);
  padding: 5px;
}

#header li a.one:hover {
  border-bottom: var(--purple-link-border);
}

#header li a.two {
  background: var(--green-background);
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  line-height: var(--nav-size);
  color: var(--green-link);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--green-background);
  padding: 5px;
}

#header li a.two:hover {
  border-bottom: var(--green-link-border);
}

#header li a.three {
  background: var(--red-background);
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  line-height: var(--nav-size);
  color: var(--red-link);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--red-background);
  padding: 5px;
}

#header li a.three:hover {
  border-bottom: var(--red-link-border);
}

#header li a.four {
  background: var(--blue-background);
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  line-height: var(--nav-size);
  color: var(--blue-link);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--blue-background);
  padding: 5px;
}

#header li a.four:hover {
  border-bottom: var(--blue-link-border);
}

#header li a.five {
  background: var(--brown-background);
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  line-height: var(--nav-size);
  color: var(--brown-link);
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--brown-background);
  padding: 5px;
}

#header li a.five:hover {
  border-bottom: var(--brown-link-border);
}

i {
  font-family: var(--i-font);
}

b {
  font-family: var(--b-font);
}

code {
  font-family: var(--code-font);
}

mark {
  /* Text highlighted by using the <mark> element */
  background: var(--mark-background);
  color: var(--mark-color);
}