@font-face{
  font-family: DOS;
  src: url("dosfont/ModernDOS8x16.ttf");
}

:root{
  --primary: rgb(0,0,80);
  --secondary:#777;
  --secondary_light:#999;
  --secondary_dark:#555;
  --black: #000000; /*remove this/replace this*/
  --text:#fff;
  --close: rgb(80,0,0);
  --progbar:#000050;
  --taskbar: linear-gradient(rgb(0,0,0), rgb(0,0,80));
  --transparent: rgba(0,0,0,0); /*remove this/replace this*/
  --hover: rgba(128,128,128,0.5); /*replace this with something more descriptive*/
}

input {
  outline: none;
}

body {
  background-color: var(--primary);
  font-family: arial;
  color: var(--text);
  overflow: hidden;
}

#wallpaper {
  position: fixed;
  left: 0%;
  top: 0%;
  margin: 0px;
  width: 100vw;
  /*height: 100vh;*/
}

button {
  font-family: arial;
  font-size: 20px;
  border-radius: 4px;
  border-width: 2px;
  border-color: var(--secondary_light);
  border-style: solid;
  background-color: var(--black);
  color: var(--text);
  height: 30px;
}

input {
  height: 30px;
  background-color: var(--secondary);
  border-style: solid;
  border-color: var(--secondary_light);
  font-family: arial;
  font-size: 20px;
  color: var(--text);
}

button:hover {
  background-color: var(--secondary_dark);
}

button:active {
  background-color: var(--secondary_light);
}

.window-button {
  color: var(--text);
  background-color: var(--transparent);
  border: none;
  font-weight: bold;
}

.window-button:hover {
  background-color: var(--secondary_dark);
}

#workbar {
  display: flex;
  position: fixed;
  width: 100vw;
  height: 5vh;
  bottom: 0px;
  left: 0px;
  background: var(--taskbar) !important;
  z-index: 9990;
}

#left-icons {
  display: flex;
}

.window {
  position: absolute;
  /*margin: auto;*/
  width: 50vw;
  height: 50vh;
  top: 0%;
  background-color: var(--black);
  border-width: 4px;
  border-color: var(--secondary);
  border-style: solid;
  border-radius: 8px;
  z-index: 0;
}

.focused {
  z-index: 1000;
}

.topbar {
  display: flex;
  width: 100%;
  height: 40px;
}

.window-text {
  margin-left: 10px;
  line-height: 50%;
  flex-grow: 1;
}

.topbar_buttons {
  width: 130px;
  margin-left: 10px;
  margin-top: 5px;
  float: right;
}

.topbar_buttons button {
  width: 30px;
  height: 30px;
}

.topbar_buttons img {
  width: 15px;
  height: 15px;
  margin-left: auto;
  margin-right: auto;
}

.content {
  margin: 10px;
}

.icon img {
  width: 5vh;
}

.icon {
  margin-left: 10px;
  margin-right: 10px;
  width: 5vh;
}

.icon:hover, #time:hover {
  background-color: var(--hover);
}

.classic-start-button {
  display: flex;
  height: 40px;
  width: 200px;
  background-color: var(--primary);
  color:var(--text);
  margin-top: auto;
  margin-bottom: auto;
  line-height: 0%;
  font-family: arial;
  border: none;
}

.classic-start-button img {
  margin-top: auto;
  margin-bottom: auto;
  margin-right: 10px;
  width: 25px;
}

.classic-start-button p {
  font-family: inherit;
  font-size: 15px;
}

.classic-start-button:hover {
  background-color: var(--hover);
}

.classic-start-button:active {
  background-color: rgb(0,0,0);
}

#classic-user-name {
  height: 50px;
  width: 220px;
}

#start-classic {
  position: fixed;
  bottom: 5vh;
  left: 0;
  width: 200px;
  height: 240px;
  background-color: var(--primary);
  display: none;
}

#classic-buttons {
  display: block;
  width: 220px;
  height: 9vh;
}

#classic-banner {
  height: 48vh;
  width: 30px;
  background-color: var(--secondary);
  bottom: 5vh;
  transform: rotate(270deg);
}

#time {
  margin-left: auto;
  z-index: 9991;
  position: fixed;
  bottom: 0;
  right: 0;
  color: #ffffff;
  font-size: 3vh;
  line-height: 150%;
  padding-left: 10px;
  padding-right: 10px;
}

#login {
  padding: 10px;
  position: fixed;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary);
  margin: auto;
  left: 0%;
  top: 0%;
  font-size: 30px;
  text-align: center;
}

.blacky {
  margin: auto;
  left: 0%;
  top: 0%;
  font-size: 30px;
  text-align: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: var(--primary);
}

#startup {
  position: fixed;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  left: 0%;
  top: 0%;
  margin: auto;
  font-size: 30px;
  text-align: center;
  background-color: var(--primary);
}

#welcome {
  width: 500px;
  height: 500px;
}

.right {
  float: right;
}

#console {
  font-family: monospace;
  font-size: 20px;
  color: rgb(40,185,0);
  overflow-y: auto;
  height: 12em;
}

.close-button {
  width: 30px !important;
  background-color: var(--primary);
}

.close-button:hover {
  background-color: var(--close);
}

.fullscreen {
  display: none;
  z-index: 9998;
  background-color: var(--secondary);
  margin: 0px;
  position: fixed;
  top : 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  
}

.power-dialog {
  padding: 50px;
  position: fixed;
  width: 500px;
  height: 200px;
  background-color: var(--primary);
  top: 35%;
  left: 30%;
}

.dialog-title {
  text-align: center;
  background-color: var(--secondary);
  height: 30px;
  line-height: 200%;
}

.power-dialog button {
  width: 100px;
  height: 30px;
  margin-left: auto;
  margin-right: auto;
}

#terminal {
  /*display: none;*/
}

.open {
  width: 25px;
  height: 5px;
  background-color: var(--secondary);
}

#shutdownscreen {
  z-index: 9999;
  display: none;
}

.mpbutton {
  width: 74px;
  height: 74px;
  background-color: var(--secondary);
  border-color: var(--secondary_light);
}

.mpbutton img {
  width: 50px;
  height: 50px;
  margin-left: auto;
  margin-right: auto;
}

#media {
  width: 250px;
  height: 550px;
}

#music-time {
  width: 230px;
  height: 20px;
}

progress[value]::-webkit-progress-bar {
  border-radius: 5px;
  background-color: var(--progbar);
}

progress[value] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

progress[value]::-webkit-progress-value {
  background-color: rgb(20,20,20);
  border-radius: 5px;
}

#music-now {
  float: left;
  display: inline-block;
}

#music-duration {
  float: right;
  display: inline-block;
}

#notification {
  display: none;
}

.notification {
  background-color: var(--primary);
  z-index: 9989;
  min-width: 300px;
  max-width: 50vw;
  position: fixed;
  bottom: 6vh;
  right: 0.5vw;
  padding: 10px;
}

.notification button {
  position: relative;
  display: inline-block;
}

button[disabled] {
  color: var(--secondary_dark);
}

.options {
  /*display: none;*/
  position: relative;
}

#user-picture {
  width: 85px;
  height: 85px;
  border-radius: 8px;
  color: var(--text);
  background-color: var(--secondary);
  font-size: 60px;
}

ul {
  list-style-type: none;
}

#rsod {
  display: none;
  font-family: DOS;
  background-color: rgb(80,0,0);
  color: rgb(255,255,255);
  z-index: 10001;
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0%;
  top: 0%;
}

#rsod h1 {
  font-weight: normal;
}
#rsod {
  display: none;
  font-family: DOS;
  background-color: rgb(80,0,0);
  color: rgb(255,255,255);
  z-index: 10001;
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0%;
  top: 0%;
}

#rsod h1 {
  font-weight: normal;
}

.active {
  background: var(--taskbar);
}

#workbar:first-child {
  margin-left: 0 !important;
}

#icon-container {
  display: flex;
}

#icon-container div {
  /*z-index: 9991;*/
}

#sidebar {
  width: 20vw;
  height: 92.5vh;
  background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(50,50,50,0.5));
  z-index: 9990;
  position: fixed;
  top: 0%;
  right: 0%;
  padding: 10px;
}

.widget{
  width: 100%;
  height: 200px;
  background-color: rgb(50,50,50);
  border-radius: 10px;
}

#clock-widget {
  background-color: rgb(75,75,75);
  text-align: center;
  font-size: 65px;
  height: 100px;
}

#clock-widget div {
  margin: auto;
  margin-top: 25%;
  background-color: #1b3618;
}

#logoicon img {
  position: relative;
  left: .125em;
  bottom: -.125em;
  width: 4.5vh;
  margin: auto !important;
  text-align: center;
}

#start-twocolumn {
  width: 360px;
  height: 480px;
  position: fixed;
  top: 0%;
  right: 0%;
  display: none;
  z-index: 2089;
  background-color: rgb(0,0,0);
  background-image: url("resources/TwoColumn2.svg");
  background-repeat:no-repeat;
  background-size:contain;
}

#start-twocolumn h2 {
  position: relative;
  left: 60px;
  top: 0%;
}

#classic-apps {
  position: fixed;
  bottom: 5vh;
  left: 0;
  width: 200px;
  height: 240px;
  background-color: rgb(0,0,80);
  display: none;
}

#classic-apps-container {
  overflow-y: auto;
}

.classic-apps-button {
  display: flex;
  height: 20px;
  width: 200px;
  background-color: rgba(10,10,10, 0);
  color:rgb(255,255,255);
  margin-top: auto;
  margin-bottom: auto;
  line-height: 0%;
  font-family: arial;
  border: none;
}

.classic-apps-button p {
  font-family: inherit;
  font-size: 10px;
}

#classic-apps-container {
  overflow-y: auto;
}

#password {
  border-radius: 12px;
  background-color: rgb(50,50,50,0.5);
  height: 40px;
}

.start button {
  font-weight: bold;
}

#startanim {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#startanim::-webkit-progress-bar, #startanim {
  background-color: rgb(20,0,0) !important;
}

#startanim::webkit-progress-value {
  background-color: rgb(80,0,0) !important;
  width: 50%;
}

#kernel-boot {
  font-family: monospace;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--black);
  z-index: 100000;
  color: #ffffff;
}
