/* 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: #CFF0FF;
    --lightestblue: #e2f6ff;
    --blueshadow: rgba(0,0,50,.4);
    --grayshadow: rgba(247,237,226,.4);
    --lightblackshadow: rgba(0,0,0,.1);
    --white: #fff;
    --black: #000;
    font-size: 17px;
}

* {
    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: var(--gray);
    overflow-y: scroll;
    scroll-behavior: smooth;
    line-height: 1.4;
    background-color: var(--linen);
}

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

#inro{
    background-color: var(--magenta); 
    background-image: url(images/lines-bg-gradient@3x.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center; 
    display: flex;
    justify-content: end;
    flex-direction: column; 
    position: relative;
    z-index: 500; 
}

/*---------- //// SITE BRANDING //// -----------*/
#branding {
    display: flex;
    justify-content: center;
    align-content: center;
}

#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 {
    
}
#globalnav ul {
   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.333vw, 1.25rem);
    padding: clamp(1rem, 1.333vw, 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: 1px solid var(--grayshadow);
    border-right: 1px solid var(--grayshadow); 
    transition: all .15s ease-in-out;
}


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

/*---------- //// GENERAL HEADINGS //// -----------*/
h2 {
    font-family: "ambicase-fatface-poster", sans-serif;
    font-weight: 800;
    font-style: normal;
    color: var(--magenta);
    font-size: clamp(1,75rem,2.6vw,3rem);   
    margin: 0;
}

h3{
    font-family: "superior-title", serif;
    font-weight: 700;
    font-style: normal;
    /*font-size: clamp(1.3rem, 2.3vw, 1.75rem); */
    font-size: clamp(1.3rem, 1.75vw, 1.75rem);
    margin: 0;
}

/*---------- //// TO-TOP BUTTON //// -----------*/
#to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    text-decoration: none;
    background: var(--blue);
    color: var(--linen);
    transform: rotate(-90deg);
    height: 2.5rem;
    width: 2.5rem;
    text-align: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: -1 1px 2px 0 rgba (0,0,0,.5);
    font-variation-settings: "wght" 900;
    font-size: 1.5rem;
}


/*---------- //// ABOUT //// -----------*/
#about {
    background: url(images/white-pexels-jibarofoto-Luis-Quintero-2833037.jpg) no-repeat bottom right fixed;
    background-size: 100vmax;
    background-attachment: fixed;
    position: relative; 
    z-index: 200;
}

#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 */
    /* 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 h2 {
    font-family: "superior-title", serif;
    font-weight: 700;
    font-style: normal;
    color: var(--blue);
    font-size: clamp(1.3rem, 2.3vw, 2rem); 
}

#about p{
    font-family: "superior-title", serif;
     font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color:var(--gray);
}



/*---------- //// REGISTER //// -----------*/
#register{
    background: var(--magenta);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--linen);
}

#register div {
    padding: 8% 6%;
    align-items: center;
    align-content: space-around;
}
#register div:first-of-type{
    width: 90%;
}
#register h2 { color:var(--gold); }
/*#register h3 { font-size: clamp(1.3rem, 1.75vw, 1.75rem); }*/
#register button {
    background-color: var(--wheat);
    color: var(--plum);
    font-family: "superior-title", serif;
    font-weight: 700;
    font-size: 1rem;
    padding: .5rem;
    border-radius: 5px;
    border: 1px solid var(--wheat);
    outline: none;
}


/*---------- //// SPEAKERS //// -----------*/
#speakers {
    padding: 9% 14%;
}
#speakers h2 {color: var(--blue);}
.card {
    width: 100%;
    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: 5%;
}

.card h3 {
    color: va (--magenta);
    margin: 1rem auto 0 auto;
}
.card p {
    margin: 0 auto;
    font-size: clamp(.9rem, 2vw, 1.2rem); 
}

.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%; }

/*---------- //// AGENDA //// -----------*/
#agenda {
    padding: 8% 14%;
    background-color: var(--lightblue);
}
#agenda h2 {
    padding-bottom: 5%;
}
#agenda h3 {
    color: var(--magenta);
    margin: 0;
}
#agenda p {
    margin: 0;
}
.agenda-item{
    padding: 2%;
    border-top: solid 5px var(--lighterblue);
    width: 100%;
}
.time {
    width: 30%;
    align-content: flex-start;
}
.agenda-info {
    width: 70%;
    padding-left: 5%; 
    align-content: flex-start;
}

/*---------- //// Location //// -----------*/
#location {
    background-color: var(--magenta);
    color: var(--ligen);
    padding: 8% 12% 10%;
}
#location h2 {
    color: var(--gold);
}
p.address {
    font-variation-settings: "wght" 500;
}
.google-map {
    position: relative;
    padding-bottom: 50%; 
}

.google-map iframe {
    position: absolute;
    height: 100%; 
    width: 100%;
    left: 0%;
    top: 0;
}

/*---------- //// FOOTER //// -----------*/
#sponsors {
    background-color: var(--white);
    padding: 8% 12%;
}
.sponsor-info {
    padding: 9% 2% 2%;
    align-items: center;
}
#sponsors img {
    width: 33.333%;
    padding: 4% 2%;
    height: auto;
}


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

footer{
    background: url(images/lines-bg-gradient@3x.png) no-repeat center;
    background-size: cover;
    display: flex;
    justify-content: space-evenly;
}
footer img {
    width: 66%;
    padding: 2%;
}
footer p {
    align-content: space-around;
    font-variation-settings: "wght" 500;
    padding-left: 2%; 
    font-size: .8rem;
}

/*---------- //// GENERAL CLASSES //// -----------*/
.inset {
    width: 80%;
    margin: auto;
    padding: 10%;
    max-width: 1200px;
}

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

/* ----------/// MEDIA QUERIES ///----------- */
@media screen and (min-width: 650px) {
    #inro {
        min-height: 100vh;
    }
    #register div:first-of-type{
        width: 60%;
    }
    .card {
        width: 50%;
        padding: 5%;
    }
    footer img {
    width: 30%;
    padding: 2%;
    }
    footer p {
        font-size: clanp(.9rem, 1.2vw, 2rem);
    }
    
}