*{
  touch-action: manipulation;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  touch-action: manipulation;
}

div {
  text-align: center;
}

h2 {
  font-size: 18px;
}

select {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}

.controlButton {
  padding: 10px 20px;
  font-size: 16px;
  margin: 5px;
  border: none;
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.controlButton:hover {
  background-color: #0056b3;
}

label {
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

input[type="checkbox"] {
  margin-right: 5px;
}

audio {
  width: 100%;
  margin-top: 20px;
}

@media only screen and (min-width: 600px) {
  div.main {
    max-width: 500px;
  }
}



#video-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f1f1f1;
  padding: 10px;
}

#video-form input[type="text"] {
  width: 70%;
  padding: 5px;
}

#video-form button {
  padding: 5px 10px;
  color: white;
  border: none;
}

#video-form button:hover {
}

#video-form::after {
  content: "";
  display: table;
  clear: both;
}

  /* Your existing CSS styles... */

  /* Modal Styling */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
  }

  .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 70%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-height: 80%;
    overflow-y: auto;
    text-align: start;
  }

  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
  }

  /* Style for "How It Works" button */
  #howItWorksButton {
    margin-top: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
  }

  #howItWorksButton:hover {
    background-color: #45a049;
  }

  .modal li{
    margin-bottom: 5px;
  }

  /* Center the modal on small screens */
  @media screen and (max-width: 768px) {
    .modal-content {
      width: 90%;
    }
  }

