@charset "utf-8";

/* -------------------- GLOBAL -------------------- */
html, body {
  margin: 0;
  padding: 0;
  font-family: Roboto, sans-serif;
  background:
    linear-gradient(to bottom,
      rgba(2,77,43,0.85),
      rgba(1,51,26,0.85),
      rgba(1,38,19,0.85)),
    url("images/seattlenight.webp") no-repeat center center fixed;
  background-size: cover;
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* -------------------- SITE TITLE -------------------- */
.site-title {
  background: linear-gradient(to right, #000000, #01331a, #004d26);
  text-align: center;
  padding: 20px;
}
.site-title h1 {
  margin: 0;
  font-size: 2.5em;
  letter-spacing: 1px;
}

/* -------------------- NAVIGATION -------------------- */
nav {
  background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
  text-align: center;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}
nav a {
  color: #000;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
  color: #1faa59;
}

/* -------------------- CONTENT -------------------- */
.content {
  flex: 1;
  max-width: 1000px;
  margin: 40px auto 0 auto;
  padding: 20px;
}

.content h2 {
  font-size: 2.2em;
  color: #00e676;
  text-align: center;
  margin-top: 0;
  margin-bottom: 25px;
  position: relative;
  top: -20px;
}

/* -------------------- BLOG INDEX -------------------- */
.blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 20px;
}
.blog-link:hover .blog-entry {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.blog-entry {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 20px;
  border: 3px solid #00e676;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-wrap: nowrap;
}

/* -------- THUMBNAIL BOX -------- */
.blog-thumbnail {
  flex: 0 0 200px;
  width: 200px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: rgba(0,0,0,0.15);
  border-radius: 10px;
  box-sizing: border-box;
}

.blog-thumbnail img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 3px solid #00e676;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,230,118,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-thumbnail img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,230,118,0.45);
}

.blog-text {
  flex: 1;
}
.blog-text h3 {
  color: #00e676;
  margin: 0 0 6px 0;
}
.blog-text p {
  color: #fff;
  line-height: 1.6;
  margin: 10px 0 0 0;
}
.blog-date {
  font-size: 0.9em;
  color: #ccc;
  margin-bottom: 8px;
}

/* -------------------- POST CONTAINER -------------------- */
.post-container {
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 40px;
  border-radius: 16px;
  border: 3px solid #00e676;
  max-width: 850px;
  margin: auto;
}

/* -------------------- FOOTER -------------------- */
footer {
  text-align: center;
  margin-top: 40px;
}
footer h3 {
  background: linear-gradient(to right, #000000, #01331a, #004d26);
  color: #fff;
  margin: 0;
  font-size: 1.4em;
  font-weight: normal;
  padding: 12px 0;
}
.footer-links {
  background: linear-gradient(to right, #aaaaaa, #cccccc, #eeeeee);
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 20px;
}
.footer-links a {
  color: #000;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
}
.footer-links a:hover {
  color: #1faa59;
  text-decoration: underline;
}

/* -------------------- SPACING FIXES -------------------- */
.site-title {
  margin-bottom: 0;
}

nav {
  margin-bottom: 40px;
}

footer {
  margin-top: 60px;
}

html {
  overflow-y: scroll;
}
