html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #021622;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7;
}

.site-banner {
  background: rgba(0, 151, 178, 0.15);
  color: #c9d1d9;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 151, 178, 0.25);
}

.site-container {
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1.5rem;
}

header nav ul li {
  margin: 0;
}

header nav ul li a {
  color: #8b949e;
  text-decoration: none;
  font-size: 1.1rem;
}

header nav ul li a:hover{
  color: #0097b2;
}

p {
  color: #cdd5de;
  font-size: 1.2rem;
}

h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #cdd5de;
}

h3 {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0.4rem 0;
}

.article-date {
  color: #8b949e;
  margin-right: 0.5rem;
  font-family: monospace;
}

a {
  color: #0097b2;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.13s ease, text-shadow 0.13s ease;
}

a:hover {
  transform: translateY(-1px) scale(1.03);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}


.footer {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
  color: #8b949e;
  font-size: 1.1rem;
}

.footer a {
  color: #8b949e;
}

.footer a:hover{
  color: #0097b2;
}


form {
  margin-bottom: 1rem;
}

input[type="text"] {
  padding: 0.5rem;
  font-size: 1rem;
  width: 70%;
  border: 1px solid #444;
  border-radius: 4px;
  background: #0d1117;
  color: #c9d1d9;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  margin-left: 0.5rem;
  background: #0097b2;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background: #007a92;
}

.article-title {
  /* font-size: 2rem; */
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: #cdd5de;
}

.article-date {
  font-size: 0.95rem;
  color: #8b949e;
  margin-bottom: 2rem;
  font-family: monospace;
}

.article-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #cdd5de;
  margin-bottom: 2rem;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-categories {
  color: #cdd5de;
  margin-top: 2rem;
}


@media (max-width: 900px) {
  site-container {
    max-width: 95%;
    margin: 1.5rem auto;
  }

  header {
    justify-content: center;
  }

  header nav ul {
    gap: 1rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }
}


@media (max-width: 600px) {
  .site-container {
    margin: 1rem auto;
  }

  header {
    justify-content: center;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
  }

  header nav ul li a {
    font-size: 1rem;
  }

  p {
    font-size: 1rem;
  }

  h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
  }

  h3 {
    font-size: 1rem;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    font-size: 1rem;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
  }

  input[type="text"] {
    width: 100% !important;
    font-size: 1rem;
    padding: 0.6rem;
    box-sizing: border-box;
  }

  button {
    width: 100%;
    margin-left: 0;
    font-size: 1rem;
    padding: 0.6rem;
  }
}