html, body {
  margin: 0;
  padding: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, Arial;
}

body {
  position: relative;
  overflow: auto;
  color: white;
}

body::before {
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  position: fixed;
  filter: blur(7px) brightness(1.2) saturate(1.3) contrast(1.1);
  transform: scale(1.2);
  background-image: url("./img/bg.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

navbar {
  display: flex;
  align-items: center;
  height: 55px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: rgba(35, 35, 35, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: solid 2px rgba(230, 230, 230, 0.1);
  z-index: 999990;
}

navbar img {
  margin-left: 10px;
  width: 45px;
  height: 45px;
}

.xterm {
  width: 100%;
  height: 100%;
  padding: 4px;
  overflow: scroll;
}

.xterm-screen {
  width: 100%;
  overflow: scroll;
}

desktop {
  height: 1080px;
  width: 1920px;
  position: relative;
  min-width: 1920px;
  min-height: 1080px;
  display: block;
}

desktop .load {
  z-index: 999999;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.98);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

desktop .load .txt {
  color: rgb(90, 90, 90);
  font-size: 15px;
  margin-bottom: 18px;
}

desktop .load .loader {
  width: 750px;
  height: 22px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
  padding: 2px;
}

desktop .load .loader .bar {
  height: 100%;
  width: 0%;
  background-color: rgba(86, 0, 224, 0.9);
  transition: width 0.3s ease;
  border-radius: 10px;
}

desktop .load #loaddisp {
  margin-top: 25px;
  width: 750px;
  overflow: scroll;
  height: 400px;
}

apps {
  display: block;
  position: absolute;
  top: 16px;
  left: 16px;
  grid-auto-rows: 80px;
  gap: 12px;
  grid-template-columns: repeat(1, 70px);
}

apps .appcont {
  width: 70px;
  height: 80px;
  margin: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  justify-content: flex-start;
}

apps .appcont .icon {
  width: 54px;
  height: 54px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9px;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  display: flex;
  box-sizing: border-box;
}

apps .appcont .icon img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

apps .appcont p {
  max-width: 70px;
  align-self: center;
  font-size: 20px;
  margin: 5px 0 0;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  line-height: 14px;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.window {
  touch-action: none; 
  width: 450px;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9px;
  margin: 8px;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  position: absolute;
  user-select: none;
  overflow: hidden;
  box-sizing: border-box;
}

.window .nav {
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  cursor: grab;
  height: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window .nav .icon {
  width: 20px;
  height: 100%;
  line-height: 0;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  font-size: 12px;
  margin-left: 4px;
}

.window .nav .name {
  line-height: 0;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  font-size: 12px;
  margin-left: 3px;
}

.window .nav .ctrls {
  align-self: stretch;
  display: flex;
  margin-left: auto;
}

.window .nav .ctrls .close {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  width: 20px;
  height: 100%;
  line-height: 0;
  font-weight: bold;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  font-size: 16px;
  cursor: pointer;
}

.window .nav .ctrls .full {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  width: 20px;
  height: 100%;
  line-height: 0;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  font-size: 12px;
  cursor: pointer;
}

.window .nav .ctrls .min {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  width: 20px;
  height: 100%;
  line-height: 0;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  font-size: 16px;
  cursor: pointer;
}

.window .cont {
  width: 100%;
  height: 180px;
  overflow-x: auto;
  overflow-y: auto;
  white-space: nowrap;
}

.window .cont ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.window .cont ul li {
  display: flex;
  align-items: center;
  height: 24px;
  min-width: max-content;
  list-style-type: none;
  color: rgba(255, 255, 255, 0.7);
}

.window .cont ul li img {
  display: inline-block;
  padding: 0 5px;
  width: 18px;
  height: 18px;
}

.window .cont ul li .fname {
  display: inline-block;
  font-size: 14px;
}

.window .cont ul li .fsize {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.5);
}

txtedit {
  display: flex;
  flex-direction: column;
  white-space: normal;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.txtedit-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  cursor: pointer;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 35px;
  box-sizing: border-box;
  padding: 4px 8px;
  flex-shrink: 0;
}

.txtedit-nav input {
  flex: 1;
  min-width: 0;
  height: 25px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  outline: none;
  color: white;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 12px;
  background: transparent;
}

.txtedit-nav input:focus {
  border-color: rgba(86, 0, 224, 0.6);
}

.txtedit-nav .lucide-save {
  height: 25px;
  width: 25px;
  stroke-width: 1;
  transition: color 0.3s ease;
  cursor: pointer;
  color: white;
}

.txtedit-nav .lucide-save:hover {
  color: rgba(200, 200, 200, 0.9);
}

.txtedit-nav .lucide-save:active {
  color: rgba(86, 0, 224, 0.4);
}

txtedit textarea {
  flex: 1;
  width: 100%;
  resize: none;
  min-height: 0;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 14px;
  tab-size: 2;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.4);
  line-height: 1.5;
  box-sizing: border-box;
  white-space: pre;
  overflow: auto;
}

cam {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

cam .camfeed {
  object-fit: cover;
  width: 100%;
  height: 100%;
  overflow: auto;
  box-sizing: border-box;
}

cam .camtake {
  touch-action: none;
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 25px;
  height: 25px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  box-sizing: border-box;
}

cam .camgall, cam .camface {
  touch-action: none;
  position: absolute;
  top: 15px;
  width: 25px;
  height: 25px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  box-sizing: border-box;
}

cam .camgall img, cam .camface img {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9));
}

cam .camgall {
  left: 45px;
}

cam .camface {
  left: 15px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

cam .camface img {
  width: 18px;
  height: 18px;
}