@font-face {
    font-family: "LM Roman";
    font-weight: bold;
    font-style: normal;
    src: url("/fonts/lmroman10-bold.otf");
}

@font-face {
    font-family: "LM Roman";
    font-weight: bold;
    font-style: italic;
    src: url("/fonts/lmroman10-bolditalic.otf");
}

@font-face {
    font-family: "LM Roman";
    font-weight: normal;
    font-style: italic;
    src: url("/fonts/lmroman10-italic.otf");
}

@font-face {
    font-family: "LM Roman";
    font-weight: normal;
    font-style: normal;
    src: url("/fonts/lmroman10-regular.otf");
}

body {
    background-image: url(../images/background.png);
    background-repeat: repeat;

    background-size: auto;
    background-position: top left;

    font-family: "LM Roman",Georgia,Palatino,"Palatino Linotype","Times New Roman","Times",serif;

    line-height: 1.25;

    margin: 0;

    color: #f2f2f2;

    overflow: hidden;
}

h1 {
    font-size: 20px;
    text-shadow: 1px 1px 1px #0F111F;
    margin-top: 0;
}

#background {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    z-index: -999;

    background-image: inherit;
    background-repeat: repeat;

    pointer-events: none;
}

.transparentbox {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(143, 136, 136, 0.831);

    opacity: .15;

    border-radius: 15px;

    z-index: -1;
}

.contents {
    position: absolute;
    width: 100%;
    height: 100%;
}

.padded {
    padding: 15px;
}

.container {
    position: absolute;
}

.loading {
    color: #d1d1d1;
}

#jason a {
    color: #77D;
}

#name {
    left: 20px;
    top: 20px;
    height: 230px;
    width: 500px;
}

#name h1 {
    font-size: 25px;
    text-shadow: 2px 2px 1px #0F111F;
}

#name h2 {
    float: right;
    color: #e8e8e8!important;
    text-shadow: 1px 1px 1px #0F111F;
    font-size: 12px!important;
    margin-top: -38px;
}

#name h2 a {
    color: #d33;
}

#name p {
    margin-bottom: 5px;
    text-align: justify;
    font-size: 16px;
    text-shadow: .5px .5px 3px black;
}

#profile_image {
    float: left;
    margin-right: 10px;
    -moz-border-radius: 35px;
    -webkit-border-radius: 35px;
    border-radius: 35px;
    background: url(https://www.gravatar.com/avatar/06aae0ca3c86b226344de46ba05e2c9b?s=100);
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
}

#photos {
    right: 20px;
    top: 20px;
    bottom: 20px;
    width: 295px;
}

#photos h1 a {
    border-bottom: 1px dotted #999;
}

#photos h1 a:hover {
    border-bottom: none;
}

#photos .photobox {
    overflow: auto;
    height: 40%;
}

#photos img {
    border: none;
    margin: 3px;
}

#improvisations {
    left: 20px;
    bottom: 20px;
    height: 300px;
    width: 300px;
}

#oldweb {
    position: absolute;
    font-size: 8px;
    right: 1px;
    bottom: 1px;
}

#oldweb a {
    color: #aad;
}

.arrow {
    font-size: 70px;
    font-weight: bold;
    position: absolute;
    z-index: -2;
    opacity: .75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    filter: alpha(opacity=75);
    visibility: hidden;
}

#down {
    bottom: 20px;
    left: 145px;
}

#right {
    top: 45%;
    right: 20px;
}

#copyright {
    bottom: 1px;
    width: 100%;
    text-align: center;
    position: fixed;
    color: #ccc;
    font-size: 8px;
    opacity: .30;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    filter: alpha(opacity=30);
}

.Info {
    position: absolute;

    top: 20px;
    left: 20px;
    right: 30px;

    height: calc(100vh - 40px);

    overflow: hidden;

    box-sizing: border-box;
}

.Info > .pure-g:first-child {
    width: 68%;
    height: 100%;

    overflow: hidden;
}

.title {
    font-size: 15pt;
    text-shadow: 1px 1px 5px #FFF;
    padding: 1rem;
    right: 30%;
    display: flex;
}

.contact {
    margin-top: auto;
    font-size: small;
    margin-left: auto;
}

.contact:hover {
    color:aliceblue;
    margin-top: auto;
    font-size: small;
    margin-left: auto;
}

.pure-menu .pure-menu-link{
    color: #FFF;
    background-color: rgba(15, 30, 31, 0.489);
}

.pure-menu .pure-menu-selected > .pure-menu-link {
    color: #FFF;
}

.pure-menu-children .pure-menu-link {
    color: #FFF;
    background-color: rgba(15, 17, 31, 0.911);
}

#scrollTextBox {
    position: absolute;

    top: 0;
    right: 0;

    width: 28%;

    min-height: 100%;

    padding-left: 20px;

    box-sizing: border-box;

    overflow: visible;
}

#careerContainer {
    position: relative;

    height: calc(100vh - 120px);

    overflow-y: auto;
    overflow-x: hidden;

    white-space: normal;

    scrollbar-width: thin;

    background: rgba(20, 20, 20, 0.72);

    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.12);

    box-shadow: 0 6px 24px rgba(0,0,0,0.24);

    padding-bottom: 24px;

    z-index: 2;
}

#innerScrollbox {
    position: relative;

    z-index: 1;

    height: 100%;

    overflow-y: auto;
    overflow-x: hidden;

    padding-right: 10px;

    box-sizing: border-box;

    scrollbar-width: thin;
}

#innerScrollbox {
    max-height: 60vh;
    overflow-y: auto;
}

.career-progress-wrapper {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.92);
    padding: 14px 14px 10px;
    z-index: 1000;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    backdrop-filter: blur(2px);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: #d8ffd8;
    white-space: normal;
}

#careerProgress {
    width: 100%;
    height: 20px;
    display: block;
}

.character-track {
    position: sticky;
    top: 62px;
    z-index: 1001;
    height: 32px;
    margin: 0 14px;
    pointer-events: none;
}

.character {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 28px;
    line-height: 1;
    transition: transform 0.12s linear;
    will-change: transform;
    visibility: hidden;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 56px;
    padding: 54px 40px 30px 40px;
    width: auto;
    min-width: 0;
    align-items: stretch;
}

.career-stage {
    min-width: 0;
    max-width: none;
    padding: 20px;
    border: 3px solid #4CAF50;
    background: rgba(0,0,0,0.72);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.career-stage h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.career-stage p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    color: #f2f2f2;
}


.career-stage,
.career-stage.active,
.career-stage:not(.active) {
    opacity: 1;
    transform: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.journey-help {
    margin-top: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

a {
    color:#FFF;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    color:aliceblue;
    text-decoration: underline;
}

.logo {
    width: 40px;   /* adjust size */
    height: auto;  /* keeps aspect ratio */
}

.section {
    padding-left: 15px;
    padding-top: 10px;
    font-size: medium;
}

/* Main content box */
.content-card {
    position: relative;

    border-radius: 10px;

    overflow: hidden;

    height: calc(100vh - 260px);

    min-height: 250px;
}

/* background layer */
.content-card .transparentbox {
    position: absolute;
    height: 400px;
    inset: 0;
    opacity: 0.15;
    z-index: 0;
}

/* actual content */
#innerScrollbox {
    position: relative;
    z-index: 1;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.footer-box {
    margin-top: 10px;
    padding: 10px 14px;

    background: rgba(20, 20, 20, 0.65);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;

    font-size: 11px;
    color: rgba(255,255,255,0.75);

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.footer-content {
    text-align: center;
    line-height: 1.4;
}

.footer-content a {
    color: #b8e6ff;
    font-weight: normal;
}

.footer-content a:hover {
    color: #fff;
}

@media screen and (max-width: 1200px) {

    .Info {
        left: 12px;
        right: 12px;
        top: 12px;

        height: calc(100vh - 24px);
    }

    #scrollTextBox {
        width: 32%;
        padding-left: 12px;
    }

    .Info > .pure-g:first-child {
        width: 66%;
    }

    .title {
        font-size: 13pt;
    }

    .career-stage h3 {
        font-size: 1rem;
    }

    .career-stage p {
        font-size: 0.9rem;
    }

    .timeline {
        padding: 40px 20px 20px 20px;
    }
}

@media screen and (max-width: 900px) {

    #scrollTextBox {
        width: 35%;
    }

    .Info > .pure-g:first-child {
        width: 63%;
    }

    .title {
        font-size: 11pt;
    }

    .contact {
        font-size: 11px;
    }

    .pure-menu-link {
        font-size: 11px;
        padding: 0.4em 0.5em;
    }

    .career-stage {
        padding: 14px;
    }

    .career-stage h3 {
        font-size: 0.9rem;
    }

    .career-stage p {
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .timeline {
        padding: 30px 12px;
        gap: 28px;
    }

    .logo {
        width: 26px;
    }
}



/* Global scrollbar styling */

* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.18) rgba(255,255,255,0.04);
}

/* Chrome, Edge, Safari */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.03);
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.18);
    border-radius: 10px;

    transition: background 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.28);
}

/* Corner where vertical + horizontal scrollbars meet */
*::-webkit-scrollbar-corner {
    background: transparent;
}

@media screen and (max-height: 750px) {

    body {
        overflow-y: auto;
        overflow-x: auto;
    }

    .Info {
        height: auto;
        min-height: calc(100vh - 40px);
        min-width: 700px;
    }
}