body {
  text-align: center;
}


.wrapper {
    height: 25vh;
    /*This part is important for centering*/
    display: grid;
    place-items: center;
  }
  
  .typing-demo {
    width: 59ch;
    animation: typing 2s steps(22), blink .5s step-end infinite alternate;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 1.5em;
  }
  
  @keyframes typing {
    from {
      width: 0
    }
  }
      
  @keyframes blink {
    50% {
      border-color: transparent
    }
  }

  .formWrapper{
    margin-left: auto;
    margin-right: auto;
  }

  .mainForm {
    margin: auto;
    height: 25px;
    width: 500px;
    font-size: 25px;
    display: inline-block;
    color: black;
    font-family: "Courier";
    padding: 20px;
  }

  ::placeholder {
    color: gray;
  }

  input:focus::placeholder {
    color: transparent;
  }

  .kauppaLista {

    font-size: 25px;
    padding: 20px;
    text-align: left;
    display: inline-block;
    width: 500px;
    margin: auto;
    font-family: "Courier";
    list-style-type: none;

  }

  button {
    width: auto;
    padding: 10px;
    margin: 15px;
    font-family: "Courier";
  }

  li {
    background: #eee;
    padding: 10px;
  }

  li:nth-child(odd) {
    background: #ddd;
  }

  .remove {
    text-align: right;
    padding: 5px;
    margin: 0px;
    float: right;
  }

  #close {
    display: none;
    float: right;
    margin: 5px;
    padding: 5px;
  }
 
  