:root {
  --color-bg: var(--dark-blue);
  --color-text: var(--dark-color);
  --color-text-subtle: var(--dark-color);
}

[data-termynal] {
  width: 750px;
  max-width: 100%;
  background: var(--color-bg);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0px 0px 30px #BB00FF;
  backdrop-filter: blur(5px);
  color: var(--color-text);
  font-size: 18px;
  font-family: "IBM Plex Sans";
  border-radius: 1rem;
  padding: 75px 45px 35px;
  position: relative;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1; /* Ensure the main content is above the pseudo-element */
}

[data-termynal]:before {
  box-shadow: 0px 0px 30px #BB00FF;
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 1rem;
  background: #d9515d;
  -webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
  box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
  z-index: -1; /* Adjusted z-index */
}

[data-termynal]:after {
  content: "MasseyHacks";
  position: absolute;
  color: var(--color-text-subtle);
  top: 5px;
  left: 0;
  width: 100%;
  text-align: center;
}

[data-ty] {
  display: block;
  line-height: 2;
}

[data-ty]:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
}

[data-ty="input"]:before,
[data-ty-prompt]:before {
  margin-right: 0.75em;
  color: var(--color-text-subtle);
}

[data-ty="input"]:before {
  content: "$";
}

[data-ty][data-ty-prompt]:before {
  content: attr(data-ty-prompt);
}

[data-ty-cursor]:after {
  content: attr(data-ty-cursor);
  font-family: monospace;
  margin-left: 0.5em;
  -webkit-animation: blink 1s infinite;
  animation: blink 1s infinite;
}

/* Cursor animation */

@-webkit-keyframes blink {
  50% {
    opacity: 0;
  }
}

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