@charset "UTF-8";
/* CSS Document */

/*@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap');

:root {
  --fontWeightRegular: 400;
  --fontWeightBold: 700;
  --fontSizeMd: 15px;
  --barHeight: 30px;
  --margin: 10px;
}

body {
  align-items: center;
  background-image: url('img/background.gif');
  background-size: 100px;
  background-position: left top;
  display: flex;
  font-family: 'IBM Plex Mono', monospace; /*'Sofia Sans', sans-serif;*/
  font-size: var(--fontSizeMd);
  height: 100vh;
  justify-content: center;
  margin: 0px;
  overflow: hidden;
  vertical-align: center;
  user-select: none;
  image-rendering: pixelated;
  image-rendering: crisp-edges; /* fallback for some browsers */
}

*::selection {
  background-color: black;
  color: white;
}

a:hover,
button:hover,
.app:hover,
.window .topBar {
  cursor: pointer !important;
}

hr{
  width: calc(100% - 20px);
  border: none;
  border-top: 1.5px dashed black;
}

#finder {
  background-color: white;
  border: solid 2px black;
  box-shadow: 2px 2px 0px 0px black;
  height: calc(100vh - 50px);
  max-height: 560px;
  max-width: 750px;
  overflow: hidden;
  width: calc(100vw - 50px);
}

.topBar, .secBar {
    height: var(--barHeight);
    box-sizing: border-box;
	word-spacing: -0.2em;
}
.topBar {
  align-items: center;
  border-bottom: solid 2px black;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 3px 12px;
  text-align: center;
}

.topBar h1,
.secBar p,
.window h2 {
  margin: 0px !important;
}
.topBar h1 {
  font-size: 16px;
  font-weight: --fontWeightBold;
  position: relative;
}

.window h2 {
  font-size: var(--fontSizeMd);
  font-weight: var(--fontWeightRegular);
}

.secBar {
  align-items: center;
  border-bottom: double 4px black;
  display: flex;
  flex-direction: row;
  font-weight: var(--fontWeightRegular);
  justify-content: space-between;
  padding: 3px 12px;
}
.secBar p {
  text-align: center;
}

a {
  color: currentColor;
  text-decoration: none;
}

.content a:focus, .folder a:focus {
	outline: dashed 2px black;
	outline-offset: -10px;
}


@media screen and (max-width: 767px) {
  .secBar p:nth-child(1),
  .secBar p:nth-child(3) {
    display: none;
  }
  .secBar p:nth-child(2) {
    flex-basis: 100%;
  }
}

.content {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: left;
  padding: var(--margin);
  overflow: scroll;
  height: fit-content;
  max-height: calc(100% - 80px)
}

@media only screen and (max-width: 650px) {
	#finder {width: 100%; height: 100%; max-height: 100%; max-width: 100%; border: none;}
	.content {justify-content: center;}
	.content .app:last-child {margin-bottom: 75px;}
}
.app {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: left;
  margin: 5px 2.5px;
  padding: var(--margin) 20px;
  position: relative;
  width: 100px;
}

.app img {
  height: 80px;
  width: auto;
  margin: auto;
}

.app h3 {
  font-size: var(--fontSizeMd);
  font-weight: var(--fontWeightRegular);
  margin: 0px;
  text-align: center;
}

.window, #contextMenu {
  background-color: white;
  border: double 4px black;
  box-shadow: 2px 2px 0px 0px black;
  display: none;
  left: 0px;
  position: absolute;
  padding: 0px;
  width: 500px;
  max-width: 80vw;
}

#contextMenu {
	border: solid 2px black;
	width: auto;
	height: auto;
	padding: 0px var(--margin);
	position: absolute;
}

.showMe {
  display: block !important;
}

.window p {
  line-height: 1.2em;
  margin: var(--margin);
  user-select: text;
}

.window button {
  background-color: white;
  border: solid 2px black;
  height: 16px;
  left: 4.5px;
  position: absolute;
  width: 16px;
}

.window {
  z-index: 3;
}

.folder div:last-child {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
}

.front {
  z-index: 4;
}


/* REGULAR CLOCK / TIME.APP */

.window#regularClock {
  width: 252px;
  height: 282px;
  box-sizing: content-box;
}
canvas{
  width:240px;
  height:240px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  border:6px solid #000;
  box-shadow: inset -4px -4px 0 rgba(255,255,255,0.05);
  background:#000;
}
