@font-face {
    font-family: "Gangster";
    src: url("GangsterSN-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Gangster";
    src: url("GangsterSN-LightItalic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Gangster";
    src: url("GangsterSN-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Gangster";
    src: url("GangsterSN-MediumItalic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
}

body {
    padding: 150px 40px 40px;
    font-family: "Gangster", Helvetica, sans-serif;
    color: #8a8a8a;
    font-weight: 300;
    background: #fff;
    text-align: center;
}

.header-container {
    margin-bottom: 0.05rem;    
}

.header {
    font-size: 2rem;           
    font-weight: 300;
    color: inherit;
    text-decoration: none;
}

.pronouns {
    font-size: 0.75em;   

}

.introduction-container {
    max-width: 640px;
    margin: 0 auto;
}

.primary-body {
    max-width: 22ch;
    font-size: 1.65rem;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.25;
    letter-spacing: -0.02em;
    word-spacing: -0.03em;
    text-wrap: pretty;
}

.button-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.button {
    color: inherit;
    text-decoration: none;
    font-size: 1.15rem;
}

.button:hover {
    opacity: 0.6;
}

.inline-button {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    z-index: 1;
}

.inline-button:hover {
    opacity: 0.6;
    transition: opacity .25s ease, transform .5s ease;
}


.socials {
    display: flex;
    justify-content: center;
    gap: .5rem; 
    margin: 0.1rem 0;
}

.socials .button {
    font-size: 1.15rem;
}


.button,
.header,
.expand-bio {
    position: relative;
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
    z-index: 1;
}


.topbar {
    position: fixed;
    top: 18px;
    left: 24px;
    z-index: 100;
}

.back-home {
    font-size: 1rem;
    color: inherit;
    text-decoration: none;
    opacity: .8;
}

.back-home:hover {
    opacity: 1;
}

.print-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
   transform: translateY(-80px);
}

.project-title {
    margin: 0 0 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    color: inherit;
}

.gallery {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transform: translateY(-50px);
}

.gallery img {
    max-width: 70vw;
    max-height: 75vh;
    object-fit: contain;
    cursor: url("arrow-right.svg") 16 16, e-resize;
    user-select: none;
    transition: opacity .2s ease;
}

.gallery img:hover {
    opacity: .98;
}

.flash {
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    z-index: 99999;
}

.flash.active {
    animation: flash .15s ease;
}

@keyframes flash {
    0%   { opacity: 0; }
    40%  { opacity: 1; }
    100% { opacity: 0; }
}

.web-body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #8a8a8a;
}

.web-page {
    padding: 170px 56px 56px;
}

.web-grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    column-gap: 4rem;
    row-gap: 5rem;

    width: 100%;
    justify-items: start;
    align-items: start;
}

.web-item {
    width: 100%;
    text-align: left;

    color: inherit;
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.15;
}

.web-item span {
    display: block;
    margin-bottom: 0.35rem;
}

.web-item p {
    margin: 0;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-decoration-thickness: 0.05em;
}

.web-item:hover {
    opacity: 0.6;
}

.web-item:hover p {
    text-decoration: none;
}

.header {
    position: relative;
    z-index: 2;
}

.header-image {
    position: fixed;
    top: 30px;
    right: 30px;

    width: 260px;
    height: auto;

    opacity: 0;
    pointer-events: none;

    transition: opacity .2s ease;

    z-index: 100;
}

.header:hover + .header-image {
    opacity: 1;
}

.footnote {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    font-size: 0.5rem;
    color: #b5b5b5;
    letter-spacing: 0.01em;

    pointer-events: none;
    user-select: none;
}