
@font-face {
  font-family: 'Open Sans';
  src: url('https://jesster.neocities.org/fonts/OpenSans-Regular.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('https://jesster.neocities.org/fonts/OpenSans-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: 'Open Sans';
  src: url('https://jesster.neocities.org/fonts/OpenSans-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}


  
/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #ece0e1;
  --content-background-color: #fffcf8;
  --sidebar-background-color: #fffcf8;

  /* Text Colors: */
  --text-color: #000000;
  --sidebar-text-color: #000000;
/*  --link-color: #ec5967f4; */
  --link-color: #b98bb8;
  --link-color-hover: #2d9ed0;

  /* Text: */
  --font: Open Sans, sans-serif;
  --heading-font: Helvetica, sans-serif;
  --font-size: 14px;

  /* Other Settings: */
  --margin: 9px;
  --padding: 20px;
  --border: 2px solid #c7a272;
  --round-borders: px;
  --sidebar-width: 225px;
}



/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

html {
    height: 100%;
    overflow-y: auto;
    scrollbar-color: #c7a272 #ffffff00;
  }

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  height: 100%;
  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("https://jesster.neocities.org/images/background/stylishart-seamless-pattern-9947388_1920.png");
  overflow-y: auto;
  
}

::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

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);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 88vw;
  max-width: 1300px;
  overflow-y: auto;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header" auto "main" auto "footer" auto / auto;
  /* Confused by the grid? Check out my tutorial: https://petrapixel.neocities.org/coding/positioning-tutorial#grid */
}

main {
  grid-area: main;
  overflow-y: auto;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 20px;
  padding-right: 20px;
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
  outline: 2px solid #825441;
}




/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  grid-area: header;
  font-size: 1.2em;
  border: var(--border);
  border-radius: var(--round-borders);
  outline: 2px solid #825441;
  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: 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.2em;
  font-family: var(--heading-font);
  width: 100%;
  margin-bottom: 8px;
}

.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: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

.sidebar-section.friends {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
}

.sidebar-section.friends > a,
.sidebar-section.friends > img {
  flex: 0 0 calc(50% - 4px);
  max-width: calc(50% - 4px);
  margin-top: 0;
  display: block;
}

.sidebar-section.friends > a img {
  width: 100%;
  height: auto;
  display: block;
}


.sidebar-section.flair {
  margin: auto;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.sidebar-section.flair > a,
.sidebar-section.flair > img {
  align-items: center;
  margin: auto;
  height: auto;
  display: block;
}

.sidebar-section.flair > a img {
  align-items: center;
  margin: auto;
  height: auto;
  display: block;
}

.sidebar-section.flair a img {
  align-items: center;
  margin: auto;
  height: auto;
  display: block;
}

.sidebar-section.flair img:hover,
.sidebar-section.friends img:hover {
  transform: scale(1.1);
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}



/* -------------------------------------------------------- */
/* 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;
}

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;
}

/* 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: 0;
}

header nav ul li:last-child > a {
  padding-right: 0;
}

/* Subnavigation (Drop-Down): */

header nav ul ul {
  background: var(--content-background-color);
  display: none;
  position: absolute;
  top: 100%;
  left: 10px;
  padding: 0.5em;
  z-index: 1;
  border: var(--border);
  outline: 2px solid #825441;
  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: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

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: 0;
  line-height: 1.2;
}

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;
}

main h1 {
  font-size: 1.5em;
}

main h2 {
  font-size: 1.4em;
}

main h3 {
  font-size: 1em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 0.7em;
  color: #a8a8a8;
  font-style: italic;
  text-align: right;
}



/* COLUMNS: */

.two-columns {
  display: flex;
  font-size: 1.1em;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
  min-width: 50%;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

.three-columns {
  display: flex;
}

.three-columns > * {
  flex: 1 1 1 0;
  margin: 0;
  min-width: 32%;
}

.three-columns > *:first-child {
  padding-right: 0.5em;
}

.three-columns >*:second-child {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.three-columns > *:last-child {
  padding-left: 0.5em;
}


.topbar {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  width: 100%;
  box-sizing: border-box;
}

.bottombar {
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 0;
  width: 100%;
  box-sizing: border-box;
}

.bottombar button, .topbar button {
  background-color: #fff5e8;
  border: var(--border);
  outline: 2px solid #825441;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 5px 5px #9fbee159;
  min-width: 110px;
  margin: 0;
  justify-content: center;
  flex: 1 1 0px;
  box-sizing: border-box;
  height: 50px;
}

.topbar a, .bottombar a, topbar a:visited, .bottombar a:visited {
  color: #b98bb8
}

.topbar button:hover a, .bottombar button:hover a, .topbar button:hover:visited a, .bottombar button:hover:visited a {
  color: #2d9ed0;
}

.topbar button:hover {
  transform: translateY(-4px);
}

.bottombar button:hover {
  transform: translateY(3px);
}

.mainprofile {
  width: 100%;
  background-color: #fff5e8;
  padding: 12px;
  margin: auto;
  box-sizing: border-box;
  border: 2px solid #c7a272;
  box-shadow: 5px 5px #9fbee159;
  outline: 2px solid #825441;
  display: flex;
  position: relative;
  font-size: 1.1em;
}

.profilecontent {
  overflow-y: auto;
  scrollbar-color: #b98bb8 #ffffff00;
  width: calc(70% - 30px);
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: calc(30% + 16px);
  padding-left: 16px;
  padding-right: 16px;
  background: white;
  border: 3px dashed #b98bb8;
  box-shadow: 4px 4px #9fbee159;
}

.profilecolumn {
  max-width: 30%;
  margin: 2px;
  text-align: center;
}

.profilecolumn a, .profilecolumn a:visited {
  color: #7bb6e3;
}

.profilecolumn img {
  display: block;
  margin: auto;
  max-width: 100%;
  border: 3px dashed #b98bb8;
  box-shadow: 4px 4px #9fbee159;
}

@keyframes blinking {
  0% {border: 3px dashed #7bb6e3;} 
  50% {border: 3px dashed #b98bb8;}
  100% {border: 3px dashed #7bb6e3;} 
}

@keyframes blinking2 {
  0% {transform: translateY(-3px); border: 3px dashed #7bb6e3;} 
  50% {transform: translateY(-3px); border: 3px dashed #b98bb8;}
  100% {transform: translateY(-3px); border: 3px dashed #7bb6e3;} 
}

@keyframes blinking3 {
  0% {color: #b98bb8;} 
  50% {color: #7bb6e3;}
  100% {color: #b98bb8;} 
}

.profilecolumn img:hover {
/*  animation: blinking .7s infinite steps(1) alternate; */
   border: 3px dashed #7bb6e3;
}

.profilecolumn button {
  background-color: white;
  border: 3px dashed #b98bb8;
  box-shadow: 4px 4px #9fbee159;
  padding: 10px 10px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  min-width: 110px;
  margin: 4px;
  justify-content: center;
  align-items: center;
  flex: 1 1 0px;
  box-sizing: border-box;
}

.profilecolumn button:hover a, .profilecolumn button:hover:visited a {
  color: #b98bb8;
/*  animation: blinking3 .6s infinite steps(1) alternate; */
}

.profilecolumn button:hover {
  transform: translateY(-3px);
  border: 3px dashed #7bb6e3;
/*  animation: blinking2 .6s infinite steps(1) alternate; */
}

.customgap {
  margin-bottom: 14px;
}

.topbar button, 
.bottombar button, 
.profilecolumn button {
  padding: 0; 
}

.topbar button a, 
.bottombar button a, 
.profilecolumn button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px 10px; 
  text-decoration: none;
}

.profilecontent h5 {
  margin-bottom: 0;
  line-height: 1.5;
  text-align: center;
  font-weight: bold;
}

.profilecontent h5 a {
  margin-bottom: 0;
  line-height: 1.5;
  text-align: center;
  font-weight: bold;
}

.profilecontent h5 a:visited {
  color: #7bb6e3;
}

.profilecontent h5 a:hover, .profilecontent h5 a:hover:visited {
  color: #b98bb8;
}



/* -------------------------------------------------------- */
/* 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;
    height: auto;
    min-height: 100%;
    overflow-y: visible;
  }

  .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;
    height: auto;
    overflow-y: visible;
    padding: 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}
