* {
    box-sizing: border-box;
}
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: #444;
    font-size: 17px;
    font-family: "deuterium-variable", sans-serif;
    font-variation-settings: "wght" 400; 
    line-height: 1.4;
    background-color: #fffaf5;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

/*---------- //// INTRO HEADER //// -----------*/
#intro {
    background-image: url(images/lines-bg-gradient@3x.png);
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-content: center;
    position: relative;
    z-index: 100;
}


/*---------- //// SITE BRANDING //// -----------*/
#branding {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
}
#branding img {
    width: 100%;
    max-width: 95vmin;
}
h1 span {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
}

/*---------- //// PAGE NAVIGATION //// -----------*/
#globalnav {
    width: 100%;
}
#globalnav ul {
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:center;
    width: 100%;
    max-width: 95vmin;
    margin: auto;
}
#globalnav li {
    list-style: none;
    align-content: center;
}
#globalnav a {
    font-variation-settings: "wght" 600;
    font-size: clamp(1rem, -0.875rem + 3.333vw, 1.25rem);
    text-decoration: none;
    color: #fffaf5;
    display: block;
    padding: clamp(.8rem, -0.875rem + 1.333vw, 1rem); 
    background-color: rgba(247,237,226,0);
    transition: all .15s ease-in-out;
    text-shadow: 1px 1px 2px rgba(0,0,50,.4);
    border-radius: 5px 5px 0 0;
    box-shadow: 1px -1px 1px 0 rgba(247,237,226,.4);
}
#globalnav a:hover {
    /*color: #03b1ff;*/
    color: #008ccb;
    text-shadow: 1px 1px 0 rgba(0,0,0,.1);
    background-color: #fffaf5;
}

a#to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 50;
    color: #fff;
    font-family: "deuterium-variable", sans-serif;
    font-variation-settings: "wght" 900;
    font-size: 1.1em;
    text-decoration: none;
    transform: rotate(-90deg);
    border: 2px solid #fff;
    height: 2.5em;
    width: 2.5em;
    text-align: center;
    line-height: 2.5em;
    border-radius:50%;
    background-color: #6fd2ff;
    box-shadow: -1px 1px 2px 0 rgba(0,0,0,.2);
}
/*
a#to-top:hover {
    background-color: antiquewhite;
    color: #555;
}
*/
/*---------- //// GENERAL HEADINGS //// -----------*/

h2, h3, h4 {
    font-family: "superior-title", serif;
    font-weight: 600;
    font-style: normal;
    color: #008ccb;
}
h2 {
    font-size: clamp(1.65rem, 5.333vw, 2.15rem);
    line-height: clamp(1.9rem, 5.75vw, 3rem);
    margin: 0;
}



/*---------- //// ABOUT //// -----------*/
#about {
    background: url(images/white-pexels-jibarofoto-Luis-Quintero-2833037.jpg) bottom right no-repeat;
    background-size: 100vmax;
    background-attachment:fixed;
    color: #3e6b8e;
    font-family: "superior-title", serif;
    font-weight: 400;
    font-style: normal;
    color: #585858;
    position: relative;
    z-index: 100;
}
#about .fade {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fffaf5+18,fffaf5+100&1+9,0+75,0+99 */
    background: linear-gradient(to bottom,  rgba(255,250,245,1) 9%,rgba(255,250,245,0.86) 18%,rgba(255,250,245,0) 75%,rgba(255,250,245,0) 99%,rgba(255,250,245,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#about p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    /*padding-right: 20%;*/
}

/*---------- //// REGISTER //// -----------*/
#register {
    background-color: #c30075;
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
}
#register div {
    align-items: center;
    align-content: space-around;
    /* BEFORE adding MedQuery: padding: 8%;*/
    padding: 8% 6%;
}
#register h2 {
    font-family: "ambicase-fatface-poster", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: #ffbb44;
    font-size: 2.5em;
}
#register h3 {
    color: #fffaf5;
    margin-top: 5px;
}

#register button {
    background-color: #f9cb8a;
    border-radius: 5px;
    outline: none;
    border: 1px solid #f9cb8a;
    color: #48002b;
    padding: .5em;
    font-family: "superior-title", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 1em;
    margin:auto;
}

#register p{
    color: #fffaf5;
}
#register div:first-of-type {
    /* BEFORE ADDING MedQuery: width: 60%;*/
    width: 100%;
}

/*---------- //// SPEAKERS //// -----------*/
#speakers {
    padding: 10% 12% 8%;
}
#speakers h2 {
    font-family: "ambicase-fatface-poster", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2.5em;
    padding-bottom: 5%;
    width: 100%;
}
.card {
    width: 100%;
    padding: 5%;
    text-align: center;
}

.card img {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: auto;
    border-radius: 50%;
    padding: 5px;
    border: 5px solid #c30075;
}
.s1 img { border-radius: 0 50% 50% 0; }
.s2 img { border-radius: 0 50% 0 0; }
.s3 img { border-radius: 0% 0% 0 50%; }
.s4 img { border-radius: 50% 0 0 50%; }
.s5 img { border-radius: 0 0 50% 50%; }
.s6 img { border-radius: 50% 50% 0 0; }
.s7 img { border-radius: 0 50% 50% 0; }
.s8 img { border-radius: 50%; }
.card h3 { 
    width: 100%; 
    color: #c30075;
    font-size: clamp(1.15rem, 3.333vw, 1.7rem);
    line-height: clamp(1.25rem, 5.75vw, 3rem);
    margin: 1rem auto 0 auto;
}
.card p {
    font-size: clamp(.8rem, 1.333vw, 1rem);
    margin: 0 auto;
}

/*---------- //// AGENDA //// -----------*/
#agenda {  
    padding: 8% 6%; 
    background-color: #cff0ff;
}
#agenda h2 { 
    color: #c30075; 
    font-family: "ambicase-fatface-poster", sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 2.5em;
    padding-bottom: 5%;
    width: 100%;
}
.agenda-item {
    padding: 2%;
    border-top: solid #e2f6ff 5px;
}
#agenda h3 { color: #c30075; margin: 0;}
#agenda p { margin: 0 auto;}
.time {
    width: 30%;
    align-content: flex-start;
}
.agenda-info {
    width: 70%;
    padding-left: 5%;
    align-content: flex-start;
}

/*---------- //// LOCATION //// -----------*/
#location {
    background-color: #c30075;
    /*
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    */
}
#location .loc-info {
    padding: 8% 6%;
}
#location h2 {
    font-family: "ambicase-fatface-poster", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: #ffbb44;
    font-size: 2.5em;
}
#location h3 {
    color: #fffaf5;
    margin-top: 5px;
}

#location p {
    color: #fffaf5;
}
/*
#location div:first-of-type {
     BEFORE ADDING MedQuery: width: 60%;
    width: 100%;
}
*/

p.address { font-variation-settings: "wght" 500;}
.google-map {
     padding-bottom: 50%;
     position: relative;
}
.google-map iframe {
     height: 100%;
     width: 85%;
     left: 7%;
     bottom: 12%;
     position: absolute;
}

/*---------- //// SPONSORS //// -----------*/
#sponsors { background-color: #fff; padding: 8% 6%; }
#sponsors h2 {
    font-family: "ambicase-fatface-poster", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: #c30075;
    font-size: 2.5em;
    /*margin-bottom: 8%;*/
    padding-bottom: 10%;
    /*border-bottom: solid 5px #c30075;*/
}
.sponsor-info { padding: 0 2%; align-items: center;}
#sponsors img { width: 33.33%; padding: 0 2%; height: auto; }
#sponsors .nopad { padding: 0;}
#sponsors .pluspad { padding: 0 5%;}
#sponsors .pluspluspad { padding: 0 8%;}

/*---------- //// FOOTER //// -----------*/
footer {
    background-image: url(images/lines-bg-gradient@3x.png);
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    /*min-height: 80vh;*/
    display: flex;
    flex-direction: column;
    justify-content:space-evenly;
    padding: 0;
}
footer img {
    width:65%;
    padding: 0;
}
footer p { 
    align-content:space-around;
    font-variation-settings: "wght" 500;
    padding-left: 18%;
    margin-top: 0
}
/*---------- //// GENERAL CLASSES //// -----------*/

.inset {
    /* (BEFORE ADDING MedQuery)
    padding: 10% 12% 8%;
    width: 80%; margin: auto;
    */
    padding: 10% 6% 8%;
    width: 100%; margin: auto;
    
}
.flex-p {
    display: flex;
    flex-wrap:wrap;
    justify-content:flex-start;
}
.columns {
    flex-direction: column;
}


/* ----------/// MEDIA QUERIES ///----------- */
@media screen and (min-width: 650px) {
    #intro {
        min-height: 100vh;
    }
    #register div {
        align-items: center;
        align-content: space-around;
        padding: 8%;
    }
    #register div:first-of-type {
        width: 60%;
    }
    .inset {
        padding: 10% 12% 8%;
        width: 80%; margin: auto;
    }
    .card {
        width: 50%;
        padding: 5%;
        text-align: center;
    }
    footer { flex-direction: row; }
    footer img {
        width: 30%;
        padding: 2%;
    }
    footer p {
        padding-left: 0;
    }
}