* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 24px;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    background-color: #001800; 
    color: #333333;
}

/* Accents */
:root {
    --accent: #166534;                
    --accent-soft: rgba(22, 101, 52, 0.35);
}

/* Main page width and panel */
main {
    max-width: 900px;
    margin: 0 auto;
}

.page {
    max-width: 900px;
    margin: 0 auto;
    background-color: #f5f5f5;         
    border-radius: 12px;
    padding: 28px 36px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--accent-soft);
}

/* Header */
.page-header {
    text-align: center;
    margin: 0 0 16px;
    padding-bottom: 10px;
    /* border-bottom: 1px solid var(--accent-soft); */
}

.name {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 600;
    color: #333333;
}

/* Contact line */
.contact-inline {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    font-size: 13px;
    color: #9ca3af;
}

.contact-inline li a {
    color: #333333;
    text-decoration: none;
}

.contact-inline li a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Sections */
section {
    margin-top: 14px;
    font-size: 14px;
}

section:first-of-type p {
    margin: 2px 0;            
    line-height: 1.3;         
}

.item {
    margin-bottom: 8px;
}

.item ul li {
    margin-bottom: 1px;
}

section h3 {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #065f46;
}

section hr {
    border: none;
    border-top: 1px solid var(--accent-soft);
    margin: 0 0 8px;
}


/* Items */
.item {
    margin-bottom: 12px;
}

.item > header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 0 0 2px;
    text-align: left;
}

.item > header strong,
.item > header span {
    font-weight: 600;
    color: #333333;
    font-size: 14px;
}

.item > div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
    margin: 0 0 2px;
}

.item > div em,
.item > div span {
    font-style: italic;
    color: #333333;
}

/* Bullet lists */
.item ul {
    margin: 2px 0 4px;
    padding-left: 18px;
    color: #333333;
}

.item ul li {
    margin-bottom: 2px;
}

/* Paragraphs in items */
.item p {
    margin: 2px 0 0;
}

/* Emphasis */
strong {
    font-weight: 600;
    color: #333333;
}

a {
    color: #166534;
}

a:hover {
    color: #0f3f28;
}

#visitor-line {
    color: white;
}

#visitor-count {
    color: white;
}


@media (max-width: 700px) {
    body {
        padding: 16px;
    }

    .page {
        padding: 22px 18px;
    }

    .item > header,
    .item > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
}

