.resume {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    z-index: 10;
}

.resume-content {
    width: min(1200px, 70dvw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; /* single column layout */
    gap: 2rem;
    align-items: start;
    padding: 3rem 2rem;
    box-sizing: border-box;
}

.resume-card {
    background: rgba(0,0,0,0.5);
    border: 1px solid white;
    border-radius: 12px;
    padding: 1rem;
    padding-bottom: 0.9rem; /* ensure space for the button when it's in-flow */
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow .28s cubic-bezier(.2,.9,.25,1), transform .28s cubic-bezier(.2,.9,.25,1), background .18s ease;
    overflow: visible;
    will-change: transform, box-shadow;
}

.resume-content h5 {
    margin: 0;
    padding: 0;
}

.download-button {
    position: static;
    align-self: center;
    margin: 0.5rem 0 0 0;
    background: linear-gradient(135deg, rgba(80,160,255,0.12), rgba(40,110,255,0.16));
    border: 1px solid rgba(80,140,255,0.28);
    color: white;
    padding: .65rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: 0 6px 18px rgba(40,110,255,0.10), 0 2px 6px rgba(0,0,0,0.35);
    transition:
        transform .20s cubic-bezier(.2,.9,.25,1),
        box-shadow .20s ease,
        background .20s ease,
        color .12s ease;
    z-index: 30;
}

/* hover / focus styles to make it pop */
.download-button:hover,
.download-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(40,110,255,0.18), 0 6px 18px rgba(0,0,0,0.45);
    background: linear-gradient(135deg, rgba(80,160,255,0.18), rgba(30,95,255,0.26));
    outline: none;
}

/* active (pressed) feedback */
.download-button:active {
    transform: translateY(-1px) scale(.997);
    box-shadow: 0 10px 22px rgba(40,110,255,0.14);
}

/* visible focus ring for keyboard users */
.download-button:focus-visible {
    outline: 3px solid rgba(40,110,255,0.18);
    outline-offset: 3px;
}

#adobe-dc-view {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(1200px, 70dvw);
    aspect-ratio: 8.5 / 11;
    background: rgba(0,0,0,0.5);
    border: 1px solid white;
    border-radius: 12px;
    margin: 0 auto;
    padding: 0;
}