/* off-screen-menu */
.off-screen-menu {
  background-color: rgb(0, 0, 0);
  height: 100vh;
  width: 100%;
  max-width: 450px;
  position: fixed;
  top: 0;
  right: -450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 3rem;
  transition: 0.3s ease;
}
.off-screen-menu.active {
  right: 0;
}
.off-screen-menu a {
  color: white;
  text-decoration: none;
  margin: 20px 0;
}

/* hamburger */
nav {
  padding: 1rem;
  display: flex;
  /* background-color: rgba(0, 0, 0, 0.239); */
}
nav h1 {
  color: black;
  font-family: "Arial", sans-serif;
  font-size: 50px;
  margin: 0;
  text-align: right;
  text-decoration: none;
}
nav a h1{
  text-decoration: none;
}
nav a {
  text-decoration: none;
}
nav h3 {
  color: black;
  font-family: "Arial", sans-serif;
  font-size: 15px;
  margin: 15;
  text-align: left;
}
.ham-menu {
  height: 50px;
  width: 50px;
  margin-left: auto;
  position: relative;
}
.ham-menu:hover {
  cursor: pointer;
}
.ham-menu span {
  background-color: black;
  position: absolute;
  height: 5px;
  width: 100%;
  border-radius: 25px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
}
.ham-menu span:nth-child(1) {
  top: 25%;
}
.ham-menu span:nth-child(2) {
  top: 50%;
}
.ham-menu span:nth-child(3) {
  top: 75%;
}
.ham-menu.active span:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
  opacity: 0;
}
.ham-menu.active span:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Event Description Page */
main.event-description-container {
  display: flex;
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.event-flyer {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
}

.event-flyer img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-title {
  color: black;
  font-family: "Arial", sans-serif;
  font-size: 36px;
  margin: 0 0 20px 0;
}

.event-body {
  flex: 1;
  margin-bottom: 30px;
}

.event-body p {
  color: black;
  font-family: "Arial", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.buy-tickets-btn {
  display: inline-block;
  background-color: #007bff;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-family: "Arial", sans-serif;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: fit-content;
}

.buy-tickets-btn:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  /* Navigation adjustments */
  nav {
    padding: 0.75rem;
  }

  nav h1 {
    font-size: 32px;
  }

  nav h3 {
    font-size: 12px;
    margin: 12px;
  }

  /* Hamburger menu adjustments */
  .ham-menu {
    height: 40px;
    width: 40px;
  }

  .ham-menu span {
    height: 4px;
  }

  /* Off-screen menu adjustments */
  .off-screen-menu {
    max-width: 100%;
    right: -100%;
    font-size: 2rem;
  }

  .off-screen-menu a {
    margin: 15px 0;
  }

  /* Event description container */
  main.event-description-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 100%;
  }

  .event-flyer {
    flex: 0 0 auto;
    width: 100%;
  }

  .event-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .event-body p {
    font-size: 15px;
    line-height: 1.5;
  }

  .buy-tickets-btn {
    padding: 10px 25px;
    font-size: 16px;
  }

  /* Footer adjustments */
  footer {
    padding: 8px;
  }

  footer img {
    height: 60px;
  }

  .zoobieville-logo {
    height: 60px;
    scale: 1.4;
  }
}

@media (max-width: 480px) {
  /* Extra small devices */
  /* Navigation for extra small */
  nav {
    padding: 0.5rem;
  }

  nav h1 {
    font-size: 24px;
  }

  nav h3 {
    font-size: 11px;
    margin: 10px;
  }

  /* Hamburger menu for extra small */
  .ham-menu {
    height: 35px;
    width: 35px;
  }

  .ham-menu span {
    height: 3px;
  }

  /* Off-screen menu full width */
  .off-screen-menu {
    max-width: 100%;
    font-size: 1.5rem;
  }

  .off-screen-menu a {
    margin: 12px 0;
  }

  /* Event description container for small screens */
  main.event-description-container {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
    max-width: 100%;
  }

  .event-flyer {
    flex: 0 0 auto;
    width: 100%;
  }

  .event-flyer img {
    border-radius: 6px;
  }

  .event-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .event-body {
    margin-bottom: 20px;
  }

  .event-body p {
    font-size: 14px;
    line-height: 1.5;
  }

  .buy-tickets-btn {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  /* Footer for small screens */
  footer {
    padding: 6px;
  }

  footer img {
    height: 50px;
  }

  .zoobieville-logo {
    height: 50px;
    scale: 1.2;
  }
}

footer {
  background-color: rgba(0, 0, 0, 0);
  color: white;
  text-align: center;
  padding: 10px;
  bottom: 0;
  width: 100%;
  z-index: -1;
}
footer img {
  height: 80px;
  width: auto;
}
.zoobieville-logo {
  height: 80px;
  width: auto;
  scale: 1.7;
}
audio {
  display: none;
}