/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lexend", sans-serif;
  color: #f5f5f5;
  background-color: #121212;
}

header {
  background: linear-gradient(135deg, #1e1e1e, #3c3c3c);
  color: #fff;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 80px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #121212;
}

.hero {
  padding: 50px 20px;
  background: rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3c3c3c;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #1e1e1e;
}

main {
  padding: 20px;
  text-align: center;
}

.audio-player-container {
  margin: 20px auto;
  width: fit-content;
}

/* Popup Styles */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: black;
  transition: opacity 0.6s ease;
}

.popup-form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
}

.popup-form h2 {
  margin-bottom: 20px;
}

.popup-form label {
  display: block;
  margin: 10px 0 5px;
}

.popup-form input,
.popup-form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.popup-form button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3c3c3c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.6s ease-in-out;
}

.popup-form button:hover {
  background-color: #121212;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #3c3c3c;
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.form-response {
  margin-top: 10px;
  color: green;
}

.features {
  background-color: #1e1e1e;
  padding: 40px 20px;
  border-radius: 10px;
}

.features h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.feature {
  background: #2c2c2c;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.feature h3 {
  margin-bottom: 10px;
}

.footer {
  background-color: #1e1e1e;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}

/* General audio control panel background */
audio::-webkit-media-controls-panel {
  background-color: #3c3c3c;
}

/* Schedule Page Styles */
.schedule {
  padding: 20px;
  text-align: center;
}

.schedule h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

#schedule-table {
  width: 100%;
  border-collapse: collapse;
}

#schedule-table th,
#schedule-table td {
  padding: 10px;
  border: 1px solid #121212;
}

#schedule-table th {
  background-color: #3c3c3c;
  color: #fff;
}

#schedule-table td {
  background-color: #1e1e1e;
  color: #fff;
}

#schedule-table thead th {
  background-color: #3c3c3c;
}

#schedule-table tbody tr:nth-child(even) {
  background-color: #2c2c2c;
}

#schedule-table tbody tr:nth-child(odd) {
  background-color: #1e1e1e;
}

/* Events Section Styles */
.events {
  padding: 20px;
  text-align: center;
}

.events h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

#events-table {
  width: 50%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

#events-table th,
#events-table td {
  padding: 10px;
  border: 1px solid #121212;
}

#events-table th {
  background-color: #3c3c3c;
  color: #fff;
}

#events-table td {
  background-color: #1e1e1e;
  color: #fff;
}

#events-table thead th {
  background-color: #3c3c3c;
}

#events-table tbody tr:nth-child(even) {
  background-color: #2c2c2c;
}

#events-table tbody tr:nth-child(odd) {
  background-color: #1e1e1e;
}

.nls {
  color: inherit; /* Keep the text color the same as surrounding text */
  text-decoration: none; /* Remove the underline */
  cursor: pointer; /* Ensure the cursor changes to a pointer on hover */
  transition: 0.6s ease-in-out;
}

.nls:hover {
  color: #121212;
}

.current-hosting {
  padding-bottom: 20px;
}

/* Particle system styles */
.particle-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* Ensure particles do not interfere with user interaction */
  overflow: hidden;
  z-index: 0; /* Behind all content */
}

.particle {
  position: absolute;
  width: 5px;
  height: 5px;
  background-color: rgba(128, 128, 128, 0.7); /* Gray particles */
  border-radius: 50%;
  animation: move 10s linear infinite;
  opacity: 0.8;
}

@keyframes move {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.schedule-form {
  max-width: 600px;
  margin: 0 auto;
  background: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.schedule-form label {
  display: block;
  margin: 10px 0 5px;
  color: #fff;
}

.schedule-form input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #2c2c2c;
  color: #fff;
}

.schedule-form button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3c3c3c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.schedule-form button:hover {
  background-color: #1e1e1e;
}

#response-message {
  margin-top: 10px;
  color: #fff;
}
