
  
/* -------------------------------------------------------- */
/* 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: 2px dashed #bdc6ce;
  --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;
  
  /* Outlinks */
  --red-link-border: 1px dashed #9c7a8d;
  --green-link-border: 1px dashed #8d9c7a;
  --blue-link-border: 1px dashed #7a8d9c;
  --purple-link-border: 1px dashed #897a9c;
  --brown-link-border: 1px dashed #7d6e62;
}

/* -------------------------------------------------------- */
/* 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: "Madam";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");}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background);
  background-image: url("../img/asset/purble.png");
  text-align: justify;
  
}

::selection {
  /* (Text highlighted by the user) */
  background: #bdc6ce;
}

mark {
  /* Text highlighted by using the <mark> element */
  background: var(--mark-background);
  color: var(--mark-color);
}

/* Links: */
a {
  text-decoration: none;
}

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;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 900px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header" auto "main rightSidebar" auto "footer footer" auto / auto var(--sidebar-width);
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background);
  border: var(--border);
  border-radius: var(--round-borders);
}

/* -------------------------------------------------------- */
/* 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;
}

#border {
  background: linear-gradient(to right, #9c7a8d, #8d9c7a, #7a8d9c, #897a9c, #9c897a);
  height: 3px;
  border: 0;
}

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;
  text-decoration: none;
  text-decoration: none;
  border: 1px solid var(--purple-background);
  padding: 5px;
  display: block;
}

a.one:hover {
  border-bottom: var(--purple-link-border);
}

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;
  text-decoration: none;
  text-decoration: none;
  border: 1px solid var(--green-background);
  padding: 5px;
  display: block;
}

a.two:hover {
  border-bottom: var(--green-link-border);
}

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;
  text-decoration: none;
  text-decoration: none;
  border: 1px solid var(--red-background);
  padding: 5px;
  display: block;
}

a.three:hover {
  border-bottom: var(--red-link-border);
}

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;
  text-decoration: none;
  text-decoration: none;
  border: 1px solid var(--blue-background);
  padding: 5px;
  display: block;
}

a.four:hover {
  border-bottom: var(--blue-link-border);
}

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;
  text-decoration: none;
  text-decoration: none;
  border: 1px solid var(--brown-background);
  padding: 5px;
  display: block;
}

a.five:hover {
  border-bottom: var(--brown-link-border);
}

nav 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;
}

nav a.one:hover {
  border-bottom: var(--purple-link-border);
}

nav 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;
}

nav a.two:hover {
  border-bottom: var(--green-link-border);
}

nav 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;
}

nav a.three:hover {
  border-bottom: var(--red-link-border);
}

nav 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;
}

nav a.four:hover {
  border-bottom: var(--blue-link-border);
}

nav 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;
}

nav a.five:hover {
  border-bottom: var(--brown-link-border);
}

i {
  font-family: var(--i-font);
}

b {
  font-family: var(--b-font);
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  grid-area: header;
  font-size: 1.2em;
  border: ;
  border-radius: ;
  background: transparent;
  margin-bottom: -20px;
}


.header-content {
  padding: var(--padding);
}

.header-title {
  font-family: var(--heading-font);
  font-size: 40px;
  line-height: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}

.header-image img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background: var(--sidebar-background);
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.5em;
  line-height: 1em;
  font-family: var(--h1);
  text-transform: uppercase;
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: var(--blockquote-background);
  color: var(--blockquote-color);
  padding: 15px;
  margin: 1em 0;
  border-left: var(--blockquote-border);
  border-bottom: var(--blockquote-border);
  border-radius: 5px;
  overflow: hidden;
}

.sidebar-section blockquote a {
  color: var(--blockquote-link-color);
}

.sidebar-section blockquote a:hover {
  color: var(--blockquote-link-color-hover);
}


.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}


/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 0.75em;
  padding: 15px;
  background: var(--content-background);
  display: flex;
  justify-content: center;
}

footer a,
footer a:visited {
  color: var(--link-color);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin-bottom: 0;
}

nav > ul li > a,
nav > ul li > strong {
  background: var(--nav-background);
  font-family: var(--nav-font);
  font-size: var(--nav-size);
  line-height: var(--nav-size);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  box-shadow: 1px 1px 2px #c4bdce;
  padding: 5px;
  margin-right: 10px;
  border: var(--nav-border);
  border-radius: 5px;
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {

}

nav > ul li > a:hover {
  text-decoration: none;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
}

/* NAVIGATION IN HEADER */

header nav {
  margin-bottom: 0;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

header nav ul li {
  position: relative;
}

header nav ul li:first-child > a {
  padding-left: ;
}

header nav ul li:last-child > a {
  padding-right: ;
}

/* Subnavigation (Drop-Down): */

header nav ul ul {
  background: var(--content-background);
  display: none;
  position: absolute;
  top: 100%;
  left: 10px;
  padding: 0.5em;
  z-index: 1;
  border: var(--border);
  min-width: 100%;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
}

header nav ul li:hover ul,
header nav ul li:focus-within ul {
  display: block;
}

header nav ul li strong {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: normal;
}

header nav ul ul li a {
  display: block;
  padding-left: 0;
  padding-right: 0;
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}

main blockquote {
  background: var(--blockquote-background);
  color: var(--blockquote-color);
  padding: 15px;
  margin: 1em 0;
  border-left: var(--blockquote-border);
  border-bottom: var(--blockquote-border);
  border-radius: 5px;
}

main blockquote a {
  color: var(--blockquote-link-color);
}

main blockquote a:hover {
  color: var(--blockquote-link-color-hover);
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--hr);
  margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: ;
  margin-bottom: 0;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main 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;
  line-height: 1em;
}

h3 {
  font-family: var(--h3);
  font-size: 1.3em;
  line-height: 1em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* COLUMNS: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background: var(--content-background);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto  "leftSidebar" auto "main" auto "rightSidebar" auto "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  
  

  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
  }

  
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}
