/* Campfire Files Styles  */

/* ---------- Reset ---------- */
/* Google says * can be used as a universal selector?? */
html, body, h1, h2, h3, p, ul, li, img, a {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fredericka the Great', cursive;
  background-color: #0e0e0e;
  color:ghostwhite;
  line-height: 1.6;
  padding: 20px;
}

/* ---------- Logo ---------- */
.logo {
  display: block;
  max-width: 200px;
  margin: 0 auto 20px auto; /* im still confused about margins, trail and error -_- */ 
}

/* i really want a hero image, but gave up, i couldn't figure out the layout....it was really cool too. 
probably could have done a wrapper id, but it kept interfering with responsiveness, tha'ts on me though. */

/* ---------- Navigation ---------- */

/* ---------- Layout Container ---------- */
.site-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 40px;
}

/* ---------- Sidebar Nav ---------- */
.trail-map {
  width: 200px;
  background-color: #1c1c1c; /* whyyyyy are colors so difficult to choose? i just want black? why is there like 70 different ones? */
  padding: 20px;
  min-height: 100vh;
  position: sticky;
  top: 0;
}

.trail-map ul {
  list-style: none;
  padding: 0;
}

.trail-map li {
  margin-bottom: 20px;
}

.trail-map a {
  text-decoration: none;
  color: white;
  font-family: 'Creepster', cursive;
  font-size: 22px;
  display: block;
}

.trail-map a:hover {
  color: #ff6347; /* spooky */
}

/* ---------- Main Container ---------- */
.campfire-circle {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ---------- Section Layout ---------- */
.ghost-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.lore {
  flex: 1 1 300px;
  font-size: 18px;
}

.chapter-title { /* i should really name this something else......but it matches the theme of lore? like a book, idk,  */
  font-family: 'Creepster', cursive;
  font-size: 32px;
  margin-bottom: 10px;
}

.lantern {
  flex: 1 1 300px;
  text-align: center;
}

.sighting {
  max-width: 40%;
  height: auto;
  display: block;
  margin: auto;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.5); /* spookier */
  border-radius: 16px;
}

/* ---------- Footer ---------- */
footer {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #ff6347; 
}

/* Tablet & Mobile Sidebar Nav */
/* i officially give up, why???? does it not
do what i want it to do????? google, help. */
/* mobile (up to 767px) */
@media screen and (max-width: 767px) {
  .site-container {
    flex-direction: column;
  }

  .trail-map {
    width: 100%;
    min-height: auto;
    text-align: center;
  }

  .trail-map li {
    display: inline-block;
    margin: 0 15px;
  }

  .campfire-circle {
    padding: 20px;
  }
}

/*  tablet (768px to 1024px)  */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .site-container {
    flex-direction: row;
  }

  .trail-map {
    width: 200px;
    text-align: left;
  }

  .trail-map li {
    display: block;
    margin-bottom: 15px;
  }

  .campfire-circle {
    padding: 30px;
  }
}

/* desktop (1025px to 1200px)  */
@media screen and (min-width: 1025px) and (max-width: 1200px) {
  .site-container {
    flex-direction: row;
  }

  .trail-map {
    width: 200px;
  }

  .logo {
    max-width: 200px;
  }

  .campfire-circle {
    padding: 40px;
  }
}

/*  large desktop (1201px and up)  */
@media screen and (min-width: 1201px) {
  .site-container {
    flex-direction: row;
  }

  .trail-map {
    width: 250px;
  }

  .campfire-circle {
    padding: 50px;
  }
}

/*  print view */
@media print {
  .trail-map,
  .logo,
  footer {
    display: none;
  }

  body {
    background-color: white;
    color: black;
  }

  .campfire-circle {
    max-width: 100%;
    padding: 0;
  }
}

/* i dont think i want to be web developer anymore, JK. maybe. idk. */