body {
  margin: 0;
  padding: 0;
  background-color: #0050a0;
  font-family: monospace;
  cursor: url(cursor.cur),pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.workbench {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('amiga-workbench-bg.webp') center center no-repeat;
  background-size: cover;
}

.window {
  position: absolute;
  width: 400px;
  background-color: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 4px 4px #404040;
  color: black;
}

.window-header {
  background-color: #000080;
  color: white;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 14px;
}

.window-content {
  padding: 12px;
  background-color: #dcdcdc;
  font-size: 14px;
  overflow-y: auto;
  max-height: 300px;
}

.icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  margin: 8px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  text-align: center;
  font-size: 10px;
  color: black;
  cursor: pointer;
}

.icon[data-folder="games"] {
  background-image: url('games_closed.png');
}
.icon[data-folder="tools"] {
  background-image: url('tools_closed.png');
}
.icon[data-folder="demos"] {
  background-image: url('demos_closed.png');
}

.icon.open[data-folder="games"] {
  background-image: url('games_open.png');
}
.icon.open[data-folder="tools"] {
  background-image: url('tools_open.png');
}
.icon.open[data-folder="demos"] {
  background-image: url('demos_open.png');
}


.cli-area {
  background-color: black;
  color: limegreen;
  font-family: monospace;
  padding: 10px;
  height: 120px;
  overflow-y: scroll;
  border: 1px solid #222;
}

.cli-input {
  width: 100%;
  font-family: monospace;
  padding: 6px;
  margin-top: 4px;
  border: 1px solid #000;
  background-color: #e0e0e0;
  box-sizing: border-box;
}

#snake-window {
  display: none;
}

#snake-window .window-content {
  overflow: hidden;
  padding: 0;
}

#snake-game {
  display: grid;
  grid-template-columns: repeat(20, 20px);
  grid-template-rows: repeat(20, 20px);
  gap: 1px;
  width: calc(20px * 20 + 19px);
  height: calc(20px * 20 + 19px);
  overflow: hidden;
}


.snake-cell {
  width: 20px;
  height: 20px;
  background: #c0c0c0;
}

.snake {
  background: green !important;
}

.food {
  background: red !important;
}
