/* Global Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  color: #3b3c40;
  font-size: 16px;
}

html {
  min-height: 100vh;
  position: relative;
}

body {
  line-height: 1.5;
}

/* Header and Navigation */
header {
  font-size: 0.8rem;
}

header nav {
  display: flex;
  gap: 1em;
  padding: 0.75rem 0;
}

nav a {
  text-decoration: none;
  color: #3b3c40;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.5)),
    url("https://images.photowall.com/products/79405/joshua-tree-national-park-1.jpg?h=699&q=85");
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75vh;
  width: 100%;
  position: relative;
}

.hero-text {
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text p {
  text-transform: uppercase;
  color: white;
  font-size: clamp(1rem, 2vw, 1.75rem);
}

.title {
  color: #63b0f2;
  font-family: "Courier New", monospace;
  font-weight: bold;
  font-size: clamp(4rem, 15vw, 10rem);
  line-height: 0.9;
}

/* Typography */
h1 {
  font-size: 3rem;
  font-family: "Courier New", monospace;
}

h2 {
  color: #5792e2;
  font-size: 1.5rem;
  font-family: "Courier New", monospace;
}

h3 {
  font-size: 1.2rem;
}

p,
ul,
ol {
  margin: 2rem 0;
}

li {
  list-style-position: inside;
}

/* Articles */
article {
  margin: 3rem 5rem;
}

/* Footer */
footer {
  width: 100%;
  height: 2.5rem;
  background: #5792e2;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
}

footer a {
  color: white;
  font-family: "Courier New", monospace;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 1em;
}

footer a:hover {
  text-decoration: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: auto;
}
