/* From Uiverse.io by cssbuttons-io */ 
.btn {
    position: relative;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1em 2.5em;
    display: inline-block;
    cursor: pointer;
    border-radius: 6em;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
    font-weight: 500;
    color: black;
    background-color: white;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
  }
  
  .btn::after {
    background-color: #fff;
  }
  
  .btn:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
  }



/* Back to the top button */
#myBtn.button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #143d14; /* Dark green from navbar */
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(176, 245, 162, 0.3); /* Soft mint border glow */
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    color: white;
  }
  
  /* SVG Arrow Icon */
  #myBtn .svgIcon {
    width: 12px;
    transition: transform 0.3s ease;
  }
  #myBtn .svgIcon path {
    fill: #d4fcd2; /* Light minty green */
  }
  
  /* Hover effects */
  #myBtn:hover {
    width: 140px;
    border-radius: 50px;
    background-color: #265a26; /* Button hover green */
  }
  
  #myBtn:hover .svgIcon {
    transform: translateY(-200%);
  }
  
  /* Tooltip text below button */
  #myBtn::before {
    position: absolute;
    bottom: -20px;
    content: "Back to Top";
    color: #d4fcd2;
    font-size: 0px;
    transition: all 0.3s ease;
  }
  
  #myBtn:hover::before {
    font-size: 13px;
    bottom: unset;
    opacity: 1;
  }
  

  