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

/* BODY */
body {
  background: radial-gradient(circle at top, #1a2e22, #0b0f0c);
  color: #d6e2d9;
  font-family: "Courier New", monospace;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("https://www.transparenttextures.com/patterns/asfalt-light.png");
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

/* HEADINGS */
h1,
h2 {
  font-family: Georgia, serif;
  letter-spacing: 1px;
}

header {
  text-align: center;
  padding: 30px 0;
}

header h1 {
  font-size: 2.8rem;
  color: #4d8a66;
  text-shadow: 0 0 10px rgba(77, 138, 102, 0.4);
}

.subtitle {
  font-size: 0.9rem;
  color: #8aa89a;
}

/* LAYOUT */
.container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 20px;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* BOXES */
.box {
  background-color: rgba(31, 61, 43, 0.88);
  border: 1px solid #2a4d38;
  box-shadow: 0 0 10px rgba(63, 122, 90, 0.2);
  padding: 15px;
  border-radius: 8px;
}

h2 {
  margin-bottom: 10px;
  color: #3f7a5a;
}

/* LINKS */
a {
  color: #8aa89a;
  text-decoration: none;
}

a:hover {
  color: #8b1e1e;
}

/* LISTS */
ul {
  list-style: none;
}

li {
  margin-bottom: 5px;
}

/* HIGHLIGHT */
.highlight {
  color: #8b1e1e;
}

/* BOTTOM IMAGE */
.bottom-image {
  width: 100%;
  margin-top: -60px;
  display: flex;
  justify-content: center;
}

.bottom-image img {
  width: 80%;
  max-width: 600px;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 0 40px rgba(139, 30, 30, 0.4),
    0 0 80px rgba(139, 30, 30, 0.2);
  mix-blend-mode: screen;
  filter: blur(0.3px) contrast(1.1) saturate(1.2);
  opacity: 0.95;
  transition: transform 0.3s ease;
}

.bottom-image img:hover {
  transform: scale(1.02);
}

/* FOOTER */
footer {
  text-align: center;
  margin: 40px 0;
  font-size: 0.8rem;
  color: #6f8f7c;
}

/* RESPONSIVE */
@media (max-width: 800px) {
  .container {
    grid-template-columns: 1fr;
  }

  .bottom-image {
    margin-top: 20px;
  }

  .bottom-image img {
    width: 90%;
  }
}