:root {
  --pointer: url('https://bigdogal.neocities.org/cursors/pointer.png'), pointer;
  --default-cursor: url('https://bigdogal.neocities.org/cursors/default.png'), default;
  --wait-cursor: url('https://bigdogal.neocities.org/cursors/progress.png'), wait !important;
  --nw-resize-cursor: url('https://bigdogal.neocities.org/cursors/nw-resize_or_se-resize.png'), nw-resize;
  --w-resize-cursor: url('https://hhroses.neocities.org/cursors/e-resize_or_w-resize.png'), w-resize;
  --move-cursor: url('https://hhroses.neocities.org/cursors/move.png'), move;
  --not-allowed-cursor: url('https://hhroses.neocities.org/cursors/not-allowed.png'), not-allowed;
  --desktop-teal: #008080;
  --Scrollbar: rgb(192, 192, 192);
  --button-face: #dfdfdf;
  --button-shadow: #808080;
  --window-frame: #0a0a0a;
  --border-raised-inner: inset -2px -2px var(--button-shadow),
    inset 2px 2px var(--button-face);
    --border-raised-outer: inset -1px -1px var(--window-frame),
    inset 1px 1px var(--button-highlight);
    --button-highlight: #ffffff;
}

.wait-cursor {
      cursor: var(--wait-cursor);
}

.resizeablewindow {
  cursor: 
    --nw-resize-cursor;
  }

@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("fonts/converted/ms_sans_serif.woff") format("woff");
  src: url("fonts/converted/ms_sans_serif.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("fonts/converted/ms_sans_serif_bold.woff") format("woff");
  src: url("fonts/converted/ms_sans_serif_bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body{
  font-family: Arial;
  font-size: 16px;
  color: #000000;
  margin: 0;
  cursor: var(--wait-cursor);
  cursor: var(--default-cursor);
  overflow: scroll;
}

a {
  color: #0000ff;
  text-decoration: none;
}

a:hover {
  cursor: var(--pointer);
}

a:active {
  cursor: var(--pointer);
}

button:hover {
  cursor: var(--pointer);
}

button:active {
  cursor: var(--pointer);
}

/* Page container */
.page-container {
  width: 800px;
  height: 100vh;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  text-align: center;
  justify-content: center;

}

/* Header container */
header {
  background: var(--desktop-teal);
  padding: 12px 0;
  text-align: center;
  position: relative;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nav */
nav {
  background: #c0c0c0;
  padding: 0.5em 1em;
  border-bottom: 2px solid #808080;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1em;
  justify-content: flex-start; 
  flex-wrap: wrap; 
}

nav li {
  margin: 0;
}

nav a {
  color: #000000;
  text-decoration: none;
  padding: 0.5em;
  background: #eeeeee;
  border: 2px outset #ffffff;
  display: block;
  white-space: nowrap;
}

nav a:hover {
  background: #ffffff;
  cursor: var(--pointer);
}

nav a:active {
  border-style: inset;
  cursor: var(--pointer);
}


/* Content Container */
.content-container {  
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
  background: var(--desktop-teal);
  flex: 1; /* Takes up remaining space */
  width: 100%;
  padding: 10px;
  margin-bottom: 2em; /* Space before footer */
  grid-template-areas: "left main right";
}

.content-container > div {
  font-size: 16px;
}

.left-container { 
  grid-area: left; 
  background: white;
}

.main-container { 
  grid-area: main;
  background: white;
}

.right-container { 
  grid-area: right; 
  background: white;
}

.section-content {
  width: 100%;
  height: auto;
  overflow: visible;
}

.left-container, 
.main-container, 
.right-container { 
  background: white;
  min-height: min-content; 
  overflow: visible; 
}


/* Footer */
footer {
  background: var(--desktop-teal);
  padding: 1em;
  text-align: center;
  margin-top: auto; 
}



/* Device Compatibility */
@media (max-width: 768px) {
  .content-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "left"
      "main"
      "right";
  }
}

::-webkit-scrollbar {
  width: 16px;
}
::-webkit-scrollbar:horizontal {
  height: 17px;
}

::-webkit-scrollbar-corner {
  background: var(--button-face);
}

::-webkit-scrollbar-track {
  background-image: svg-load("./icon/scrollbar-background.svg");
}

::-webkit-scrollbar-thumb {
  background-color: var(--button-face);
  box-shadow: var(--border-raised-outer), var(--border-raised-inner);
}

::-webkit-scrollbar-button:horizontal:start:decrement,
::-webkit-scrollbar-button:horizontal:end:increment,
::-webkit-scrollbar-button:vertical:start:decrement,
::-webkit-scrollbar-button:vertical:end:increment {
  display: block;
}

::-webkit-scrollbar-button:vertical:start {
  height: 17px;
  background-image: svg-load("./icon/button-up.svg");
}
::-webkit-scrollbar-button:vertical:end {
  height: 17px;
  background-image: svg-load("./icon/button-down.svg");
}
::-webkit-scrollbar-button:horizontal:start {
  width: 16px;
  background-image: svg-load("./icon/button-left.svg");
}
::-webkit-scrollbar-button:horizontal:end {
  width: 16px;
  background-image: svg-load("./icon/button-right.svg");
}









