@media print {
    @page {
        size: A4 portrait;
        margin: auto;
        max-height: 100%; 
        max-width: 100%;
        orphans: 10;
        widows: 10;
    }
}

/* ── Page transition overlay ─────────────────────────────────────── */
#page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgb(8, 8, 18);
    opacity: 0;
    pointer-events: none;
}

#page-transition-overlay canvas {
    display: block;
    width: 100%;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: rgb(8, 8, 18);
}

canvas {
    display: block;
}

.scroll_down {
    background-image: url("images/scroll down.png");
    width: 100px;
    height: 100px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

body {
    font-size: 10px;
}

a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
    color: rgb(170, 178, 190);
    cursor: pointer;
}

table {
    vertical-align: middle;
    word-wrap: break-word; 
    word-break: break-all;
    page-break-inside: avoid;
    break-inside: avoid;
}

.height_20 {
    height: 20px;
}

.height_50 {
    height: 50px;
}

.page_breaker {
    page-break-after: always;
}

.height_250 {
    height: 250px;
}

.chosen-container {
    font-size: 10px;
}

.picture_frame {
    float: left;
    padding: 10px;
    margin: 10px;
}

.my_title {
    color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-size: 82px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}


.my_name {
    color: lightgray;
    font-size: 20px;
    margin-top: 0px;
}


.my_beian_text {
    color: lightgrey !important;
    font-weight: bold;
}

.my_small_back {
    float: left; 
    cursor: pointer; 
    color: gainsboro; 
    font-weight: bold;
    padding: 5px;
}

.my_small_back:hover {
    color: gainsboro !important;
}

.my_post_box {
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;
}

.my_post_date {
    color: darkgrey !important;
    font-size: 12px;
}

.my_post_title {
    color: black !important;
    font-size: 15px;
    font-weight: bold;
}

.my_post_desc {
    color: black !important;
    font-size: 12px;
}

.my_post_pic {
    width: 600px;
}

.my_post_more {
    text-align: right;
}

.my_navigation {
    padding: 5px;
    text-align: justify;
    color: white;
    font-size: 16px;
}


.my_beian_box {
    width: 100%;
    text-align: center;
}

.my_navigation_item {
    margin-right: 30px;
}

.back_btn {
    color: white;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 5;
    font-size: 12px;
}

.my_bottom_row {
    position: fixed;
    width: 100%;
    bottom: 0px;
    z-index: 4;
    background-color: black;
    padding: 5px;
}

/* ── Minimal floating nav (full-screen projects) ─────────────────── */
.nav-minimal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    letter-spacing: normal;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.nav-minimal.nav-minimal-hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}
.nav-minimal-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-right: 24px;
    cursor: pointer;
    letter-spacing: 0.5px;
}
.nav-minimal-item:hover {
    color: #fff;
}
.nav-minimal-beian-link {
    color: rgba(255, 255, 255, 0.35);
    font-size: 11px;
    text-decoration: none;
}
.nav-minimal-beian-link:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* ── Info button + panel (top-right ⓘ) ──────────────────────────── */
.info-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 101;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-style: italic;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.info-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.85);
    color: #fff;
}
.info-panel {
    position: fixed;
    top: 44px;
    right: 10px;
    z-index: 101;
    background: rgba(8, 8, 18, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    padding: 12px 16px;
    max-width: 260px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.info-panel-hidden {
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
}
.info-panel-name {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 7px;
    letter-spacing: 0.3px;
}
.info-panel-intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.55;
}

.look_content_row {
    padding: 5px;
}

.look_intro_row {
    padding: 5px;
}

.my_bot_box {
    background-color: rgba(71, 71, 71, 0.2);
    color: rgb(255, 255, 255);
    font-family: 'Courier New' !important;
}

#my_bot_words {
    padding: 10px;
}

.light_background {
    background-color: whitesmoke;
    color:black;
}

.my_bold {
    font-weight: bold;
}

.my_gallery_img {
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 0px;
    margin-right: 0px;
    height: 0px;
    opacity: 0.4;
    filter: alpha(opacity=40);
}

.my_gallery_img:hover {
    margin-top: 1px;
    margin-bottom: 1px;
    margin-left: 0px;
    margin-right: 0px;
    height: 0px;
    opacity: 1.0;
    filter: alpha(opacity=100);
}

.my_activate {
    border: 1px solid gainsboro;
}

.colorset {
    font-weight: bold;
    font-stretch: condensed;
    font-size: 8px;
}

.look_content_row {
    text-align: center;
}