.button {
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    padding-block: 0.5rem;
    padding-inline: 1.25rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 10px;
    font-weight: bold;
    border: 3px solid #ffffff4d;
    outline: none;
    overflow: hidden;
    font-size: 15px;
    line-height: 24px;
    width: 100%;
  }

  .button-container {
    margin: 0 5% 5%;
  }

  .button-container > *:not(:first-child) {
    margin-top: 2%;
  }

  #generateButton{
    background-color: var(--red);
    color: #ffff;
  }

  #shareButton{
    background-color: var(--green);
    color: white;
    text-shadow:0 0 5px darkgreen;
  }

  #downloadButton{
    background-color: grey;
    color: white;
  }

  #copyButton{
    background-color: darkorange;
    color: white;
    margin-top: 2%;
  }

  #exampleImageButton{
    background-color: transparent;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }

  .linkbutton{
    background-color: var(--red);
    color: white;
    margin: 2vw;
  }

  .linkbutton{
    background-color: var(--red);
    color: white;
    margin: 2vw;
  }

  .linkbutton-disabled{
    background-color: transparent;
    color: rgba(255, 255, 255, 0.5);
    margin: 2vw;
  }

  .menu-link {
    background-color: darkorange;
    color: white;
  }

  .menu-link-disabled {
    background-color: transparent;
    color: white;
  }
  
  .icon {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease-in-out;
  }
  
  .button:active {
    transform: scale(1.05);
    border-color: #fff9;
  }
  
  .button:active .icon {
    transform: translate(4px);
  }
  
  .button:active::before {
    animation: shine 1.5s ease-out infinite;
  }
  
  .button::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
  }
  
  @keyframes shine {
    0% {
      left: -100px;
    }
  
    60% {
      left: 100%;
    }
  
    to {
      left: 100%;
    }
  }
  