/* Establish color variable names for ease of use in coding */
: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);
    --blackshadow: rgba(0,0,0,.1.01);
    --white: #fff;
    --black: #000;
}

* {
    box-sizing: border-box;
}
html {
    /*NEXT LINES allow smooth scrolling between links.*/
    overflow-y: scroll;
    scroll-behavior: smooth;
    /* To make the above scroll properties/values effective, you must also add the following lines to the "body" rule:
        overflow-y: scroll;
        scroll-behavior: smooth;
    */
}
body {
    margin: 0;
    font-size: 17px;
    font-family: "deuterium-variable", sans-serif;
    font-variation-settings: "wght" 400;
    color: varrgba(gray);
    overflow-y: scroll;
    scroll-behavior: smooth;
    line-height: 1.4;
    background-color: var(--linen);
}

/*---------- //// INTRO HEADER //// -----------*/
#intro{
    background-color: var(--magenta);
    background-image: url(images/site-branding-header@1x.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    z-index: 500;
}

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


/*---------- //// PAGE NAVIGATION //// -----------*/
#globalnav ul{
  background-color: plum;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: auto;
}
#globalnav li{
  list-style: none;  
}
#globalnav a {
    display: block;
    text-decoration: none;
    color: var (--linen);
    font-variation-settings: "wght" 600;
    font-size: clamp(1rem,1.33vw,1.25rem);
    padding: clamp(1rem,1.33vw,1.25rem);
    text-shadow: 1px 1px 2px var(--blueshadow);
    box-shadow: 1px -1px 2px 0 var(--grayshadow);
    border-radius: 5px 5px 0 0;
    border-top: solid 1px var(--grayshadow);
    border-right: 1px solid var(--grayshadow);
}

#globalnav a:hover {
    color: var(--blue);
    background-color: var(--linen);
    text-shadow: 1px 1px 2px var(--blackshadow);
}

/*---------- //// GENERAL HEADINGS //// -----------*/
h2{
    font-family: Roboto;
    font-weight: 800;
    font-style: italic;
    color: var(--magenta);
    font-size: clamp(1.75rem,2.6vw,3rem);    
}
h3 {
    font-family: Calibi;
    font-weight: 700;
    font-style: italic;
    color: var(--blue);
    font-size: clamp(1.75rem,2.2vw,2.5rem);
}
/*---------- //// TO-TOP BUTTON //// -----------*/
#to-top{
    position: fixed;
    bottom: 30px;
    right:30px;
    z-index: 100;
    text-decoration: none;
    background-color: #ffbb44;
    color: var(--linen);
    transform: rotation (-90deg);
    height: 2.1rem;
    width: 2.1rem;
    text-align: center;
    border: 2px solid var(--linen);
    border-radius: 50%;
    box-shadow: var (--grayshadow);
    box-shadow: -1px, 1px, 2px 0 var(--gray);
    font-size: 1.4px;
}
/*---------- //// ABOUT //// -----------*/
#about {
    background-image: url(images/white-pexels-jibarofoto-Luis-Quintero-2833037.jpg);
    background-size: 100vmax;
    background-attachment: fixed;
}
#about h2 {
    font-family: Calibi;
    font-weight: 700;
    font-style: italic;
    color: var(--blue);
    font-size: clamp(1.75rem,2.2vw,2.5rem);
}
#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,0) 95%, rgba(255,259,245,0) 90%);
}


/*---------- //// REGISTER //// -----------*/
#register {
    background-color: #ffbb44;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#register div {
    padding: 8%, 6%;
    align-items: center;
    align-content: space-around
}
#register div:first-of-type {
    width: 60%;
}
#register h2 {
    color: #008ccb;    
}
#register p {
    color:#e2f6ff;
}
#register button{
    background-color: #f9cb8a;
    color: var(--plum);
    display: flex;
    justify-content: flex-end;
    font-size: 1em;
    font-weight: 500;
    padding: .5rem;
    border-radius: 5px;
    border: 1px solid var(--wheat);
    outline: none;
    
}
/*---------- //// SPEAKERS //// -----------*/
#speaker {
  padding: 9%, 15%;
}
#speaker h2 {
    color: #008ccb;
}
.card {
    width: 50%;
    text-align: center;
    padding: 5%;   
}
.card img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: auto;
    border-radius: 50%;
    border: var(--magenta) solid 5px;
    padding: 5px;
}
.card h3 {
    color: var(--magenta);
    margin: 1rem, auto, 0, auto;
}
.card p {
    margin: 0 auto;
}
/*---------- //// AGENDA //// -----------*/
#agenda {
    padding: 8%, 14%;
    background-color: #008ccb;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
#agenda h2 {
    padding-bottom: 5%;
}
#agenda h3 {
    color: #c30075;
    margin: 0;
}
#agenda p {
    margin: 0;
}
.agenda-item {
    padding: 2%;
    border-top: solid 5px var(--lightestblue);
    width: 100%;
}
.time {
    width: 30%;
    align-content: flex-start;
}
.agenda-info {
    width: 70%;
    padding-left: 5%;
    align-content: flex-start;
}
/*---------- //// LOCATION //// -----------*/
#location {
    background-color: darkmagenta;
    color: var(--linen);
    padding: 8% 12% 10%;
}
.location h2 {
    color:#ffbb44;
}
.google-map {
    position: relative;
    padding-bottom: 50%;
}
.google-map iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 7%;
    top: 0;   
}

/*---------- //// SPONSORS //// -----------*/
#sponsor{
    background-color: #fffaf5;
    padding: 8% 12%;
}
#sponsor-info {
    padding: 9% 2% 2%;
    align-items: center;
}
#sponsor img {
    width: 33.33%;
    padding: 0 2%;
    height: auto;
}


/*---------- //// FOOTER //// -----------*/
footer {
    background-image: url(images/footer-logo@1x.png) no-repeat center;
    background-color: darkmagenta;
    background-size: 50%;
    display: flex;
    justify-content: space-evenly;
}
footer img {
    width: 30%;
    padding: 0;
}
footer p {
    align-content: space-around;
    font-variation-settings: "wght" 600;
    padding-left: 20%;
}
/*---------- //// GENERAL CLASSES //// -----------*/

.inset {
    width: 80%;
    margin: auto;
    padding: 10%, 10%;
    max-width: 1150px;
}
.flex-p {
    display: flex;
    flex-wrap: wrap;
}

/* ----------/// MEDIA QUERIES ///----------- */
@media screen and (min-width: 650px) {
    #intro {
        min-height: 100vh;
    }
}