:root {
  /*   --grad-v1:#0076a3;
  --grad-v2:#273a81;
  --grad-v3:#9999cc;*/
  --grad-v1: #0076a3;
  --grad-v2: #2596d1;
  --grad-v3: #220878;
  --color-v1: #fff;
  --color-v2: #555;
}

body {
  background: linear-gradient(#046, #048, #04b);
  background-size:cover;
  height:100vh;
  font-family: sans-serif;
  max-height: 100vh;
  margin: 0;
}
* {
  box-sizing: border-box;
}
main {
  display: flex;
  width: 400px;
  margin: 0 auto;
  border-radius: 0.5rem;
  padding: 0.5rem;
  flex-wrap: nowrap;
}

/* top DIV tag */
#input-tag {
  display: flex;
  flex-basis:30%;
  flex:0 1 25%;
}
.tags-input {
  background: #fff;
  display: flex;
  padding: 0;
  margin: 0;
  width: 100%;
}
/* top DIV tag INPUT tag*/
.tags-input input {
  display:flex;
  flex: 0 1 25%;
  border: none;
  flex-basis: 100%;
  height: 20px;
  border: 2px solid #046;
  border-radius: 10px;
  padding-left: 1.5rem;
}

.tags-input input:focus {
  border: none;
}

.tags-input ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 2px 0 0 0;
}

.tags-input ul li {
  margin-right: 1px;
  margin-bottom: 2px;
  padding: 2px 1.5px 1px 3px;
  background-color: #ddd;
  border-radius: 4px;
}
.tags-input ul li:hover {
  padding: 2px 2px 1px 2.5px;
}
.tags-input {
  display: flex;
  position: relative;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 3px;
  box-shadow: 2px 2px 5px #00000033;
}

.tags-input:hover {
  /* padding: 3px; */
}

.tags-input ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-input li {
  background: linear-gradient(var(--grad-v1), var(--grad-v2), var(--grad-v3));
  color: var(--color-v1);
  text-shadow: 1px 1px var(--color-v2);
  justify-content: flex-end;
  align-items: right;
  transition: color 1s, text-shadow 1s;

  font-size: 0.65rem;
  cursor: none;
}

.tags-input li:hover {
  display: flex;
  background: linear-gradient(var(--grad-v3), var(--grad-v2), var(--grad-v1));
  color: var(--color-v2);
  text-shadow: 1px 1px var(--color-v1);
  transition: color 1s, text-shadow 1s;

  /* margin: 2px;
  margin-right: 2px;
  margin-bottom: 2px; */
}
#tags {
  display:flex;
  flex:1 0 75%;
}
.tags-input input[type="text"] {
  border: none;
  outline: none;
  padding: 5px;
  font-size: 0.85rem;
}

.tags-input input[type="text"]:focus {
  outline: none;
}

.tags-input .delete-button {
  background-color: transparent;
  border: none;
  color: #999;
  text-shadow: -1x -1x #555;
  cursor: pointer;
  margin-left: 2px;
  font-size: 1rem;
  font-weight: bold;
}
.tags-input .delete-button:hover {
  color: red;
  text-shadow: 1px 1px #ccc;
}
.tags-input,
#input-tag {
  /* width: 100%; */
}


.error {
  color: #f00;
  text-shadow: 1px 1px #ccc;
  font-weight: normal;
}
