body {
  margin: 1px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif, sans-serif;
  background-image: ('../images/mfm-bg.png');
  background: #a80000;
  color: #333;
}

header {
  background-color: #a80000;
  padding: 2px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 200px;
}

.navbar {
  background-color: wheat; /* MFM color */
  padding: 10px;
}

.navbar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.navbar ul li {
  margin: 0 20px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-size: 20px;
  font-family: 'Segoe UI', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffcc00;
  text-decoration: underline;
}

@media (max-width: 600px) {
  nav ul { 
    flex-direction: column;
    align-items: center;
  }

nav ul li {
  margin: 10px 0;
  } 
}
.hero {
  height: 300px;
  background-image: url('../images/mfm-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero .overlay {
  background-color: rgba(0,0,0,0.5);
  color: white;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.memory-verse {
  padding: 40px 20px;
  background-color: wheat;
  text-align:center;
}

.memory-verse h2 {
  color:#a80000;
}

footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
}

/* Memory Verse Section */
#memory-verse {
  background-color: #fff5f5;
  border-left: 5px solid #b30000;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#memory-verse h2 {
  color: #b30000;
  font-size: 24px;
  margin-bottom: 10px;
}

#memory-verse p {
  font-size: 18px;
  color: #333;
}

/* Service Schedule Section */
#service-schedule {
  background-color: #f0f0f0;
  padding: 20px;
  margin: 30px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#service-schedule h2 {
  color: #b30000;
  font-size: 24px;
  margin-bottom: 10px;
}

#service-schedule ul {
  list-style: none;
  padding: 0;
}

#service-schedule li {
  font-size: 16px;
  color: #444;
  margin-bottom: 8px;
}

.about-section {
  padding: 180px;
  background-image: url('../images/mfm-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: wheat;
  text-shadow: 7px 1px 6px black;
  font-size: larger;
}

.about-section .container {
  max-width: 800px;
  margin: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Optional: adds a dark overlay for readability */
  padding: 1000px;
  border-radius: 10px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.angel-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent interference with content */
  overflow: hidden;
  z-index: -1;
}

.angel {
  position: absolute;
  width: 80px;
  opacity: 0.4;
  animation: floatUp 30s linear infinite;
}

.angel1 {
  left: 20%;
  animation-delay: 0s;
}

.angel2 {
  left: 70%;
  animation-delay: 10s;
}

@keyframes floatUp {
  0% {
    top: 100%;
    transform: translateX(0) rotate(0deg);
  }
  100% {
    top: -150px;
    transform: translateX(-50px) rotate(20deg);
  }
}
