:root {
  --color-gray-100: hsl(225, 40%, 98%);
  --color-gray-150: hsl(225, 40%, 97%);
  --color-gray-200: hsl(225, 40%, 96%);
  --color-gray-250: hsl(225, 40%, 93%);
  --color-gray-300: hsl(220, 29%, 90%);
  --color-gray-350: hsl(220, 29%, 85%);
  --color-gray-400: hsl(219, 20%, 80%);
  --color-gray-450: hsl(219, 20%, 70%);
  --color-gray-500: hsl(219, 10%, 60%);
  --color-gray-550: hsl(219, 10%, 50%);
  --color-gray-600: hsl(221, 8%, 40%);
  --color-gray-650: hsl(221, 8%, 30%);
  --color-gray-700: hsl(218, 8%, 20%);
  --color-gray-750: hsl(218, 8%, 16%);
  --color-gray-800: hsl(220, 5%, 12%);
  --color-gray-850: hsl(220, 5%, 9%);
  --color-gray-900: hsl(210, 6%, 7%);

  --color-gray-100-a: 225, 40%, 98%;
  --color-gray-150-a: 225, 40%, 97%;
  --color-gray-200-a: 225, 40%, 96%;
  --color-gray-250-a: 225, 40%, 93%;
  --color-gray-300-a: 220, 29%, 90%;
  --color-gray-350-a: 220, 29%, 85%;
  --color-gray-400-a: 219, 20%, 80%;
  --color-gray-450-a: 219, 20%, 70%;
  --color-gray-500-a: 219, 10%, 60%;
  --color-gray-550-a: 219, 10%, 50%;
  --color-gray-600-a: 221, 8%, 40%;
  --color-gray-650-a: 221, 8%, 30%;
  --color-gray-700-a: 218, 8%, 20%;
  --color-gray-750-a: 218, 8%, 16%;
  --color-gray-800-a: 220, 5%, 12%;
  --color-gray-850-a: 220, 5%, 9%;
  --color-gray-900-a: 210, 6%, 7%;

  --color-black: hsl(0, 0%, 6%);
  --color-white: #fff;
  --color-off-white: #ddd;

  --color-purple: hsl(270, 80%, 20%);
  --color-purple-a: 270, 80%, 20%;
  --color-purple-dark: hsl(270, 80%, 15%);
  --color-purple-dark-a: 270, 80%, 15%;
  --color-purple-hover: hsl(270, 80%, 25%);
  --color-purple-hover-a: 270, 80%, 22%;

  --color-orange: orange;

  --color-green: hsl(120, 30%, 13%);
  --color-green-a: 120, 30%, 13%;
  --color-green-light: hsl(120, 100%, 50%);
  --color-green-light-a: 120, 100%, 50%;

  --color-link: hsl(210, 70%, 55%);
  --color-link-hover: hsl(210, 90%, 70%);
  --color-link-active: hsl(210, 90%, 35%);

  --color-link-dark: hsl(210, 90%, 40%);
  --color-link-dark-hover: hsl(210, 100%, 55%);
  --color-link-dark-active: hsl(210, 100%, 20%);

  --color-link-visited: hsl(270, 45%, 55%);
  --color-link-visited-hover: hsl(270, 45%, 70%);
  --color-link-visited-active: hsl(270, 45%, 35%);

  --color-link-dark-visited: hsl(270, 65%, 40%);
  --color-link-dark-visited-hover: hsl(270, 65%, 65%);
  --color-link-dark-visited-active: hsl(270, 65%, 20%);

  --glass-border: 0.25px solid rgba(255, 255, 255, 0.2);

  --font-size: 24px;
  --font: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  --font-mono: "departure-mono";
}

@font-face {
  font-family: "departure-mono";
  src: url("/src/font/DepartureMono-Regular.woff2") format("woff2"),
    url("/src/font/DepartureMono-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

::selection {
  background-color: var(--color-green);
  color: var(--color-green-light);
}

:focus-visible {
  outline: 3px solid orange;
  transition: outline 0.2s ease;
  border-radius: inherit;
}

html {
  font-size: var(--font-size);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font);
  scrollbar-color: var(--color-purple) transparent;
  scrollbar-width: none;
  caret-color: orange;
  height: 100%;
  /* overscroll-behavior: none; */
}

body {
  color: var(--color-white);
  line-height: 1.6;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  background-color: black;
}

header {
  backdrop-filter: blur(20px);
  background: linear-gradient(to right, black, rgba(0, 0, 0, 0.75));
  padding: 5px 0 0 0;
  width: calc(100% - 1px);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
  z-index: 20;
}

/* TITLE BAR */

nav#site-title-bar {
  background: linear-gradient(
    to right,
    transparent,
    var(--color-purple) 1.5%,
    var(--color-purple),
    transparent
  );
  border-radius: 0px 200px 200px 0px;
  /* border-right: 8px white solid; */
  overflow-x: hidden;
  user-select: none;

  a {
    line-height: 1;
    color: hsl(0, 0%, 90%);
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 2rem;
    letter-spacing: 0.05em;
  }

  img {
    height: 1.5rem;
    margin: 0.5rem 0.8rem 0.5rem 1.3rem;
    border-radius: 10px;
  }

  &:hover,
  &:focus-visible {
    background: linear-gradient(
      to right,
      transparent,
      var(--color-purple-hover) 1.5%,
      var(--color-purple-hover),
      transparent
    );

    a {
      color: hsl(0, 0%, 100%);
    }
  }
}

nav#site-title-bar:hover::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: 52.5px;
  width: 95vw;
  height: 20px;
  background: radial-gradient(
    ellipse 100% 80% at 25% 0,
    hsla(var(--color-purple-hover-a), 0.7) 0%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 5;
}
nav#site-title-bar:hover::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 70px;
  width: 95vw;
  height: 30px;
  background: linear-gradient(
    to right,
    black,
    hsl(var(--color-gray-900-a), 0.9),
    hsl(var(--color-gray-800-a), 0.5) 1.4%,
    transparent 2%
  );
  pointer-events: none;
  z-index: 7;
}

/* BREADCURMBS */

nav#breadcrumbs {
  user-select: none;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-gray-800) 1.5%,
    var(--color-gray-850) 70%,
    transparent
  );
  margin-top: 5px;
  padding: 3px 4px 3px 1.35rem;
  line-height: 1.2;
  color: hsl(0, 0%, 50%);
  font-size: 0.8rem;

  a {
    color: hsl(0, 0%, 50%);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 5px;

    &:last-of-type {
      color: hsl(0, 0%, 80%);
    }

    &:hover,
    &:focus-visible {
      color: hsl(0, 0%, 100%);
      text-decoration: underline;
    }
  }
}

/* DROPDOWN */

nav#dropdown-menu {
  background: linear-gradient(
    to right,
    var(--color-gray-750),
    var(--color-gray-800)
  );
  margin: 5px 10px 0 10px;
  border-radius: 25px;
  box-shadow: 0px 5px 10px black;

  a {
    color: hsl(0, 0%, 90%);
    text-decoration: none;
    display: block;
    height: 100%;
    padding-left: 2.65rem;
  }

  ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
  }

  li.dropdown-category {
    border-radius: 25px;
    flex: 1;
    text-align: left;
    font-size: 1rem;
    border-right: 5px solid transparent;
    border-left: 0.5px transparent;
    position: relative;
    user-select: none;

    &::after {
      content: "";
      position: absolute;
      top: 100%;
      left: 0;
      height: 5px;
      width: 100%;
      z-index: 1;
    }

    &::before {
      content: "▶";
      position: absolute;
      left: 1rem;
      right: auto;
      top: 55%;
      transform: translateY(-50%);
      font-size: 0.7rem;
      transition: transform 0.3s ease;
    }

    &:hover,
    &:focus-within {
      cursor: pointer;
      border-radius: 25px;
      border-right: 5px white solid;
      border-left: var(--glass-border);
      background: linear-gradient(
        to right,
        var(--color-purple-hover),
        rgba(0, 0, 0)
      );

      > ul {
        display: block;
      }

      &:before {
        transform: translateY(-50%) rotate(90deg);
      }
    }
  }
}

nav#dropdown-menu li.dropdown-category ul {
  display: none;
  margin-top: 5px;
  position: absolute;
  width: 95%;
  top: 100%;
  left: 0;
  padding: 10px;
  border-radius: 10px;
  background: radial-gradient(
    ellipse 250% 100% at top left,
    hsl(var(--color-purple-a), 0.7),
    hsla(var(--color-gray-900-a), 0.4),
    hsla(var(--color-gray-900-a), 0.4),
    hsla(var(--color-gray-900-a), 0.5)
  );
  box-shadow: 20px 30px 25px rgba(10, 10, 10, 0.4);
  border: var(--glass-border);
  backdrop-filter: blur(5px);

  li {
    border-radius: 5px;

    &:hover {
      background: linear-gradient(
        to right,
        var(--color-purple-hover),
        rgba(0, 0, 0, 0)
      );
    }
    & a {
      color: var(--color-white);
    }

    a:focus-visible {
      background: linear-gradient(
        to right,
        var(--color-purple-hover),
        rgba(0, 0, 0, 0)
      );
    }

    /* &:last-of-type {
      border-radius: 5px 5px 10px 10px;
    }
    &:first-of-type {
      border-radius: 10px 10px 5px 5px;
    } */
  }

  a {
    padding-left: 0.5rem;
  }
}

main {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin: 0.5rem;
}

aside {
  flex: 2.5;
  display: flex;
  flex-direction: column;
}

div#img-wrapper {
  perspective: 2000px;
  margin-bottom: 0.5rem;
  position: relative;

  &:hover img#profile-pic {
    transform: rotateY(-10deg);
  }

  &:hover::after {
    transform: rotateY(-10deg) rotate(5deg) translateY(0px);
    opacity: 1;
  }

  &::after {
    transform: rotate(0deg) translateY(-30px);
    content: "";
    border-radius: 20px;
    height: 100px;
    width: 100%;
    bottom: -15px;
    left: 5px;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    z-index: -5;
    transition: transform 0.4s ease, opacity 0.3s ease;
    box-shadow: 0 10px 10px 10px rgba(0, 0, 0, 0.5);
  }
}

img#profile-pic {
  border: 0.5px solid rgba(255, 255, 255, 0.3);
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  position: relative;
  transition: transform 0.4s ease;
  transform-origin: 10% 0%;
  user-select: none;
}

div#green-box {
  box-shadow: inset 0px -10px 25px -11px rgba(0, 0, 0, 0.8),
    inset 0px 15px 20px -10px rgba(0, 0, 0, 0.8);
  flex: 1;
  border: var(--glass-border);
  border-radius: 20px;
  background: radial-gradient(
    circle at top,
    var(--color-black) 30%,
    hsla(var(--color-green-light-a), 0.3) 90%
  );
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  padding: 1rem 1rem 0 1rem;
  height: 100%;

  p {
    font-weight: bold;
    font-size: 0.9rem;
    margin: 1.2rem 0 0.5rem 0;
    user-select: none;
  }
}

a#btn-message-me {
  text-decoration: none;
  font-weight: bold;
  user-select: none;
  border: var(--glass-border);
  height: 2.5rem;
  width: 100%;
  border-radius: 20px;
  background: radial-gradient(
    circle at center,
    var(--color-purple),
    var(--color-purple),
    var(--color-purple-dark)
  );
  color: var(--color-gray-100);
  font-size: 1.1rem;
  font-family: inherit;
  box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  &:hover,
  &:focus-visible {
    transform: scale(1.05);
    border: var(--glass-border);
    color: var(--color-white);
    cursor: pointer;
    background: radial-gradient(
      circle at center,
      var(--color-purple-hover),
      var(--color-purple-hover),
      var(--color-purple),
      var(--color-purple-dark)
    );
    box-shadow: 0px 15px 19px 2px rgba(0, 0, 0, 0.5);
  }

  &:active {
    transform: scale(1.02);
    background: radial-gradient(
      circle at center,
      var(--color-purple),
      var(--color-purple-dark),
      var(--color-purple-dark)
    );
  }

  span {
    padding: 0 30px;
  }
}

section#purple-section {
  box-shadow: inset 0px -10px 25px -10px rgba(0, 0, 0, 0.6),
    inset 0px 15px 20px -10px rgba(0, 0, 0, 0.8);
  border: var(--glass-border);
  border-radius: 20px;
  background: radial-gradient(
    circle at top,
    var(--color-black),
    var(--color-black),
    hsla(var(--color-purple-a), 0.9) 99%
  );
  flex: 7;

  &.non-text {
    background: radial-gradient(
      circle at top,
      transparent,
      transparent 20%,
      hsla(var(--color-purple-a), 0.9) 99%
    );
  }

  > article {
    padding: 2rem 2rem 1rem 2rem;
    margin-inline: auto;
    max-width: max-content;
  }
}

section a {
  color: var(--color-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  &:hover,
  &:focus-visible {
    color: var(--color-link-hover);
  }

  &:active {
    color: var(--color-link-active);
  }

  &:visited {
    color: var(--color-link-visited);

    &:hover,
    &:focus-visible {
      color: var(--color-link-visited-hover);
    }

    &:active {
      color: var(--color-link-visited-active);
    }
  }
}

section div#timeline a {
  color: var(--color-link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 1px;
  font-weight: 600;

  &:hover,
  &:focus-visible {
    color: var(--color-link-dark-hover);
  }

  &:active {
    color: var(--color-link-dark-active);
  }

  &:visited {
    color: var(--color-link-dark-visited);

    &:hover,
    &:focus-visible {
      color: var(--color-link-dark-visited-hover);
    }

    &:active {
      color: var(--color-link-dark-visited-active);
    }
  }
}

h1 {
  font-size: 3.1rem;
  line-height: 1;
  letter-spacing: 0.05em;
  margin: 1rem 0 2rem 0;
  color: var(--color-off-white);

  &#index-h1 {
    text-align: center;
    padding-bottom: 15px;
  }

  &#contact {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0 0.5rem 0;
  }

  &#smaller-h1 {
    margin: 0 0 40px 0;

    font-size: 2.5rem;
  }
  &#gallery-h1 {
    margin: 0 0 40px 0;
    padding: 0 55px;
    font-size: 2rem;
  }
}

h2 {
  color: var(--color-off-white);
  line-height: 1;
}

ul {
  margin-bottom: 50px;
}

/*  */

h1#secret-h1 {
  text-align: center;
}

section:has(article#secret-flow) {
  padding-top: 0;
}

section#purple-section article#secret-flow {
  padding: 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  width: 80vw;
}

div#secret-feedback {
  visibility: hidden;
  text-align: center;
  padding-top: 2.5rem;
  font-size: 1.1rem;
  color: orangered;
}

div#secret-rhyme {
  font-size: var(--font-size);
  color: var(--color-off-white);
  margin: 0;
  font-family: inherit;
  flex: 1;

  p {
    margin: 0;
    white-space: nowrap;
  }
}

form#secret-form {
  flex: 1;
  width: 50em;
  align-self: center;

  & label {
    user-select: none;
  }
}

p {
  font-size: var(--font-size);
  color: var(--color-off-white);
  max-width: 70ch;
  hyphens: auto;
  margin: 1.25rem 0;
  font-family: inherit;

  &#ch65 {
    visibility: hidden;
    overflow-wrap: anywhere;
    height: 0;
    margin: 0;
  }
}

p a.btn-inter-nav {
  margin: 30px 0;
  color: var(--color-off-white);
  text-decoration: none;
  font-weight: bold;
  user-select: none;
  border: var(--glass-border);
  height: 2.6rem;
  border-radius: 15px;
  background: radial-gradient(
    circle at bottom,
    hsla(var(--color-gray-900-a), 0.2),
    transparent
  );
  backdrop-filter: blur(50px);
  color: var(--color-gray-100);
  font-size: 1.3rem;
  font-family: inherit;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.6),
    inset 0px -8px 25px -10px rgba(0, 0, 0, 0.6),
    inset 0px 10px 25px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 0.05em;
  width: 50ch;
  max-width: 80vw;

  &:hover,
  &:focus-visible {
    transform: scale(1.075);
    color: var(--color-white);
    border: var(--glass-border);
    color: var(--color-white);
    cursor: pointer;
    background: radial-gradient(
      circle at center,
      hsla(var(--color-gray-800-a), 0.5),
      transparent
    );
    box-shadow: 0px 20px 25px 0px rgba(0, 0, 0, 0.6),
      inset 0px -7.5px 25px -10px rgba(0, 0, 0, 0.6),
      inset 0px 10px 25px -10px rgba(0, 0, 0, 0.6);
  }

  &:active {
    transform: scale(1.02);
    background: radial-gradient(
      circle at center,
      hsla(var(--color-gray-750-a), 0.5),
      hsla(var(--color-gray-800-a), 0.5),
      hsla(var(--color-gray-850-a), 0.5),
      hsla(var(--color-gray-900-a), 0.5)
    );
  }
}

em {
  font-size: 1.1rem;
}
strong {
  font-weight: 900;
  -webkit-text-stroke: 0.3px white;
}

span.no-wrap {
  white-space: nowrap;
}

div#timeline {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  padding: 30px 25px;
  max-width: max-content;
  margin: auto;

  ::selection {
    background-color: lightskyblue;
    color: unset;
  }

  object {
    user-select: none;
    margin: 1px 3px 0 0;
    transform: translateY(3px);
  }

  article.tweet-box {
    margin: 20px auto;
    padding: 8px 3px 25px 10px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 5px;
    background-color: rgb(220, 235, 255);
    border: var(--glass-border);
    border-radius: 10px;
  }

  img.profile-pic {
    border-radius: 100%;
    user-select: none;
  }

  span.tweeter {
    font-weight: 900;
    color: black;
  }

  span.tweet-grey {
    color: rgb(113, 118, 123);
    display: inline-block;
    transform: translateY(-2px);
  }

  p.tweet-text {
    color: black;
    font-size: 17px;
    line-height: 20px;
    margin: 0;
    padding: 0;
    max-width: 60ch;
  }

  p img {
    max-width: 100%;
    border-radius: 20px;
    margin: 10px 0 0 0;
    max-height: 510px;
    user-select: none;
    box-shadow: 0px 5px 10px hsla(var(--color-gray-900-a), 0.7);
  }

  .rss-icon-link {
    position: absolute;
    top: 8px;
    right: 12px;
    z-index: 10;
  }
}

/* Zoom overlay */
#img-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#img-overlay img {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  transition: transform 0.3s ease;
  cursor: zoom-out;
}

.zoomable {
  cursor: zoom-in;
}

div#copy-message {
  position: fixed;
  background: radial-gradient(
    circle at center,
    hsla(var(--color-purple-hover-a), 0.95),
    hsla(var(--color-purple-hover-a), 0.95),
    hsla(var(--color-purple-a), 0.95)
  );
  border: var(--glass-border);
  border-radius: 10px;
  box-shadow: 0px 5px 10px hsla(var(--color-gray-900-a), 0.7);
  color: #fff;
  padding: 6px 10px;
  font-size: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 9999;
}

form#search-bar {
  margin-inline: auto;
  padding: 0;
  font-size: 0;
  width: 50vw;

  label {
    font-size: 0.75rem;
    padding-left: 20px;
    margin: 0;
    color: var(--color-gray-450);
  }

  div {
    display: flex;
    width: 100%;
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-bottom: 2px;
  }

  input {
    width: 100%;
    box-shadow: inset 0 0 5px 5px hsla(0, 0%, 10%, 1);
    margin: 0;
    background-color: var(--color-gray-800);
    border: var(--glass-border);
    color: var(--color-white);
    border-radius: 10px 0 0 10px;
    padding: 0.3rem 0.5rem;
    font-family: inherit;
    font-size: 0.75rem;
    resize: none;

    &::placeholder {
      color: var(--color-gray-600);
    }

    &:focus {
      background-color: var(--color-gray-750);
      box-shadow: inset 0 0 5px 5px hsla(0, 0%, 10%, 0.3);
      outline: none;

      &::placeholder {
        color: var(--color-gray-500);
      }
    }
  }

  button {
    padding: 0 20px;
    margin: 0;
    border-radius: 0 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsla(var(--color-green-light-a), 0.25);
    border: var(--glass-border);
    color: var(--color-white);
    cursor: pointer;
    user-select: none;

    &:focus,
    &:hover {
      background-color: hsla(var(--color-green-light-a), 0.4);
    }

    img {
      filter: invert(1);
    }
  }
}

div#deck {
  margin: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  row-gap: 30px;
  justify-content: center;

  .card {
    text-decoration: none;
    border: var(--glass-border);
    border-radius: 10px;
    flex: 1 1 290px;
    display: flex;
    justify-content: center;
    max-width: 290px;
    height: 400px;
    overflow: hidden;
    transition: transform 0.3s ease-out;
    will-change: transform;
    background: linear-gradient(to bottom, hsl(0, 0%, 6%), hsl(0, 0%, 8%));
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    align-items: center;
    font-size: 1.2rem;
    color: hsla(var(--color-green-light-a), 0.5);
    font-family: var(--font-mono);

    img {
      min-width: 100%;
      min-height: 100%;
      filter: brightness(0.8);
      object-fit: cover;
    }

    &:has(#spotifyWidget) {
      align-items: flex-start;
    }

    &:hover,
    &:focus-visible {
      transform: scale(1.08);
      z-index: 1;
      border: 0.25px solid rgba(255, 255, 255, 0.4);

      img {
        filter: brightness(1);
      }
    }
    &:hover::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 2;
      box-shadow: inset 0 0 50px 8px hsla(var(--color-green-light-a), 0.2);
    }
  }
}

img#spotifyWidget,
img#spotifyWidgetPlaceholder {
  border-radius: 20px;
  background-color: #121212;
  max-width: 290px;
  height: 102.5%;
  position: absolute !important;
}

img#spotifyWidgetPlaceholder {
  height: 101% !important;
  z-index: -1;
}

hr {
  color: hsla(var(--color-gray-100-a), 0.4);
  border: 0.5px solid;
  border-radius: 100%;
}

#noResults {
  display: none;
  color: orangered;
  position: absolute;
  top: 130px;
  text-align: center;
  width: 100%;
  z-index: 100;
}

div#tech-stack {
  user-select: none;
  margin-inline: auto;
  width: fit-content;
}

div#tech-stack a:hover img,
.light-up {
  filter: brightness(1.15);
  box-shadow: 0 0 5px 1px rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

img.pointing-hand {
  user-select: none;
  top: 15px;
  position: relative;
  margin-right: 5px;
}

/* ---------------- */

form#contact-form,
form#secret-form {
  fieldset {
    display: flex;
    flex-direction: column;
    border: none;
  }

  label {
    font-size: 1.1rem;
  }

  input,
  textarea {
    box-shadow: inset 0 0 10px 2px hsla(0, 0%, 10%, 1),
      0px 5px 10px 2px rgba(0, 0, 0, 0.5);
    margin-top: 0.3rem;
    margin-bottom: 0.8rem;
    background-color: var(--color-gray-800);
    border: var(--glass-border);
    color: var(--color-white);
    border-radius: 10px;
    padding: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    resize: none;

    &::placeholder {
      color: var(--color-gray-600);
    }

    &:focus {
      background-color: var(--color-gray-750);

      outline: none;

      &::placeholder {
        color: var(--color-gray-500);
      }
    }
  }

  input:-webkit-autofill,
  textarea:-webkit-autofill {
    background-color: var(--color-gray-800) !important;
    color: var(--color-white) !important;
    -webkit-text-fill-color: var(--color-white) !important;
    font-family: inherit !important;
    transition: background-color 9999s ease-in-out 0s;
  }

  button {
    margin-top: 1rem;
    text-decoration: none;
    font-weight: bold;
    user-select: none;
    border: var(--glass-border);
    height: 2.5rem;
    width: 100%;
    border-radius: 20px;
    background: radial-gradient(
      circle at center,
      var(--color-purple),
      var(--color-purple),
      var(--color-purple-dark)
    );
    color: var(--color-gray-100);
    font-size: 1.1rem;
    font-family: inherit;
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5);

    transition: transform 0.3s ease, box-shadow 0.2s ease, background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    &:hover,
    &:focus-visible {
      transform: scale(1.05);
      border: var(--glass-border);
      color: var(--color-white);
      cursor: pointer;
      background: radial-gradient(
        circle at center,
        var(--color-purple-hover),
        var(--color-purple-hover),
        var(--color-purple),
        var(--color-purple-dark)
      );
      box-shadow: 0px 15px 19px 2px rgba(0, 0, 0, 0.5);
    }

    &:active {
      transform: scale(1.02);
      background: radial-gradient(
        circle at center,
        var(--color-purple),
        var(--color-purple-dark),
        var(--color-purple-dark)
      );
    }
  }

  label[for="file"] {
    margin-top: 21px;
  }

  div#drop-zone {
    box-sizing: border-box;
    width: 100%;
    min-height: 200px;
    box-shadow: inset 0 0 5px 5px hsla(0, 0%, 10%, 1);
    box-shadow: 0px 5px 10px 2px rgba(0, 0, 0, 0.5);
    margin-top: 0.3rem;
    margin-bottom: 0.8rem;
    background-color: var(--color-gray-800);
    border: var(--glass-border);
    color: var(--color-white);
    border-radius: 10px;
    padding: 1rem;
    padding-bottom: 0;
    font-family: inherit;
    font-size: 1rem;
    display: flex;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    flex-wrap: wrap;

    img {
      position: absolute;
      user-select: none;
      filter: invert(0.25);
      min-height: 180px;
      height: 80%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    img#open {
      display: none;
    }

    &:hover,
    &.drop-zone--over {
      background-color: var(--color-gray-750);
      box-shadow: inset 0 0 5px 5px hsla(0, 0%, 10%, 0.5),
        0px 5px 10px 2px rgba(0, 0, 0, 0.5);

      img#plus {
        display: none;
      }
      img#open {
        display: block;
      }
    }

    input.drop-zone-input {
      display: none;
    }

    &:has(div.drop-zone-thumb) img {
      display: none !important;
    }

    div.drop-zone-thumb {
      margin-right: 30px;
      margin-bottom: 50px;
      width: 100px;
      height: 120px;
      background-size: cover;
      position: relative;
      border-radius: 5px;
      background-repeat: no-repeat;
      background-position: center;
      z-index: 1;
      background-image: url("/asset/svg/file.svg");

      &::after {
        content: attr(data-label);
        position: absolute;
        bottom: -30px;
        left: 0;
        font-family: departure-mono;
        white-space: nowrap;
        font-size: 13.75px;
        left: 50%;
        transform: translateX(-50%);
        display: block;
        max-width: 100%;
      }
    }
  }
}

form#contact-form {
  padding: 10px 100px;
}

.drop-zone-thumb.selected {
  outline: 1px dashed rgba(255, 255, 255, 0.5);
}

.fieldset-wrapper {
  display: flex;
  gap: 2rem;
  width: 100%;
}

.fieldset-wrapper fieldset {
  flex: 1;
  min-width: 0; /* Important to prevent overflow */
}
