﻿/*
    transform.css - A sleek, modern dashboard theme with a gold and 
    black color scheme, featuring angled elements for a dynamic look. 
    Designed for data visualization and user interfaces in web applications.

    a CSS perspective / 3D transform layout, not just simple rotation.

    copyright (c) 2009-2026 Software Factories of America. 
    All rights reserved.
*/

/* main layout */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    /*background: linear-gradient( 180deg, #6a6965 0%, #2a2a2a 55%, #000000 100% );*/
}

.scrapbook {
    min-height: 100vh;
    background: #000;
    display: grid;
    /*grid-template-columns: 330px 1fr;*/
    gap: 50px;
    padding: 120px 40px;
    perspective: 1200px; /* important piece */
    overflow: hidden;
}

/* left small photos */
.thumbs {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 0px 5px;
    width: 300px;
    transform: skewY(-12deg);
    transform-origin: left center;
}

    .thumbs img {
        width: 160px;
        height: 80px;
        object-fit: cover;
        flex: 0 0 160px;
        display: block;
        box-shadow: 0 14px 18px rgba(0,0,0,.7);
        -webkit-box-reflect: below 5px linear-gradient( to top, rgba(255,255,255,.35) 0%, rgba(255,255,255,.15) 15%, rgba(255,255,255,0) 30% );
        mask-repeat: no-repeat;
    }

/* big right photo */
.hero-photo {
    margin-top: -100px;
    /*transform: rotateY(-10deg) rotateZ(25deg);*/ /* important piece */
    transform: skewX(0)skewY(0deg);
    transform-origin: right top;
}

    /* big image */
    .hero-photo img {
        width: min(800px, 65vw);
        height: auto;
        display: block;
        object-fit: cover;
        box-shadow: 0 14px 18px rgba(0,0,0,.7);
        -webkit-box-reflect: below 5px linear-gradient( to top, rgba(255,255,255,.35) 0%, rgba(255,255,255,.15) 15%, rgba(255,255,255,0) 30% );
        mask-repeat: no-repeat;
    }

/* fixed-position label: */
.corner-label {
    position: fixed;
    right: clamp(12px, 2vw, 32px);
    bottom: clamp(8px, 1.5vw, 24px);
    font-family: Tahoma, Arial, sans-serif;
    font-size: clamp(10px, 1vw, 16px);
    color: #f0c84b;
    text-align: right;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

    .corner-label a {
        pointer-events: auto;
        cursor: pointer;
    }

/* selected image */
.selected-image {
    border: 2px solid #f1e6e6;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

/* sidebar linear */
.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    color: ActiveText;
}

.sidebar-shell {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient( 180deg, #2f4f6f 0%, #2a4d73 12%, #1e3a5f 28%, #1b2a4a 55%, #3b0a45 100% );
    overflow-y: auto; /* 👈 key change */
    overflow-x: hidden;
    /* position: sticky; */
}

/* Gold Dividers */
.gold-divider {
    height: 2px;
    width: 260px;
    margin-bottom: 20px;
    background: linear-gradient( 90deg, transparent, #f0c84b, #f0c84b, transparent );
}


.hero-header-angle {
    margin-bottom: 1rem;
    transform: skewX(0)skewY(-0deg);
}

.copyright-angle {
    font-family: Tahoma, sans-serif;
    font-size: 10px;
    color: #888;
    transform: skewX(0)skewY(-0deg);
}

.clickable-image {
    cursor: pointer;
    width: 80%;
    height: auto;
}