:root {
  --text: #ffffff;
  --text2:  #ffe551;
  --border: #3e0c58;
  --accent: #d67777;
  --bg: #e39ec6;
  --gradientBottom: #ab35af;
  --gradientTop: #ff9e9e;
  --LinkV: #212aad;
  --link: lightblue; 
}

* {

}

body {
  font-family: 'MS PGothic', sans-serif;
  background-color: #000000;
  background: url("./assets/stars.gif") fixed;
}

.container {
  width: 100%;
  min-height: 95vh;
  height: fit-content;
  display: flex;
  justify-content: space-between;
}

/* iframe for nav sidebar */
#nav {
  display: inline-block;
  background-color: transparent;
  /* padding: 6px 6px 6px 0px; */
  overflow: auto;
  border: none;
  height: auto;
  min-width: 130px;
  max-width: 130px;
  position: sticky;
}

header {
  background: url(assets/Background3.png); /*Placeholder BG*/
  background-size: 100% auto;
  background-position: center;
  width: 100%;
  height: 265px;
  border: 2px ridge var(--border);
  border-radius: 5px;
  position: relative;
}

span {
  font-size: 2.3rem;
  position: absolute;
  bottom: 0;
  right: 0px;
  margin: 4px;
  font-weight: bold;
  text-shadow: 
  -1px 1px var(--text),
  1px -1px var(--accent),
	-1px -1px var(--accent);
  color: var(--gradientTop);
}

/* Main Site */
.space {
  align-items: center;
  align-self: flex-start;
  display: inline-flex;
  flex-grow: 2;
  flex-flow: column;  
  width: 100%;
  padding: 10px;
  margin: 1% 3vw 12px 3vw;
  /* border: 6px ridge var(--border); */
  gap: 5px;
  height: fit-content;
}

.SortBar {
  display: flex;
  flex-flow: row nowrap;
  height: fit-content;
  width: inherit;
  justify-content: space-between;
}

.window {
  height: fit-content;
  border: 2px ridge var(--border);
  color: var(--text);
  border-radius: 5px;
  padding: 0px 0px 10px 0px;
  background-image: linear-gradient(315deg, #ab35af55, #00000055);
  margin: 5px;
  /* overflow: scroll; */
}

.window-toolbar {
  border-radius: 3px;
  height: fit-content;
  width: 100%;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  /* position: sticky; */
}

#toolbar-text {
  text-shadow: 1px 1px black;
  margin: 5px;
}

.exit-button {
  text-align: center;
  width: 18px;
  height: 20px;
  background: var(--accent);
  margin: 5px 3px 5px;
  border: 1px solid white;
  border-radius: 3px;
  font-family: Arial, Helvetica, sans-serif;
  transition-duration: 0.2s;
  &:hover {background-color: var(--gradientTop); cursor:pointer}
  &:focus {background: var(--accent);}
}

.window-content {
  text-align: center;
  margin: auto 5px auto 5px;
  color: var(--text2);
  /* width: 100%; */
  /* & > img { max-width: 50%;} */
  height: fit-content;
  max-height: 45vh;
  overflow: scroll;
  & > ul, ol, li {
    text-align: left
  }
}


.wide { width: clamp(10em, 70%, 100vw); }
div.wide > img {
	display: block;
	margin: 5px auto;
	border:2px ridge var(--border);
	border-radius: 5px;
}
.tall { width: clamp(10em, 30%, 100vw); }
.half { width: clamp(50%, 75%, 100vw); }
.full { width: 100%; } 

/* Stuff for links and images */
img {
  max-width: 100%;
}
a:hover, a:focus {
  font-style: italic;
  &:visited {
    color: var(--accent);
  }
}