body {
    background-color: #000;
    color: #c8c3bc;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}
a { color: #c8c3bc; text-decoration: none; }
a:hover { text-decoration: underline; }
input[type="text"] {
    width: 100%;
    padding: 0.5rem;
    background: #111;
    color: #c8c3bc;
    border: 1px solid #333;
}

.article-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid hsl(0, 0%, 20%);
}

.article-item:last-child {
    border-bottom: none;
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

#searchOverlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

#searchOverlay.hidden {
  display: none;
}

.overlay-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

#overlaySearchInput {
  width: 100%;
  box-sizing: border-box;
  background: #111;
  color: #c8c3bc;
  border: 1px solid #444;
}

.search-box {
  position: relative;
  background: #222;
  width: 800px;
  padding: 50px;     
  border-radius: 8px;
  z-index: 1001;
  color: #c8c3bc;
  box-sizing: border-box; 
}


.search-box input {
  width: 100%;
  padding: 0.75rem;
  background: #111;
  color: #c8c3bc;
  border: 1px solid #444;
}

#searchResults {
  max-height: 300px;
  overflow-y: auto;
}

#searchResults a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid #444;
  color: #c8c3bc;
  text-decoration: none;
}

#searchResults a:hover {
  background: #333;
}

.main-content {
  margin-top: 5rem;
}
