/* General Styles */
body {
    font-family: "Arial", sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  h1 {
    color: #4a90e2;
    margin-bottom: 20px;
  }

  /* Buttons */
  button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
  }

  button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  button:hover:not(:disabled) {
    background-color: #357abd;
  }

  /* Video Container */
  #recordedVideo {
    width: 100%;
    max-width: 600px;
    background-color: #000;
    border-radius: 10px;
    margin-top: 20px;
  }

  /* Video List */
  #video-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
  }

  #video-list video {
    width: 100%;
    max-width: 300px;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  /* Card Styling */
  .video-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .video-card:hover {
    transform: translateY(-5px);
  }

  /* Responsive Design */
  @media (max-width: 768px) {
    h1 {
      font-size: 24px;
    }

    button {
      padding: 8px 16px;
      font-size: 14px;
    }

    #recordedVideo {
      max-width: 90%;
    }

    #video-list video {
      max-width: 100%;
    }
  }