/* lowest desktop screen = 1354px */
/* lowest desktop screen = 764px */

/* Fonts */

@font-face {
  font-family: "Ticketing";
  src: url(/fonts/basiic.ttf);
}

@font-face {
  font-family: "Rubik";
  src: url(/fonts/Rubik-VariableFont_wght.ttf);
}

@font-face {
  font-family: "ss4";
  src: url(/fonts/ss4.ttf);
}

@font-face {
  font-family: "JetBrains";
  src: url(/fonts/JetBrainsMono[wght].ttf);
}

/* Main Styling thing idk */

:root {
  --motion-time: 200ms;
  --hub-height: 56px;
}

body {
  margin: 0;
  /*
* Created with https://www.css-gradient.com
* Gradient link: https://www.css-gradient.com/?c1=390947&c2=7b0177&gt=r&gd=dbb
*/
  background: #390947;
  background: radial-gradient(at center top, #7b0177, #390947);
  padding-bottom: var(--hub-height);
}

.mainItems img {
  width: 100px;
  image-rendering: pixelated;
  transition: transform var(--motion-time) ease;
}

.mainItems img:hover {
  transform: scale(1.3) rotate(2deg);
}

.mainItems {
  display: flex;
  flex-direction: column;
  width: fit-content;
  margin-left: 10px;
}

@media (max-width: 764px) {
  .mainItems {
    flex-direction: row;
  }
}

/* Layout: place mainItems at left and windows in a horizontal row */
.workspace {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding: 20px;
}

@media (min-width: 765px) {
  .workspace {
    flex-direction: row;
  }
}

@media (min-width: 1600px) {
  .workspace {
    min-height: calc(100vh - 80px);
    align-items: flex-start;
  }

  .windowsRow {
    flex: 1;
    justify-content: center;
    align-items: center;
  }
}

.windowsRow {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.windowsColumn {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Responsive: stack everything vertically on narrower screens */
@media (max-width: 1354px) {
  .windowsRow {
    flex-direction: column;
  }
}

.hub img {
  height: 25px;
}

.hub .item img {
  transition: transform var(--motion-time) ease;
}

.hub {
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  width: 100%;
  background: #ebc7ff;
  background: linear-gradient(180deg, rgba(235, 199, 255, 1) 0%, rgba(89, 38, 108, 1) 15%, rgba(85, 38, 105, 1) 50%, rgba(112, 63, 143, 1) 100%);
  box-sizing: border-box;
  z-index: 20;
}

.hub .item {
  flex: 0 0 185px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: "Ticketing";
  background: #ffc7ff;
  background: linear-gradient(180deg, rgba(255, 199, 255, 1) 0%, rgba(160, 43, 158, 1) 15%, rgba(162, 48, 158, 1) 50%, rgba(199, 76, 199, 1) 100%);
  padding: 3px;
  border-radius: 5px;
}

.hub .item:hover {
  background: #ebc7ff;
  background: linear-gradient(180deg, rgba(235, 199, 255, 1) 0%, rgba(134, 32, 132, 1) 15%, rgba(134, 32, 132, 1) 50%, rgba(97, 20, 96, 1) 100%);
}

.hub .item:hover img,
.hub .item:focus-visible img {
  transform: scale(1.1) rotate(10deg);
}

.startMenu {
  flex: 0 0 120px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: "Ticketing";
  background: #fcf2ff;
  background: linear-gradient(180deg, rgba(252, 242, 255, 1) 0%, rgba(166, 0, 255, 1) 15%, rgba(166, 0, 255, 1) 50%, rgba(88, 30, 117, 1) 100%);
  padding: 5px;
  border-radius: 0px 0px 30px 0px;
}

.startMenu::before {
  content: attr(data-bubble);
  position: fixed;
  left: 10px;
  bottom: calc(var(--hub-height) + 18px);
  padding: 6px 10px;
  background: white;
  color: #4b145f;
  font-family: "Ticketing";
  font-size: 14px;
  line-height: 1;
  z-index: 22;
  pointer-events: none;
  width: 100px;
}

.startMenu::after {
  content: "";
  position: fixed;
  left: 34px;
  bottom: calc(var(--hub-height) + 12px);
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(-45deg);
  z-index: 21;
  pointer-events: none;
}

.startMenu:hover {
  background: #e9bfff;
  background: linear-gradient(180deg, rgba(233, 191, 255, 1) 0%, rgba(122, 5, 185, 1) 15%, rgba(122, 5, 185, 1) 50%, rgba(83, 28, 112, 1) 100%);
}

.startMenu:hover img,
.startMenu:focus-visible img {
  transform: scale(1) rotate(360deg);
}

.startMenu img {
  transition: transform 400ms ease;
}

.startMenuContent {
  position: fixed;
  left: 8px;
  bottom: calc(var(--hub-height) + 8px);
  width: 400px;
  padding: 12px;
  box-sizing: border-box;
  background: #1a0421;
  border: 4px solid rgb(160, 43, 158);
  border-radius: 8px 8px 0 0;
  color: white;
  z-index: 21;
  opacity: 0;
  visibility: hidden;
  transform: translateY(120px);
  transition:
    opacity var(--motion-time) ease,
    transform var(--motion-time) ease,
    visibility var(--motion-time) ease;
  pointer-events: none;
}

.startMenuContent--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.startMenuContent .startMenuHeader {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.startMenuContent .startMenuHeader img {
  width: 48px;
  height: 48px;
}

.startMenuContent .startMenuHeader h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.startMenuContent .startMenuItems {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: calc(100vh - var(--hub-height) - 120px);
  overflow-y: auto;
  scrollbar-width: none;
}

.startMenuContent .startMenuItems h2 {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 1;
}

/* visible separators inside the start menu */
.startMenuContent .startMenuItems hr {
  color: white;
  border: 1px solid #ecadff;
  width: 100%;
}

.startMenuContent .startMenuItems .section {
  display: flex;
  gap: 8px;
  align-items: center;
}

.startMenuContent .socials .section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.item {
  font-family: "Ticketing";
}

.mainItems .item {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  margin: 8px;
  color: white;
}

.mainItems .item img {
  display: block;
  margin: 0 auto 6px;
}

.window {
  background-color: black;
  color: white;
  width: 500px;
  font-family: "Rubik";
  padding: 30px;
  padding-right: 30px;
  border: 4px solid rgb(160, 43, 158);
  border-radius: 5px;
  position: relative;
}

.window a {
  color: rgb(255, 174, 254);
}

.window .primaryWindowHeading {
  background: #ffc7ff;
  background: linear-gradient(180deg, rgba(255, 199, 255, 1) 0%, rgba(160, 43, 158, 1) 15%, rgba(162, 48, 158, 1) 50%, rgba(199, 76, 199, 1) 100%);
  padding: 0px 2px 2px 20px;
  margin: 30px 0px 0px 30px;
  box-sizing: border-box;
  color: white;
  position: absolute;
  left: -30px;
  right: -30px;
  top: -30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.window .primaryWindowHeading h2 {
  margin: 0;
}

.window .primaryWindowHeading .headingButtons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  min-width: 160px;
  margin-left: auto;
  margin-right: 40px;
  gap: 8px;
}

.window .primaryWindowHeading .headingButtons .headingButton,
.startMenuContent .socials .headingButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  position: relative;
  border-radius: 5px;
  transition: background-color var(--motion-time) ease;
}

.window .primaryWindowHeading .headingButtons .headingButton:hover,
.window .primaryWindowHeading .headingButtons .headingButton:focus-visible,
.startMenuContent .socials .headingButton:hover,
.startMenuContent .socials .headingButton:focus-visible {
  background: linear-gradient(115deg, var(--hover-color-1, var(--hover-color)) 0 50%, var(--hover-color-2, var(--hover-color)) 50% 100%);
}

.window .primaryWindowHeading .headingButtons .headingButton img,
.startMenuContent .socials .headingButton img {
  display: block;
  height: 18px;
  padding: 2px;
  transition: transform var(--motion-time) ease;
  transform: scale(1.2);
}

.window .primaryWindowHeading .headingButtons .headingButton img:hover,
.startMenuContent .socials .headingButton img:hover {
  transition: transform var(--motion-time) ease;
  transform: scale(1) rotate(-5deg);
}

.window .primaryWindowHeading .headingButtons .headingButton::after,
.startMenuContent .socials .headingButton::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px) scale(0.96) rotate(5deg);
  padding: 4px 8px;
  background: #e8dcff;
  color: #2b0040;
  border: 1px solid #2b0040;
  border-radius: 5px;
  font-family: "Rubik";
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transition:
    opacity var(--motion-time) ease,
    transform var(--motion-time) ease;
  pointer-events: none;
  z-index: 10;
}

.window .primaryWindowHeading .headingButtons .headingButton::before,
.startMenuContent .socials .headingButton::before {
  content: "";
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #2b0040;
  opacity: 0;
  transition:
    opacity var(--motion-time) ease,
    transform var(--motion-time) ease;
  pointer-events: none;
  z-index: 10;
}

.window .primaryWindowHeading .headingButtons .headingButton:hover::after,
.window .primaryWindowHeading .headingButtons .headingButton:hover::before,
.window .primaryWindowHeading .headingButtons .headingButton:focus-visible::after,
.window .primaryWindowHeading .headingButtons .headingButton:focus-visible::before,
.startMenuContent .socials .headingButton:hover::after,
.startMenuContent .socials .headingButton:hover::before,
.startMenuContent .socials .headingButton:focus-visible::after,
.startMenuContent .socials .headingButton:focus-visible::before {
  opacity: 1;
}

.window .primaryWindowHeading .headingButtons .headingButton:hover::after,
.window .primaryWindowHeading .headingButtons .headingButton:focus-visible::after,
.startMenuContent .socials .headingButton:hover::after,
.startMenuContent .socials .headingButton:focus-visible::after {
  transform: translateX(-50%) translateY(0) scale(1);
}

.window .primaryWindowHeading .headingButtons .headingButton:hover::before,
.window .primaryWindowHeading .headingButtons .headingButton:focus-visible::before,
.startMenuContent .socials .headingButton:hover::before,
.startMenuContent .socials .headingButton:focus-visible::before {
  transform: translateX(-50%) translateY(0);
}

.window .secondaryWindowHeading {
  background: #ffc7ff;
  background: linear-gradient(180deg, rgba(255, 199, 255, 1) 0%, rgba(160, 43, 158, 1) 15%, rgba(162, 48, 158, 1) 50%, rgba(199, 76, 199, 1) 100%);
  padding: 0px 2px 2px 20px;
  margin: 20px -30px 0px -30px;
  box-sizing: border-box;
  color: white;
  position: sticky;
  top: 0;
  z-index: 2;
}

.content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px 0 16px 0;
  border-radius: 5px;
}

.about {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  direction: ltr;
}

.music {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  direction: ltr;
}

.blog {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  direction: ltr;
}

@media (max-width: 1354px) {
  .about,
  .music,
  .blog {
    max-height: none;
  }
}

.content {
  box-sizing: border-box;
  padding-top: 12px;
  padding-right: 8px;
  overflow-y: auto;
  flex: 1 1 auto;
  direction: ltr;
  scrollbar-width: none; /* Firefox */
}

h1,
h2,
h3,
h4 {
  font-family: "Ticketing";
}

.window code {
  font-family: "JetBrains";
  background-color: #1a0421;
}

.item span {
  text-shadow:
    0 0 5px black,
    0 0 5px black;
}

.blogPostCard {
  font-family: "ss4";
  background-color: #3a2441;
  padding: 5px 25px 5px 25px;
  margin-top: 20px;
  border-radius: 5px;
}

.blogPostDate {
  display: block;
  margin-top: 8px;
  font-family: "ss4";
  font-size: 0.95rem;
  color: #b35aca;
}

.blogPostCard h3,
h4 {
  font-family: "ss4";
}

.blogPostCard a {
  color: white;
  display: inline-block;
  text-decoration: none;
  transition:
    transform 200ms ease,
    text-decoration-color 200ms ease;
  transform-origin: left center;
}

.blogPostCard a:hover {
  text-decoration: underline;
  transform: scale(0.9);
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 120px;
  height: 20px;
  mask: linear-gradient(90deg, #000 70%, #0000 0) 0/20%;
  -webkit-mask: linear-gradient(90deg, #000 70%, #0000 0) 0/20%;
  background: linear-gradient(#8a00b5 0 0) 0/0% no-repeat #4d0065;
  animation: l4 1000ms infinite steps(6);
}
@keyframes l4 {
  100% {
    background-size: 120%;
  }
}

.loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  z-index: 9999;
  opacity: 1;
  transition:
    opacity var(--motion-time) ease,
    visibility var(--motion-time) ease;
}

.loadingScreen--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loadingScreen h1 {
  font-family: "Ticketing";
  color: white;
}

.loadingScreen h1 sup {
  color: #d287e9;
}

.versionNumber {
  font-family: "Ticketing";
  color: white;
}

.startMenuContent .startMenuHeader sup {
  color: #ecadff;
}

.startMenuContent .startMenuHeader img {
  transition: transform 400ms ease;
}

.startMenuContent .startMenuHeader img:hover {
  transform: rotate(360deg);
}

.startMenuContent .startMenuItems .largeStartMenuItem {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: "Ticketing";
  background: #ffc7ff;
  background: linear-gradient(180deg, rgba(255, 199, 255, 1) 0%, rgba(160, 43, 158, 1) 15%, rgba(162, 48, 158, 1) 50%, rgba(199, 76, 199, 1) 100%);
  padding: 3px;
  border-radius: 5px;
  margin: 5px 0px 0px 0px;
}

.startMenuContent .startMenuItems .largeStartMenuItem img {
  width: 24px;
}

.startMenuContent .startMenuItems .largeStartMenuItem:hover {
  background: #ebc7ff;
  background: linear-gradient(180deg, rgba(235, 199, 255, 1) 0%, rgba(134, 32, 132, 1) 15%, rgba(134, 32, 132, 1) 50%, rgba(97, 20, 96, 1) 100%);
}

.startMenuContent .startMenuItems .largeStartMenuItem img {
  transition: transform var(--motion-time) ease;
}

.startMenuContent .startMenuItems .largeStartMenuItem:hover img,
.startMenuContent .startMenuItems .largeStartMenuItem:focus-visible img {
  transform: scale(1.1) rotate(10deg);
}

.startMenuContent .startMenuItems .StartMenuitem img {
  width: 24px;
}

.startMenuContent .startMenuItems .StartMenuitem:hover {
  background: #ebc7ff;
  background: linear-gradient(180deg, rgba(235, 199, 255, 1) 0%, rgba(134, 32, 132, 1) 15%, rgba(134, 32, 132, 1) 50%, rgba(97, 20, 96, 1) 100%);
}

.startMenuContent .startMenuItems .StartMenuitem img {
  transition: transform var(--motion-time) ease;
}

.startMenuContent .startMenuItems .StartMenuitem:hover img,
.startMenuContent .startMenuItems .StartMenuitem:focus-visible img {
  transform: scale(1.1) rotate(10deg);
}

.webrings {
  color: white;
  font-family: "Ticketing";
  margin-top: -20px;
}

.webrings a {
  color: white;
}
