/* -------------- TEXT STYLING -------------- */
* {
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body{
	font-family: 'Poppins', Geneva, sans-serif;
	font-weight: 400;
	font-size: 1rem;
	background-color: #e8dcd3;
	color: #3B3B3B;
}

.blue-bg{
	background-color: #7a89a3;
}

h1{
	font-family: 'Libre Baskerville', Times, serif;
	font-weight: 400;
	font-size: 2em;
	color: #5773C7;
	line-height: 1.5;
	margin-bottom: 1rem;
	max-width: 80%;
}

h2, .home, label, .nav-tabs ul, .footer-tabs ul{
	font-family: 'Libre Baskerville', Times, serif;
	font-weight: 400;
	font-size: 0.8em;
	color: #5773C7;
	margin-top: 1rem;
}

h3{
	font-family: 'Libre Baskerville', Times, serif;
	font-weight: 400;
	font-size: 1.5em;
	margin-top: 0; 
	margin-bottom: 0.7rem; 
	line-height: 1.8;
}

.h3-bio{
	font-size: 1.3em;
}

summary{
	font-family: 'Libre Baskerville', Times, serif;
	font-weight: 400;
	font-size: 1em;
	margin-bottom: 0;
}

h4{
	font-family: 'Libre Baskerville', Times, serif;
	font-weight: 600;
	margin-bottom: 1rem;
	font-size: 1em;
}

.colored{
	color: #5773C7;
}

.white{
	color: #e8dcd3;
}

summary{
	margin-top: 1rem; 
	cursor: pointer;
	transition: 0.2s;
	display: block;
	outline:none;
}

.project-name, .connect-container a{
	color: #3B3B3B;
	transition: all 0.4s ease;
}

.project-name:hover, .project-name:focus, .project-name:active, .connect-container a:hover, .connect-container a:focus, .connect-container a:active{
	cursor: pointer;
	color: #5773C7;
	text-decoration: overline;
}

p{
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
	/*max-width: 80%;*/
	line-height: 1.9;
}

a{
	text-decoration: none;
}

.hyperlink{
	color: #5773C7;
	transition: all 0.3s ease;
	font-style: italic;
}

.hyperlink:hover, .hyperlink:active, .hyperlink:focus {
	text-decoration: overline;
	text-decoration-color: #5773C7;
}

.overflow {
    width: 10em;
    /*outline: 1px solid #000;*/
    margin: 0 0 2em 0;
    cursor: pointer;
  
  /**
   * Required properties to achieve text-overflow
   */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overflow:hover{
	overflow: visible;
}


img, video{
	height: auto;
	max-width: 100%;
}

.hc-vid {
	max-width: 60%;
	height: auto;
}

.img-me{
	opacity: 0.6;
	z-index: -1;
}

figure{
	margin: 1rem 0 2rem 0;
}

figcaption, .cite{
	font-size: 0.7rem;
	/*opacity: 0.7;*/
	font-weight: 200;
}

.ul-no-bullet{
	margin: 0;
  	padding-left: 1.5rem;
}

.ul-no-bullet li{
	list-style-type: none;
	margin-bottom: 0;
	margin-top: 0.5rem;
	font-size: 0.8rem;
	/*font-weight: 600;*/
	/*max-width: 80%;*/
	/*line-height: 2;*/
}

.ul-no-bullet-indent{
	margin: 0;
  	padding-left: 0;
  	list-style-type: none;
}

button{
	background: transparent;
	font-size: 0.8rem;
}

/* -------------- Accordion: https://codepen.io/knyttneve/pen/LamBMP -------------- */
details > p {
  padding: 0 1.2rem;
}

details > summary:hover, details > summary:active, details > summary:focus{
	color: #5773C7;
	text-decoration: overline;
	text-decoration-color: #5773C7;
}

summary::-webkit-details-marker{
  color: #3B3B3B;
  opacity: 0.6;
}

/* -------------- Layout Container -------------- */
.layout-narrow{
	/*margin-left: 20%;
	margin-right: 20%;*/
	max-width: 800px; 
    margin: auto; 
}

.layout-wide{
	/*margin-left: 8%;
	margin-right: 8%;*/
	max-width: 1080px; 
    margin: auto; 
}

.h3-container{
	margin: 2.5rem 0;
}

/* -------------- Nav Bar -------------- */
nav{
	margin: 0 3%;
	padding: 0.5rem 0;
	position: sticky;
	top: 0;
	z-index: 20;
	padding-bottom: 0rem;
	border-bottom: 0.3px solid #5773C7;
}

#nav-hide{
	transition: top 0.4s ease;
}

.white-nav{
	border-bottom: 0.3px solid #e8dcd3;
}

.h2-nav{
	cursor: pointer;	
	color: rgba(87,115,199,1);
	transition: all 0.5s ease;
}

.h2-nav-home{	
	cursor: pointer;
	color: rgba(87,115,199,1);
}

.h2-nav-home:hover{
	font-style: italic;
}

.h2-nav:hover, .h2-nav:active, .h2-nav:focus, .nav-selected {	
	font-style: italic;
	text-decoration: overline;
}

.h2-nav-white{
	color: #e8dcd3;
}

.h2-nav-white:hover, .h2-nav-white:active, .h2-nav-white:focus, .nav-selected-white {	
	font-style: italic;
	text-decoration: overline;
}

.nav-tabs ul, .footer-tabs ul{
  padding: 0;
  list-style: none;
}


/* -------------- Footer -------------- */
footer{
	background: transparent;
	margin: 0 3%;
	padding: 0.5rem 0;
	border-top: 0.3px solid #5773C7;
	bottom: 0;
}

.footer-white{
	border-top: 0.3px solid #e8dcd3;
	color: #e8dcd3;
}

/* -------------- Landing Page -------------- */
.landing{
	margin-top: 10rem;
	margin-bottom: 10rem;
	/*height: 100vh;*/
}

.project-container{
	margin: 1.5rem 0 3rem 0;
}

.project-list{
	margin-bottom: 5rem;
}

/* swap image on hover: https://www.tutorialrepublic.com/codelab.php?topic=faq&file=css-image-swap-on-hover */
.project-img-reveal{
	display: inline-block;
	position: relative;
}

.project-img-reveal .change-img {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
}

.project-img-reveal:hover .change-img {
    display: inline;
}

/* -------------- Side Fixed Menu -------------- */
/* vertical menu reveal tutorial: http://jsfiddle.net/apaul34208/ZyKar/3/ */
.section-menu{
	display: none;
	z-index: 1;
	position: fixed;
	top: 35%;
	margin-left: 3%;
}

.section-menu li{
	font-family: 'Libre Baskerville', Times, serif;
	font-weight: 400;
	font-size: 0.8em;
	/*color: #5773C7;*/
	margin-top: 1rem;
	list-style-type: none;
}

.section-menu a{
	color: #5773C7;
	opacity: 0.5;
	transition: opacity 0.3s ease;
}

.section-menu a:hover, .section-menu a:active, .section-menu a:focus{
	opacity: 1;
}

/* -------------- Project Process Analysis -------------- */
.project-section{
	margin-top: 0;
	margin-bottom: 5rem;
	overflow-y: scroll;
  scroll-behavior: smooth;
}

.space-before{
	margin-top: 4rem;
}

.project-banner{
	z-index: 0;
	top: 0;
}

.description-item ul, .section-menu ul{
	padding-left: 0;
	margin:0;
}

.description-item li{
	list-style-type: none;
	font-size: 0.9rem;
	margin-bottom: 0;
	margin-top: 0rem;
	max-width: 80%;
	line-height: 2;
}

.section-title{
	text-decoration: overline;
	text-decoration-color: #5773C7;
}

blockquote{
	font-size: 0.9em;
	margin-top: 3rem;
	margin-bottom: 2rem;
}

blockquote:before {
  color: #5773C7;
  content: open-quote;
  font-family: 'Libre Baskerville', Times, serif;
  font-size: 6em;
  line-height: 0.1em;
  vertical-align: -0.4em;
  opacity: 0.5;
}

.quote-serif{
	font-family: 'Libre Baskerville', Times, serif;
	font-size: 1.3em;
}

.demo-ensemble-practice {
	margin-top: 3rem;
}

.nomargin{
	margin: 0;
}

/* -------------- IMAGE CAROUSEL tutorial: https://codepen.io/SitePoint/pen/MyPVdK?editors=1100 -------------- */
.carousel, .carousel-product {
    position: relative;
    margin: 1rem 0 2rem 0;
}

.carousel-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-open:checked + .carousel-item {
    position: static;
    opacity: 100;
}

.carousel-item {
    position: absolute;
    opacity: 0;
    -webkit-transition: opacity 0.6s ease-out;
    transition: opacity 0.6s ease-out;
}

.carousel-item img {
    display: block;
    height: auto;
    max-width: 100%;
}

.carousel-control {
    background: rgba(225, 201, 184, 0.5);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: none;
    font-size: 2em;
    height: 1.2em;
    line-height: 1.1em;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    cursor: pointer;
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-align: center;
    width: 40px;
    z-index: 10;
}

.carousel-control.prev {
    left: 2%;
}

.carousel-control.next {
    right: 2%;
}

.carousel-control:hover {
    background-color: rgba(225, 201, 184, 0.8);
}

#carousel-1:checked ~ .control-1,
#carousel-2:checked ~ .control-2,
#carousel-3:checked ~ .control-3,
#carousel-4:checked ~ .control-4,
#carousel-5:checked ~ .control-5,
#carousel-6:checked ~ .control-6 {
    display: block;
}

.carousel-indicators {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 1%;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.carousel-indicators li {
    display: inline-block;
    margin: 0 5px;
}

.carousel-bullet {
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 2rem;
    transition: color 0.3s ease-in-out;
}

.carousel-bullet:hover {
    color: rgba(250,250,250,0.7);
}

#carousel-1:checked ~ .control-1 ~ .carousel-indicators li:nth-child(1) .carousel-bullet,
#carousel-2:checked ~ .control-2 ~ .carousel-indicators li:nth-child(2) .carousel-bullet,
#carousel-3:checked ~ .control-3 ~ .carousel-indicators li:nth-child(3) .carousel-bullet,
#carousel-4:checked ~ .control-4 ~ .carousel-indicators li:nth-child(4) .carousel-bullet,
#carousel-5:checked ~ .control-5 ~ .carousel-indicators li:nth-child(5) .carousel-bullet,
#carousel-6:checked ~ .control-6 ~ .carousel-indicators li:nth-child(6) .carousel-bullet {
    color: #E1C9B8;
}

/*--------- Playground ----------*/
.playground-container{
	margin-bottom: 10rem;
}

.playground-3, .playground-2, .playground-1{
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
	filter: grayscale(100%);
	transition: all 0.4s ease;
}


.playground-1:hover, .playground-2:hover, .playground-3:hover{
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	filter: grayscale(0%);
}

.playground-prj{
	z-index: 2;
	transition: transform 0.5s ease;
}

.playground-prj:hover{
	transform: scale(1.1);
}

/*---------- About Page, Tab menu tutorial: https://codepen.io/flkt-crnpio/pen/WxROwy/?editors=1100; ----------*/
.tabs {
  display: block;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  overflow: hidden; 
}

.tabs input:focus {
  outline: none; 
}

.tabs [class^="tab"] label,
.tabs [class*=" tab"] label {
    color: #5773C7;
    cursor: pointer;
    display: block;
    padding: 1rem 0;
    text-align: center; 
}

.tabs [class^="tab"] [type="radio"],
.tabs [class*=" tab"] [type="radio"] {
    border-bottom: 1px solid rgba(239, 237, 239, 0.5);
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.tabs [class^="tab"] [type="radio"]:hover, .tabs [class^="tab"] [type="radio"]:focus,
.tabs [class*=" tab"] [type="radio"]:hover,
.tabs [class*=" tab"] [type="radio"]:focus {
    border-bottom: 1px solid #5773C7; 
}

.tabs [class^="tab"] [type="radio"]:checked,
.tabs [class*=" tab"] [type="radio"]:checked {
    border-bottom: 1px solid  #5773C7; 
}

.tabs [class^="tab"] [type="radio"]:checked + div,
.tabs [class*=" tab"] [type="radio"]:checked + div {
    opacity: 1; 
}
.tabs [class^="tab"] [type="radio"] + div,
.tabs [class*=" tab"] [type="radio"] + div {
    display: block;
    opacity: 0;
    padding: 2rem 0;
    width: 90%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out; 
}

.tabs .tab-2 {
    width: 50%; 
}

.tabs .tab-2 [type="radio"] + div {
    width: 200%;
    margin-left: 200%; 
}
.tabs .tab-2 [type="radio"]:checked + div {
    margin-left: 0; 
}
.tabs .tab-2:last-child [type="radio"] + div {
    margin-left: 100%; 
}
.tabs .tab-2:last-child [type="radio"]:checked + div {
    margin-left: -100%; 
}

.tabs ul{
	font-size: 0.8rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
	line-height: 2;
}

.jobtitle-container{
	margin-top: 0;
}

.individual-job{
	margin-top: 0;
	margin-bottom: 3rem;
}

.job-type{
	margin-top: 0;
	margin-bottom: 2rem;
}

.connect-container{
	padding: 2rem 0;
}

.connect-container a{
	color: #3B3B3B;
}

/*---------- STYLEGUIDE ----------*/
#peach{
	background-color: #e8dcd3;
}

#blue{
	background-color: #5773C7;
}

#grey{
	background-color: #3B3B3B;
}

#light-blue{
	background-color: #7a89a3;
}

.box-code{
	margin-top: 1rem;
	background-color: rgba(250,250,250,0.6);
	padding: 1rem 1rem 0 1rem;
}

.title-code {
	font-size: 1rem;
	font-weight: 400;
	margin-bottom: 0;
	margin-top: 0;
}

pre {
	margin-bottom: 0;
	color: rgb(130,130,130);
	white-space: pre-wrap;
	tab-size: 2.5;
	word-wrap: break-word;
	font-size: 0.8rem;
	/*how to use <pre> tag https://stackoverflow.com/questions/248011/how-do-i-wrap-text-in-a-pre-tag*/
}


@media (max-width: 1288px){
	.layout-wide{
		margin-left: 8%;
		margin-right: 8%;
	}
}
@media (max-width: 1024px){
	.playground-1,.playground-2,.playground-3{
    	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
		filter: grayscale(0%);
	}

	.layout-narrow{
	margin-left: 10%; 
	margin-right: 10%; 
	}
}

@media (max-width: 600px){
	.h3-bio{
		font-size: 1em;
	}
	.h1-landing{
		font-size: 1.6em;
	}
}

@media (max-width: 414px){
	.section-menu{
		opacity: 0;
	}
	.landing{
		margin-top: 7rem;
	}
}