body {
  margin: 0;
  padding: 0;
  background-size: cover;
  overflow: hidden;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #f5f5f5;
  height: 100%;
}

.top-bar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 26px;
  background-color: #fff;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  border-bottom: 0.5px solid #e0e0e0;
}

.menu-items {
  display: flex;
  gap: 15px;
}

.time {
  margin-left: auto;
  padding-right: 10px;
}

.bold {
  font-weight: 600;
}

.web {
  overflow: hidden;
}

.web .modal-content {
  padding: 0;
}

.web img {
  min-width: 40vw;
}

.modal {
  display: none;
  position: absolute;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05), 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  flex-direction: column;
  width: fit-content;
  height: fit-content;
  overflow: hidden;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.address-bar {
  width: 90%;
  height: 30px;
  background-color: #f5f5f7;
  border-radius: 6px;
  border: 1px solid #ccc;
  padding: 0 10px;
  line-height: 30px;
  margin-left: 10px;
  color: #000;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.address-bar img {
  min-width: 20px;
  opacity: 0.5;
  height: 15px;
  margin-top: 7px;
}

.modal.offset-1 {
  left: calc(50% + 10px);
  top: calc(46% + 10px);
}
.modal.offset-2 {
  left: calc(50% + 20px);
  top: calc(46% + 20px);
}
.modal.offset-3 {
  left: calc(50% + 30px);
  top: calc(46% + 30px);
}

.modal-header {
  display: flex;
  background-color: #eee;
  padding: 6px 8px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  align-items: center;
  padding-left: 15px;
}

.modal-content {
  padding: 10px;
  flex-grow: 1;
}
.modal-content img {
  width: 100%;
  border-radius: 6px;
}

.window-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 12vw;
  display: inline-block;
  height: 20px;
  cursor: default;
}

.info {
  display: flex;
  width: 35vw;
  min-width: auto;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 30vh;
}

.info .modal-content {
  background-color: #000;
  color: #c0c0c0;
  font-family: monospace;
  font-size: 12px;
  line-height: 1.3;
  padding-bottom: 200px;
}

.minimize {
  background-color: #ff5f57;
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  cursor: pointer;
  margin-right: 5px;
  font-size: 0;
}

.yellow {
  background-color: #ffbd2e;
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  font-size: 0;
}

.green {
  background-color: #28c840;
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin-right: 9px;
  font-size: 0;
}

.folder-icon {
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 5px;
  margin-bottom: 3px;
  border-radius: 12px;
}

.icon-label {
  padding: 2px 5px;
  border-radius: 3px;
  text-align: center;
  display: flex;
}

.project-link.highlighted .folder-icon {
  background-color: rgba(192, 192, 192, 0.3);
}

.project-link.highlighted .icon-label {
  background-color: #0078d7;
  color: white;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  bottom: 10px;
  height: fit-content;
  z-index: 1;
  gap: 30px;
  left: 20px;
  right: 20px;
  row-gap: 15px;
}

.menu > *:nth-child(1) {
  bottom: 20px;
  left: 20px;
}
.menu > *:nth-child(2) {
  bottom: 40px;
  left: 170px;
}
.menu > *:nth-child(3) {
  bottom: 120px;
  left: 150px;
}
.menu > *:nth-child(4) {
  bottom: 50px;
  left: 70px;
}
.menu > *:nth-child(5) {
  bottom: 120px;
  left: 30px;
}
.menu > *:nth-child(6) {
  bottom: 200px;
  left: 60px;
}

.project-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  color: #000;
  cursor: pointer;
  font-weight: 400;
  position: absolute;
}

.url {
  display: inline-block;
  background-color: rgb(220, 220, 220);
  width: fit-content;
  height: 20px;
  border-radius: 5px;
  padding: 5px 15px;
  margin-left: 20px;
}

.logo img {
  height: 13px;
  width: 13px;
  padding-left: 10px;
  margin-top: 3px;
}

.modal-large .modal-content img {
  max-width: 100%;
  max-height: 55vh;
  width: auto;
  height: auto;
}

#thumbnailContainer {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#thumbnailContainer img {
  max-height: 10vh;
  border-radius: 6px;
  cursor: pointer;
}

#largeImage {
  cursor: default;
  pointer-events: none;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.blink {
  animation: blink 1s step-start infinite;
  position: relative;
  bottom: 1px;
}

.cover-video {
  width: 100%;
  margin-bottom: -5px;
}

.modal.web {
  width: 50vw;
}

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.logo-preloader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  filter: invert();
}

.loader {
  position: absolute;
  max-width: 250px;
  width: 50vw;
  height: 5px;
  background-color: #7f7f7f;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
}

.loading-bar {
  width: 0;
  height: 100%;
  background-color: #fff;
  animation: loading 1.2s forwards;
  border-radius: 20px;
}

@keyframes loading {
  0% {
    width: 0;
  }
  50% {
    width: 75%;
  }
  67% {
    width: 75%;
  }
  100% {
    width: 100%;
  }
}

.topbar-item {
  cursor: default;
}

.badge {
  width: 180px;
  position: absolute;
  cursor: move;
  top: 40px;
  left: 20px;
}

@media (max-width: 768px) {
  .info {
    width: 85vw;
  }

  .window-title {
    width: 33vw;
  }

  .modal.web {
    width: 92vw;
  }
}
