/*
Theme Name: WebMunk
Theme URI: https://webmunk.de/
Author: Dein Name
Description: Ein minimalistisches, technisch wirkendes WordPress-Theme für Webdeveloper
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: webmunk
*/

/* === Grundlegendes CSS === */
body {
  font-family: 'Courier New', monospace;
  background-color: #0d1117;
  color: #c9d1d9;
  margin: 0;
  padding: 0;
}

a {
  color: #58a6ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

header {
  background-color: #161b22;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #30363d;
}

.menu-menu-1-container {
  padding: 1rem 2rem;
  border-bottom: 1px solid #222;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.menu li {
  position: relative;
}

.menu li a {
  color: #ccc;
  text-decoration: none;
  font-family: monospace;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu li a:hover,
.menu li.current-menu-item a {
  color: #00feba;
}

/* Optional: Unterstreichung beim Hover */
.menu li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #00feba;
  transition: width 0.3s ease;
}

.menu li a:hover::after,
.menu li.current-menu-item a::after {
  width: 100%;
}


.snippet-search-form {
  display: flex;
  gap: 0.5rem;
}
.snippet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.snippet-item {
  background: #161b22;
  padding: 1rem;
  border: 1px solid #30363d;
  border-radius: 6px;
}
.snippet-item a {
  color: #58a6ff;
  text-decoration: none;
}
.snippet-pagination {
  margin-top: 1rem;
  text-align: center;
}


header img {
  height: 40px;
}

nav a {
  margin-left: 1.5rem;
  font-weight: bold;
}

main {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: #161b22;
  border-top: 1px solid #30363d;
  color: #8b949e;
}

/* === Highlight Codeblocks === */
pre code {
  background: #161b22;
  padding: 1rem;
  display: block;
  overflow-x: auto;
  border-left: 4px solid #58a6ff;
}
