/*
*   Theme: SPACEWASTE
*   Author: zee@baderror.net
*   
*   Lost in space. 
*/

/*  Typical Code
*
-------------------------------------*/
:root{
  
}

* {
  transform: translateZ(0);
}

@supports not selector(::-webkit-scrollbar) {
  * {
    /* Firefox Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(195, 55, 64) rgba(0, 0, 0); //bar then track colors
  }
}

/* Chrome Scrollbar */
*::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}
::-webkit-scrollbar-thumb {
  background: #c33740;
  border: 4px none #000000;
  border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
  background: #000000;
}
::-webkit-scrollbar-thumb:active {
  background: #000000;
}
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 50px;
}
::-webkit-scrollbar-track:hover {
  background: #000000;
}
::-webkit-scrollbar-track:active {
  background: #000000;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

html, body {
  height: 100%;
  max-height: 100%;

  margin: 0;

  background: rgb(13, 15, 15);
  background-image: url('https://baderror.net/src/img/bgrepeat.png');
  background-size: 5%;
  background-repeat: repeat;
  //background: linear-gradient(180deg, rgba(13, 15, 15) 30%, rgba(28, 40, 33) 70%, rgba(50, 64, 54) 95%);
  
  color: white;
  font: 0.85em Inconsolata, monospace;
  text-shadow: 0 0 4px #C8C8C8;

  overflow: hidden;
}

a {
  color: rgba(231, 154, 92);
  text-decoration: none;
  text-shadow: none;
}

h1 {
  font-size: 1.2em;

  padding: 1%;

  color: #f0f7f4;
}

button:focus{
  outline:none;
}

button{
  width: 12px;
  height: 99%;

  float: right;
  display: block;
  position: relative;
  margin: 0.4%;
  padding: 0;

  background: #000;
  border: 1px solid;
  border-width: thin;
  border-color: rgba(195, 55, 64);

  color: white;
  font: 0.85em "MS Sans Serif", monospace;
  text-shadow: 0 0 4px #C8C8C8;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
button:active {
  background: rgba(195, 55, 64);
  -webkit-box-shadow: inset 0px 0px 5px #000;
  -moz-box-shadow: inset 0px 0px 5px #000;
  box-shadow: inset 0px 0px 5px #000;
  outline: none;
}

::selection {
  color: rgba(195, 55, 64);
  background: rgba(231, 154, 92); /* WebKit/Blink Browsers */
  text-shadow: none;
}
::-moz-selection {
  color: rgba(195, 55, 64);
  background: rgba(231, 154, 92); /* WebKit/Blink Browsers */
  text-shadow: none;
}

.line {
  width: 100%;

  border-top: 0px;
  border-left: 0px;
  border-bottom: 1px solid rgba(195, 55, 64);
  border-right: 0px;
  border-style: dotted;

  padding: 5px 0px 5px 0px;
  margin: 0;
}

/* PRELOADER */
#preloader {
  width: 100%;
  height: 100vh;

  background: rgba(0, 0, 0, 1);

  position: fixed;

  opacity: 1;
  z-index: 100;
}

#loadingbarContainer {
  width: fit-content;
  height: fit-content;

  position: absolute;
  
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  text-align: center;
}

#loadingbar {
  width: 150px;
  height: 10px;

  border: 1px;
  border-style: solid;
  border-color: rgba(195, 55, 64, 1);
  box-shadow: 0 0 4px rgba(195, 55, 64, 1);
}

#loadingbarProgress {
  width: 0px;
  height: 8px;

  margin: 1px;

  background-color: rgba(195, 55, 64, 1);
}

/* DIVS */
#container {
  height: 100vh;
  width: 100%;
}

.contentHeader {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  width: 100%;
  height: auto;

  margin: 0px auto;
  padding: 0px;
  display: inline-block;

  background: linear-gradient(90deg, rgba(195, 55, 64) 0%, rgba(195, 55, 64) 0%, rgba(0,0,0,1) 45%);
  border-bottom: 1px solid;
  border-width: thin;
  border-color: rgba(195, 55, 64, 1);

  cursor: move;
  z-index: 10;
}

.contentTitle {
  float: left;
  margin: 2px;
  position: relative;

  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.contentWindowStyle {
  border-radius: 5px 5px 5px 5px;
  
  background-color: #f1f1f1;
  text-align: center;
  
  background: linear-gradient(180deg, rgba(195, 55, 64) 0%, rgba(0,0,0,1) 5%);
  border: 1px solid;
  border-width: thin;
  border-color: rgba(195, 55, 64);

  color: #FFFFFF;

  box-shadow:
      0 1px 1px hsl(0deg 0% 0% / 0.05),
      0 2px 2px hsl(0deg 0% 0% / 0.05),
      0 4px 4px hsl(0deg 0% 0% / 0.05),
      0 8px 8px hsl(0deg 0% 0% / 0.05),
      0 16px 16px hsl(0deg 0% 0% / 0.05)
  ;

  padding-bottom: 1px;

  display: flex;
  flex-direction: column;
}

.closeStyle {
  width: 12px;
  height: 12px;

  margin: 4px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

.contentContainer {
  height: 100%;

  padding-top: 12px;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 0px;

  overflow-x: hidden;
  overflow-y: scroll;
}

/* Unused for now
#contentWelcome {
  height: 12%;
  width: 40%;

  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -250%);
  transform: translate(-50%, -250%);

  z-index: 2;
  visibility: visible;
}
*/

#contentMain {
  width: 40%;
  height: 45%;

  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -67.5%);
  
  z-index: 2;
  visibility: visible;
}

#contentContact {
  width: 20%;
  height: 19%;

  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(106%, -159%);
  transform: translate(106%, -159%);

  z-index: 2;
  visibility: visible;
}

#contentExtra2 {
  width: 40%;
  height: 30%;

  position: absolute;
  top: 80%;
  left: 60%;
  -ms-transform: translate(-20%, -80%);
  transform: translate(-20%, -80%);

  z-index: 2;
  visibility: hidden;
}

#contentAdvert {
  width: 20%;
  height: 25%;

  position: absolute;
  top: 30%;
  left: 10%;
  -ms-transform: translate(-20%, -80%);
  transform: translate(-20%, -80%);

  z-index: 2;
  visibility: visible;
}

#sidebar {
  width: 100%;
  height: 10px;

  margin: 0;
  padding: 20px 0;

  display: flex;

  //background: rgba(195, 55, 64, 0.25);

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

/* Sidebar Icons - I didn't like them :[ */
/*
.sidebarIcon img {
  width: 80%;
  height: auto;

  display: block;
  margin: auto;
  padding: 5% 5% 7% 5%;

  //background: rgba(195, 55, 64);
}
*/

.sidebarIcon p {
  margin: 0 0 0 20px;
  padding: 5px;

  color: rgba(195, 55, 64);
  text-shadow: 0 0 4px #c33740;
  text-align: center;

  //background: rgba(195, 55, 64, 0.5);
}

.sidebarIcon p:hover {
  color: rgba(231, 154, 92);
  text-shadow: 0 0 4px #e79b5c;
  cursor: pointer;
}

#background {
  z-index: -1;
}

/*  Animated Junk
*
-------------------------------------*/

/* Background Video */
#bgVideo {
  width: 100%;
  height: auto;

  //min-width: 100%;
  //min-height: 100%;

  position: fixed;
  right: 0;
  bottom: 0;
}

/* Play/ Pause Buttons for Background */
#footer {
  width: 100%;
  height: auto;
  
  margin: 0px;
  padding: 0px;

  position: fixed;
  left: 0;
  bottom: 0;

  color: white;
  text-align: right;
}

#ppcontainer {
  width: 50px;
  height: 48px;
  
  margin: auto 0px auto auto;

  cursor: pointer;
  
  //background-color: rgba(255, 50, 50, 0.25);
}
#playpause {
  display: block;
    box-sizing: border-box;
    width: 0;
    height: 40px;

    border-color: transparent transparent transparent rgba(43, 56, 46, .4);

    border-style: double;
    border-width: 0px 0 0px 40px;

    transition: 100ms all ease;
}
#playpause:active {
  border-style: solid;
  border-width: 20px 0 20px 36px;
}
#playpause.paused {
  border-style: solid;
  border-width: 20px 0 20px 36px;

  //background-color: #ff0000;
}

/*  Dumb Junk
*
-------------------------------------*/
/* Loading... */
.loading {
  color: rgba(231, 154, 92);
}
.loading:after {
  content: '.';
  animation: dots 1s steps(5, end) infinite;}

@keyframes dots {
  0%, 20% {
    color: rgba(0,0,0,0);
    text-shadow:
      .5em 0 0 rgba(0,0,0,0),
      1em 0 0 rgba(0,0,0,0);}
  40% {
    color: rgba(231, 154, 92);
    text-shadow:
      .5em 0 0 rgba(0,0,0,0),
      1em 0 0 rgba(0,0,0,0);}
  60% {
    text-shadow:
      .5em 0 0 rgba(231, 154, 92),
      1em 0 0 rgba(0,0,0,0);}
  80%, 100% {
    text-shadow:
      .5em 0 0 rgba(231, 154, 92),
      1em 0 0 rgba(231, 154, 92);}}

.dancingError {
  width: inherit;
  height: inherit;

  background-image: url('https://baderror.net/src/img/dancingErr.gif');
  background-size: cover;
}
.dancingErrorBG{
  width: 150px;
  height: 161px;

  background-image: radial-gradient(rgba(62, 100, 81, .5) 5%, rgba(0, 0, 0, 0) 80%);

  margin: auto;
}