/* Colors (http://flatcolors.net/palette/783-flatwork)
 - Grey: #F0F1F5
 - Dark blue: #112233
 - Green: #66CC99
 - Light blue: #44BBFF
 - Pink: #FC575E
*/

/* Reference fonts:
  font-family: 'Open Sans Condensed', sans-serif;
  font-family: 'Lora', serif;
  font-family: 'Raleway', sans-serif; (not used yet)
*/


/* ********** body ********** */
body {
  font-family: 'Open Sans Condensed', sans-serif;
  color: black;
  margin: 0px;
  padding: 0px;
  -webkit-font-smoothing:antialiased;
  text-shadow:1px 1px 1px rgba(0,0,0,.004)
}

a {
  text-decoration: none;
  color: inherit;
}

/*a.underline {
  text-decoration: underline;
}*/

a.hover-blue {
  color: #ABE0FF; /* made this two steps lighter */
  transition: all 0.3s ease;
}
a.hover-blue:hover {
  color: #44BBFF;
}

a.hover-pink {
  color: #FC575E;
  transition: all 0.3s ease;
}
a.hover-pink:hover {
  color: #FD8F94;
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 10%;
    margin-right: 10%;
    border-width: 1px;
}

.hidden {
  display: none !important;
}

#top {
  display: none;
}


/* ********** top nav bar ********** */
#top-nav-bar {
  width:100%;
  height: 50px;
  position: fixed;
  top: 0;
  line-height: 50px;
  text-align: center;
  z-index: 100;
  background-color: white;

  transition: all 1s ease;
}

#top-nav-bar-home-button {
  display: inline-block;
  float: left;
  height: 40px;
  width: 40px;
  margin-left: 5px;
  margin-top: 5px;
  background-image: url('../img/favicon2hd.ico');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

.top-nav-bar-item {
  display: inline-block;
  position: relative;
  float: right;
  font-size: 20px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: 4px;
  margin-right: 4px;
}

.top-nav-bar-item .hover-bar {
  display: none;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 5px;
  width: 100%;
}
.top-nav-bar-item:hover .hover-bar {
  display: inline-block;
  background-color: #66CC99;
}

.top-nav-bar-dropdown-content a:hover {
  color: #66CC99;
}


#top-nav-bar.scrolled-title {
  background-color: #66CC99;
  color: white;
}
#top-nav-bar.scrolled-title .top-nav-bar-dropdown-content a:hover, #top-nav-bar.scrolled-title * * .top-nav-bar-item:hover .hover-bar {
  background-color: white;
  color: #66CC99;
}


#top-nav-bar.scrolled-about {
  background-color: #44BBFF;
  color: white;
}
#top-nav-bar.scrolled-about .top-nav-bar-dropdown-content a:hover, #top-nav-bar.scrolled-about * * .top-nav-bar-item:hover .hover-bar {
  background-color: white;
  color: #44BBFF;
}


#top-nav-bar.scrolled-projects {
  background-color: #FC575E;
  color: white;
}
#top-nav-bar.scrolled-projects .top-nav-bar-dropdown-content a:hover, #top-nav-bar.scrolled-projects * * .top-nav-bar-item:hover .hover-bar {
  background-color: white;
  color: #FC575E;
}


#top-nav-bar.scrolled-contact {
  background-color: #112233;
  color: #F0F1F5;
}
#top-nav-bar.scrolled-contact .top-nav-bar-dropdown-content a:hover, #top-nav-bar.scrolled-contact * * .top-nav-bar-item:hover .hover-bar {
  background-color: white;
  color: #112233;
}


#top-nav-bar-left {
  display: inline-block;
  float: left;
}

#top-nav-bar-right {
  display: inline-block;
  float: right;
  background: inherit;
  color: inherit;
}

#top-nav-bar-dropdown-button {
  display: none;
}

.top-nav-bar-dropdown-content {
  display: none;
}

.top-nav-bar-dropdown-content a {
  display: block;
  padding-right: 20px;
  line-height: 30px;
  text-align: right;
  border-bottom: 2px solid;
}

#top-nav-bar-dropdown:hover .top-nav-bar-dropdown-content {
  display: block;
}


/* ********** main title ********** */
#main-title {
  padding-top: 0px;
  background-image: url('../img/backgrounds/bike-handlebars.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  text-align: center;
  padding-bottom: 00px;
  height: 100vh;
  min-height: 650px;
  position: relative;*/
}

#main-title-header {
  font-size: 85px;
  display: inline-block;
  margin-top: 150px;
  margin-bottom: 40px;
  padding-left: 10px;
  padding-right: 10px;

  text-align: left;
  width: 100vw;
  max-width: 760px;
}

#main-title-description {
  display: inline-block;
  margin-top: 50px;
  margin-bottom: 50px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: left;
  width: 100vw;
  max-width: 760px;
}

#main-title-description p {
  display: table;
  border-radius: 14px;
  font-size: 20px;
  padding-left: 10px;
  padding-right: 10px;
  cursor: default;
}

#main-title-description p .hidden {
  color: white;
  display: none;
}

#main-title-description p:hover {
  color: white;
  background-color: #66CC99;
/*  background-color: #44BBFF;; /* For browsers that do not support gradients */
/*  background: -webkit-linear-gradient(left, #44BBFF , #80d0ff); /* For Safari 5.1 to 6.0 */
/*  background: -o-linear-gradient(right, #44BBFF, #80d0ff); /* For Opera 11.1 to 12.0 */
/*  background: -moz-linear-gradient(right, #44BBFF, #80d0ff); /* For Firefox 3.6 to 15 */
/*  background: linear-gradient(to right, #44BBFF , #80d0ff); /* Standard syntax */
}

#main-title-description p:hover .hidden {
  display: inline-block !important;
}


/* ********** link bars ********** */
#top-link-bar {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  color: black;
  pointer-events: none;
}

.link-bar-item {
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 4px;
  margin-right: 4px;
  width: 64px;
  font-size: 40px;
  line-height: 64px;
  border-radius: 50%;
  background-color: white;
  color: black;
  border: 2px solid;
  pointer-events: auto;
}

.link-bar-item-hover-text {
  display: block;
  width: 200px;
  height: 28px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 4px;
  margin-right: auto;
  margin-left: auto;
  border: 2px solid;
  border-radius: 14px;
  position: relative;
  top: 40px;
  pointer-events: none;
}

#projects .link-bar-item-hover-text, #contact .link-bar-item-hover-text {
  top: 0px;
}

.link-bar-item:hover .link-bar-item-hover-text {
  display: inline-block;
}

.link-bar-resume:hover, .link-bar-hover-resume {
  background-color: #66CC99;
  color: white;
  border-color: transparent;
}

.link-bar-strava {
  height: 64px;
  width: 64px;
  position: relative;
  top: 39px;
  background-repeat: no-repeat;
  background-image: url('../img/brand-icons/svg/strava-icon-black-on-white.svg');
  background-size: 140%;
  background-position: center center;
}

.link-bar-strava:hover {
  background-image: url('../img/brand-icons/svg/strava-icon-white-on-orange.svg');
  border: 2px solid transparent;
}

.link-bar-hover-strava {
  background-color: #fc4c02;
  color: white;
  border: 2px solid transparent;
}

.link-bar-linkedin:hover, .link-bar-hover-linkedin {
  background-color: #0077b5;
  color: white;
  border-color: transparent;
}

.link-bar-instagram:hover, .link-bar-hover-instagram {
  background-color: #e1306c;
  color: white;
  border-color: transparent;
}

.link-bar-twitter:hover, .link-bar-hover-twitter {
  background-color: #1da1f2;
  color: white;
  border-color: transparent;
}

.link-bar-github:hover, .link-bar-hover-github {
  background-color: #4078c0;
  color: white;
  border-color: transparent;
}

.link-bar-codecademy {
  height: 64px;
  width: 64px;
  position: relative;
  top: 39px;
  background-repeat: no-repeat;
  background-image: url('../img/brand-icons/svg/codecademy-icon-black.svg');
  background-size: 60%;
  background-position: center center;
}

.link-bar-codecademy:hover {
  background-image: url('../img/brand-icons/svg/codecademy-icon-white.svg');
  border-color: #34B3A0;
  background-color: #34B3A0;
  border-color: transparent;
}

.link-bar-hover-codecademy {
  background-color: #34B3A0;
  color: white;
  border: 2px solid transparent;
}

.link-bar-email:hover , .link-bar-hover-email {
  background-color: #FC575E;
  color: white;
  border-color: transparent;
}

.link-bar-projects {
  position: relative;
  bottom: 50px;
  pointer-events: none;
}

/* ********** panels ********** */
.panel {
  text-align: center;
}

.panel-title {
  display: block;
  font-size: 50px;
  font-weight: bold;
  width: 100vw;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 100px;
}

.panel-contents {
  display: block;
  width: 100vw;
  max-width: 760px;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.panel-contents p {
  font-size: 20px;
  font-family: 'Lora', serif;
  text-align: justify;
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 0;
  margin-bottom: 0;
}

.panel-contents h2 {
  font-size: 35px;
  margin-bottom: 10px;
}

#about {
  background-image: url('../img/backgrounds/headshot-seattle-dec2016.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  text-align: center;
  height: 100vh;
  min-height: 600px;
  color: white;
  line-height: 1.5;
}

#about .panel-contents {
  color: white;
  background-color:rgba(0,0,0,0.6);
}

#projects {
  background-image: url('../img/backgrounds/mac-laptop2-small.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  height: 100vh;
  min-height: 900px;
  color: #112233;
}

#projects .panel-contents {
  background-color:rgba(255,255,255,0.8);
}

#projects h2 {
  display: inline-block;
}

#projects p {
  display: inline-block;
  line-height: 1.5;
  font-size: 15px;
}

#projects ul {
  text-align: left;
  padding-left: 15%;
  padding-right: 15%;
  font-family: 'Lora', serif;
}

#projects ul li {
  padding-top: 10px;
}

#contact {
  background-image: url('../img/backgrounds/mailboxes-small.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  text-align: center;
  height: calc(100vh - 130px);;
  min-height: 600px;
  color: white;
  line-height: 1.5;
}

#contact .panel-contents {
  width: 100%;
  max-width: none;
  background-color:rgba(0,0,0,0.5);
}

#contact p {
  text-align: center;
}

/* ********** footer ********** */
#footer {
  width: 100%;
  height: 80px;
  background-color: #112233;
  color: #F0F1F5;
  font-size: 18px;
  line-height: 80px;
  text-align: center;
  vertical-align: middle;
}

#footer-left {
  display: inline-block;
  float: left;
  padding-left: 10px;
}

#footer-right {
  display: inline-block;
  float: right;
}

.footer-item {
  display: inline-block;
  float: right;
  margin-left: 4px;
  margin-right: 4px;
  font-size: 30px;
  width: 56px;
}

#footer-strava {
  height: 30px;
  width: 30px;
  margin-top: 25px;
  margin-left: 17px;
  margin-right: 17px;
  background-repeat: no-repeat;
  background-image: url('../img/brand-icons/svg/strava-icon-blue-on-grey.svg');
}

#footer-strava:hover {
  background-image: url('../img/brand-icons/svg/strava-icon-blue-on-orange.svg');
}

#footer-codecademy {
  height: 30px;
  width: 30px;
  margin-top: 25px;
  margin-left: 17px;
  margin-right: 17px;
  background-repeat: no-repeat;
  background-image: url('../img/brand-icons/svg/codecademy-icon-grey.svg');
}

#footer-codecademy:hover {
  background-image: url('../img/brand-icons/svg/codecademy-icon-green.svg');
}

#footer .fa-linkedin:hover {
  color: #0077b5;
}

#footer .fa-instagram:hover {
  color: #e1306c;
}

#footer .fa-twitter:hover {
  color: #1da1f2;
}

#footer .fa-github:hover {
  color: #4078c0;
}

@media all and (max-width: 600px) { /* was 600px, changing to 6000 for testing */

  .top-nav-bar-item {display:none;}
  #top-nav-bar-dropdown-button {display:inline-block;}

  #footer-left {display: none;}

}


