/* Global Styles */
body {
  background-color: #0b121f;   /* Dark, sleek background */
  color: #ffffff;               /* White text for readability */
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  flex-direction: column;
}

h1, h2, h3 {
  color: #9fef00;               /* Neon green for headings */
  font-weight: bold;
}

a {
  color: #9fef00;               /* Neon green links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffffff;               /* Hover effect: change to white */
  text-decoration: underline;
}

/* Button Styling */
button {
  background-color: #9fef00;    /* Neon green background */
  color: #0b121f;               /* Dark text on button */
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  margin-top: 20px;             /* Space between video and button */
}

button:hover {
  background-color: #ffffff;    /* Hover effect: change to white */
  color: #0b121f;               /* Dark text on hover */
}

/* Video styling */
#player {
  width: 320px;                 /* Set width of the video */
  height: 240px;                /* Set height of the video */
  border: 3px solid #9fef00;    /* Border with neon green */
  border-radius: 8px;
  margin-bottom: 20px;          /* Margin below the video */
}

/* Centering the video and button */
.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Styling for images displayed after capture */
#images {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;  /* Ensures it takes up the width of the page */
  margin-top: 20px; /* Space above the images section */
}

/* Styling for the captured image */
.my-img {
  max-width: 80%;           /* Limit the image width to 80% of its container */
  max-height: 400px;        /* Limit the image height to 400px */
  margin: 10px 0;           /* Add space around the image */
  border-radius: 8px;
  border: 3px solid #9fef00; /* Neon green border for the image */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); /* Add some shadow for better visibility */
  transition: transform 0.3s ease;
}

.my-img:hover {
  transform: scale(1.05);   /* Slight zoom effect for clarity */
}

/* Footer */
footer {
  background-color: #0b121f;
  color: #9fef00;
  padding: 10px;
  text-align: center;
}

/* General Input Styling */
input, textarea {
  background-color: #0b121f;    /* Dark background for inputs */
  color: #9fef00;               /* Neon green text */
  border: 2px solid #9fef00;    /* Neon green border */
  padding: 10px;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

input:focus, textarea:focus {
  border-color: #ffffff;        /* Change border to white on focus */
}
