/* open-sauce-one-latin-400-normal */
@font-face {
  font-family: "Open Sauce One";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-400-normal.woff2)
      format("woff2"),
    url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-400-normal.woff)
      format("woff");
}

/* open-sauce-one-latin-500-normal */
@font-face {
  font-family: "Open Sauce One";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-500-normal.woff2)
      format("woff2"),
    url(https://cdn.jsdelivr.net/fontsource/fonts/open-sauce-one@latest/latin-500-normal.woff)
      format("woff");
}

body {
  margin: 0;
  font-family: "Open Sauce One", sans-serif;
  color: black;
  background-color: #faefe0;
}

header {
  background-color: #faefe0;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1001;
}

.header-left {
  flex: 1;
  color: black;
  font-weight: 500;
}

nav#main-nav {
  display: flex;
  gap: 4px;
  font-weight: 500;
}

nav#main-nav a {
  text-decoration: none;
  color: #e52f39;
}

nav#main-nav a::after {
  content: " | ";
}

nav#main-nav a:last-child::after {
  content: "";
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #e52f39;
  background: none;
  border: none;
}

.hero {
  position: relative;
  background-image: url("../imgs/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  z-index: 1;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.content {
  background-color: #faefe0;
  display: flex;
  flex-wrap: wrap;
  padding: 40px 20px;
  gap: 20px;
  z-index: 1;
  position: relative;
}

.left-content,
.right-content {
  flex: 1 1 300px;
  padding: 20px;
}

.left-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 400px;
  height: auto;
  margin-bottom: 10px;
}

.description {
  font-size: 18px;
  color: rgb(35, 31, 32);
  max-width: 500px;
}

.date-location {
  font-size: 18px;
  margin: 20px 0;
}

.event-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-icons a {
  color: #cf4c54;
  font-size: 20px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  animation: dance 0.6s ease-in-out;
}

.main-tagline {
  font-size: 28px;
  font-family: "Linotype Feltpen", sans-serif;
  color: #ed1b3b;
  text-align: right;
  font-weight: bold;
}

@keyframes dance {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px) rotate(-5deg);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-5px) rotate(5deg);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1002;
  }

  nav#main-nav {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: #faefe0;
    z-index: 1000;
    padding-top: 100px;
  }

  nav#main-nav.active {
    display: flex;
  }

  nav#main-nav a {
    padding: 16px 20px;
    font-size: 18px;
    width: 100%;
    text-align: center;
    border-top: 1px solid #e5d6c7;
    color: #e52f39;
  }

  .hero {
    height: 40vh;
    min-height: 200px;
  }

  .content {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  .left-content,
  .right-content {
    flex: none;
    width: 100%;
    padding: 10px 0;
    text-align: center;
  }

  .logo {
    width: 200px;
  }

  .tagline {
    font-size: 18px;
    text-align: center;
  }

  .description {
    font-size: 14px;
    margin: 0 auto;
    max-width: 90%;
  }

  .event-info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 150px;
  }
}
