/*
* Scott-Michaud.com
* Author: Scott Michaud
*
* Defaults
*/

body, html {
  padding: 0; margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
}

#FixPopIn {
  /*
  For some reason, Firefox (38) pops-in the font just after display:inline.
  Something to do with #HeaderName being display:none; This fixes it.
  */
  font-family: 'Radley', serif; position: fixed; left: -10000px;
}

/*
* External Library Styles
*/

.fa-play:hover {
  cursor: pointer;
}

.fa-pause:hover {
  cursor: pointer;
}

/*
* Base classes
*/

.noSelect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.pointer {
  cursor: pointer;
}

.clear {
  clear: both;
}

.noTransition {
  transition: none !important;
}

.gPanel {
  box-shadow: 0px 2px 3px;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  position: fixed;
  overflow: hidden;
}

.gPanelGrad {
  position: absolute; width: 100%; height: 100%; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 100%);
}

.gPanelBottom {
  position: absolute; width: 100%; height: 20px; bottom: 0;
  border-top: solid 1px #000;
  cursor: pointer;
}

.textRed {
  color: red; text-shadow: 2px 2px 4px black;
}

.textWhite {
  color: white; text-shadow: 2px 2px 4px black;
}

.iEmail {
  color: white; line-height: 73px; text-indent: 1px;
}

.iGithub {
  color: white; line-height: 73px; text-indent: -2px;
}

.iTwitter {
  color: white; line-height: 73px;
}

.iFacebook {
  color: white; line-height: 73px; text-indent: -6px;
}

.textWhiteTwo {
  color: white; /*text-shadow: 1px -1px 0 black, -1px 1px 0 black, -1px -1px 0 black, 1px 1px 0 black;*/
  text-shadow: 1px 1px 3px black;
}

.textBlue {
  color: hsl(205, 95%, 27%);
}

.textBlack {
  color: black;
}

.textMiddle {
  vertical-align: middle;
}

.linkUnderdash {
  text-decoration: none; color:rgb(10, 80, 80);
  border-bottom: 1px rgb(10,80,80) dashed;
}

/*
* Base elements
*/

#HeaderName {
  display: none;
  position: fixed; left: 25px; top: 0px; 
  font-family: "Radley", serif; font-size: 3.4em; line-height: 80px; color: #FFF;
  text-shadow: 2px 2px 3px #000;
  cursor: pointer;
}

/*
* Base Panel One
*/

#gPanelOne {
  background: hsl(205, 95%, 30%);
}

#gPanelOneGrad {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(255,255,255,0.12) 100%);
}

#cPanelOneBG {
  position: absolute; width: 100%; height: 100%;
}

#PanelOneContainer {
  position: absolute; width: 781px; height: 370px;
  left: 0; right: 0; bottom: 0; top: 0; margin: auto;
  
}

#cPanelOneContainerBG {
  position: absolute; width: 100%; height: 100%;
  border-color: rgba(10,10,10,0.6); border-style: solid; border-color: #000;
  border-width: 1px; border-radius: 0;
}

/*
* Base Panel Two
*/

#gPanelTwo {
  background-color: hsl(205, 0%, 90%);
  /*border-bottom-color: hsl(200, 89%, 22%);
  border-bottom-style: solid; border-bottom-width: 20px;*/
}

#gPanelTwoBackground {
  background-image: url('paneltwo-bg.jpg'); background-size: cover; background-position: left center;
  position: absolute;
  height: calc(100% - 100px); width: 100%;
  bottom: 20px;
  opacity: 1;
}

#gPanelTwoBackgroundHue {
  background-image: url('paneltwo-bg-hue.jpg'); background-size: cover; background-position: left center;
  position: absolute;
  height: calc(100% - 100px); width: 100%;
  bottom: 20px;
  opacity: 0;
  /* 
    Transition Delay is 1.1s because all movements are 1.0s.
    It will make Contact -> About Me a little slow, but it will also skip
    any movements which bypass "About Me" entirely.
  */
  transition-property: opacity; transition-duration: 1s; transition-delay: 1.1s;
}

#gPanelTwoBottom {
  background-color: hsl(205, 5%, 68%);
}

/*
* Base Panel Three
*/

#gPanelThree {
  background-color: hsl(205, 0%, 90%);
  /*border-bottom-color: hsl(58, 89%, 34%);
  border-bottom-style: solid; border-bottom-width: 20px;*/
}

#gPanelThreeBackground {
  background-image: url('panelfour-bg2.jpg'); background-size: cover; background-position: right center;
  position: absolute;
  height: calc(100% - 100px); width: 100%;
  bottom: 20px;
  /*opacity: 0.22;*/
}

#gPanelThreePhotoCredit {
  left: 5px; bottom: 25px; position: absolute;
  background-color: rgba(212,212,212,0.8); padding: 2px 8px;
}

#gPanelThreeBottom {
  background-color: hsl(205, 5%, 65%);
}

/*
* Base Panel Four
*/

#gPanelFour {
  background-color: hsl(205, 0%, 90%);
  /*border-bottom-color: hsl(0, 89%, 28%);
  border-bottom-style: solid; border-bottom-width: 20px;*/
}

#gPanelFourBackground {
  background-image: url('panelthree-bg.jpg'); background-size: cover; background-position: right center;
  position: absolute;
  height: calc(100% - 100px); width: 100%;
  bottom: 20px;
}

#gPanelFourBottom {
  background-color: hsl(205, 5%, 62%);
}

/*
* Base Panel Five
*/

#gPanelFive {
  background-color: hsl(205, 0%, 90%);
  /*border-bottom-color: hsl(120, 89%, 21%);
  border-bottom-style: solid; border-bottom-width: 20px;*/
}

#gPanelFiveBackground {
  background-image: url('panelfive-bg.jpg'); background-size: cover; background-position: right center;
  position: absolute;
  height: calc(100% - 100px); width: 100%;
  bottom: 20px;
  /*opacity: 0.22;*/
}

#gPanelFivePhotoCredit {
  bottom: 25px; position: absolute; margin: 0 5px;
  background-color: rgba(212,212,212,0.8); padding: 2px 8px;
}

#gPanelFiveBottom {
  background-color: hsl(205, 5%, 58%);
}

/*
* Big classes
*/

.bigHeaderLink {
  padding-right: 10px; padding-left: 10px; margin-left: 10px; float: left; 
  color: #fff; text-shadow: 2px 2px 2px #000; font-weight: 500; word-spacing: 3px;
  cursor: pointer;
}

.bigHeaderLink a:link, .bigHeaderLink a:visited, .bigHeaderLink a:hover, .bigHeaderLink a:active {
  text-decoration: none;
  color: white;
}

.bigLogoImage {
  width: auto; height: 300px; top: 0px; bottom: 22px; margin: auto; position: absolute;
  left: 2px; right: 0;
}

.bigProjectButton {
  width: 130px; height: 130px; margin: 10px 10px 0px 10px; float: left; position: relative;
  transition: none;
}

.bigProjectButton:hover {
  background-color: hsla(210,90%,10%,0.6); border: 1px solid hsla(210,90%,30%, 0.8);
  margin: 9px 9px -1px 9px; border-radius: 8px;
}

.bigProjectButton[data-selected="true"] {
  width: 130px; height: 130px; margin: 9px 9px -1px 9px; float: left; position: relative;
  border-radius: 8px;
  background-color: hsla(30,90%,40%,0.4); border: 1px solid hsla(30,90%,60%, 0.8);
  transition: background-color 0.2s, border 0.2s;
}

.bigProjectButtonIcon {
  position: absolute; top: 15px; width: 100%;
  color: white; text-shadow: 1px 1px 2px black; text-align: center;
}

.bigProjectButtonLabel {
  position: absolute; bottom: 5px; width: 100%;
  color: white; font-size: 14px; text-shadow: 1px 1px 2px black; text-align: center;
}

.bigContactItem {
  position: relative; left: 0; top: 0; height: 73px; width: 400px;
  border-radius: 73px; background-color: rgba(212,212,212,0.8); margin: 25px;
  border: 1px solid black;
}

.ContactInfo {
  position: absolute; left: 90px; top: 0; line-height: 73px;
  font-size: 1.5em;
}
/*
* Big elements
*/



/*
* Big Header
*/

#bigHeader {
  position: fixed; top: 0; left: 0; width: 100%; height: 80px;
}

#bigHeaderTop {
  position: absolute; right: 0; top: 12px; display: inline-block; padding-right: 20px;
}

#bigHeaderBottom {
  position: absolute; right: 0; bottom: 12px; display: inline-block; padding-right: 20px;
}

#bigAnimStatus {
  padding-right: 8px;
}

/*
* Big Panel One
*/

#bigPanelOneContainer {
  width: 100%; height: 100%; position: absolute;
}

#bigPanelOneName {
  width: 781px; line-height: 80px; font-size: 3.4em; font-family: "Radley", serif; color: #fff;
  position: absolute; top: 0px; text-align: center; text-shadow: 2px 2px 2px #000;
  background-color: rgba(5,5,25,0.20); left: 1px; right: 0; margin: auto;
  /*border-top-left-radius: 25px; border-top-right-radius: 25px;*/
  border-bottom: 1px #000 solid;
}

#bigPanelOnePhoto {
  position: absolute; left: 1px; bottom: -1px; width: 388px; height: 370px; margin: auto;
  margin-top: 2px; border-bottom-left-radius: 0;
  background-color: rgba(60, 0, 0, 0.35);
  border-right: 1px solid #000;
  cursor: pointer;
}

#bigPanelOneAbout {
  position: absolute; width: 320px; left: 0; right: 0; bottom: 13px; margin: auto;
  text-align: center;
  font-size: 1.2em; color: white; text-shadow: 2px 2px 3px #000; word-spacing: 2px;
  cursor: pointer;
}

#bigPanelOneProjects {
  position: absolute; width: 320px; left: 0; right: 0; bottom: 13px; margin: auto;
  text-align: center;
  font-size: 1.2em; color: white; text-shadow: 2px 2px 3px #000; word-spacing: 2px;
  cursor: pointer;
}

#bigPanelOneProjectsLogo {
  position: absolute; right: 0; bottom: -1px; width: 393px; height: 371px; margin: auto;
  margin-top: 1px; margin-right: -1px; border-bottom-right-radius: 0;
  background-color: rgba(255,255,245, 0.05);
  cursor: pointer;
}

/*
* Big Panel Two
*/

#bigPanelTwoHello {
  left: 2%; top: calc(80px + 15%); position: absolute;
  color: black;
  font-weight: 500;
  /*text-shadow: 2px 2px 4px #bbb;*/
  background-color: rgba(205,187,173,0.7);
  padding: 2%; padding-top: 1%;
  border: 1px #000 solid;
  display: none;
}

#bigPanelTwoHello p {
  padding: 0; margin: 0;
}

#bigPanelTwoGoodTime {
  font-size: 4vw;
  /*text-shadow: 1px -1px 0 rgba(255,255,255,0.45), -1px 1px 0 rgba(255,255,255,0.45), 
  1px 1px 0 rgba(255,255,255,0.45), -1px -1px 0 rgba(255,255,255,0.45);*/
}

#bigPanelTwoThanks {
  font-size: 2.43vw; color: white;
  text-shadow: 2px 2px 4px black, 2px 2px 4px black;
}

#bigPanelTwoTextContainer {
  position: absolute; right: 12%; top: calc(80px + 15%);
  background-color: rgba(212,212,212,0.7);
  padding: 2%; padding-top: 1.3%;
  border-radius: 5px;
  /*border: 1px #000 solid;*/
  
  box-shadow: 0 0 25px rgba(212,212,212,0.7),
    0 0 25px rgba(212,212,212,0.7),
    0 0 25px rgba(212,212,212,0.7);
}

#bigPanelTwoTextFirst {
  font-size: 2.32vw;
}

#bigPanelTwoTextSecond {
  font-size: 6.15vw; line-height: 5.8vw; padding-bottom: 0.5vw;
}

#bigPanelTwoLeaf {
  width: 2.5vw; vertical-align: middle;
}

#bigPanelTwoTextThird {
  font-size: 1.9vw;
  width: 100%; text-align: left;
}

#bigPanelTwoTextFourth {
  font-size: 1.9vw;
  width: 100%; text-align: center;
}

#bigPanelTwoTextFifth {
  font-size: 1.9vw;
  width: 100%; text-align: right;
}

#bigPanelTwoTextSixth {
  font-size: 1.72743vw; padding-top: 0.4vw;
}

/*
* Big Panel Three
*/

#bigPanelThreeContainer {
  position: absolute; top: 80px; left: 0; width: 100%; height: calc(100% - 101px);
}

#bigPanelThreeHighlightsTitle {
  position: absolute; left: 0px; top: -60px; 
  height: 40px; 
  background-color: rgba(54, 54, 54, 0.78);
  color: white; line-height: 40px;
  padding: 10px 30px; font-size: 1.33em;
}

#bigPanelThreeHighlights {
  position: absolute; left: 15%; top: calc(80px + 20%);
  width: 725px; line-height: 1.4em;
  background-color: rgba(212, 212, 212, 0.8);
  padding: 20px 30px; font-size: 1.25em;
}

/*
#bigPanelThreeLeftContainer {
  position: absolute; left: 20px; top: 0; width: 150px; height: 100%;
  background-color: hsla(330, 20%, 20%, 0.8); overflow: hidden;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

#bigPanelThreeRightContainer {
  position: absolute; left: 190px; width: calc(100% - 210px); height: 100%;
   border: none;
}*/

/*
* Big Panel Four
*/

#bigPanelFourContainer {
  display: none;
  
  position: absolute; top: 80px; left: 0; width: 100%; height: calc(100% - 101px);
}

/*
#bigPanelFourSkillsContainer {
  position: absolute; left: 10%; top: 40px; font-size: 2.2em;
}

#bigPanelFourExperienceContainer {
  position: absolute; right: 10%; top: 40px; font-size: 2.2em; text-align: right;
}

#bigPanelFourCenterContainer {
  position: absolute; right: 0px; left: 0; margin: auto; top: 40px; font-size: 2.2em; text-align: center;
}

#bigPanelFourTextBG {
  background-color: rgba(200, 200, 200, 0.7); width: 100%; height: 50%; top: 25%; 
  position: absolute;
}
  
.bigPanelFourList {
  list-style: none; padding: 0; font-size: 0.55em;
}
*/

#bigPanelFourLeftContainer {
  position: absolute; left: 20px; top: 0; width: 150px; height: 100%;
  background-color: hsla(330, 20%, 20%, 0.85); overflow: hidden;
  border-left: 1px solid black;
  border-right: 1px solid black;
}

#bigPanelFourRightContainer {
  position: absolute; left: 170px; right: 0; margin: auto;
  max-width: 860px; height: 100%;
  padding: 10px 20px 0 20px;
  border: none;
}

#bigPanelFourTitle {
  background-color: rgba(54, 54, 54, 0.78); 
  height: 40px; position: absolute;
  color: white; line-height: 40px;
  padding: 10px 30px; font-size: 1.6625em;
  max-width: calc(100% - 120px);
}

#bigPanelFourBodyWrapper {
  max-width: 100%; background-color: rgba(212, 212, 212, 0.8);
  margin-top: 60px; padding: 10px 30px 10px 30px;
  max-height: calc(100% - 100px); overflow-y: auto;
}

#bigPanelFourLink {
  margin-bottom: 15px; margin-top: 15px;
}

#bigPanelFourLink a, #bigPanelFourLink a:hover, #bigPanelFourLink a:visited, #bigPanelFourLink a:active {
  text-decoration: none; border-bottom: 1px rgb(10,80,80) dashed; color:rgb(10, 80, 80);
}

#bigPanelFourContent {
  margin-top: 0px;
}

#bigPanelFourContent p {
  margin-top: 5px; margin-bottom: 5px;
}

#bigThumbOne {
  display: block; width: 300px; text-align: center; float: left;
  background-color: rgba(0, 0, 0, 0.3); overflow: hidden;
  margin-right: 10px; position: relative; height: 125px;
}

#bigThumbTwo {
  display: block; width: 300px; text-align: center; float: left;
  background-color: rgba(0, 0, 0, 0.3); overflow: hidden; position: relative;
  height: 125px;
}

#bigPanelFourThumb1:hover {
  transition: all 0.5s ease;
}

#bigPanelFourThumb1:hover {
  transform:scale(1.25);
}

#bigPanelFourThumb2:hover {
  transition: all 0.5s ease;
}

#bigPanelFourThumb2:hover {
  transform:scale(1.25);
}

#bigPanelFourImgLink1 {
  width: 0; height: 0;
}

/*
* Big Panel Five
*/

#bigPanelFiveContainer {
  position: absolute; top: 80px; left: 0; width: 100%; height: calc(100% - 101px);
}

#bigPanelFiveContacts {
  position: absolute; left: 18%; height: 425px; top: 0; bottom: 0; margin: auto;
}

#EmailIcon {
  width: 73px; height: 73px; border-radius: 73px; background-color: tan; text-align: center;
}

#GitHubIcon {
  width: 73px; height: 73px; border-radius: 73px; background-color: rebeccapurple; text-align: center;
}

#TwitterIcon {
  width: 73px; height: 73px; border-radius: 73px; background-color: deepskyblue; text-align: center;
}

#FacebookIcon {
  width: 73px; height: 73px; border-radius: 73px; background-color: royalblue; text-align: center;
}

/*
* Small classes
*/

.smallMenuItem {
  color: white; border: 1px white solid; border-radius: 5px;
  padding: 5px; margin: 20px 0 20px 0; text-align: center;
  cursor: pointer;
}

.smallLogoImage {
  width: 155px; height: auto; left: 0; right: 0; 
  position: absolute; margin: auto; top: 5px;
}

/*
* Small elements
*/

#smallBacksplash {
  display: none;
}

#smallHeader {
  display: none;
  position: fixed; right: 30px; top: 5px; line-height: 80px;
  color: white; text-shadow: 2px 2px 2px black; cursor: pointer;
}

#smallMenu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; width: 280px; height: 340px; margin: auto;
  background: #000; border-color: #ccc; border-radius: 5px;
}

#smallMenuClose {
  position: absolute; top: 0; right: 5px; color: white; 
  font-size: 20px; padding: 5px; cursor: pointer;
}

#smallAnimControl {
  color: white; line-height: 20px; top: 10px; position: absolute; left: 15px;
  font-size: 1.2em; cursor: pointer;
}

#smallMenuButtonContainer {
  position: absolute; left: 0; right: 0; top: 40px; bottom: 0; margin: auto;
  width: calc(100% - 30px); height: calc(100% - 40px);
}

/*
* Panel One - Small
*/

#smallPanelOneContainer {
  display: none;
  width: 100%;
}

#smallPanelOnePhoto {
  cursor: pointer; height: 190px; width: 220px; background-color: rgba(255,255,255, 0.1);
  border: 1px solid black; position: absolute; left: 0; right: 0; margin: auto;
}

#smallPanelOneAbout {
  width: 100%; color: white; position: absolute; text-align: center;
  top: 162px; text-shadow: 2px 2px 2px black;
}

#smallPanelOneProjects {
  cursor: pointer; width: 200px; position: absolute; left: 0; right: 0;
  margin: auto; top: 192px; padding: 10px; text-align: center;
  color: white; text-shadow: 2px 2px 2px black; border: 1px solid black;
  border-top-style: none; background: rgba(0,0,0,0.2);
}

/*
* Panel Three - Small
*/

#smallPanelThreeContainer {
  position: absolute; width: 250px; height: 50px; 
  left: 0; right: 0; top: 0; bottom: 0; margin: auto;
  text-align: center; background: rgba(54,54,54,0.78);
  border-radius: 25px; line-height: 50px; cursor: pointer;
  display: none; color: white;
}

/*
* Panel Four - Small
*/

#smallPanelFourContainer {
  width: 300px; height: 300px; top: 80px; bottom: 20px; left: 0; right: 0;
  margin: auto; position: absolute;
  background-color: rgba(61, 40, 50, 0.85);
}

#smallPanelFourItem1 {
  width: 290px; height: 90px; margin: 5px; box-sizing: border-box;
  border: 1px solid white; border-radius: 2px; color: white;
  position: absolute; display: table; cursor: pointer;
}

#smallPanelFourItem2 {
  width: 290px; height: 90px; margin: 5px; box-sizing: border-box;
  border: 1px solid white; border-radius: 2px; color: white;
  position: absolute; top: 100px; display: table; cursor: pointer;
}

#smallPanelFourItem3 {
  width: 290px; height: 90px; margin: 5px; box-sizing: border-box;
  border: 1px solid white; border-radius: 2px; color: white;
  position: absolute; top: 200px; display: table; cursor: pointer;
}

.smallPanelFourIcon {
  line-height: 90px; width: 90px; height: 90px; position: absolute;
  text-align: center; font-size: 3em;
}

.smallPanelFourText {
  width: 170px; right: 0; left: 90px; padding-right: 20px;
  text-align: center; line-height: 1.25em;
  display: table-cell; vertical-align: middle;
}

#smallPanelFourItem1:hover {
  background-color: hsla(210,90%,10%,0.6); 
  /*border: 1px solid hsla(210,90%,30%, 0.8);*/
}

#smallPanelFourItem2:hover {
  background-color: hsla(210,90%,10%,0.6); 
  /*border: 1px solid hsla(210,90%,30%, 0.8);*/
}

#smallPanelFourItem3:hover {
  background-color: hsla(210,90%,10%,0.6); 
  /*border: 1px solid hsla(210,90%,30%, 0.8);*/
}

/*
* Pop-ups
*/

#popupSmallHighlights {
  display: none; width: calc(100% - 10px); max-width: 800px;
  height: calc(100% - 10px);
  position: fixed; left: 0; right: 0;
  top: 0; bottom: 0; margin: auto;
}

#popupHighlightsTitleBar {
  position: absolute; width: 100%; height: 40px; background-color: black;
  color: white;
}

#popupHighlightsTitle {
  font-size: 1.2em; position: absolute; left: 12px; line-height: 40px;
}

#popupHighlightsClose {
  font-size: 1.3em; position: absolute; right: 12px; line-height: 40px;
  cursor: pointer;
}

#popupHighlightsContainer {
  position: absolute; width: 100%; height: calc(100% - 40px); 
  background-color: rgb(232,232,232); top: 40px; overflow-y: auto; 
  box-sizing: border-box; padding: 2px 12px; font-size: 1.1em;
  /*text-align: justify;*/
}

#popupHighlightsContainer p {
  margin: 0.25em;
}

#popupSmallProjects {
  display: none; width: calc(100% - 10px); max-width: 800px;
  position: fixed; height: calc(100% - 10px); top: 0; bottom: 0;
  left: 0; right: 0; margin: auto;
}

#popupProjectsTitleBar {
  position: absolute; width: 100%; height: 40px; background-color: black;
  color: white;
}

#popupProjectsTitle {
  font-size: 1.2em; position: absolute; left: 12px; line-height: 40px;
  width: calc(100% - 40px); text-overflow: ellipsis;
}

#popupProjectsClose {
  font-size: 1.3em; position: absolute; right: 12px; line-height: 40px;
  cursor: pointer;
}

#popupProjectsContainer {
  width: 100%; height: calc(100% - 40px); bottom: 0; left: 0; position: absolute;
  box-sizing: border-box; padding: 5px; background-color: rgb(232,232,232);
  overflow: auto;
}

/*
* Media Queries
*/

/*
* Big Scale Down
*/

@media (max-height: 725px), (max-width: 910px) {
  #PanelOneContainer {
    width: 501px; height: 270px;
  }
  
  #bigPanelOnePhoto {
    width: 250px; height: 270px;
  }
  
  #bigPanelOneProjectsLogo {
    width: 250px; height: 270px;
  }
  
  .bigLogoImage {
    height: 210px;
  }
  
  #bigPanelOneAbout {
    width: 250px; bottom: 10px;
  }
  
  #bigPanelOneProjects {
    width: 250px; bottom: 10px;
  }
  
  #bigPanelThreeHighlights {
    top: calc(80px + 15%);
  }
}

@media (max-height: 650px) {
  #bigPanelThreeHighlights {
    top: calc(80px + 6%);
  }
}

@media (max-height: 600px) {
  #bigPanelThreeHighlights {
    top: calc(80px + 2%);
  }
}

@media (max-width: 1280px) {
  #bigPanelThreeHighlights {
    left: 5%;
  }
}

/*
* TODO: Mobile
*/

@media (max-width: 900px) {
  #bigHeader {
    display: none;
  }
  #smallHeader {
    display: inline;
  }
}

@media (max-width: 470px) {
  #HeaderName {
    font-size: 2.5em;
  }
  
  #smallHeader {
    font-size: 0.9em;
  }
}

@media (max-width: 390px) {
  #HeaderName {
    font-size: 1.9em;
  }
  
  #smallHeader {
    font-size: 0.8em;
  }
}

@media (max-height: 590px), (max-width: 590px) {
  #bigPanelOneContainer, #cPanelOneContainerBG {
    display: none;
  }
  
  #PanelOneContainer {
    height: calc(100% - 160px); width: 100%;
  }
  
  #smallPanelOneContainer {
    display: inline;
  }
}

@media (max-width: 1400px) {
  #gPanelTwoBackground, #gPanelTwoBackgroundHue {
    background-position: 25% center;
  }
  
  #bigPanelTwoTextContainer {
    right: 8%;
  }
  
  #bigPanelTwoTextFirst {
    font-size: 3.094vw;
  }

  #bigPanelTwoTextSecond {
    font-size: 8.204vw; line-height: 5.8vw; padding-bottom: 0.5vw;
  }

  #bigPanelTwoLeaf {
    width: 3.333vw; vertical-align: middle;
  }

  #bigPanelTwoTextThird {
    font-size: 2.535vw;
    width: 100%; text-align: left;
  }

  #bigPanelTwoTextFourth {
    font-size: 2.535vw;
    width: 100%; text-align: center;
  }

  #bigPanelTwoTextFifth {
    font-size: 2.535vw;
    width: 100%; text-align: right;
  }

  #bigPanelTwoTextSixth {
    font-size: 2.3vw; padding-top: 0.4vw;
  }
}

@media (orientation: portrait) and (min-width: 671px) {
  #gPanelTwoBackground, #gPanelTwoBackgroundHue {
    background-position: 44% center;    
  }  
  #bigPanelTwoTextContainer {
    right: 3%;
  }
  #bigPanelTwoTextFirst {
    font-size: 4.63vw;
  }

  #bigPanelTwoTextSecond {
    font-size: 12.3vw; line-height: 5.8vw; margin-top: 3%; margin-bottom: 3%;
  }

  #bigPanelTwoLeaf {
    width: 5vw; vertical-align: middle;
  }

  #bigPanelTwoTextThird {
    font-size: 3.8vw;
    width: 100%; text-align: left;
  }

  #bigPanelTwoTextFourth {
    font-size: 3.8vw;
    width: 100%; text-align: center;
  }

  #bigPanelTwoTextFifth {
    font-size: 3.8vw;
    width: 100%; text-align: right;
  }

  #bigPanelTwoTextSixth {
    font-size: 3.45vw; padding-top: 0.4vw;
  }
}

@media (orientation: portrait) and (max-width: 670px) {
  #gPanelTwoBackground, #gPanelTwoBackgroundHue {
    background-position: 25% center;    
  }
  
  #bigPanelTwoTextContainer {
    width: 80vw; left: 0; right: 0; margin: auto;
  }
  
  #bigPanelTwoTextFirst {
    font-size: 6.85vw;
  }

  #bigPanelTwoTextSecond {
    font-size: 18.15vw; line-height: 5.8vw; padding-top: 4vw;
  }

  #bigPanelTwoLeaf {
    width: 7vw; vertical-align: middle;
  }

  #bigPanelTwoTextThird {
    font-size: 4.9vw;
    width: 100%; text-align: left; padding-top: 3vw;
  }

  #bigPanelTwoTextFourth {
    font-size: 4.9vw;
    width: 100%; text-align: center; padding-top: 1vw;
  }

  #bigPanelTwoTextFifth {
    font-size: 4.9vw;
    width: 100%; text-align: right; padding-top: 1vw;
  }

  #bigPanelTwoTextSixth {
    font-size: 5.1vw; padding-top: 0.4vw;
  }
}

/*
* Highlights Panel
*/

@media (max-height: 514px), (max-width: 874px) {
  #bigPanelThreeContainer {
    display: none;
  }
  
  #smallPanelThreeContainer {
    display: inline;
  }
}

/*
* Projects Panel
*/

@media (min-height: 780px) and (min-width: 796px) {
  #bigPanelFourContainer {
    display: inline;
  }
  
  #smallPanelFourContainer {
    display: none;
  }
}

@media (min-height: 629px) and (min-width: 1077px) {
  #bigPanelFourContainer {
    display: inline;
  }
  
  #smallPanelFourContainer {
    display: none;
  }
}

@media (min-height: 715px) and (min-width: 900px) {
  #bigPanelFourContainer {
    display: inline;
  }
  
  #smallPanelFourContainer {
    display: none;
  }
}

/*
@media (max-height: 629px) and (max-width: 1077px) {
  #bigPanelFourContainer {
    display: none;
  }
}

@media (max-height: 780px) and (max-width: 776px) {
  #bigPanelFourContainer {
    display: none;
  }
}*/

/*
* Contact Panel
*/

@media (max-height: 633px), (max-width: 1106px) {
  #bigPanelFiveContacts {
    height: 400px;
  }
  
  .bigContactItem {
    height: 60px;
  }
  
  .ContactInfo {
    line-height: 60px; font-size: 1.3em;
  }
  
  .iEmail {
    line-height: 60px;
  }
  
  .iGithub {
    line-height: 60px;
  }
  
  .iTwitter {
    line-height: 60px;
  }
  
  .iFacebook {
    line-height: 60px;
  }
  
  #EmailIcon {
    width: 60px; height: 60px;
  }
  
  #GitHubIcon {
    width: 60px; height: 60px;
  }
  
  #TwitterIcon {
    width: 60px; height: 60px;
  }
  
  #FacebookIcon {
    width: 60px; height: 60px;
  }
}

/* Adjust left-and-right only for width */
@media (max-width: 1106px) {
  #bigPanelFiveContacts {
    left: 10%; 
  }
}

@media (max-height: 515px), (max-width: 874px) {
  #bigPanelFiveContacts {
    height: 300px;
  }
  
  .bigContactItem {
    height: 40px; width: 310px;
  }
  
  .ContactInfo {
    line-height: 40px; font-size: 1.3em; left: 50px;
  }
  
  .iEmail {
    line-height: 40px; font-size: 1.5em;
  }
  
  .iGithub {
    line-height: 40px; font-size: 1.5em;
  }
  
  .iTwitter {
    line-height: 40px; font-size: 1.5em;
  }
  
  .iFacebook {
    line-height: 40px; font-size: 1.5em;
  }
  
  #EmailIcon {
    width: 40px; height: 40px;
  }
  
  #GitHubIcon {
    width: 40px; height: 40px;
  }
  
  #TwitterIcon {
    width: 40px; height: 40px;
  }
  
  #FacebookIcon {
    width: 40px; height: 40px;
  }
}

@media (max-width: 874px) {
  #bigPanelFiveContacts {
    left: 2%; 
  }
}

@media (max-width: 367px) {
  #bigPanelFiveContacts {
    left: 0; bottom: 20px;
  }
  
  .bigContactItem {
    height: 40px; width: 290px; margin: 25px 13px;
  }
  
  .ContactInfo {
    line-height: 40px; font-size: 1.25em; left: 50px;
  }
  
  .iEmail {
    line-height: 40px; font-size: 1.5em;
  }
  
  .iGithub {
    line-height: 40px; font-size: 1.5em;
  }
  
  .iTwitter {
    line-height: 40px; font-size: 1.5em;
  }
  
  .iFacebook {
    line-height: 40px; font-size: 1.5em;
  }
  
  #EmailIcon {
    width: 40px; height: 40px;
  }
  
  #GitHubIcon {
    width: 40px; height: 40px;
  }
  
  #TwitterIcon {
    width: 40px; height: 40px;
  }
  
  #FacebookIcon {
    width: 40px; height: 40px;
  }
}

@media (max-width: 490px) {
  #smallPanelFourThumb1 {
    width: 200px;
  }
  
  #smallPanelFourThumb2 {
    width: 200px;
  }
}

@media (max-width: 420px) {
  #smallPanelFourThumb1 {
    width: 125px;
  }
  
  #smallPanelFourThumb2 {
    width: 125px;
  }
}