#topbutton {
  display: flex;
  width: 55px;
  height: 55px;
  position: fixed;
  right: 0;
  margin-right: 7px;
  bottom: 215px;
  z-index: 100;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  opacity: 0;
  /* visibility:hidden; */
  border: 1px solid white;
  transition: .8s;
  pointer-events: none;
}

#topbutton.active {
  width: 55px;
  height: 55px;
  position: fixed;
  right: 0;
  bottom: 215px;
  z-index: 100;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  opacity: 1;
  /* visibility:hidden; */
  border: 1px solid black;
  transition: .8s;
  cursor: pointer;
  pointer-events: auto;
}

#topbutton.active:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

#topbutton.active:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#topbutton,
#topbutton.active {
  transition: .25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  background-color: #6d5e6e;
}

#topbutton .btn-wrapper {
  width: 20px;
  height: 20px;
  /* background-color: blue; */
  margin-right: 5px;
  margin-top: 3px;
}

#topbutton>.btn-wrapper .arrow {
  width: 100%;
  height: 100%;
  border-top: 5px solid white;
  border-right: 5px solid white;
  transform: rotate(-45deg);
  border-radius: 4px;
}

@media screen and (max-width: 767px){
  #topbutton {
    display: flex;
    width: 55px;
    height: 55px;
    position: fixed;
    right: 0;
    margin-right: 5px;
    bottom: 205px;
    z-index: 100;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* visibility:hidden; */
    border: 1px solid white;
    transition: .5s;
    pointer-events: none;
    transition: .25s ease;
  }

  #topbutton.active {
    width: 55px;
    height: 55px;
    position: fixed;
    right: 0;
    bottom: 205px;
    z-index: 100;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    opacity: 1;
    /* visibility:hidden; */
    border: 1px solid black;
    transition: .5s;
    cursor: pointer;
    pointer-events: auto;
    transition: .25s ease;
  }

  #topbutton.active:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  }

  #topbutton.active:active {
    transform: scale(0.95);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  }

  #topbutton .btn-wrapper {
    width: 20px;
    height: 20px;
    /* background-color: blue; */
    margin-right: 5px;
    margin-top: 3px;
  }

  #topbutton>.btn-wrapper .arrow {
    width: 100%;
    height: 100%;
    border-top: 5px solid white;
    border-right: 5px solid white;
    transform: rotate(-45deg);
    border-radius: 4px;
  }
}