body,
html {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans KR", sans-serif; /* Applying Noto Sans Korean */
  background-color: black;
  color: white;
}

header {
  background: black;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

main {
  background: black;
  text-align: center;
  padding: 20px;
}

button {
  background: #f94b50;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  letter-spacing: -0.98px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #f93b30;
}

h3 {
  margin-top: 50px;
}

#details p {
  letter-spacing: -0.98px;
}

#applyStaff {
  background-color: #fee500; /* Yellow */
  color: #000;
  font-weight: bold;
}

#applyStaff:hover {
  background-color: #fdd835;
}

/* Poster Section Styling */
#poster {
  background-color: #000; /* Ensuring the background is black */
}

#timeline {
  margin-top: 50px;
}

#poster img,
#timeline img {
  width: 100%; /* Ensures the image is responsive */
  max-width: 600px; /* Limits the size of the image on larger screens */
  height: auto; /* Maintains the aspect ratio */
  margin: 0 auto; /* Centers the image on the page */
  display: block;
  border: 0.5px solid #222222; /* Adds a white border around the poster */
  box-shadow: 0 8px 16px 0 rgba(255, 255, 255, 0.2); /* Subtle white shadow for some depth */
}

footer {
  background-color: #222;
  color: white;
  text-align: center;
  position: sticky;
  bottom: 0;
  width: 100%;
}

#contact {
  background-color: #333; /* Dark background for contrast */
  color: white;
  padding: 20px;
  text-align: center;
}

#contact h2 {
  margin-top: 0;
}

.social-links {
  font-size: 20px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.social-links a {
  display: inline-block;
  margin: 0 10px;
  text-decoration: none;
  color: white;
}

.social-links a:hover {
  color: gray; /* Green on hover */
}

.social-links img {
  width: 40px; /* Adjust size as needed */
  height: auto;
  transition: transform 0.3s ease-in-out;
}

.social-links img:hover {
  transform: scale(1.1); /* Slight enlargement on hover */
}

#donation button,
.account button {
  font-size: 15px;
  background-color: #333333; /* Green button */
  color: white;
  border: none;
  padding: 4px 18px;
  cursor: pointer;
  border-radius: 5px;
}

.account {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.account p {
  margin: 0 5px;
  font-size: 20px;
}

#contact {
  margin-top: 50px;
}

#slider,
#slider2 {
  width: 100%;
  height: 400px; /* Adjust height as needed */
  position: relative;
  overflow: hidden;
  touch-action: pan-x; /* Optimizes touch events */
  margin-top: 50px;
}

.slide {
  width: 100%;
  height: 100%;
  position: absolute;
  transition: opacity 0.6s ease-in-out; /* Smooth transition for opacity change */
  opacity: 0; /* Start with hidden slides */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.show {
  opacity: 1;
}

.slide img {
  width: 100%; /* Ensures the image takes up the full width of the slider */
  height: 100%; /* Ensures the image takes up the full height of the slider */
  object-fit: cover; /* Resizes the image to cover the container, cropping it as needed */
}

#applications {
  display: flex;
  gap: 5px;
}

#applications button {
  flex: 1;
}

@media (max-width: 768px) {
  #poster img {
    max-width: 100%; /* Allows the image to expand fully on smaller screens */
  }
}

@media (max-width: 600px) {
  body {
    background-color: #333;
  }
}
