@font-face {
    font-family: "Courier New";
    src: local("CourierNewPSMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Courier New";
    src: local("CourierNewPS-BoldMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: "Courier New";
    src: local("CourierNewPS-ItalicMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
    font-display: block;
}

@font-face {
    font-family: "Courier New";
    src: local("CourierNewPS-BoldItalicMT"), url("/fonts/CutiveMono-Regular.ttf") format("truetype");
    font-weight: bold;
    font-style: italic;
    font-display: block;
}


.me-title {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 72%;
    max-width: 1100px;
    color: #383834;
    font-family: "Blue Screen", monospace;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    z-index: 5;
}

.me-title > span { display: inline; }

.me-back {
    position: absolute;
    left: 0;
    top: -4px;
    color: #383834;
    text-decoration: none;
    font-family: "Blue Screen", monospace;
    font-size: 28px;
    line-height: 1;
    white-space: nowrap;
}

.me-back:hover { color: #33332d; }

.me-window {
    font-family: "Courier New", Courier, monospace;
    position: absolute;
    top: 105px;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
    max-width: 920px;
    padding: 26px 30px 26px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: rgba(8, 9, 8, 0.6);
    scrollbar-width: thin;
    scrollbar-color: #080908 transparent;
    z-index: 5;
}

.me-window::-webkit-scrollbar { width: 6px; }
.me-window::-webkit-scrollbar-track { background: transparent; }
.me-window::-webkit-scrollbar-thumb { background: #080908; }

.me-inner {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
}

.me-profile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.me-inner.no-photo .me-profile { grid-template-columns: minmax(0, 1fr); }

.me-hero { margin: 0; }

.me-hero img {
    opacity: 1;
    filter: none;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #11120f;
}

.me-list { margin: 0; padding: 0; }

.me-list > div {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 12px;
    padding: 4px 0;
}

.me-list dt {
    color: #929292;
    font-family: "Blue Screen", monospace;
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 1.6;
}

.me-list dd {
    margin: 0;
    color: #b9b9b3;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.me-section { margin-top: 28px; }

.me-heading {
    margin: 0 0 10px;
    color: #d4d4ce;
    font-family: "Blue Screen", monospace;
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 2px;
    line-height: 1;
}

.me-about {
    margin: 0;
    max-width: 640px;
    color: #b9b9b3;
    font-size: 12px;
    line-height: 1.7;
}

.me-interests > div { padding: 5px 0; }

.me-list dd a,
.me-list dd a:link,
.me-list dd a:visited,
.me-list dd a:active {
    color: #b9b9b3;
    text-decoration: none;
    border-bottom: 1px solid #5c5c57;
}

.me-list dd a:hover { color: #d4d4ce; border-bottom-color: #929292; }

@media screen and (max-width: 600px) {
    .me-title { top: 58px; width: 88%; font-size: 20px; }
    .me-back { top: -3px; font-size: 24px; }

    .me-window {
        top: 100px;
        bottom: 18px;
        width: 94%;
        padding: 14px 14px 18px;
    }

    .me-profile { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }

    .me-list > div { grid-template-columns: 1fr; gap: 0; padding: 2px 0; }
    .me-list dt { font-size: 9px; letter-spacing: 0.8px; line-height: 1.4; }
    .me-list dd { font-size: 10px; line-height: 1.4; }

    .me-interests > div { padding: 4px 0; }
    .me-interests dd { font-size: 11px; }
    .me-section { margin-top: 22px; }
    .me-heading { font-size: 12px; }
    .me-about { font-size: 11px; line-height: 1.6; }
}

@media screen and (max-width: 380px) {
    .me-title { top: 54px; width: 90%; font-size: 18px; }
    .me-back { font-size: 22px; }
    .me-window { top: 96px; }
    .me-profile { gap: 10px; }
}

@media screen and (min-width: 601px) {
    .me-window { width: 80%; max-width: 780px; padding: 22px 30px 24px; }

    .me-inner {
        display: grid;
        grid-template-columns: 208px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        column-gap: 32px;
        max-width: none;
    }

    .me-inner.no-photo { grid-template-columns: minmax(0, 1fr); }

    .me-profile { display: contents; }

    .me-hero { grid-column: 1; grid-row: 1; align-self: start; }
    .me-facts { grid-column: 2; grid-row: 1; }

    .me-about-section { grid-column: 1 / 3; grid-row: 2; margin-top: 24px; }
    .me-interests-section { grid-column: 1 / 3; grid-row: 3; margin-top: 24px; }

    .me-inner.no-photo .me-facts,
    .me-inner.no-photo .me-about-section,
    .me-inner.no-photo .me-interests-section { grid-column: 1; }
    .me-inner.no-photo .me-facts { grid-row: 1; }
    .me-inner.no-photo .me-about-section { grid-row: 2; }
    .me-inner.no-photo .me-interests-section { grid-row: 3; }

    .me-list > div { grid-template-columns: 130px minmax(0, 1fr); }
    .me-list > div:first-child { padding-top: 0; }
}