:root {
  --color: #fff;
  --links: ##525252;
  --background: url('https://placeholderexample.neocities.org/imgs/repeating-skulls.png');
  --border: 2px solid #000000;
  --border2: #000000;
  --container: #000000;
  --footer: #C1001A;
  --heading1: #000000;
  --heading2: #000000;
  --heading3: #000000;
  --scrollbar: #525252 #f0f0f0;
  --nav: #000000;
  --nav2: #000000;
  --mobile-nav: #000000;
}

@font-face {
  font-family: 'imposs_accents'; /* set name */
  src: url('../fonts/imposs_accents.woff') format('woff'),
    url('../fonts/imposs_accents.woff2') format('woff2'),
  url('../fonts/imposs_accents.ttf')  format('truetype'); /* url of the font */
  font-weight: normal;
  font-style: normal;
}

html {
  scrollbar-color: var(--scrollbar);
}

body {
  color: var(--color) !important;
  background: var(--background) repeat top left;
  background-size: 300px;
}

body a {
  color: var(--links) !important;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  background: var(--container);
  border: var(--border);
  border-radius: 14px 14px 0 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

header img {
  width: 100%;
  border-bottom: var(--border);
  border-radius: 13px 13px 0 0;
  margin-bottom: -6px;
}

aside {
  flex-shrink: 0;
  width: 180px;
  padding: 12px;
  background-color: #525252;
}

main {
  order: 2;
  width: 100%;
  padding: 12px 18px;
  border-left: var(--border);
  border-right:  var(--border);
}

footer {
  background-color: var(--footer);
  padding: 18px 6px;
}

main section {
  margin-bottom: 16px;
}

main section:last-child {
  margin-bottom: 0;
}

.left {
  order: 1;
  background-color: #000;
}

main {
  order: 2;
}

.right {
  order: 3;
}

hr {
  clear: both !important;
  border-top: 1px solid var(--border2) !important;
  margin: 12px -12px !important;
}

main hr {
  margin: 18px 0 !important;
}

.desktop-nav ul {
  list-style: none;
  padding: 0 6px;
  margin: 0 0 18px 0;
  text-align: left;
}

.desktop-nav li::before {
  content: url('https://placeholderexample.neocities.org/imgs/png-transparent-flower-petals-pixels-dots-white.png');
  padding-right: 8px;
  image-rendering: pixelated;
}

.desktop-nav li {
  padding: 4px 2px;
  border-bottom: 1px solid lightgray;
}

nav a {
  color: var(--color) !important;
}

nav a:hover {
  transition-duration: .4s;
  letter-spacing: 2px;
}

.mobile-nav {
  display: none;
}

.mobile-nav {
   width: 100%;
   top: 0;
   margin: 0 !important;
   z-index: 999;
 }
  
 .mobile-nav ul, .mobile-nav li {
   display: inline-block;
   text-align: center;
   width: 100%;
}
  
 .mobile-nav ul {
   border: 1px solid var(--heading1);
   padding: 0;
   margin: -8px 0 12px 0;
 }

.mobile-nav li {
  padding: 4px 0;
  border-bottom: 1px solid var(--heading1);
  background: var(--container);
}

.mobile-nav li:last-child {
  border-bottom: 0;
}
  
.mobile-nav a {
  display: block;
}

.mobile-nav .heading {
  border-radius: 8px 8px 0 0;
}

.mobile-nav details[open] {
  margin: 0;
  padding: 12px;
  background: #000000;
  border-bottom: 1px solid lightgray;
 }
  
 .mobile-nav summary {
   text-align: left;
   padding: 12px !important;
   letter-spacing: 1px;
   font-weight: bold;
   cursor: pointer;
   border-radius: 0 !important;
 }

 .mobile-nav details[open] summary {
   margin: -12px -12px 8px -12px;
 }
 .mobile-nav details[open] {
   margin: 0 0 12px 0;
   border-bottom: 2px solid var(--heading1);
 }
  
 .mobile-nav span {
   float: right;
 }

h1, h2, h3, h4, h5, h6, .heading, .mobile-nav summary {
  font-family: 'imposs_accents';
  font-color: #fff;
  font-size: 1.2em !important;
  background-color: #000000;
  letter-spacing: 1px;
}

.heading, .mobile-nav summary {
  display: block;
  color: #fff;
  text-shadow: 1px 1px #525252;
  background: url('https://placeholderexample.neocities.org/imgs/heading44.png');
  padding: 4px;
  border-radius: 6px;
  margin: 0 0 8px 0;
  background-color: #000000;
}

.lined-heading {
  border-bottom: 1px solid black;
}

.box {
  border: var(--border);
  border-radius: 6px;
  padding: 10px;
}

.box .heading {
  margin: -10px -10px 10px -10px;
  padding: 4px;
  border-radius: 4px 4px 0 0;
}

@media only screen and (max-width: 900px) {

  article {
    width: 100% !important;
  }
  
  body {
    text-align: center;
  }
  
  main {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid lightgray;
    order: 2;
  }
  
  .left {
    order: 1;
  }
  
  .right {
    border-top: 1px solid lightgray;
  }
  
  ul {
    text-align: left;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .desktop-nav {
    display: none;
  }

  header img {
    border-bottom: 0;
  }
  
  .code-container {
  background: #2d2d2d;
  color: #f8f8f2;
  border-radius: 8px;
  overflow: hidden;
  font-family: monospace;
  max-width: 500px;
}

.code-header {
  background: #1e1e1e;
  padding: 8px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

pre {
  padding: 15px;
  margin: 0;
  overflow-x: auto;
}

button {
  background: #4caf50;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.code-container {
  position: relative;
  background: #f4f4f4;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.copy-button {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 5px 10px;
  cursor: pointer;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 3px;
}

button:active { background: #45a049; }
}