
 /* buttonup */
      .buttonup {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: rgb(20, 20, 20);
        border: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
        cursor: pointer;
        transition-duration: 0.3s;
        overflow: hidden;
        position: fixed;
        right: 10px;
        top: 200px; /* غيرت القيمة حتى لا تتداخل مع الزر الآخر */
        z-index: 99999;
          }


      .svgIconup {
        width: 12px;
        transition-duration: 0.3s;
      }

      .svgIconup path {
        fill: white;
      }

      .buttonup:hover {
        width: 140px;
        border-radius: 50px;
        transition-duration: 0.3s;
        background-color: rgb(181, 160, 255);
        align-items: center;
      }

      .buttonup:hover .svgIconup {
        /* width: 20px; */
        transition-duration: 0.3s;
        transform: translateY(-200%);
      }

      .buttonup::before {
        position: absolute;
        bottom: -20px;
        content: "Back to Top";
        color: white;
        /* transition-duration: .3s; */
        font-size: 0px;
      }

      .buttonup:hover::before {
        font-size: 13px;
        opacity: 1;
        bottom: unset;
        /* transform: translateY(-30px); */
        transition-duration: 0.3s;
      }


      /* buttondown */
      .buttondown {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background-color: rgb(20, 20, 20);
        border: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 0px 0px 4px rgba(180, 160, 255, 0.253);
        cursor: pointer;
        transition-duration: 0.3s;
        overflow: hidden;
        position: fixed;
        right:10px;
        bottom: 370px;
        z-index: 99999;
      }

      .svgIcondown {
        width: 12px;
        transition-duration: 0.3s;
      }

      .svgIcondown path {
        fill: white;
      }

      .buttondown:hover {
        width: 140px;
        border-radius: 50px;
        transition-duration: 0.3s;
        background-color: rgb(181, 160, 255);
        align-items: center;
      }

      .buttondown:hover .svgIcondown {
        /* width: 20px; */
        transition-duration: 0.3s;
        transform: translateY(200%);
      }

      .buttondown::before {
        position: absolute;
        bottom: -20px;
        content: "Back to Down";
        color: white;
        /* transition-duration: .3s; */
        font-size: 0px;
      }

      .buttondown:hover::before {
        font-size: 13px;
        opacity: 1;
        bottom: unset;
        /* transform: translateY(-30px); */
        transition-duration: 0.3s;
      }

      .Pupdown
      {
        color: brown;
        background-color: blueviolet;
        word-spacing:50px;
        font-size: xx-large;
      }

      /* Responsive Design */
      @media (max-width: 600px) {
        .buttonup, .buttondown {
            width: 35px;
            height: 35px;
        }

        .buttonup:hover, .buttondown:hover {
            width: 100px;
        }

        .svgIconup, .svgIcondown {
            width: 10px;
        }

        .buttonup::before, .buttondown::before {
            font-size: 0;
        }

        .buttonup:hover::before {
            font-size: 10px;
        }

        .buttondown:hover::before {
            font-size: 10px;
        }
    }



