body {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  background-color: #191921;
  color: #FCFCFA;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
a {
  color: #FCFCFA;
}
.terminal {
  position: relative;
  background-color: #282a36;
  border-radius: 8px;
  width: 90%;
  max-width: 700px;
  padding: 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgb(91, 91, 91);
}
.avatar {
  position: absolute;
  top: 15px;
  right: 15px;
  margin-top: -90px;
}
.avatar img {
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border: 2px solid rgb(128, 128, 128);
}
.terminal-header {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.dot.red {
  background-color: #FF6188;
}
.dot.yellow {
  background-color: #FFD866;
}
.dot.green {
  background-color: #A9DC76;
}
.terminal-content {
  line-height: 1.5;
}
p {
  margin: 0;
}
.command {
  color: #4fee7e;
}
.output {
  color: #FCFCFA;
}

/* animations */
.avatar{
  opacity: 0;
}
.command {
  display: inline-flex;
}
.command:before {
  content: "$ ";
  margin-right: 5px;
  opacity: 0;
}
.command span {
  word-break: break-all;
  height: 1.2em;
  width: 0%;
  overflow: hidden;
}
.command span:before {
  content: " ";
  display: inline-block;
}
@keyframes t {
  90%,
  100% {
    width: 100%
  }
}
.output {
  opacity: 0;
}
@keyframes showInstant {
  to {
    opacity: 1;
  }
}
.c1:before{
  opacity: 1;
}
.c1 span{
  animation: t 1s linear forwards;
}
.c2:before, .o1{
  animation: showInstant 0s linear 1s forwards;
}
.c2 span {
  animation: t 1.5s linear forwards;
  animation-delay: 1.5s;
}
.c3:before, .o2, .avatar {
  animation: showInstant 0s linear 3s forwards;
}
.c3 span {
  animation: t 1.5s linear forwards;
  animation-delay: 3.5s;
}
.c4:before, .o3 {
  animation: showInstant 0s linear 5s forwards;
}
.c4 span {
  animation: t 1.5s linear forwards;
  animation-delay: 5.5s;
}
.c5:before, .o4 {
  animation: showInstant 0s linear 7s forwards;
}
.c5 span {
  animation: t 1s linear forwards;
  animation-delay: 7.5s;
}
.o5 {
  animation: showInstant 0s linear 8.5s forwards;
}