/* Base Styles */
body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
}

/* Containers */
.container {
    width: 90%;
    max-width: 800px;
    text-align: left;
    padding: 2rem 0;
}

/* Header & Description */
header {
    margin-bottom: 3rem;
}

.blog-title {
    font-size: 2.5rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
}

.blog-description {
    font-size: 1rem;
    color: #a0a0a0;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

/* Horizontal Lines */
hr {
    border: 0;
    border-top: 1px solid #333;
    width: 60%;
    margin: 3rem auto;
}

/* Blog Posts */
.post {
    margin-bottom: 4rem;
}

.post-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.post-meta {
    font-size: 0.85rem;
    color: #888;
    text-align: left;
    margin-bottom: 1rem;
}

/* Image Class */
.featured-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: solid white 2.5px;
    box-shadow: 0 0px 15px rgba(255, 255, 255, 0.6);
    margin: 1.5rem auto;
    display: block;
}

kbd{
    background-color: #333;        /* Dark background for the key */
    border: 1px solid #555;        /* Subtle border */
    border-radius: 5px;            /* Rounded corners */
    box-shadow: 0 2px 0 #000;      /* The "depth" shadow at the bottom */
    color: #fff;                   /* White text */
    display: inline-block;
    font-family: monospace;
    font-size: 1em;
    font-weight: 700;
    line-height: 1;
    padding: 2px 5px;              /* Spacing inside the key */
    white-space: nowrap;
}

/* Container for the collapsible segment */
details {
    background-color: #000000;
    border: 1px solid #707070;
    border-radius: 8px;
    margin: 1.5rem auto;
    max-width: 700px;
    text-align: left; /* Keep text left-aligned for readability */
    overflow: hidden;
}

/* The clickable header */
summary {
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
    color: #707070;
    outline: none;
    transition: background-color 0.2s ease;
}

summary:hover {
    background-color: #252525;
}

/* The content inside when expanded */
.details-content {
    padding: 0 1rem 1rem 1rem;
    color: #a0a0a0;
    font-size: 0.95rem;
    border-top: 1px solid #333;
}

/* Optional: change the little arrow color */
details[open] summary {
    border-bottom: 1px solid #333;
    margin-bottom: 0.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
}

th {
    background-color: #333;
    color: #fff;
    padding: 12px;
    text-align: left;
}

td {
    padding: 12px;
    border-bottom: 1px solid #2a2a2a;
    font-family: monospace; /* Makes IPs easier to read */
}

tr:hover {
    background-color: #252525; /* Highlights row on hover */
}

/* Image Zoom / Lightbox */
.featured-image {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.featured-image:hover {
    transform: scale(1.03);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 95%;
    max-height: 95vh;
    min-width: 95vh;
    border: 8px solid #fff;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(255,255,255,0.3);
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}
