:root {
    --main-max-width: 1100px;
    --main-text-color: #444;
    --main-red: rgba(255, 0, 0, 1);
    --main-red-variant: #fb3737;
    --main-page-margin: .5em;
    --main-peach-bg: rgba(255,204,153,1);
    --main-light-peach: rgba(255,255,255,.5);
    --main-border-radius: 1em;
    --main-border-radius-double: 2em;
}


* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--main-red);
    background: var(--main-peach-bg);
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
}

.clsBtn {
    width: 48px;
    height: 48px;
    position: fixed;
    top: 0;
    right: 0;
    font-size: 2em;
}

section {
    border-top-width: 5px;
    border-top-style: solid;
    border-top-color: var(--main-red);
}

section:nth-of-type(even){
    background-color: #ffdebe;
}

/* border-top overrides for page */
#menu,
#fullScreenPic,
#home,
#services,
#cv
{
    border-top: none;
}

/* all border radii */
.info-box,
.flex-2x1 .item,
#about .flex-2x1 .item img,
ul.slash-list,
.talks-group .talk
{
    border-radius: var(--main-border-radius);
}

#gallery .galleryImg,
#brands .info-box
{
    border-radius: var(--main-border-radius-double);
}



img {
    width: 100%;
}


h1 {
    text-align: center;
    font-size: 4em;
    text-transform: uppercase;
    text-shadow: 2px 2px var(--main-red);
    letter-spacing: .5em;
}

h2 {
    font-size: 2em;
    text-align: center;
    color: var(--main-red-variant);
}

h3 {
    font-size: 2em;
}

h1, h2, h3, h4, h5 {
    font-weight: 500;
}

a {
    color: var(--main-red);
    text-decoration: underline;
}

p, ul
{
    font-family: 'Hind', sans-serif;
    font-weight: 100;
    color: var(--main-text-color);
}

ul {
    list-style-type: "✻ ";
    margin: 0;
    padding: 0;
}



p {
    margin: 0;
}


button {
    color: inherit;
    border: 0;
    background: none;
    padding: 0;
    cursor: pointer;
    outline: none;
}

#menu {
    display: none;
    position: fixed;
    z-index: 9999;
    background: rgba(255, 239, 223,1);
    width: 100%;
    height: 100%;
    text-transform: uppercase;
}

#menu nav {
    font-size: 3em;
    letter-spacing: .25em;
    text-align: center;
}

#menu #nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

nav a {
    color: var(--main-red);
    text-decoration: none;
}

nav a:hover {
    opacity: 0.5;
}

nav ul li {
  list-style: none;
  margin-left: 0;
  margin-bottom: 0;
}

#fullScreenPic {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: pink;
    z-index: 99999;
    padding: 4em;
}

#fullScreenPicWrap {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#clsFullScreenPicBtn {
    color: var(--main-text-color);
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;    
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 204, 153, .9);
}

header #header-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--main-max-width);
}

header #header-wrap .left,
header #header-wrap .right 
{
    flex-basis: 50%;
}

header #header-wrap .right {
    display: flex;
    justify-content: flex-end;
}

#headerBg {
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: .9;
}

header #header-wrap #headerName {
    font-size: 1.5em;
    text-transform: uppercase;
    margin-left: var(--main-page-margin);
}

header #header-wrap #headerName a {
    text-decoration: none;
}

header #header-wrap #socLinks ul {
    margin: 0;
    padding: 0;
}

header #header-wrap .lnk-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.33em;
    transition: background .5s;
    border-radius: 6px;
}

header #header-wrap #socLinks ul li:hover,
header #header-wrap #menuBtn:hover 
{
    transition: background .5s;
    background: rgba(255,255,255,0.25);
}

.page-wrap {
    max-width: var(--main-max-width);
    margin: 1em auto 3em;
    padding: 0 var(--main-page-margin);
}

.scrollPage {
    position: relative;
    background: var(--main-peach-bg);
    overflow: hidden;

}

.scrollPageContent {
    position: relative;
}

.scrollPageSingleImg {
    position: absolute;
    width: 40%;
    height: 90%;
    margin: 30px 0 0 60px;
    display: inline-block;
    vertical-align: top;
    background-position: center; 
    background-size: cover; 
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.info-box {
    border-color: rgba(255,0,0,.5);
    border-width: 1px;
    border-style: solid;
    padding: 1em;
    background-color: var(--main-light-peach);
}

#home {
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home .center-page-wrap {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
}

#home .center-page-wrap #centerNameAndDescription {
    max-width: 38em;
    padding: 1em;
    background: #ffdebe;
    box-sizing: border-box;
    margin: var(--main-page-margin);
    color: var(--main-red-text);
    text-align: center;
    cursor: pointer;
}

#home #centerNameAndDescription h1 {
    font-size: 3em;
    letter-spacing: .25em;
    font-weight: normal;
    text-transform: uppercase;
    padding: 0;
    margin: 0 0 .25em;
}

#home #centerNameAndDescription h2 {
    font-size: 1.5em;
    font-weight: 300;
    margin: 0 0 0 0;
    padding: 0;
}

.flex-2x1 {
    display: flex;
}

.flex-2x1 .item {
    flex-basis: 50%;
}


.flex-2x1 .item:first-of-type {
    flex-direction: column;
    margin-right: var(--main-page-margin);
}

#about .flex-2x1 .item:first-of-type .info-box,
#cv .flex-2x1 .item .info-box 
{
    margin: 0  0 .5em 0;
    background-color: var(--main-light-peach);
}

#cv .flex-2x1 .item .info-box h3 {
    margin: 0 0 .5em 0;
}

#cv .flex-2x1 .item div ul {
    font-size: 1.2em;
    line-height: 1.75;
    margin: 0;
    padding: 0 0 0 1em;
}

#services {
    display: flex;
    align-items: center;
}

#services .flex-2x1 .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--main-peach-bg);
    padding: 1em;
    margin: 1em 0;}


#services .flex-2x1 .item:first-of-type {
    margin-right: 4em;
}

#services h1 {
    font-size: 3em;
    text-align: center;
}

ul.slash-list {
    list-style: none;
    font-size: 1.33em;
    text-align: center;
    margin: 0;
    padding: 0;
}

ul.slash-list li {
    display: inline-block;
    margin: 0;
}

ul.slash-list li:first-of-type:before {
    content: '';
}

ul.slash-list li:after {
    font-family: 'Symbola';
    content: " /";
}

ul.slash-list li:last-of-type:after {
    content: '';
}

#gallery {
    padding-bottom: 25px;
}

#gallery #galleryWrap {
    max-width: var(--main-max-width);
    margin: 0 auto;
}

#gallery .galleryImg {
    background-position: center; 
    background-size: cover; 
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    border-radius: var(--main-border-radius-double);
}

#gallery .galleryImg:hover > .imgCover {
    transition: opacity .33s;
    opacity: 1;

}

#gallery .galleryImg img {
    display: none;
}

#gallery .imgCover {
    width: 100%;
    height: 100%;
    background: rgba(255,204,153,0.75);
    position: absolute;
    z-index: 9;
    text-align: center;
    display: flex;
    line-height: 1;
    justify-content: center;
    align-items: center;
    padding: 3em;
    font-size: 1.33em;
    transition: opacity .33s;
    opacity: 0;
}

.talks-group {
    display: flex;
    justify-content: center;
}

.talks-group .talk {
    flex-basis: 33.33%;
    font-size: 1.5em;
    margin: .5em;
    background-color: var(--main-light-peach);
    padding: 1em;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    text-align: center;
}

.talks-group .talk .talkName {
    font-weight: 400;
    margin-bottom: .5em;
}

.talks-group .talk .talkLocation{
    font-style: italic;
    font-weight: 300;
    font-size: .9em;
    margin-bottom: .5em;
}

.talks-group .talk .talkDate {
    font-size: 0.8em;
    font-weight: 100;
}

#loadMoreImgs {
    background: rgba(255,255,255,0);
    transition: background .5s;
    border: 2px solid rgba(0,0,0,.5);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-size: .85em;
    font-family: 'Hind', sans-serif;
    text-align: center;
    font-weight: 900;
    color: rgba(0,0,0,.5);
    outline: none;
    cursor: pointer;
    margin: 50px 0 20px 0;
    box-sizing: border-box;
}

#loadMoreImgs:hover {
    transition: background .5s;
    background: rgba(255,255,255,.5);
}

footer {
    text-align: center;
    text-transform: uppercase;
    padding-bottom: 2em;
}

#testImg {
    display: none;
}

.loadingGif {
    position: absolute;
    font-size: 5em;
}


#vidDiv {
    max-width: var(--main-max-width);
    height: 500px;
    margin: 50px auto;
    box-sizing: border-box;
    position: relative;
}


#vimeoVid {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.vidCap {
    text-align: center;
    margin: 1em 0 0 0;
}

.vidEventName {
    font-weight: 500;
}

.vidEventLocation:before {
    content: " \2014  "
}


@media screen and (max-width: 800px) {

    h1 {
        font-size: 2.5em;
    }

    #services h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 1.5em;
    }

    .flex-2x1,
    .talks-group
    {
        flex-direction: column;
    }

    .flex-2x1 .item:first-of-type,
    #services .flex-2x1 .item:first-of-type {
        margin-right: 0;
    }
    
}

@media screen and (max-width: 600px) {
    #fullScreenPic {
        padding: .5em
    }
}

@media screen and (max-width: 400px) {
    h1 {
        text-shadow: 1px 1px;
    }

    header #header-wrap #headerName {
        font-size: 1.1em;
    }

    #home #centerNameAndDescription h1 {
        font-size: 1.9em;
    }

    #home #centerNameAndDescription h2 {
        font-size: 1em;
    }

    #gallery .imgCover {
        display: none;
    }

}