@font-face {
  font-family: 'HelveticaNeueRoman';
  src: url('./fonts/HelveticaNeueRoman.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'HelveticaNeueBold';
  src: url('./fonts/HelveticaNeueBold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'neue';
  src: url('./fonts/HelveticaNeueRoman.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html,
body {
    background-color: #f5f5f5;
    font-family: "HelveticaNeueRoman", sans-serif;
    font-size: 1em;
    line-height: 1.25;
    hyphens: auto;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    overflow-x: hidden;
}

.container {
    display: flex;
    flex-direction: row;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    height: 100vh;
    margin-top: 5px;
    width: 100%;
    padding-left: 15px;
    padding-right: 10px;
    box-sizing: border-box;
}

.bottom {
    position: fixed;
    bottom: 10px;
    left: 10px;
}

.more {
    display: none;
}

.morelink{
display: inline;
text-decoration: underline;
cursor: pointer;
}

.morelink:hover {
    color:lightgrey;
}

.left {
    width: 35vw;
    margin-right: 35px;
    hyphens: none;
    padding-top: 10px;
}

.name a {
    text-decoration: none;
}

.right {
    width: 65vw;
    display: inline-block;
}

.left,
.right {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    overflow-x: clip
}

.bodycopy {
    text-wrap: normal;
    hyphens: none;
    width: 96%;
       padding-top: 10px;
}

img {
    max-width: 100%;
    display: block;
    margin-bottom: 5px;
    margin-top: 5px;
}

img:hover  {
    opacity: 0.8;
}

.caption {
    margin-bottom: 25px;
    display: inline-block;
}

.workpage {
    text-decoration: none;
    color: black;
    display: inline-block;
    line-height: 0.85;
}

.strong {
    font-family: "HelveticaNeueBold", sans-serif;
}

.intro {
  margin-bottom: 12px;
}

a,
a:visited,
a:active,
a.toggle,
a.toggle:visited,
a.toggle:active {
  text-decoration: underline;
    cursor: pointer;
    color: black;
    display: inline-block;
    line-height: 0.85;
}

a:hover {
    color: grey;
}

/* RESPONSIVE */

@media screen and (max-width: 992px) {
    .column {
        flex: 50%;
    }
}

/* TABLET / MOBILE CORE BREAKPOINT */
@media screen and (max-width: 650px) {

    html, body {
        height: auto !important;
        min-height: 100%;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        font-size: 1.15em;
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto !important;
        min-height: 100vh;

        /* ✅ add breathing room */
        padding: 10px;
        box-sizing: border-box;

        margin: 0;
    }

    .left {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;

        /* ✅ restore visual spacing */
        margin: 0 0 20px 0;
    }

    .right {
        width: 100%;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;

        margin-top: 20px;
    }

    /* kill fixed layout scrolling */
    .left,
    .right {
        overflow: visible !important;
    }

    /* optional bottom info */
    .bottom {
        display: none;
    }

    /* project pages: hide long bio only */
    body.project .bio {
        display: none !important;
    }
}

/* SMALLER MOBILE TWEAK */
@media screen and (max-width: 600px) {
    .row {
        flex-direction: column;
    }
}
