/* font import */
@font-face {
  font-family: "Chicago";
  src: url("../font/ChiKareGo2.ttf");
  font-display: swap;
}

@font-face {
  font-family: "Geneva";
  src: url("../font/FindersKeepers.ttf");
  font-display: swap;
}

@font-face {
  font-family: "Tenpoint";
  src: url("../font/tenpoint.ttf");
  font-display: swap;
}

@font-face {
  font-family: "CommandKey";
  src: url("../font/CommandKey.ttf");
  font-display: swap;
}

/* disable text selection on certain elements */
.window-header,
.window-header span,
.window-header a,
.menubar,
.menubar-content,
.menubar-item {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* hide windows */
#about-this-macintosh,
#now-playing,
#about-this-website {
  display: none;
}

/* rest of styling */
html {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  overscroll-behavior: none;
}

body,
.fakebody {
  height: 100%;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
  font-family: "Geneva", sans-serif;
  font-size: 16pt;
  background: url("../img/blank.png");
  background-size: cover;
  background-position: center;
  margin: 0;
  padding: 0;
  overscroll-behavior: none;
  overflow: hidden;
}

.fakebody video {
  min-height: 100%;
  min-width: 100%;
  z-index: 1;
  object-position: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

a,
a:hover,
a:visited {
  color: #000;
}

.command {
  font-family: "CommandKey", sans-serif;
  font-size: 14px;
  margin-right: 2px;
}

.box-shadow {
  -webkit-box-shadow: 2px 2px 0px 0px rgba(0,0,0,1);
  -moz-box-shadow: 2px 2px 0px 0px rgba(0,0,0,1);
  box-shadow: 2px 2px 0px 0px rgba(0,0,0,1);
}

.window {
  position: absolute;
  width: 400px;
  background: #fff;
  border: 1px solid #000;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.window-header {
  border-bottom: 1px solid #000;
  display: flex;
  align-items: center;
  background: url("../img/window-stripe.png");
  background-position: center;
  background-repeat: repeat-x;
  image-rendering: pixelated;
  -webkit-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
  -moz-box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
  box-shadow: inset 0px 0px 0px 1px rgba(255,255,255,1);
  pointer-events: all !important;
}

.window-header span {
  font-family: "Chicago", sans-serif;
  font-size: 14pt;
  margin: 0 auto;
  padding: 0px 6px 0px 8px;
  background: #fff;
  pointer-events: none;
}

.window-close-button {
  background: #fff;
  border: 1px solid #000;
  -webkit-box-shadow: 0px 0px 0px 1px rgba(255,255,255,1);
  -moz-box-shadow: 0px 0px 0px 1px rgba(255,255,255,1);
  box-shadow: 0px 0px 0px 1px rgba(255,255,255,1);
  padding: 0;
  height: 11px;
  width: 11px;
  position: absolute;
  margin-left: 8px;
}

.player {
  padding: 18px;
  display: flex;
}

.player-info {
  margin-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Geneva", sans-serif;
  font-size: 16pt;

}

#cover {
  border: 1px solid #000;
  width: 30%;
  height: 30%;
  image-rendering: auto;
}

#title {
  font-family: "Tenpoint";
  font-size: 16pt;
  margin-bottom: 0px;
}

#artist {
  font-family: "Tenpoint";
  font-size: 13pt;
}

#album {
  margin-top: 6px;
  font-style: italic;
  line-height: 0.8;
}

.menubar {
  display: flex;
  align-items: center;
  flex-direction: row;
  background: #fff;
  height: 24px;
  width: 100%;
  font-family: "Chicago", sans-serif;
  font-size: 14pt;
  border-bottom: 1px solid #000;
  position: absolute;
  z-index: 99;
}

.menubar-content {
  margin-left: 12px;
  display: flex;
  align-items: center;
  flex-direction: row;
  height: 100%;
}

#apple-logo {
  font-size: 22px;
  background: #fff;
  color: #000;
}

.menubar-item-container,
.menubar-item {
  height: 100%;
}

.menubar-item {
  padding-left: 10px;
  padding-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#apple-logo:active {
  background: #000;
  color: #fff;
}

.menubar-item:active {
  background: #000;
  color: #fff;
}

.item-dropdown {
  position: absolute;
  background: #fff;
  margin-right: 2px;
  border: 1px solid #000;
  z-index: 99;
}

.show {
  display: block;
  z-index: 11;
}

.hide {
  display: none;
}

.item-link-container {
  display: flex;
}

.item-dropdown a {
  float: none;
  color: #000;
  padding: 0px 8px 0px 18px;
  text-decoration: none;
  display: block;
  text-align: left;
  width: 100%;
}

.item-link-container:hover,
.item-link-container a:hover {
  color: #fff;
  background: #000;
}

.item-link-container div {
  position: absolute;
  pointer-events: none;
  width: 100%;
  right: 0;
  left: 81%;
}

#apple-dropdown a {
  padding-left: 18px;
  padding-right: 14px;
  min-width: 115px;
  width: auto;
}

.divider {
  width: 100%;
  height: 0px;
  border-top: 1px dotted #000;
  margin-top: 10px;
  margin-bottom: 10px;
}

.disabled,
.disabled a {
  color: rgba(0, 0, 0, 0.5);
}

.disabled:hover,
.disabled a:hover {
  background: #fff;
  color: rgba(0,0,0,0.5);
  cursor: url('../img/cursor.svg'), auto;
}

#edit-dropdown > div:nth-child(8) > a {
  padding-right: 12px;
}

#clock-container {
  margin-left: auto;
  margin-right: 12px;
  padding-bottom: 2px;
}

#clock:active {
  background: #fff;
  color: #000;
}

.sysinfo-columns {
  display: flex;
  padding: 10px 16px 6px 16px;
}

.sysinfo-column {
  width: 50%;
  display: flex;
  font-size: 13.5pt;
}

.sysinfo-header {
  font-family: "Tenpoint";
  font-size: 13pt;
}

#mem-header,
#first-value {
  line-height: 0.5;
  align-self: flex-end;
  margin-bottom: 6px;
}

#model-header {
  align-self: flex-end;
  margin-left: 8px;
}

#macicon {
  image-rendering: pixelated;
  margin-bottom: 0;
  align-self: end;
}

#sysicon {
  height: 15px;
  image-rendering: pixelated;
  margin-top: 2px;
}

#first-column {
  margin-right: 12px;
  margin-top: 1px;
}

#version-column {
  flex-direction: column;
  justify-content: center;
}

#version-column .sysinfo-header {
  margin-bottom: 1px;
}

.memory-column {
  justify-content: space-between;
}

#sys-memory {
  margin-left: -10px; line-height: 0.95;
}

.sysinfo-value {
  line-height: 1.3;
  font-size: 13.5pt;
  margin-right: 4px;
}

#first-value {
  margin-right: 12px;
}

.meminfo-value {
  line-height: 0.95;
}

.membar {
  margin-top: 2px;
  height: 10px;
  width: 100%;
  border: 1px solid #000;
}

.membar-fill {
  height: 100%;
  width: 88%;
  background: #000;
}

.bar-column {
  width: 16px; 
  margin-left: 6px; 
  border: 1px solid #000; 
  border-top: none;
  height: 84px;
  display: flex;
  flex-direction: column;
}

.bar-button {
  width: 16px;
  height: 16px;
  image-rendering: pixelated;
  user-select: none;
  pointer-events: none;
}

.arrowup-button {
  border-bottom: 1px solid #000;
}

.arrowdown-button {
  margin-top: auto;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}

.gif-source {
  margin: 0;
  margin-left: 8px;
  margin-bottom: 2px;
  cursor: default;
}

/*
.gif-source,
.gif-source a {
  color: rgba(0,0,0,0.5);
}
*/

.source-label {
  pointer-events: all !important;
}

.intro-container {
  margin-top: 16px !important;
  margin-bottom: 8px;
  height: auto;
}

.text-container {
  margin: 10px;
  margin-top: 0;
}

.text-container p {
  margin: 0 0 10px 0;
  line-height: 0.75
}

.text-container h1 {
  margin: 15px 0 5px 0;
  font-family: 'Chicago';
  font-size: 16pt;
  font-weight: normal;
}

.text-container h2 {
  margin: 0 0 2px 0;
  font-family: 'Tenpoint';
  font-size: 14pt;
  font-weight: normal;
}

.list-p {
  margin: 2px 0 4px 0 !important;
}

/* cursors */
html,
.window,
.window-header,
.menubar {
  cursor: url('../img/cursor.svg'), auto;
}

.menubar-item-container,
.menubar-item,
a,
a:hover,
.window-close-button {
  cursor: url('../img/cursor-pointer.svg'), auto;
}

#clock {
  cursor: url('../img/cursor.svg'), auto;
}

.window-header {
  cursor: url('../img/cursor-pan.svg'), auto;
}

.menubar,
.menubar-item-container,
.menubar-item {
  user-select: none !important;
  -webkit-user-select: none !important;
}

#intro-img {
  border: 1px solid #000;
  -webkit-box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
  -moz-box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
  box-shadow: 4px 4px 0px 0px rgba(0,0,0,1);
}