input[type=text] {
  padding: 12px 20px;
  margin: 8px 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  border-bottom: 2px solid;
  border-bottom-color: #F1F1F1;
  transition: 1s;
  font-size: 16px;
}

input[type=text]:focus {
  border-bottom-color: #FF0000;
  font-size: 18px;
}

#nameInput {
  width: 50%;
}

#numberInput {
  text-align: center;
  width: 75px;
}

ul {
  margin: 0;
  padding: 0;
  width: 50vw;
  list-style: none;
}

ul li {
  cursor: pointer;
  position: relative;
  padding: 12px 8px 12px 40px;
  background: #fff;
  font-size: 18px;
  transition: 0.2s;

  /* make the list items unselectable */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


ul li:hover {
  background: #ddd;
}

.close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px 16px 12px 16px;
}

.close:hover {
  background-color: #ff0000;
  color: white;
}

.addBtn {
  padding: 10px;
  width: 50px;
  background: #fff;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 0;
}

.addBtn:hover {
  background-color: #bbb;
}

/* Changes for phones */
@media only screen and (max-width: 600px) {
  #output {
    flex-direction: column-reverse;
  }
  #nameInput {
    width:90%;
  }
  #nameList {
    width:100vw;
  }
}