/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * Boilerplate Credits: Nicolas Gallagher, Jonathan Neal, Kroc Camen, and the H5BP dev community and team.
 */

/*One-pager site Design by Amanda Wray for Melinda Sullivan*/

/*========== BASE STYLES ============*/

html {
    color: #222;
    font-size: 1em;
    line-height: 1.3;
    background:black;
}

body {
    padding:0px;
    font-family: "ff-ernestine-web-pro", "Bitter", "Bitter", 'Georgia', serif;
    overflow-x:hidden;
}

section h2 {
  color: hsla(45, 16%, 39%, 1);
  font-family: "jaf-domus", Arial, sans-serif;
  font-size: 50px;
  display:block;
  line-height: 0px;
  margin-top: 70px;
  padding-left: 7vw;
  margin-bottom: 40px;
  text-transform:uppercase;
  font-weight: 300;
}

a {
  text-decoration: none;
  color:hsla(288, 14%, 45%, 1);
}

section {min-height: 200px;}


/*========== INTRO SECTION ============*/

section#intro {
  border: 1px solid hsla(50, 64%, 78%, 1);
  background: hsla(50, 64%, 78%, 1);
  min-height: 130vw;
  background-image: url("/img/intro-pic.png");
  background-repeat:no-repeat;
  background-position: center bottom;
  background-size: contain;
  overflow-x:hidden;
  box-sizing: border-box;
}

section#intro nav {
  position:relative;
  top: 7px;
  z-index: 0;
  width: 100%;
}

section#intro ul {
  box-sizing: border-box;
  padding-right: 15px;
  background: hsla(51, 60%, 83%, 1);
  display:block;
  min-height: 43px;
  margin:0px;
  width:100%;
}

section#intro li {
  list-style-type:none;
  text-transform:uppercase;
  display:inline-block;
  float:right;
}

section#intro li a {
  display:block;
  padding: 10px 12px 12px 12px;
  font-family: "jaf-domus", Arial, sans-serif;
  font-weight: 600;
  color: hsla(287, 14%, 44%, 1);
  font-size: 18px;
  letter-spacing: .03em;
}

section#intro li a:hover {
  color: black;
}

h1 {
  color:white;
  font-family: "Shelby", cursive;
  font-size: 22vw;
/*  display:inline-block;*/
  float:left;
  line-height: 0px;
  font-weight:700;
  margin-top: 120px;
  -ms-transform: rotate(-15deg); /* IE 9 */
  -webkit-transform: rotate(-15deg); /* Chrome, Safari, Opera */
  transform: rotate(-15deg);
/*  position:absolute;*/
  z-index:0;
  box-sizing: border-box;
  padding-left: 45px;
}

h1 span {
/*  display:inline-block;*/
  font-size: 18vw;
  color: hsla(280, 19%, 41%, 1);
  float:right;
  padding-top: 14vw;
  -ms-transform: rotate(15deg); /* IE 9 */
  -webkit-transform: rotate(15deg); /* Chrome, Safari, Opera */
  transform: rotate(15deg);
  box-sizing: border-box;
  padding-right: 25px;
}

.quotes {display: none;}

blockquote {
    font-size: 3.4vw;
    font-family: 'ff-ernestine-web-pro', "Bitter", 'Georgia', serif;
    padding: 26vw 8vw 0px 170px;
    text-indent: -2em;
    display:block;
    position:absolute;
}

blockquote span {
    text-align:right;
    font-size: 80%;
    text-transform:uppercase;
    display:block;
    padding-top: 20px;
}

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

blockquote {
    padding: 28vw 8vw 0px 170px;
}

}

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

blockquote {
    padding: 28vw 8vw 0px 170px;
}



section#gallery p.credit {
    right:-100px!important;
    }

}


@media screen and (max-width: 700px){
	
	blockquote {
    padding: 27vw 8vw 0px 170px;
}
    h1 {
  margin-top: 70px;
}

h1 span {
  padding-top: 15vw;
}

section#gallery p.credit {
    right:-120px!important;
    }

}

}

@media screen and (max-width: 600px){
    h1 {
  margin-top: 60px;
}

h1 span {
  padding-top: 14vw;
}

blockquote {
    padding: 26vw 20px 0px 40px;
    text-indent: -1em;
}
section#intro ul {
    padding:0;
    }
    
section#bio p {
    font-size: 18px!important;
    line-height: 26px!important;
    }
    
section#gallery p.credit {
    right:-125px!important;
    font-size: 14px;
    }
    
#events p {
    padding-left: 0px!important;
    }
}

@media screen and (max-width: 455px){
    h1 {
    margin-top: 0px!important;
    padding-left: 20px;
    }
    
        h1 span {
  padding-top: 14vw;
}
    
    blockquote {
    padding: 26vw 0vw 0px 20px;
    text-indent: -2em;
}

section#gallery p.credit {
    right:-125px!important;
    font-size: 14px;
    }


}

@media screen and (max-width: 350px){
    h1 {
    margin-top: -5px!important;
    padding-left: 20px;
    font-size: 20vw;
    }
    h1 span {
  padding-top: 13vw;
}
    
    blockquote {
    padding: 26vw 0px 0px 0px;
    text-indent: -1em;
}
section#gallery p.credit {
    right:-120px!important;
    font-size: 14px!important;
    }


}

/*========== PROJECTS SECTION ============*/

section#projects {
  background: hsla(270, 24%, 30%, 1);
  padding-top: 1px;
  position:relative;
  padding-bottom: 30px;
}

section#projects h2 {
    color:white;
    margin-top: 50px;
    z-index:3;
}

div#events {
    width: 85%;
	display: block;
	margin: 80px auto 0px;
	position: relative;
	z-index: 3;
	padding-top: 10px;
}

#events::after {
    content: "";
    background: hsla(269, 24%, 20%, 1);
    width: 160%;
    top: -43px;
    left: -30vw;
    bottom: 20px;
    position: absolute;
    z-index: -1;
    -ms-transform: rotate(-4deg); /* IE 9 */
	-webkit-transform: rotate(-4deg); /* Chrome, Safari, Opera */
	-o-transform: rotate(-4deg); /*opera*/
    transform: rotate(-4deg);
    overflow-x:hidden;
}

#events p {
    color:hsla(269, 24%, 85%, 1);
    font-family: "ff-ernestine-web-pro", "Bitter", 'Georgia', serif;
    font-size: 16px;
    line-height: 28px;
    font-weight:200;
}

#events h4 {
	text-transform: uppercase;
	letter-spacing: .05em;
	color: hsla(270, 13%, 50%, 1);
	font-size: 20px;
	font-weight: 200;
	padding-top: 30px;
}

#events p a, #events h4 a {
    color: white;
    text-decoration: underline;
}

#events p em {
    color:white
}

#events img {
    width: 100%;
    height: 100%;
    max-width: 250px;
    max-height: 250px;
    float:left;
    margin-right: 18px;
    margin-bottom: 4px;
    padding-top: 8px;
}

#events .event-details {
    padding-top: 10px;
    border-top: 1px solid hsla(101, 0%, 97%, .3);
    overflow:hidden;
}


@media screen and (max-width: 1100px){
	#events::after {
    bottom: -105px;
}
}

@media screen and (max-width: 900px){
	#events::after {
    bottom: -100px;
}
}


@media screen and (max-width: 800px){
	#events::after {
    bottom: -95px;
}
	#events img {
	max-width: 40%;
	max-height:auto;
	}
}

@media screen and (max-width: 700px){
	#events::after {
    bottom: -90px;
}
}


@media screen and (max-width: 600px){
	#events::after {
    bottom: -85px;
}
}

@media screen and (max-width: 500px){
	#events::after {
    bottom: -80px;
}
}

@media screen and (max-width: 450px){
	#events::after {
    bottom: -75px;
    width: 170%;
}

	#events img {
	float:none;
	max-width: 80%;
	max-height:auto;
	}
}

/*========== BIO SECTION ============*/

section#bio {
    color: hsla(45, 16%, 39%, 1);
    padding-top: 40px;
}

section#bio h2 {
  color:white;
}

section#bio p {
    font-size: 18px;
    line-height: 26px;
    padding: 5px 7vw;
}

section#bio p a {
    color: hsla(44, 9%, 60%, 1)
}

/*========== GALLERY SECTION ============*/

section#gallery {
    background: hsla(46, 49%, 69%, 1) url('/img/gallery-1.jpg') no-repeat;
    background-size: cover;
    min-height: 106vw;
    position:relative;
    z-index:2;
}

section#gallery h2 {
    color:black;
    right: 50px;
    text-align:right;
    padding-top: 60px;
    margin-bottom: 20px;
    padding-bottom: 0px;
    padding-right: 40px;
}

/*
.slideshow__slides:before { --thought bubble experiment--
    content: "";
    background:black;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: -10px;
    left: 36vw;
    position:absolute;
}
*/

.slideshow__slides {
  position: relative;
  left: 7%;
  width: auto;
  height: auto;
  margin: 100px auto;
  text-align: left;
}

@media screen and (max-width:500px) {
    .slideshow__slides {
        left: 6%;
        margin-top: 50px;
    }
}

.slideshow__slide {
  position: absolute;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slideshow__overlay {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
}

.slideshow__overlay--is--shadow {
  box-shadow: inset 0px 0px 10px #000;
  opacity: 0.6;
}

.slideshow__overlay--is-highlight {
  background: -webkit-radial-gradient(30% 30%, closest-corner, #fff, #2F2727);
  background: -moz-radial-gradient(30% 30%, closest-corner, #fff, #2F2727);
  background: -ms-radial-gradient(30% 30%, closest-corner, #fff, #2F2727);
  opacity: 0.4;
}

.slideshow__slide--is-active {
  opacity: 1;
}

.slideshow__slide img.horizontal {
  max-height: 100%;
  height: 100%;
  width: auto;
}

.slideshow__slide img.vertical {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.slideshow__nav {
  width: 500px;
  margin: -175px auto 0 auto;
  padding: 10px;
  text-align: center;
  overflow: auto;
}

.slideshow__nav_link {
  padding: 0px 5px;
  color: #5E5E5E;
  font-size: 1.5rem;
  transition: color 0.25s linear;
}

.slideshow__nav_link:hover {
  color: #383838;
}

.slideshow__nav_link--is-previous {
  float: left;
}

.slideshow__nav_link--is-next {
  float: right;
}


section#gallery p.credit {
    font-family: 'ff-ernestine-web-pro', "Bitter", 'Georgia', serif;
    font-size: 15px;
    color: hsla(46, 50%, 33%, 1);
    display:block;
    position:absolute;
    right:0px;
    bottom: 135px;
    -ms-transform: rotate(-90deg); /* IE 9 */
    -webkit-transform: rotate(-90deg); /* Chrome, Safari, Opera */
    transform: rotate(-90deg);
}



/*========== VIDEO SECTION ============*/

section#video {
  height:auto;
  min-height: 100vh; 
  padding-bottom: 1vw;
}

section#video h2 {
  color: hsla(45, 16%, 39%, 1);
}

section#video h3 {
    color:white;
    font-family: "ff-ernestine-web-pro", "Bitter", 'Georgia', serif;
    font-size: 4vw;
    text-align:center;
    border-bottom: 1px solid hsla(101, 0%, 97%, .8);
    padding-bottom: 25px;
    width: 80%;
    margin: 0 auto 0;
}

@media screen and (min-width: 1024px){
section#video h3 {
        font-size: 43px;
    }
}

section#video .videodiv {
    width: 80%;
    margin: 40px auto 40px;
	position: relative;
	padding-bottom: 54%; /* 16:9 */
	padding-top: 10px;
	height: 0;
    flex: 1;
}
section#video .videodiv iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


section#video .youtube-player img {
    width: 100%;
    height: auto;
    margin-top: -50px;
    z-index:2;
    position:relative;
    -webkit-filter: brightness(75%);
}


section#video .youtube-player .play img {
    max-width: 70px;
    max-height:70px;
}

section#video .youtube-player .play:before {
    content: "";
    display:block;
    width: 100%;
    height: 100%;
    top: 38%;
    left: 45%;
    z-index: 5;
    position:absolute;
    cursor:pointer;
    background: url('/img/play-arrow.png');
    background-size: 15%;
    background-repeat:no-repeat;
}


@media screen and (max-width: 600px){
section#video .youtube-player .play:before {
        top: 26%;
        left: 44%;
    }
}

.youtube-player img:hover {
    -webkit-filter: brightness(100%);
    cursor:pointer;
}

p.more-videos {
    color:white;
    text-align:center;
    margin-bottom: 30px;
    margin-top: 0px;
}




/*========== CONTACT SECTION ============*/

section#contact {
    background: hsla(217, 24%, 57%, 1) url('/img/Contact-pic.jpg') no-repeat;
    height:auto;
    width:100%;
    min-height: 70vw;
    position:absolute;
    box-sizing: border-box;
    background-position: left bottom;
    background-size:88%;
    overflow:visible;
    
}

section#contact .color-layer {
    background: hsla(217, 24%, 57%, 0);
    background-image:none;
    height:auto;
    width:100%;
    min-height: 70vw;
    position:absolute;
    box-sizing: border-box;
    
}

section#contact .contact-block {
    width: 35%; 
    display:block;
    box-sizing: border-box;
    position:absolute;
    right: 30px;
    top: 10px;
}

section#contact .contact-block h2 {
    display:block;
    padding-bottom: 10px;
    color:white;
    padding-left: 13px;
    padding-top: 20px;
}

section#contact h5 {
    color:black;
    font-size: 20px;
    padding-left: 19px;
    margin-bottom: 20px;
}

section#contact .contact-block p {
    color:black;
    padding-left: 19px;
    line-height: 26px;
}

section#contact a:link {
    color: hsla(216, 24%, 75%, 1);
}

section#contact a:hover {
    color: white;
}

@media screen and (max-width: 1100px){
section#contact {
        min-height: 80vw;
    }
}

@media screen and (max-width: 950px){
section#contact {
        min-height: 95vw;
    }
}

@media screen and (max-width: 850px){
section#contact {
    background: hsla(217, 24%, 57%, 1) url('/img/Contact-pic.jpg') no-repeat;
    min-height: 130vw;
    background-position: left bottom;
    background-size:cover;
    overflow:visible;
    }
    

section#contact .color-layer {
    background: hsla(217, 24%, 57%, .8);
    background-image:none;
    min-height: 130vw;
}
    
section#contact .contact-block {
        width: 90%;
    }
}

@media screen and (max-width:700px){
	   section#contact, section#contact .color-layer {
        min-height: 140vw;
    }
}

@media screen and (max-width: 600px){
section#contact, section#contact .color-layer {
        min-height: 187vw;
    }
}

@media screen and (max-width: 400px){
section#contact, section#contact .color-layer {
        min-height: 240vw;
    }
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
