 body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
  }

  .camera-container {
    width: 100%;
    height: 100vh;
    background-color: black;
    overflow: hidden;
  }

  .camera-preview{
    width: 100%;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }

  .output_canvas{
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
  }

  .menu-container {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
  }

  .menu-icon {
    width: 10px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    right: 30px;
  }
  
  .dot {
    width: 6px;
    height: 6px;
    background-color: #4a4a4a;
    border-radius: 50%; 
  }
  
  .menu-options {
    display: none;
    position: relative;
    top: 40px;
    margin-right: 10px;
    right: 40;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: rgba(169, 169, 169, 0.5); /* Gray color with 0.5 opacity */
      padding: 10px; /* Add padding for spacing */
      border-radius: 5px; /* Add rounded corners */
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  
  .modal-content {
    background-color: white;
    width: 300px;
    padding: 20px;
    border-radius: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
  
  #errorMessage{
    margin-top: 0;
    margin-bottom: 0;
  }

  .menu-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .menu-options li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
  }
  
  .menu-options li:last-child {
    border-bottom: none;
  }

  .capture-button-container {
    position: absolute;
    bottom: 10vh;
    left: 50vw;
  }

  .capture-radio {
    display: none;
  }

  .capture-label {
    color: white;
    padding: 20px 20px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .capture-label:hover { 
    background-color: #45a049;
  } 