@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300&display=swap');

.terminal-window {
    text-align: left;
    height: 120px;
    border-radius: 10px 10px 0 0;
    position: relative;
    /* box-shadow: 0 0 5px 1px rgb(40, 42, 54); */
    margin: 0 auto;
  }

  /* .terminal-header {
    background: #e0e8f0;
    height: 20px;
    border-radius: 8px 8px 0 0;
    padding-left: 10px;
  } */
  
  
  .terminal-body {
    color: white;
    font-family: 'Fira Code', monospace;
    font-size: 11pt;
    background: #000;
    opacity: 0.9;
    padding: 10px;
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    top: 0px;
    bottom: 0;
    overflow: auto;
  }
  

  .dot-collision {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #fff;
  }
  
  .dot-collision::before, .dot-collision::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0;
  }
  
  .dot-collision::before {
    left: -10px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #fff;
    animation: dotCollisionBefore 2s infinite ease-in;
  }
  
  .dot-collision::after {
    left: 10px;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    color: #fff;
    animation: dotCollisionAfter 2s infinite ease-in;
    animation-delay: 1s;
  }
  
  @keyframes dotCollisionBefore {
    0%,
    50%,
    75%,
    100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-15px);
    }
  }
  
  @keyframes dotCollisionAfter {
    0%,
    50%,
    75%,
    100% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(15px);
    }
  }