/* Dark modern theme overrides for GreyHat @ GT */

/* Base */
html,
body {
    height: 100%;
}

body {
    background-color: #0b0b0b;
    color: #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* Links and accent */
a {
    color: #00e5ff;
}

a:hover {
    opacity: 0.9;
}

/* Navbar */
nav.main-nav {
    position: sticky;
    top: 12px;
    background: rgba(16, 16, 16, 0.9);
    backdrop-filter: saturate(120%) blur(6px);
    -webkit-backdrop-filter: saturate(120%) blur(6px);
    border: 1px solid #262626;
    border-radius: 9999px;
    padding: 10px 14px;
    max-width: 1100px;
    margin: 16px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

nav.main-nav .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #e5e7eb;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 9999px;
}

nav.main-nav .nav-links {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

nav.main-nav .nav-links a {
    color: #e5e7eb;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 9999px;
}

nav.main-nav .nav-links a:hover {
    background-color: #1a1a1a;
}

nav.main-nav .nav-links a.cta {
    background-color: #00e5ff;
    color: #0b0b0b;
    font-weight: 700;
}

nav.main-nav .nav-links a.cta:hover {
    background-color: #00b8d4;
}

/* Hero */
.profile #wrapper {
    max-width: 1100px;
    padding-top: 80px;
}

.profile #header {
    text-align: center;
}

.profile #header h1 {
    color: #fafafa;
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.profile #header h2 {
    color: #9ca3af;
    font-size: 18px;
    font-weight: 400;
}

.hero-cta {
    margin-top: 24px;
}

.button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
}

.button-primary {
    background-color: #00e5ff;
    color: #0b0b0b;
}

.button-primary:hover {
    background-color: #00b8d4;
}

/* Content */
.post header h1,
.post h1 {
    color: #fafafa;
}

.post h2 {
    color: #e5e7eb;
}

p,
li {
    color: #d1d5db;
}

hr {
    background: #1f2937;
}

blockquote {
    border-left: 3px solid #1f2937;
}

/* Cards / images */
img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Footer */
#footer p.small,
#footer a {
    color: #6b7280;
}

/* Tables */
table {
    background-color: #0f0f10;
}

thead th,
th {
    color: #d1d5db;
    border-bottom-color: #1f2937;
}

tr>td {
    border-top-color: #1f2937;
}

tr:nth-child(odd)>td {
    background: #101214;
}

/* Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (max-width: 700px) {
    .profile #header h1 {
        font-size: 34px;
    }
}