.app-body {
  background-image: url('./Photos/Lego Background.webp');
  font-family: 'Trebuchet MS', sans-serif;
  margin: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background-color: #7c7c7c;
  opacity: 0.975;
}

.topbar-title {
  cursor: pointer;
  margin: 0;
  font-size: 1rem;
}

.topbar-clock {
  text-align: right;
}

.topbar-clock-text {
  margin: 0;
  line-height: 1.2;
}

#notepadicon {
  gap: 2px;
}

.app-tile {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 12px;
  border-radius: 10px;
  background-color: #b8b8b8 !important;
  border: 2px solid #6f6f6f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.app-label {
  margin: 4px 0 0;
  text-align: center;
  font-weight: 600;
}

.window {
  position: absolute;
  top: 72px;
  left: 0;
  padding: 8px;
  border: solid;
  width: fit-content;
  border-radius: 32px;
  background-color: #8cdcf7;
  text-align: center;
  z-index: 1;
}

#notepad {
  width: 320px;
  min-width: 220px;
  min-height: 180px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 96px);
  resize: both;
  overflow: auto;
  box-sizing: border-box;
}

.window.active-window {
  z-index: 10;
}

.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background-color: #7c7c7c;
  border-radius: 8px;
  border: solid;
  padding: 0 8px;
}

.window-header-text {
  margin: 0;
}

.closebutton {
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0;
}

.window-title {
  margin: 4px;
}

.window-subtitle {
  margin: 4px 0 8px;
}

.window-image {
  width: 256px;
  height: 256px;
  border-radius: 16px;
}

.window-link {
  color: inherit;
}

.notepad-textarea {
  width: 100%;
  max-width: 100%;
  min-height: 120px;
  height: calc(100% - 80px);
  box-sizing: border-box;
  padding: 8px;
  border: 1px solid #5c5c5c;
  border-radius: 8px;
  resize: none;
  font-family: inherit;
  display: block;
}
