/* Adding a "Back to Top" function on Page end. Modified with the help from other members at Obsidian Forum */
/* To use this function:
    1. first put a " ^Top" as an anchor at the begining of the page (exclude the double quotation marks)
    2. then put "[[#^Top|TOP]]" at the end of the page (exclude the double quotation marks)
*/

.internal-link[data-href="#^Top"] {
  width: 80px;
  height: 40px;
  border-radius: 10px 10px 0px 0px;
  background-color: var(--background-primary-alt);
  box-shadow: 0px 0px 4px darkgrey;
  text-align: center;
  color: #E01A45;
  padding-top: 15px;
  line-height: 100%;
  font-weight: bold;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  right: 5%;
  margin: 0;
}

.internal-link[data-href="#^Top"]:hover {
  background-color: #E01A45;
  color: white;
  box-shadow: 0px 5px 8px black;
}

.popover.hover-popover {
  display: none;
}
