@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    background-color: white;
    width: 100%;
    overflow-x: hidden;
}

a {
    color: #0086e6;
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 4em;
}

@media screen and (max-width: 1280px) {
    h1 {
        font-size: 3em;
    }
}


h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 0.5em;
}

.subtitle {
    font-size: 2em;
}


.nav {
    width: 100%;
    box-shadow: 0 2px 2px #888;
    font-size: 1.3em;
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
}

@media screen and (max-width: 600px) {
    h1 {
        font-weight: 400;
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.3em;
    }

    h3 {
        font-size: 1em;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .nav {
        font-size: 1em;
    }
}

.nav-container {
    max-width: 1000px;
    margin: auto;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
}

.nav a {
    display: block;
    transition: all 0.3s;
    color: gray;
    margin: 5px 20px;
    text-decoration: none;
    white-space: nowrap;
}

.nav a:hover {
    color: black;
}

.title-container {
    /* width: calc(100% - 40px); */
    width: 100vw;
    min-height: 20vw;
    margin: auto;
    /* padding: 40px 20px; */
    padding: 40px 0;
    color: white;
    background-image: linear-gradient(135deg, rgba(0,0,0,0.72), rgba(0,0,0,0.55), rgba(0,0,0,0.72)), url("../images/background_figure.png");
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    margin: auto;
    max-width: 1000px;
    padding: 40px 20px;
}

.section {
    margin-top: -150px;
    padding-top: 150px;
    margin-bottom: 20px;
}

table {
    border-spacing: 0;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

th {
    text-align: left;
}

/* ===== Agenda schedule (styled to match agenda.png) ===== */
.agenda-block {
    max-width: 1000px;
}
.agenda-block + .agenda-block {
    margin-top: 42px;
}

/* Day header: small accent bar + uppercase date eyebrow, title */
.agenda-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8c8c89;
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.agenda-eyebrow::before {
    content: "";
    flex: none;
    width: 5px;
    height: 1.05em;
    border-radius: 3px;
    background: #534ab7;
}
.agenda-title {
    margin: 7px 0 5px;
    padding-left: 17px;
    font-size: 1.6em;
    line-height: 1.2;
    font-weight: 500;
    color: #141413;
}
.agenda-loc {
    padding-left: 17px;
    margin: 0 0 18px;
    font-size: 0.92em;
    color: #76766f;
}

/* Card wrapper gives the rounded border + clips the header corners */
.agenda-card {
    border: 1px solid #e4e2dd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.agenda {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1em;
    font-weight: 300;
}

.agenda th {
    text-align: left;
    background: #eeedfe;
    color: #3c3489;
    font-weight: 500;
    font-size: 0.95em;
    padding: 12px 18px;
    border: none;
    border-bottom: 1px solid #e4e2dd;
}

.agenda td {
    border: none;
    border-bottom: 1px solid #ecebe6;
    padding: 15px 18px;
    vertical-align: top;
}
.agenda tr:last-child td {
    border-bottom: none;
}

/* Time column: cream tint + vertical divider */
.agenda .time {
    background: #f5f4ed;
    border-right: 1px solid #e7e5df;
    color: #3d3d3a;
    white-space: nowrap;
    font-weight: 300;
}

/* Speaker column: name, gray affiliation, vertical divider */
.agenda .who {
    border-right: 1px solid #e7e5df;
    font-weight: 500;
    color: #141413;
}
.agenda .who .aff {
    display: block;
    font-size: 0.9em;
    color: #76766f;
    font-weight: 300;
    margin-top: 3px;
}

/* Description: title on its own line + gray body */
.agenda .desc {
    color: #44443f;
    font-weight: 300;
}
.agenda .desc .dt {
    display: block;
    color: #141413;
    font-weight: 500;
    margin-bottom: 3px;
}
.agenda .desc ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

/* Featured (keynote) row: lavender time cell + purple accent bar */
.agenda tr.featured .time {
    background: #eeedfe;
    box-shadow: inset 4px 0 0 #9d96e8;
}

/* Sunday (green) variant */
.agenda-block.sunday .agenda-eyebrow::before { background: #1d9e75; }
.agenda-block.sunday .agenda th {
    background: #e1f5ee;
    color: #0f6e56;
    border-bottom-color: #a0d9c8;
}
.agenda-block.sunday tr.featured .time {
    background: #e1f5ee;
    color: #0f6e56;
    box-shadow: inset 4px 0 0 #1d9e75;
}

/* Section divider rows: centered uppercase label with a rule on each side */
.agenda .section-row td {
    border: none;
    padding: 18px 16px 16px;
    text-align: center;
    position: relative;
    background: #fff;
}
.agenda .section-row td::before {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    height: 1px;
    background: #e7e5df;
}
.agenda .section-row span {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0 16px;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #73736e;
}

@media screen and (max-width: 640px) {
    .agenda { font-size: 0.92em; }
    .agenda th, .agenda td { padding: 11px 10px; }
    .agenda-title { font-size: 1.35em; }
}

/* ===== Project demo cards ===== */
.demos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 18px;
}
.demo-card {
    flex: 1 1 380px;
    max-width: 480px;
    border: 1px solid #e4e2dd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 100px;
}
.demo-card .thumb-link { display: block; line-height: 0; }
.demo-card .thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid #ecebe6;
    transition: opacity 0.2s;
}
.demo-card .thumb-link:hover .thumb { opacity: 0.92; }
.demo-card .cbody {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.demo-card h3 { font-size: 1.12em; font-weight: 500; margin: 0 0 6px; }
.demo-card .cbody p {
    font-weight: 300;
    color: #555;
    font-size: 0.92em;
    line-height: 1.5;
    margin: 0 0 16px;
}
.demo-card .launch {
    align-self: flex-start;
    margin-top: auto;
    background: #333;
    color: #fff;
    padding: 11px 26px;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
}
.demo-card .launch:hover { background: #000; }
.demo-card .demo-meta {
    display: inline-block;
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8c8c89;
    margin-bottom: 7px;
}
.demo-card .demo-meta:hover { color: #534ab7; }

/* "Live demo" link inside the schedule rows */
.agenda .demo-link {
    display: inline-block;
    margin-top: 9px;
    font-size: 0.82em;
    font-weight: 500;
    color: #534ab7;
}
.agenda .demo-link:hover { text-decoration: underline; }

.people {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
}

.people > * {
    display: block;
    width: 200px;
    margin: 10px;
    text-decoration: none;
    color: inherit;
}

.people img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

/* Replicates the exact zoomed crop gxywang.github.io uses for Gloria's headshot */
.people .headshot-crop {
    display: inline-block;
    vertical-align: top;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
}
.people .headshot-crop img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    transform: scale(1.4);
    transform-origin: 80% 50%;
}

.people .aff {
    font-size: 0.8em;
    color: #444;
}

.people .tutorial {
    font-size: 0.8em;
    color: #000000;
}

.foot {
    background: white;
    padding: 5px 10%;
    text-align: center;
    color: #333;
}

#reviewers ul {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
}
