* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: sans-serif;
  color: white;
  height: 100%;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
  object-fit: contain;
  background-color: black;
}

body::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
}

.logo {
width: 75px;
height: 75px;
}

.navbar .logo {
  font-size: 0.5rem;
  color: #009127;
  font-weight: bold;
}

.navbar a {
  text-decoration: none;
  color: #009127;
  font-weight: bold;
  padding: 0.1rem 0.1rem;
  white-space: nowrap;
}
.navbar a:hover {
  background-color: #e0f0d9;
  border-radius: 5px;
}

.dropdown {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  background-color: #ffffff;
  border: 1px solid #ccc;
  width: 350px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.submenu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #009127;
}

.submenu a:hover {
  background-color: #f0f0f0;
}

.dropdown:hover .submenu {
  display: block;
}

#search {
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px solid #009127;
}

#gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  padding: 2rem;
  gap: 1rem;
}

.gallery-item {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 10px;
  color: #009127;
  text-align: center;
  transition: 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  background-color: white;
}

#audio-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

audio {
  width: 300px;
  max-width: 90%;
  height: 40px;
  border-radius: 10px;
  background-color: white;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transform: translateY(50px);
  opacity: 0;
  animation: slideFadeIn 0.5s ease forwards;
  text-align: center;
}

@keyframes slideFadeIn {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.close:hover {
  color: black;
}

#center-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem 3rem;
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 10;
  color: #009127;
  font-family: 'Arial', sans-serif;
}
#center-message h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
#center-message p {
  font-size: 1.2rem;
}
