* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: hsl(0, 0%, 10%);
  color: hsl(0, 0%, 96%);
}

main {
  flex: 1;
}

/*Original
nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-image: url("images/headers/header plain.png");
  font-family: 'GFS Didot', serif;
}
*/

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background: linear-gradient(
    to bottom,
    hsl(0, 0%, 14%),
    hsl(0, 0%, 5%)
  );
  border-bottom: 0.5px solid hsl(0, 0%, 75%);
  font-family: 'GFS Didot', serif;
}

.logo img {
  width: 240px;
}

.nav-links {
  color: hsl(0, 0%, 10%);
  display: flex;
  justify-content: space-around;
  width: 30%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: hsl(0, 0%, 96%);
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 14px;
}

/* about us section */
.about-us-article {
  text-align: center;
}

/* home page */
.hero {
  min-height: 125px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-family: "Jolly Lodger", system-ui;
  font-size: 40px;
  text-align: center;
  margin-bottom: 30px;
}

.hero-content p {
  font-size: 18px;
  text-align: center;
}

.hero-image {
  width: 900px;
  max-width: 90%;
  height: 250px;
  object-fit: cover;
  object-position: center;

  display: block;
  margin: 30px auto 0 auto;
  border: 0.1px solid hsl(0, 0%, 35%);
  border-radius: 2.5px;
  box-shadow: 0 0 15px hsl(0, 0%, 0%);
}

/*featured-haunted-places*/
.featured-hp {
  min-height: 125px;
}

.featured-hp-content h2 {
  font-family: "Jolly Lodger", system-ui;
  font-size: 40px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 15px;
}

.featured-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.place-card {
  width: 300px;
  text-align: center;
}

.place-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 2.5px;
}

.place-card h3 {
  font-size: 16px;
  margin-top: 8px 0 0;
}

.place-card p {
  font-size: 12px;
  margin-top: 4px 0 0;
}

/* footer * ghastly-ghost-link */
footer {
  font-size: 12px;
  padding: 5px 10px;
  width: 100%;
  background: hsl(0, 0%, 5%);
  text-align: center;
  box-sizing: border-box;
  border-top: 0.5px solid hsl(0, 0%, 75%);
}

.footer-index {
  margin: 0;
}

footer p {
  margin: 5px 0 0;
}

.ghastly {
  color: hsl(0, 0%, 96%);
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 14px;
}

.ghost-tm {
  color: hsl(215, 8%, 57%);
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  font-size: 14px;
}


/* Search Container */
.search-container {
  display: flex;
  align-items: center;
  width: 280px;
}

.search-container input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid hsl(215, 8%, 57%);
  border-radius: 4px 0 0 4px;
  background-color: hsl(0, 0%, 10%);
  color: hsl(0, 0%, 96%);
  outline: none;
}

.search-container input:focus {
  border-color: hsl(0, 0%, 96%);
}

.search-container button {
  padding: 8px 12px;
  border: 1px solid hsl(215, 8%, 57%);
  border-left: none;
  border-radius: 0 4px 4px 0;
  background-color: hsl(215, 8%, 57%);
  color: white;
  cursor: pointer;
}

/* Mobile devices */
@media (max-width: 768px) {

nav {
  flex-direction: column;
  justify-content: center;
  padding: 2.5px 0;
  gap: 2.5px;
}

.hero-image {
  width: 90%;
  height: 150px;
  border: 0 0 0.1px solid hsl(0, 0%, 35%);
  border-radius: 2.5px;
  box-shadow: 0 0 15px hsl(0, 0%, 0%);
}

.hero-content h1 {
  font-size: 30px;
}

.hero-content p {
  font-size: 16px;
}

.logo img {
  width: 165px;
  max-width: 90vw;
  height: auto;
}

.nav-links {
  width: 100%;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 1px;
}

.featured-cards {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

footer {
  font-size: 11px;
  padding: 6px 10px;
}

.footer-index {
  margin: 0;
}

.ghastly,
.ghost-tm {
  font-size: 12px;
}

footer p {
  margin: 3px 0 0;
}
}