@import url('fonts.css');

:root {
    --page-updated: "28 June 2026";
}

.page-updated-date::after {
    content: var(--page-updated);
}

h1 {
    font-size: 1.9em;
    font-weight: 600;
}

h2 {
    font-size: 1.45em;
    margin-bottom: -0.2em;
    font-weight: 600;
}

h3 {
    font-size: 1.3em;
    margin-left: 3em;
    margin-top: -0.2em;
    font-weight: 600;
}

hr {
    height: 2px;
    border: none;
}

.mono {
    font-family: 'Courier New', Courier, monospace;
}

.tab1 { margin-left: 3em; }
.tab2 { margin-left: 5em; margin-top: -1em; }

span.blockspam {
  display: none;
}

footer {
    color: rgb(172, 180, 192);
    max-width: 48em;
    word-wrap:break-word;
    text-align: left;
}

body {
    font-family: 'Outfit', 'Segoe UI', Tahoma, Verdana, sans-serif;
    font-weight: 500;
    background-color: rgb(12, 18, 32);
    /* Spacey dotted starfield (softer brightness, more size variation) */
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, 0.70) 1.4px, transparent 2.3px), /* soft white */
        radial-gradient(circle, rgba(240, 248, 255, 0.60) 1.0px, transparent 1.9px), /* light blue */
        radial-gradient(circle, rgba(200, 214, 230, 0.50) 1.8px, transparent 2.6px), /* grey-blue */
        radial-gradient(circle, rgba(255, 255, 255, 0.55) 0.8px, transparent 1.6px), /* tiny white */
        radial-gradient(circle, rgba(186, 202, 218, 0.45) 2.2px, transparent 3.0px), /* larger pale */
        radial-gradient(circle, rgba(220, 230, 242, 0.50) 1.6px, transparent 2.4px), /* mid pale */
        radial-gradient(circle, rgba(255, 255, 255, 0.40) 0.6px, transparent 1.4px); /* specks */
    /* Increased spacing with varied tile sizes for pseudo-randomness */
    background-size:
        240px 240px,
        300px 260px,
        380px 340px,
        520px 440px,
        650px 600px,
        420px 360px,
        760px 700px;
    /* Offsets staggered per layer to avoid visible repeats */
    background-position:
        27px 41px,
        113px 77px,
        197px 163px,
        317px 247px,
        49px 283px,
        160px 95px,
        85px 345px;
    background-repeat: repeat;
    background-attachment: fixed;
    color: rgb(241, 244, 248);
    font-size: 1.0em;
    max-width: 48em;
    word-wrap:break-word;
    text-align: justify;
    padding-left: 2em;
    padding-right: 2em;
}

/* Reduce spacing before unordered lists */
ul {
    margin-top: -0.7em;
}

/* Hyperlinks - tuned for dark background */
a {
    color: rgb(110, 200, 255);
}
a:visited {
    color: rgb(140, 210, 255);
}
a:hover,
a:focus {
    color: rgb(180, 230, 255);
    text-decoration: underline;
}
a:active {
    color: rgb(220, 245, 255);
}

.right {
    text-align: right;
    float: right;
}

.anchored-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 10%;
    right: 10%;
    width: 8em;
    height: 2em;
    text-align: right;
    background-color: rgba(245, 240, 228, 0.7);
    border: 2px solid rgb(245, 240, 228);
    padding: 3px;
    color:  rgb(30, 26, 18) !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9em;
}
.anchored-button:hover,
.anchored-button:focus {
    background-color: rgba(245, 240, 228, 0.75);
    color: rgb(30, 26, 18) !important;
    text-decoration: underline;
}
.btn-full,
.btn-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.btn-emoji { display: none; }

table td, table td * {
    vertical-align: top;
}

/* CV profile table: transparent borders and smaller photo cell */
.profile-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0.8em 0; /* add horizontal gap between cells */
    margin-bottom: 0.5em;
    border: 1px solid transparent;
}
.profile-table td {
    border: 1px solid transparent;
    vertical-align: middle; /* center content vertically in the row */
}
.profile-cell {
    width: 140px; /* smaller image cell */
    max-width: 50vw; /* never exceed half the screen width */
}
.profile-cell img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* keep aspect ratio without cropping */
}
.profile-text p {
    margin: 0;
}

pre {
    display: block;
    font-family: monospace;
    white-space: pre-wrap;
    inline-size: 60em;
    overflow-wrap: break-word;
  }
 
@media (max-width: 600px) {
    .hide-on-small { display: none; }
    .anchored-button {
        width: 2.4em;
        height: 2.4em;
        font-size: 1.3em;
        padding: 0;
        bottom: 6%;
        right: 6%;
    }
    .btn-full { display: none; }
    .btn-emoji { display: flex; }
}

/* Printer settings*/
@media print{
    .noprint{
        display:none;
    }
    body {
        background: white !important;
        color: black !important;
        background-image: none !important;
    }
    a, a:visited {
        color: black !important;
        text-decoration: none !important;
    }
}
@page {
    size: auto;   /* auto is the initial value */
    margin: 0mm;  /* this affects the margin in the printer settings */
}

