/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

@import("thweknet/assets/fonts/lucida-grande/lucidagrande.css");
@import("thweknet/assets/fonts/percolator-expert-webfont/percolatorexpert.css");
@import("thweknet/assets/fonts/PercolatorExpertRegular/percolatorer.css");



:root
{
  --site-width: 1000px;
  --site-margin: 4px auto;
  --font-active: Percolator Expert Regular;
  --font-fallback: Lucida Grande;
  --color-element-bg: rgba(41, 41, 41, 0.158);
  --color-element-border: rgba(219, 99, 255, 0.301);
}



body 
{
  
  background-image: url(thweknet/assets/images/background-stars.gif);
  background-attachment: fixed;
  font-family:var(--font-active);
  font-size: large;
  color: rgb(252, 161, 255);
  max-width: var(--site-width);
  margin: var(--site-margin); 
  grid-gap: 6px;
  grid-template-columns: 300px minmax(zero, 1fr);
  background-color: var(--color-element-bg);
  padding: 4px;
}


.header
{

  text-align: center;
  
  border: 1px;
  background-color: rgba(0, 0, 0, 0);
  font-family: var(--font-active);

}

.motd
{
  text-align: center;
  padding: 1px;
  margin: 0px 180px 0px 180px auto;
  font-family: var(--font-active);
  font-size:medium;
  border: 0.5px;
  border-style: solid;
  border-image: linear-gradient(to right, rgb(255, 0, 0), rgba(0, 255, 200, 0), rgb(255, 0, 0)) 0 0 1 0;
  white-space: nowrap;
  overflow: hidden;
  
  
  
  
}

.motd div
{
  
  padding-left: 100%;
  display: inline-block;
 animation: marquee-scroll 10s linear infinite;
}

@keyframes marquee-scroll 
{
  100% 
  {
    transform: translate(-110%, 0);
  }
}

.nav
{
  text-align: center;
  padding: 0px;
  font-family: var(--font-active);
  border: 1px;
  border-style: solid;
  border-image: linear-gradient(to right, rgb(0, 204, 255), rgba(0, 255, 200, 0), rgb(0,204, 255)) 1 0 0 0;
  
}

.nav ul
{
  margin: 2px;
  padding: 2px;
  overflow: hidden;
  font-size: x-large;
  text-align: center;
  display: inline-block;

}

.nav li
{
  float: left;
  padding: 0px 4px 0px 4px;
}

.nav li::marker
{
  content: "x ";
}


.sidebar {
  margin: 0;
  padding: 0;
  width: 200px;
  position: fixed;
  height: 100%;
  overflow: auto;
  border: 1px;
  border-style: solid;
  border-image: linear-gradient(to top, rgb(0, 204, 255), rgba(0, 255, 200, 0)) 0 1 0 1;
}

.sidebar a {
  display: block;
  color: black;
  padding: 16px;
  text-decoration: none;
  color: rgb(255, 192, 18)
 
}
 
.sidebar a.active {
  background-color: #04AA6D;
  color: rgb(255, 192, 18)
}

.sidebar a:hover:not(.active) {
  background-color: #555;
  color: white;
}

div.content {
  margin-left: 200px;
  padding: 1px 16px;
  height: 1000px;
}

@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {float: left;}
  div.content {margin-left: 0;}
}

@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}


.main
{
  height: max-content;
  flex-flow: row nowrap;
  border: 1px;
  border-style: solid;
  border-image: linear-gradient(to top, rgb(0, 204, 255), rgba(0, 255, 200, 0)) 0 1 0 1;
}


.footer
{
  text-align: center;
  padding: 0px;
  margin: 0px;
  border: 1px;
  border-style: solid;
  border-image: linear-gradient(to top, rgb(0, 204, 255), rgba(0, 255, 200, 0)) 1 1 1 1;
  background-color: rgba(0, 0, 0, 0);
}

.footer,
.copyrightcontainer 
{
  clear: both;
  font-size: large;
  color: white;
  font-family: var(--font-active);
  
}
.copyrightcontainer 
{
  margin: 0 auto;
  
}

h1
{
  font-size: xx-large;
  color: white;
  font-family: var(--font-active);
  margin: 1px;

}


h2, h3, h4, h5, h6
{
  font-size: x-large;
  color: rgb(171, 0, 0);
  font-family: var(--font-active);
  margin: 0px;
  padding: 4px;

}

p
{
  margin: 0px;
  padding: 4px;
  color: rgb(187, 226, 255);
}

ul, li
{
  list-style-position: inside;
  color: rgb(255, 255, 255);
}



a, a:visited 
{
  color: rgb(255, 192, 18);
  font-weight: bold;
  text-decoration: none;
  
}
a:hover 
{
    color: rgb(255, 0, 0);
    font-weight: bold;
}

.inactive
{
  pointer-events: none;
  cursor: default;
}

