@keyframes fade {
  from {
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

* {
  user-select: none;
}

body {
  background-image: url("bg.png");
  background-attachment: fixed;
  background-position: right center;
  background-size: cover;
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.window {
  width: 1024px;
  height: 768px;
  position: relative;
  top: -40px;
  background: #2b2b2bcc;
  backdrop-filter: blur(16px);
  border: 1px solid #501889;
  box-shadow: 0 0 24px 0 #00000080;
  display: flex;
  flex-direction: row;
}

.sidebar {
  width: 320px;
  height: 100%;
  padding: 48px 0 0 0;
}

.page {
  width: calc(100% - 320px);
  height: 100%;
  background: black;
}

.pageContent {
  padding: 5px 24px 24px 24px;
}

.option {
  width: 100%;
  height: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  transition: scale 500ms cubic-bezier(0.1, 0.9, 0.2, 1);
}

.optionContainer {
  width: 100%;
  height: 48px;
  position: relative;
  transition: background-color 83ms cubic-bezier(0, 0, 0.58, 1);
}

.optionContainerMain {
  margin-bottom: 12px;
}

.optionContainerMain::before {
  content: "";
  width: 4px;
  height: 24px;
  display: block;
  background-color: #3f007f;
  position: absolute;
  inset: 12px 0 0;
}

.optionContainer:hover {
  background-color: #ffffff20;
}

.optionContainer:active {
  background-color: #ffffff40;
}

.option:active {
  scale: 0.95;
}

.optionIcon {
  color: white;
  margin: 16px;
}

.optionText {
  font-family: system-ui;
  font-size: 14px;
  color: white;
}

.sidebarHeader {
  margin: 12px 0 25px 16px;
  font-family: system-ui;
  font-size: 13px;
  color: white;
  font-weight: 600;
}

.sidebarHeader + .optionContainer {
  top: 25px;
}

h1.pageTitle {
  margin: 51px 0 24px 7px;
  color: white;
  font-family: system-ui;
  font-weight: 300;
  font-size: 29px;
}

h2 {
  color: white;
  font-family: system-ui;
  font-weight: 300;
  font-size: 20px;
  margin: 0 0 24px 7px;
}

h3 {
  color: white;
  font-family: system-ui;
  font-weight: 300;
  font-size: 14px;
  margin: 0 0 24px 7px;
}

.btn {
  background-color: #ffffff20;
  color: white;
  font-family: system-ui;
  font-size: 14px;
  margin: 20px 0 0 0;
  width: fit-content;
  padding: 8px;
  border: 1px solid transparent;
  transition: scale 500ms cubic-bezier(0.1, 0.9, 0.2, 1);
}

.btn:hover {
  background-color: #ffffff40;
  border: 1px solid #ffffff80;
}

.btn:active {
  scale: 0.95;
  background-color: #ffffff60;
}

.darken {
  position: absolute;
  inset: 0;
  background-color: #00000080;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 83ms cubic-bezier(0, 0, 0.58, 1);
}

.dialog {
  padding: 20px;
  display: block;
  color: white;
  font-family: system-ui;
  font-size: 27px;
  border: 1px solid #ffffff80;
  background-color: #2b2b2bcc;
  backdrop-filter: blur(20px);
  transition:
    opacity 167ms cubic-bezier(0, 0, 0.58, 1),
    scale 1000ms cubic-bezier(0.1, 0.9, 0.2, 1);
}

.dialog::before {
  content: "What have you done...";
}

.darkenAnim {
  opacity: 0;
}

.dialogAnim {
  scale: 1.1;
  opacity: 0;
}

.pearto {
  position: absolute;
  inset: 0;
  background-image: url("pearto.png"), linear-gradient(black);
  background-attachment: fixed;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  animation: 12.5s linear fade;
}

.linksGroup {
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  width: 240px;
  flex-direction: column;
  margin: 102px 0 0 24px;
}

.linksGroup::before {
  content: "Check out my socials!";
  color: white;
  font-family: system-ui;
  font-size: 14px;
}

a {
  color: #3f007f;
  font-family: system-ui;
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
}

@media (max-height: 767px) {
  .sidebar, .page {
    display: none;
  }

  .window::before {
    content: "Your window is too small or you are on mobile. This website cannot work properly.";
    font-family: system-ui;
    font-weight: 300;
    font-size: 27px;
    color: white;
  }

  .window {
    padding: 20px;
    width: fit-content;
    height: fit-content;
  }
}

@media (max-width: 1023px) {

  .sidebar,
  .page {
    display: none;
  }

  .window::before {
    content: "Your window is too small or you are on mobile. This website cannot work properly.";
    font-family: system-ui;
    font-weight: 300;
    font-size: 27px;
    color: white;
  }

  .window {
    padding: 20px;
    width: auto;
    height: auto;
  }
}