:root {
  --desktopBGColor: #63AFAE;
  --desktopColor: #FFFFFF;

  --desktopBGColorGG: #B5B5B5;
  --desktopColorGG: #83FF33;
}

body {
  background-color: var(--desktopBGColor);
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: url('./img/pointercursor.svg'), auto;
  height: 100vh;
  overflow: hidden;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: var(--desktopColor);
}
.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 199;
  background: #1D53DB;
  transition: all .2s;
  font-family: monospace;
} 
.popup, .popupShutdown {
  box-sizing: border-box;
  width: 92%;
  height: auto;
  max-width: 360px;
  background: #B5B5B5;
  -webkit-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  border: solid 2px rgba(0,0,0,1);
  padding: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.popupShutdown {
  z-index: 1000 !important;
}
.popup.closeable, .popupShutdown.closeable {
  display: none;
}
.closeable {
  position: absolute;
  z-index: 100;
  margin: auto;
  font-family: monospace;
  left: calc(50% - 180px);
  top: calc(50% - 50px);
}
.popupContent, .popupShutdownContent{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  border: solid 1px black;
  box-sizing: border-box;
}
.popupHeader, .popupShutdownHeader {
  margin: 0;
  padding: 8px;
  background: #000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: white;
  width: 100%;
  box-sizing: border-box;
}
.popupLanguage {
  border: 1px solid #B5B5B5;;
  width: 10%;
  height: auto;
}
.popupClose {
  border: solid 1px #1D53DB;
  background: #fff;
  color: #1D53DB;
  padding: 2px 6px;
}
.popupText, .popupShutdownText {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: black;
}
.popupButton, .shutdownButton, .shutdownCancelButton {
  margin-top: 15px;
  padding: 12px 16px 10px 16px;
  min-width: 80px;
  background: #1D53DB;
  text-align: center;
  color: white;
  border-left: 2px #6FA3A8 solid;
  border-top: 2px #6FA3A8 solid;
  outline: 2px solid black;
}
.shutdownButton, .shutdownCancelButton {
  width: 35%;
  text-align: center;
  margin: 15px;
}
.popupButton:hover, .shutdownButton:hover, .shutdownCancelButton:hover {
  background: #0c3292;
  border-left: 2px #284e52 solid;
  border-top: 2px #284e52 solid;
}
#popupOkLink {
  text-decoration: none;
}
.popupButtonNo {
  margin-top: 15px;
  padding: 12px 16px 10px 16px;
  min-width: 80px;
  background: #D50C0C;
  text-align: center;
  color: white;
  border-left: 2px #6FA3A8 solid;
  border-top: 2px #6FA3A8 solid;
  outline: 2px solid black;
  display: none;
}
.popupButtonNo:hover {
  background: #cc0d0d;
  border-left: 2px #284e52 solid;
  border-top: 2px #284e52 solid;
}
.desktop {
  display: none;
  height: 100%;
  margin-top: 10px;
}
.shortcut {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 10%;
  max-width: 80px;
  height: 80px;
  touch-action: none;
  user-select: none;
  margin-bottom: min(32px,8vh);
}
.shortcut p {
  padding: 2px;
  color: var(--desktopColor);
  font-family: monospace;
  font-size: .66rem;
  margin-top: 4px;  
}
.dragging {
  opacity: 0.6;
  position: fixed;
  transition: transform 0.18s;
  pointer-events: none;
}
.startmenu {
  position: fixed;
  bottom: 0;
  width: 100%;
  overflow: hidden;
  background: #3A3A3A;
}
.startbutton {
  height: 100%;
  width: 32px;
  padding: 1.1rem;
  float: left;
  border-left: 2px #9F9F9F solid;
  outline: 2px solid #5C5C5C;
}
.startbutton:hover {
  background: #4F4F4F;
  border-left: 2px #4A4A4A solid;
  outline: 2px solid #2F2F2F;
}
.startbutton:hover .starticon{
  
}
.taskbaricon {
  float: right;
  padding: 1.3rem 3px 1.3rem 10px;
}
.clock {
  color: white;
  font-family: monospace;
  text-align: center;
  float:right;
  margin: 1rem;
}
.document {
  width: 60%;
  margin: 20px auto;
  background: white;
  padding: 30px;
  font-family: monospace;
}
.mainmenu {  
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  height: 40%;
  min-height: 400px;
  width: 15%;
  min-width: 300px;
  background: lightgrey;
  border-left: 2px solid white;
  border-top: 2px solid white;
  border-right: 2px solid black;
}
.mainmenu .row {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}
.mainmenu .column {
  display: flex;
  flex-direction: column;
}
.menuheadline {
  flex: 20%;
  background: darkgrey;
}
.menuheadlineText {
  transform: rotate(270deg);
  font-family: monospace;
  font-size: 2.5em;
  transform-origin: 0 0;
  bottom: 1.7rem;
  position: absolute;
  font-weight: bold;
  color: lightgrey;
  padding: 10px;
}
.menucolumn {
  flex: 80%;
  font-family: monospace;
}
.submenu {  
  display: none;
  position: fixed;
  left: 15.7%;
  bottom: 20%;
  height: 20%;
  min-height: 200px;
  width: 15%;
  min-width: 300px;
  background: lightgrey;
  border-left: 2px solid white;
  border-top: 2px solid white;
  border-right: 2px solid black;
  font-family: monospace;
}
.menuitem {
  display: flex;
  align-items: center;
  height: 14%;
  font-size: 1.4rem;
  font-weight: bold;
}
.menuitem:hover {
  color: white;
  background: darkblue;
}

.menuitem img {
  padding: 0 10px;
  width: 32px;
}
.menuarrow {
  position: absolute;
  right: 3px;
}
.programs .menuitem {
  height: 25%;
}
#shutdown-option, #restart-option {
  margin-left: 15%;
}
.overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0.6;
  z-index: 999;
  display: none;
}
.off {
  position: absolute;
  width: 100%;
  background: black;
  z-index: 1001;
  cursor: none;
}
.topOff {  
  top: 0;
}
.bottomOff {
  bottom: 0;
}
.resizeVertical {
  animation-duration: 3s;
  animation-name: resizeVertical;
  animation-fill-mode: forwards;
}
@keyframes resizeVertical {
   from {
     height: 0%;
   }
   
   to {
     height: 100%;
   }
}
.bluescreen {
  background: blue;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  color: white;
  font-family: monospace;
  font-weight: bold;
  font-size: 1.5rem;
  text-align: center;
  display: none;
}
.bluescreen-header {
  background: lightgrey;
  color: blue;
  margin: 10% auto 20px;
  width: 50%;
}
.bluescreen-text {
  margin: 0 auto;
  width: 50%;
  text-align: left;
}
.grass-container, .marking-container {
  box-sizing: border-box;
  width: 50%;
  height: 77%;
  background: #B5B5B5;
  -webkit-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 0.8);
  border: solid 2px rgba(0,0,0,1);
  padding: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.grass {
  width:600px; 
  height:200px; 
  margin: 10px 20%;
}
.grassCanvas {
  border: 1px solid black; 
  position: absolute;
}
.window {
  display: none;
  position: absolute;
  z-index: 100;
  margin: auto;
  font-family: monospace;
  left: 25%;
  top: 10%;
}
.windowContent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  border: solid 1px black;
  box-sizing: border-box;
}
.windowHeader {
  margin: 0;
  padding: 8px;
  background: #000;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  color: white;
  width: 100%;
  box-sizing: border-box;
}
.windowClose {
  border: solid 1px #1D53DB;
  background: #fff;
  color: #1D53DB;
  padding: 2px 6px;
}