#button {
  display: inline-block;
  background-color: #3763f4;
  background-image: url(../img/top.svg);
  background-repeat: no-repeat;
  background-position: 8px 8px;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 35px;
  right: 35px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#button svg {
  color: white;
}

#button:hover {
  cursor: pointer;
  background-color: #164AF3;
}

#button:active {
  background-color: #0B3AD5;
}

#button.show {
  opacity: 1;
  visibility: visible;
}

