/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #ee71ee;
  --content-background-color: #ffffff;
  --sidebar-background-color: #ffffff;

  /* Text Colors: */
  --text-color: #000000;
  --sidebar-text-color: #000000;
  --link-color: #f511e5;
  --link-color-hover: #7780ec;

  /* Text: */
  --font: Verdana, sans-serif;
  --heading-font: Verdana, sans-serif;
  --font-size: 14px;

  /* Other Settings: */
  --margin: 10px;
  --padding: 20px;
  --border: 1px groove #000000;
  --round-borders: 0px;
  --left-sidebar-width: 173px;
  --right-sidebar-width: 125px;
}

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

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: center;
  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-color);
  background-image: url("/rainbow background.png");
  
}

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

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

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

a,
a:visited {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

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

.bloglayout {
  
  width: 1000px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header header" auto "leftSidebar main rightSidebar" auto "footer footer footer" auto / var(--left-sidebar-width) auto var(--left-sidebar-width);
 
}

.ficlayout {
  width: 1000px;
  height:1156px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header header header" auto "leftSidebar main rightSidebar" auto "footer footer footer" auto / var(--left-sidebar-width) auto var(--right-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-color);
  border: var(--border);
  border-radius: var(--round-borders);
}

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

header {
  grid-area: header;
  font-size: 1.2em;
  /*border: var(--border);*/
  /*border-radius: var(--round-borders);*/
  /*background: var(--content-background-color);*/
}

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

.header-title {
  font-family: var(--heading-font);
  font-size: 1.5em;
  font-weight: bold;
}

.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-color);
  padding: 10px;
  color: var(--sidebar-text-color);
}

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

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


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

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: 'Comic Sans MS';
  background-color: #fc03d7;
  padding: 1.8px;
  margin-top:2px;
  text-align: center;
}

.sidebar-section:not(:last-child) {
  margin-bottom: 7px;
}

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

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

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section a {
  text-decoration: none;
}


.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: 10px;
  background: var(--content-background-color);
  display: flex;
  justify-content: center;
}

footer a,
footer a:visited {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}

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

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

nav {
  margin-bottom: 5px;
}

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

nav ul {
  margin: 0 -10px;
  padding: 0;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: 0;
}

nav > ul li > a,
nav > ul li > strong {
  display: inline-block;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
}

nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

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



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

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
  font-weight: bold;
  text-decoration: none;
  
}

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: #e4ecf2;
  padding: 15px;
  margin: 0.5em 0em;
  
  width: 289px;
  height: 325px;
  overflow-y: auto;
  scrollbar-color: #007ddb #69beff;
  scrollbar-width: thin;
  
}

main blockquote a:link {
  color: #05bbfc;
}
main blockquote a:visited,
main blockquote a:hover,
mmain blockquote a:active {
  color: #05bbfc;
}

/* fic dividers */

.aablockquote {
  background: #eddcd1;
  padding: 15px;
  margin: 0.5em 0em;
  
  width: 289px;
  height: 325px;
  overflow-y: auto;
  scrollbar-color: #593925 #9e7359;
  scrollbar-width: thin;
  
}

.aablockquote a:link {
  color: #c74c02;
}
.aablockquote a:visited,
.aablockquote a:hover,
.aablockquote a:active {
  color: #c74c02;
}

.mcublockquote {
  background: #f1d2fa;
  padding: 15px;
  margin: 0.5em 0em;
  
  width: 289px;
  height: 325px;
  overflow-y: auto;
  scrollbar-color: #42277d #8d79ba;
  scrollbar-width: thin;
  
}

.mcublockquote a:link {
  color: #3a53c2;
}
.mcublockquote a:visited,
.mcublockquote a:hover,
.mcublockquote a:active {
  color: #3a53c2;
}

.harublockquote {
  background: #e6e6e6;
  padding: 15px;
  margin: 0.5em 0em;
  
  width: 289px;
  height: 325px;
  overflow-y: auto;
  scrollbar-color: #b02525 #bfbdbd;
  scrollbar-width: thin;
  
}

.harublockquote a:link {
  color: red;
}
.harublockquote a:visited,
.harublockquote a:hover,
.harublockquote a:active {
  color: red;
}

.miscblockquote {
  background: #e6e6e6;
  padding: 15px;
  margin: 0.5em 0em;
  
  width: 289px;
  height: 325px;
  overflow-y: auto;
  scrollbar-color: #f511e5 #fcdcf9;
  scrollbar-width: thin;
  
}

.miscblockquote a:link {
  color: #f511e5;
}
.miscblockquote a:visited,
.miscblockquote a:hover,
.miscblockquote a:active {
  color: #f511e5;
}

.bounce-text {
 
  /*position: absolute;
  /*transform: translate(-50%, 50%);
 /* left: 50%;
  /*top: 50%;
  /*line-height: 0;*/
  display: inline;
  /*gap: 5px;
  font-size: 3rem;*/
  font-weight: bold;
  /*justify-content: center;*/
}

.bounce-text span {
  display: inline-block;
  animation: bounce 0.6s infinite ease-in-out;
}
.bounce-text span:nth-child(1) {
  animation-delay: 0s;
}
.bounce-text span:nth-child(2) {
  animation-delay: 0.1s;
}
.bounce-text span:nth-child(3) {
  animation-delay: 0.2s;
}
.bounce-text span:nth-child(4) {
  animation-delay: 0.3s;
}
.bounce-text span:nth-child(5) {
  animation-delay: 0.4s;
}
.bounce-text span:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}


.shake-text  {
  font-style:italic;
  display:inline;
}

.shake-text span {
  display: inline-block;
  animation: shake 0.3s infinite;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(1px); }
  50% { transform: translateX(-1px); }
  75% { transform: translateX(1px); }
  100% { transform: translateX(0); }
}

.rainbow-text {
  background-image: repeating-linear-gradient(45deg, pink, darkviolet, aqua, lime, gold, DarkOrange, red);
  font-weight:bold;
  display:inline;
  background-size: 800% 800%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 8s ease infinite;
}


@keyframes rainbow { 
    0%{background-position:0% 50%;}
    50%{background-position:100% 25%;}
    100%{background-position:0% 50%;}
}





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(--border);
  margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: -18px;
  /*line-height: 0em;*/
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child
main h7:first-child {
  margin-top: 5px;
}

/*blog date heading */
main h1 {
  background-color: #fab9eb;
  font-size: 12px;
  margin-bottom:5px;
  padding-left:5px;
}

/* heading of oc pages */

main h2 {
  font-size: 24px;
  font-weight: bold;
  
  text-align:center;
}

/* series of oc pages */

main h3 {
  font-size: 12px;
  font-weight: normal;
  text-align:center;
}

/* quote of oc pages */

main h4 {
  font-size: 10px;
  font-style: italic;
  font-weight: normal;
  margin-top:20px;
  text-align:center;
}

/* info of oc pages ig kill me */
main h5 {
  font-size: 14px;
  font-weight: normal;
}

/*title of fanfics */
main h6 {
  font-size: 20px;
  margin-top:-5px;
  text-align:center;
margin-bottom:-13px;
   
}

main h7 {
  font-style: italic;
   
}

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

.oc-columns {
  display: flex;
}

.oc-columns > * {
  flex: 1 1 0;
 width:140px;
  margin-left: -5px;
  text-align:left;

}

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

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

.table {
  table-layout: fixed;
  width: 100%;
  border: none;
}


th,
td {
  
  padding-right:20px;
  padding-left:7px;
  padding-top:5px;
  padding-bottom:5px;
  
  margin-left:0px;

}

.chartable {
  table-layout: fixed;
  width: 100%;
  border: none;
}


.chartable th,
.chartable td {
  
 

}



/* -------------------------------------------------------- */
/* 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-color: var(--content-background-color);
  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 "footer" auto / 1fr;
    /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
  }

  
  .right-sidebar { 
    display: none;
  }

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