li {
    border-bottom: 1px solid rgb(189, 189, 189);
    border-left: 1px solid rgb(189, 189, 189);
    padding: .5em;
  }

  label {
    display: inline-block;
    width: 8em;
  }

  h1 span {
    background: yellow;
    border: 2px solid #8e1515;
    padding: 2px 8px;
    margin: 2px 5px;
    border-radius: 7px;
    color: #8e1515;
    display: inline-block;
  }

  .recordrtc button {
    font-size: inherit;
  }

  .recordrtc button,
  .recordrtc select {
    vertical-align: middle;
    line-height: 1;
    padding: 2px 5px;
    height: auto;
    font-size: inherit;
    margin: 0;
  }

  .recordrtc,
  .recordrtc .header {
    display: block;
    text-align: center;
    padding-top: 0;
  }

  .recordrtc video,
  .recordrtc img {
    max-width: 100% !important;
    vertical-align: top;
  }

  .recordrtc audio {
    vertical-align: bottom;
  }

  .recordrtc option[disabled] {
    display: none;
  }

  .recordrtc select {
    font-size: 17px;
  }

  #VideoRecorder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .experiment{
    border: 1px solid rgb(189, 189, 189);
    margin: 1em 3em;
    border-radius: .2em;
    text-align: left;
    background: rgba(0,0,0,1);
    width: 50%;
    min-width: 500px;
  }

  #recording-player {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .spinner-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Set a high z-index to ensure it appears over everything else */
  }
  
  .spinner {
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite; /* Apply animation */
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .spinner-text {
    color: white;
    font-size: 18px;
    margin-left: 10px;
  }
