.terminal {
  width: 640px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0px 12px 48px 0px rgba(0, 0, 0, 0.75),
    0px 0px 0px 0.5px rgba(0, 0, 0, 1);
  position: absolute;
  left: 25%;
  top: 25%;
  display: none;
  /* transform: translate(-50%, -50%); */
  z-index: 2;
  /* transition: width 0.3s, height 0.3s;
  transition: top 0.3s, left 0.3s; */
}

/* Top Bar */
.terminal .top {
  background-color: #373737;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 18px;
  padding: 4px 4px 4px 4px;
  font-size: 16px;

  border-radius: 11px 11px 0 0;
  border: 1px solid #6f6f70;
  border-top: 1px solid #6f6f70;
  border-left: 1px solid #5f5f5f;
  border-right: 1px solid #5f5f5f;
  border-bottom: none;

  box-shadow: 0px 0.5px 0px 0px rgba(0, 0, 0, 1),
    0px 1px 0px 0px rgba(22, 23, 23, 1);

  user-select: none;
  /* -webkit-user-drag: none; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  /* pointer-events: none; */
  cursor: default;
}

/* Buttons */
.terminal .top .buttons {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: #00000000;
  display: flex;
  gap: 8px;
  margin-left: 4px;
}

.terminal .top .buttons .close {
  background-color: #ec6a5e;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.terminal .top .buttons .minimize {
  background-color: #fdbc4b;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.terminal .top .buttons .maximize {
  background-color: #33c748;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.terminal .top .buttons img {
  background-color: #00000000;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.terminal .top .buttons:hover img {
  opacity: 1;
}

.terminal .top .buttons .close:active {
  background-color: #f09389;
}

.terminal .top .buttons .minimize:active {
  background-color: #fbeb73;
}

.terminal .top .buttons .maximize:active {
  background-color: #85ee7c;
}

/* Title */
.terminal .top .title {
  background-color: #00000000;
  font-family: "SF-Bold", sans-serif;
  /* align-items: center; */
  color: #b3b3b4;
  font-size: 14px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%);
  /* margin: 0 auto; */
}

.terminal .top .title img {
  background-color: transparent;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  position: relative;
  left: 0;
  top: 0;
  transform: translate(0%, 15%);
  -webkit-user-drag: none;
}

.terminal .top .title img:active {
  filter: brightness(50%);
}

/* Command Line */
.terminal .commandLine {
  background-color: #1e1e1e;
  border: 1px solid #4b4b4b;
  border-top: none;
  border-radius: 0px 0px 12px 12px;
  padding: 2px 4px 4px 4px;
  height: auto;
  overflow-y: auto;
}

.terminal .commandLine p {
  margin: 0;
  padding: 0;
  background-color: #00000000;
  font-family: "SF-Mono", monospace;
  color: white;
  font-size: 11px;
  height: 14px;
  padding: 0px 0px 0px 0px;
}

.terminal .commandLine .cursor {
  background-color: #939292;
}
