
.animatedborder{


    position: relative;
  }
  
  @property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
  }
  
  .animatedborder::after, .animatedborder::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: conic-gradient(from var(--angle), #ff4545, #00ff99, #006aff, #ff0095, #ff4545);
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    z-index: -1;
    padding: 3px;
    border-radius: 10px;
    animation: 3s spin linear infinite;
  }
  .animatedborder::before{
    filter: blur(1.5rem);
    opacity: 0.5;
  }
  @keyframes spin{
    from{
      --angle: 0deg;
    }
    to{
      --angle: 360deg;
    }
  }

      /* Modal Overlay */
      #modal {
        background: rgba(0, 0, 0, 0.75);
        backdrop-filter: blur(10px);
        z-index: 50;
      }
  
      /* Center image in the modal */
      .modal-image {
        max-width: 90%;
        max-height: 80vh;
        object-fit: contain;
        margin: 0 auto;
      }