.terminal-window-body {
  display: flex;
  justify-content: center;
  border-bottom: 40px solid transparent;
  border-top: 40px solid transparent;
}

.terminal-window {
  width: 90%;
  max-width: 1000px;
  background-color: rgb(32, 32, 32);
  border-radius: 8px;
  position: relative
}

.terminal-titlebar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
}

/* left side titlebar styles */
.titlebar-left {
  display: flex;
  align-items: center;
  text-wrap: nowrap;
  overflow: hidden;
}

.term-icon {
  height: 18px;
  margin: 0 10px;
  overflow: visible;
}

.term-title {
  font-size: 16px;
}

.term-title a {
  text-decoration: none;
  cursor: pointer;
}
.zshtext {
  background: linear-gradient(to right,
      #00affa 20%,
      #234bea 30%,
      #e6348d 50%,
      #6f00ff 70%,
      #00affa 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 500% auto;
  animation: textgradient 5s ease-in-out infinite alternate;
}
@keyframes textgradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* right side titlebar styles */

.titlebar-right {
  min-width: 95px;
  height: 15px;
  position: relative;
}

.term-minimize,
.term-maximize,
.term-close {
  height: 16px;
  cursor: pointer;
  position: absolute;
}

.term-close {
  right: 8px;
}
.term-close:hover {
  background-color: rgb(219, 28, 28);
  border-radius: 4px;
  border-top-right-radius: 6px;
  right: 3px;
  padding: 0 5px;
}


.term-maximize {
  right: 38px;
}
.term-maximize:hover {
  background-color: rgb(41, 41, 41);
  border-radius: 4px;
  right: 33px;
  padding: 0 5px;
}


.term-minimize {
  right: 68px;
}
.term-minimize:hover {
  background-color: rgb(41, 41, 41);
  border-radius: 4px;
  right: 63px;
  padding: 0 5px;
}


/* toolbar styles vvv */

.terminal-toolbar {
  display: flex;
  flex-wrap: wrap;
  padding: 4px 0px;
  background-color: rgb(27, 27, 27);
}

#toolbar {
  color: rgb(146, 146, 146);
  font-size: 14px;
  margin: 0 6px;
  cursor: default;
  transition: background-color 0.1s;
  position: relative;
}

#toolbar:hover {
  background-color: rgb(84, 84, 84);
  transition: background-color 0.1s;
}


/* terminal main body styles */

.terminal-main-body {
  height: 400px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: rgb(13, 16, 18);
  overflow: auto;
  scrollbar-color: rgb(33, 33, 33) rgb(13, 16, 18);
  font-family: "Space Mono";
  color: white;
  display: flex;
  flex-direction: column;
  padding: 0 0 5px 10px;
  text-wrap: nowrap;
}


/* shell text body styles vvv*/

.username {
  background: linear-gradient(to right, rgb(236, 47, 211), rgb(143, 36, 225));
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blinking-block {
  animation: blink 1.5s steps(1, start) infinite;
}

/* shell text body styles ^^^ */

/* toolbar tooltip styles */

#toolbar .tooltiptext {
  display: none;
  text-wrap: nowrap;
  background-color: rgb(27, 27, 27);
  color: #fff;
  opacity: 0;
  text-align: center;
  border-radius: 6px;
  padding: 5px 5px;
  box-shadow: 5px 5px 20px rgb(0, 0, 0);

  /* Position the tooltip */
  position: absolute;
  bottom: -40px;
  left: 0px;
  z-index: 1;
  pointer-events: none;
  
}

#toolbar:hover .tooltiptext {
  display: block;
  pointer-events: none;
  animation: tooltip 1s forwards cubic-bezier(0, 0.99, 0, 1);
}

@keyframes tooltip {
  0% {
    display: none;
    opacity: 0;
  }
  50% {
    display: block;
    opacity: 0;
  }
  100% {
    display: block;
    opacity: 1;
  }
}


@media screen and (max-width: 600px) {
  
}

@media screen and (max-width: 500px) {
  .terminal-toolbar {
    flex-wrap: nowrap;
    overflow: auto;
    scrollbar-width: none;
  }
}