h1 {
  margin-bottom: 20px;
}

.webcam-header {
  text-align: center;
  margin-bottom: 30px;
}

.webcam-header h2 {
  margin-bottom: 10px;
}

.webcam-subtext {
  margin-bottom: 15px;
}

.webcam-notes {
  margin-bottom: 0;
}

.realtime-data-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.realtime-data-item {
  flex: 0 0 calc(50% - 10px);  /* Adjust the 10px value to increase/decrease space between columns */
  margin-bottom: 20px;
  box-sizing: border-box;
}

.realtime-data-item-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.realtime-data-item-body {
  width: 100%;  /* Ensure the body takes full width of its container */
}

.realtime-data-item-body img {
  width: 100%;  /* Make image take full width of its container */
  height: auto;  /* Maintain aspect ratio */
  object-fit: cover;  /* Ensure the image covers the area without distortion */
  display: block;  /* Remove any inline spacing */
}

@media (max-width: 768px) {
  .realtime-data-item {
    flex: 0 0 100%;
  }
}
