.hanchor {
    font-size: 100%;
    visibility: hidden;
    color:silver;
}

h1:hover .hanchor, h2:hover .hanchor, h3:hover .hanchor, h4:hover .hanchor { 
    visibility: visible
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e22d30;
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
  }
  
  .scroll-to-top:hover {
    background-color: #c01f22;
  }
  
  /* For dark mode support */
  @media (prefers-color-scheme: dark) {
    .meme-controls {
      background-color: #222;
      box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    
    .scroll-to-top {
      background-color: #e22d30;
    }
  }