:root {
    --gray: #444;
    --linen: #fffaf5;
    --magenta: #c30075;
    --gold: #ffbb44;
    --wheat: #f9cb8a;
    --plum: #48002b;
    --blue: #008ccb;
    --lightblue: #6fd2ff;
    --lightestblue: #e2f6ff;
    --blueshadow: rgba(0, 0, 50, .4);
    --grayshadow: rgba(247, 237, 226, .4);
    --white: #fff;
    --black: #000;
}

* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-size: 17px;
    font-family: "deuterium-variable", sans-serif;
    font-variation-settings: "wght" 400;
    color: var(--gray);
    background: var(--linen);
    overflow-y: scroll;
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    line-height: 1.35;
    margin: 0;
}

section {
    padding: 2.2rem 1.15rem;
}

/*---------- //// INTRO HEADER //// -----------*/

#intro {
    min-height: 525px;
    background-color: var(--magenta);
    background-image: url("images/lines-bg-gradient@3x.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*---------- //// SITE BRANDING //// -----------*/

#branding {
    padding: 1rem 1rem 0 1rem;
}

#branding h1 {
    margin: 0;
}

#branding h1 span {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#branding picture,
#branding img {
    display: block;
    width: min(100%, 320px);
    margin: 0 auto;
}

/*---------- //// PAGE NAVIGATION //// -----------*/

#globalnav {
    background: rgba(195, 0, 117, .86);
    border-top: 1px solid rgba(255, 255, 255, .22);
}

#globalnav ul {
    display: flex;
    justify-content: center;
    gap: .55rem;
    padding: .45rem .5rem;
    flex-wrap: wrap;
}

#globalnav a {
    color: var(--white);
    font-size: .55rem;
    font-variation-settings: "wght" 700;
    display: block;
    padding: .18rem .25rem;
}

#globalnav a:hover,
#globalnav a:focus {
    text-decoration: underline;
}

/*---------- //// GENERAL HEADINGS //// -----------*/

h2,
h3 {
    margin: 0;
}

h2 {
    color: var(--blue);
    font-size: 1.5rem;
    line-height: .95;
    text-transform: uppercase;
    font-variation-settings: "wght" 800;
}

#about h2 {
    text-transform: none;
    line-height: 1.05;
}

#register h2,
#location h2 {
    color: var(--gold);
}

#agenda h2 {
    color: var(--magenta);
}

#sponsors h2 {
    color: var(--magenta);
}

/*---------- //// ABOUT //// -----------*/

#about {
    background: var(--linen);
    padding-top: 0;
}

#about .fade {
    background: linear-gradient(to bottom, rgba(255, 250, 245, 1) 9%, rgba(255, 250, 245, .9) 18%, rgba(255, 250, 245, 0) 75%, rgba(255, 250, 245, 0) 99%);
    padding-top: 2.5rem;
}

#about .inset {
    max-width: 35rem;
    margin: 0 auto;
    padding: 0 1rem 1rem 1rem;
}

#about p {
    margin-top: 1rem;
    max-width: 29rem;
    font-size: .78rem;
}

/*---------- //// REGISTER //// -----------*/

#register {
    background: var(--magenta);
    color: var(--white);
}

#register h2 {
    font-size: 1.55rem;
    margin-bottom: .3rem;
}

#register h3 {
    color: var(--white);
    font-size: .9rem;
    margin-bottom: .8rem;
    font-variation-settings: "wght" 700;
}

#register p {
    max-width: 34rem;
    font-size: .72rem;
}

#register button {
    margin-top: 1rem;
    background: var(--wheat);
    border: 0;
    color: var(--plum);
    font-family: inherit;
    font-size: .62rem;
    font-variation-settings: "wght" 700;
    padding: .45rem .8rem;
    cursor: pointer;
    box-shadow: 0 0 0 1px rgba(72, 0, 43, .15);
}

/*---------- //// SPEAKERS //// -----------*/

#speakers {
    background: var(--linen);
}

#speakers h2 {
    margin-bottom: 1.5rem;
}

.flex-p {
    display: flex;
    flex-wrap: wrap;
}

#speakers .flex-p {
    gap: 1.9rem 1.5rem;
    justify-content: center;
}

.card {
    width: 125px;
    text-align: center;
}

.card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 2px solid #ef2b8f;
    background: #d6eef8;
    margin-bottom: .45rem;
}

.s1 img,
.s4 img,
.s6 img {
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
}

.s2 img,
.s8 img {
    border-top-left-radius: 48px;
    border-top-right-radius: 48px;
}

.s3 img,
.s5 img,
.s7 img {
    border-bottom-right-radius: 48px;
}

.card h3 {
    color: var(--magenta);
    font-size: .9rem;
    line-height: 1.05;
    margin-bottom: .18rem;
}

.card .title,
.card .co {
    font-size: .52rem;
    line-height: 1.15;
}

/*---------- //// AGENDA //// -----------*/

#agenda {
    background: #bcdff0;
}

#agenda h2 {
    margin-bottom: 1.2rem;
}

#agenda-group {
    display: block;
}

.agenda-item {
    border-top: 1px solid rgba(255, 255, 255, .5);
    padding: .65rem 0 .7rem 0;
    gap: .55rem;
}

.agenda-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .5);
}

.time {
    width: 100%;
    color: var(--magenta);
    font-size: .62rem;
    font-variation-settings: "wght" 700;
}

.presentation {
    color: var(--magenta);
    font-size: .72rem;
    margin-bottom: .15rem;
    line-height: 1.1;
}

.presenter {
    font-size: .54rem;
    line-height: 1.22;
}

/*---------- //// LOCATION //// -----------*/

#location {
    background: var(--magenta);
    color: var(--white);
}

#location h3 {
    color: var(--white);
    font-size: .93rem;
    margin: .5rem 0 .6rem 0;
    font-variation-settings: "wght" 700;
}

#location p {
    font-size: .58rem;
    line-height: 1.28;
}

#location .address {
    margin-bottom: .75rem;
    font-variation-settings: "wght" 600;
}

.google-map {
    margin-top: 1rem;
    background: var(--white);
    padding: .18rem;
}

.google-map iframe {
    display: block;
    width: 100%;
    min-height: 280px;
}

/*---------- //// SPONSORS //// -----------*/

#sponsors {
    background: var(--linen);
}

#sponsors h2 {
    margin-bottom: 1.4rem;
}

.sponsor-info {
    justify-content: center;
    align-items: center;
    gap: 1.25rem 1.4rem;
}

.sponsor-info img {
    width: 110px;
    height: auto;
}

.sponsor-info .pluspad {
    width: 95px;
}

.sponsor-info .nopad {
    width: 100px;
}

.sponsor-info .pluspluspad {
    width: 78px;
}

/*---------- //// FOOTER //// -----------*/

footer {
    background: url("images/lines-bg-gradient@3x.png") center/cover no-repeat;
    min-height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.15rem;
}

footer img {
    width: 85px;
}

footer p {
    color: var(--plum);
    font-size: .5rem;
    font-variation-settings: "wght" 600;
}

/*---------- //// GENERAL CLASSES //// -----------*/

.columns {
    flex-direction: column;
}

/* ----------/// MEDIA QUERIES ///----------- */
@media screen and (min-width: 650px) {
    section {
        padding: 3.2rem 3rem;
    }

    #intro {
        min-height: 620px;
    }

    #branding {
        padding-top: 1.2rem;
    }

    #branding picture,
    #branding img {
        width: min(100%, 540px);
    }

    #globalnav ul {
        gap: 1rem;
        padding: .55rem .75rem;
    }

    #globalnav a {
        font-size: .68rem;
    }

    #about .fade {
        padding-top: 3rem;
    }

    #about .inset {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    #register {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }

    #register>div:first-child {
        width: 70%;
    }

    #register>div:last-child {
        width: 30%;
        display: flex;
        justify-content: flex-end;
    }

    #register button {
        margin-top: 0;
    }

    #speakers .flex-p {
        gap: 2.4rem 2rem;
    }

    .card {
        width: 170px;
    }

    .agenda-item {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .time {
        width: 145px;
        flex: 0 0 145px;
    }

    .agenda-info {
        flex: 1;
    }

    #location {
        display: flex;
        gap: 2rem;
        align-items: flex-start;
    }

    #location .loc-info,
    #location>div:last-child {
        width: 50%;
    }

    .google-map {
        margin-top: 0;
    }

    .google-map iframe {
        min-height: 360px;
    }

    .sponsor-info {
        gap: 2rem 2.4rem;
    }

    .sponsor-info img {
        width: 150px;
    }

    .sponsor-info .pluspad {
        width: 125px;
    }

    .sponsor-info .nopad {
        width: 130px;
    }

    .sponsor-info .pluspluspad {
        width: 100px;
    }

    footer {
        padding: 1.2rem 3rem;
    }

    footer img {
        width: 120px;
    }
}