body {
  margin: 0;
  font-family: serif;
  background: #f5eedb;
}
/* I hate when people look into my code. Just enjoy the os. */
#boot {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #2b1810;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#book {
  background: #fdfaf2;
  border: 5px solid #8b5a2b;
  padding: 30px;
  width: 250px;
  text-align: center;
}

#bar {
  width: 100%;
  height: 16px;
  border: 2px solid #8b5a2b;
  margin-top: 15px;
  margin-bottom: 10px;
}

#load {
  width: 0%;
  height: 100%;
  background: #8b5a2b;
}

#desk {
  width: 100vw;
  height: 100vh;
  background: #eadeca url('wallpaper.jpg') no-repeat center center / cover;
  position: relative;
  overflow: hidden;
  /* still looking into my code? i hate when people do that. stopppp */
}

#clockwidget {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 95px;
  height: 95px;
  background: rgba(253, 250, 242, 0.85);
  backdrop-filter: blur(8px);
  border: 3px solid #8b5a2b;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(43, 24, 16, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

#clockface {
  position: relative;
  width: 80px;
  height: 80px;
}

.hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 2px;
}

#hrhand {
  width: 3px;
  height: 24px;
  margin-left: -1.5px;
  background: #2b1810;
}

#minhand {
  width: 2px;
  height: 33px;
  margin-left: -1px;
  background: #2b1810;
}

#sechand {
  width: 1px;
  height: 36px;
  margin-left: -0.5px;
  background: #8b5a2b;
}

#clockpin {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin-top: -3.5px;
  margin-left: -3.5px;
  background: #8b5a2b;
  border-radius: 50%;
}

#grid {
  display: flex;
  gap: 20px;
  padding: 30px;
}

.deskitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.label {
  font-size: 13px;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  user-select: none;
}

#dock {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 6px 14px;
  background: #d4c4a8;
  border: 2px solid #8b5a2b;
  border-radius: 20px;
}

.dockitem {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0 6px;
  box-sizing: content-box;
  cursor: default;
  transition: width, height, margin-top, cubic-bezier(0.25, 1, 0.5, 1) 100ms;
}

.dockitem .tile {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: 20px;
  cursor: default;
}
/* Don't you trust me? the code is pefect. stop looking into it mf. */
.dockitem:hover {
  width: 62px;
  height: 62px;
  margin-top: -22px;
}

/* right side */
.dockitem:hover + .dockitem {
  width: calc(53px + var(--dock-offset-right, 0px));
  height: calc(53px + var(--dock-offset-right, 0px));
  margin-top: calc(-13px + var(--dock-offset-right, 0px) * -1);
}

.dockitem:hover + .dockitem + .dockitem {
  width: calc(46px + var(--dock-offset-right, 0px));
  height: calc(46px + var(--dock-offset-right, 0px));
  margin-top: calc(-6px + var(--dock-offset-right, 0px) * -1);
}

/* left side */
.dockitem:has(+ .dockitem:hover) {
  width: calc(53px + var(--dock-offset-left, 0px));
  height: calc(53px + var(--dock-offset-left, 0px));
  margin-top: calc(-13px + var(--dock-offset-left, 0px) * -1);
}

.dockitem:has(+ .dockitem + .dockitem:hover) {
  width: calc(46px + var(--dock-offset-left, 0px));
  height: calc(46px + var(--dock-offset-left, 0px));
  margin-top: calc(-6px + var(--dock-offset-left, 0px) * -1);
}

.tip {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: ease-in opacity 100ms;
  background: #2b1810;
  color: #fdfaf2;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.dockitem:hover .tip {
  opacity: 1;
}

.tile {
  width: 50px;
  height: 50px;
  background: #fdfaf2;
  border: 2px solid #8b5a2b;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  user-select: none;
  filter: sepia(100%) hue-rotate(345deg) saturate(180%) brightness(0.65);
}

.box {
  position: absolute;
  top: 150px;
  left: 150px;
  width: 250px;
  height: 180px;
  background: #fdfaf2;
  border: 2px solid #8b5a2b;
}

.head {
  height: 25px;
  background: #8b5a2b;
  cursor: grab;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  padding-right: 5px;
}

.btn {
  width: 14px;
  height: 14px;
  background: #fdfaf2;
  cursor: pointer;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  user-select: none;
}

.clockbody {
  height: calc(100% - 25px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #2b1810;
  user-select: none;
}

.clockdigi {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: 2px;
}

.clockdate {
  font-size: 14px;
  margin-top: 8px;
  opacity: 0.8;
}

.notewin {
  display: flex;
  height: calc(100% - 25px);
}

.noteside {
  width: 120px;
  background: #ebdcc7;
  border-right: 1px solid #8b5a2b;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.notenew {
  padding: 6px 10px;
  background: #8b5a2b;
  color: #fdfaf2;
  font-size: 12px;
  text-align: center;
  cursor: pointer;
  user-select: none;
  font-family: serif;
}

.notelist {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.noteitem {
  padding: 6px 8px;
  font-size: 12px;
  cursor: pointer;
  border-bottom: 1px solid #d8c8af;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #2b1810;
  user-select: none;
}

.noteitem.noteactive {
  background: #fdfaf2;
  font-weight: bold;
}

.notedel {
  font-size: 13px;
  color: #8b5a2b;
  cursor: pointer;
  margin-left: 4px;
}

.notemain {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.notetool {
  height: 28px;
  background: #ebdcc7;
  border-bottom: 1px solid #8b5a2b;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
}

.toolbtn {
  width: 22px;
  height: 20px;
  background: #fdfaf2;
  border: 1px solid #8b5a2b;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  color: #2b1810;
  user-select: none;
}

.toolbtn:hover {
  background: #d4c4a8;
}

.notepaper {
  flex: 1;
  padding: 8px 14px 8px 16px;
  background-color: #fdfaf2;
  background-image: repeating-linear-gradient(transparent, transparent 27px, #dfd0bb 28px);
  line-height: 28px;
  font-size: 15px;
  font-family: serif;
  color: #2b1810;
  border-left: 2px solid #d49a88;
  outline: none;
  overflow-y: auto;
  box-sizing: border-box;
}

.todowin {
  height: calc(100% - 25px);
  display: flex;
  flex-direction: column;
  padding: 12px;
  box-sizing: border-box;
  background: #fdfaf2;
}

.todobar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}

.todoin {
  flex: 1;
  padding: 5px 8px;
  border: 1px solid #8b5a2b;
  background: #fffdf9;
  font-family: serif;
  font-size: 13px;
  color: #2b1810;
  outline: none;
}

.todobtn {
  padding: 5px 12px;
  background: #8b5a2b;
  color: #fdfaf2;
  border: none;
  cursor: pointer;
  font-family: serif;
  font-size: 14px;
  user-select: none;
}

.todolist {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.todoitem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  border-bottom: 1px dashed #d8c8af;
  font-size: 13px;
  color: #2b1810;
}

.todocheck {
  cursor: pointer;
  width: 14px;
  height: 14px;
  border: 1px solid #8b5a2b;
  background: #fdfaf2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  user-select: none;
}

.todotext {
  flex: 1;
  word-break: break-word;
}

.tododone {
  text-decoration: line-through;
  opacity: 0.55;
}

.tododel {
  cursor: pointer;
  color: #8b5a2b;
  font-size: 14px;
  user-select: none;
  padding: 0 4px;
}

.soon {
  height: calc(100% - 25px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #2b1810;
  font-size: 15px;
  font-style: italic;
  font-family: serif;
  user-select: none;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}