function VideoModal({ src }: { src: string }) {
  return (
    <div className="flex justify-center items-center z-10 h-dvh w-full">
      <video
        src={src}
        className="object-cover max-w-[95%] 2xl:rounded-[0.833vw] rounded-xl max-2xl:landscape:h-[calc(100dvh-56px)]"
        autoPlay
        muted
        loop
        playsInline
      />
    </div>
  );
}

export default VideoModal;
