/* Eddy Huang CSE 154 AI Spring 2018 */

#hero-svg-full {
  margin-left: 15%;
  height: 800px;
  width: auto;
  margin-top: 140px;
  z-index: 0;
}

#hero-text-full {
  will-change: transform;
  position: absolute;
  width: 500px;
  opacity: 0;
  top: 700px;
  z-index: 2;
}

.inGrid, .in-grid-hero {
  overflow: hidden;
}

.in-grid-hero {
  height: 1200px;
}



div.header #logo {
  width: auto;
  height: 70px;
}

.link {
  text-transform: uppercase;
  font-size: 30px;
  float: right;
  margin-left: 54px;
  margin-top: 3px;
  margin-bottom: 3px;
  color: #22252A;
}

.flex-box, .hobby-section {
  display: flex;
  flex-wrap: wrap;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hobby {
  flex-basis: 40%;
}

.hobby-section > .text {
  flex-basis: 40%;
  display: flex;
  align-items: center;
}

.hobby img {
  position: absolute;
  z-index: 2;
}

#guitar-img {
  margin-top: 15px;
  margin-left: 72px;
  width: 300px;
}

.hobby-hover #guitar-img {
  transform: scale(1.2);
}

#photography-img {
  margin-top: 122px;
  margin-left: 104px;
  width: 230px;
}

.hobby-hover #photography-img {
  transform: scale(1.2);
  margin-top: 92px;
}

/* Animation */
.hobby .background, .hobby .background > p, .hobby img, a, .hobby-hover, #guitar-background, #photography-background, #photography-img, #guitar-img {
  transition: all .3s cubic-bezier(0.47, 0.01, 0.45, 0.97);
  -webkit-transition: all .3s cubic-bezier(0.47, 0.01, 0.45, 0.97);
}

/* Slower Animation */
#hero-svg-full, #hero-text-full {
  transition: all 1s cubic-bezier(0.47, 0.01, 0.45, 0.97);
  -webkit-transition: all 1s cubic-bezier(0.47, 0.01, 0.45, 0.97);
}




.hobby .background {
  position: relative;
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  border-radius: 30px;
  background-color: #1abc9c;

  z-index: 1;
}

#guitar-background, #photography-background {
  width: 400px;
  height: 300px;
}

#guitar-background {
  background: linear-gradient(135deg, #3023AE, #C86DD7);
}

.hobby-hover #guitar-background, .hobby-hover #photography-background {
  transform: scale(0.88);
  top: 5%;
  left: 5%;
  filter: blur(2px);
  opacity: 0.8;
}

#photography-background {
  background: linear-gradient(135deg, #194F68, #57CA85);
}

.hobby .background > p {
  position: relative;
  top: 13%;
  left: 10%;
  font-weight: bold;
  color: #4a4a4a;
  font-size: 50px;
  color: white;
}

.hobby-section {
  justify-content: space-around;
}

h6, h5 {
  font-weight: normal;
}

h6 {
  color: #333;
  margin-bottom: 0;
}

h5 {
  font-size: 0.95em !important;
  color: #E83E8B;
  border: 1px;
  display: inline;
  border-style: solid;
  border-radius: 5px;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 8px;
  border-color: #E83E8B;
}


.navbar {
  padding: 2rem 6rem !important;
}

div.header {
  padding: 50px 96px 50px 96px;

}

a {
  font-weight: bold;
  color: #4a4a4a;
  text-decoration: none !important;
}

a.portfolio:hover {
  opacity: .8;
  transform: scale(1.2);
}

a.portfolio, a.HCDE-portfolio, a.design-portfolio {
  margin: 32px;
  border-radius: 10px;
  display: inline-block;
}

a.portfolio {
  padding: 16px 16px 16px 16px;
  background-color: #DDD;
}

a.HCDE-portfolio, a.design-portfolio {
  padding: 50px 16px 50px 16px;
  background-size: cover;
}

a.HCDE-portfolio {
  background-image: url("../Images/sunset.svg");
}

a.design-portfolio {
  background-image: url("../Images/noon.svg");
}

a:visited {
  color: #22252A !important;
}

a:active {
  color: #9b9b9b !important;
}

.mountain-background {
  background-image: url("../Documents/mountain.svg");
  background-repeat: no-repeat;
  background-size: cover;
}
/* Mountain:
https://pixabay.com/en/desolate-landscape-mountains-1300152/ */

.earth-background {
  background-image: url("../Documents/earth.svg");
  background-repeat: no-repeat;
  background-size: cover;
}
/* Earth: https://pixabay.com/en/cartography-continents-earth-3244166/ */

a:hover {
  color: #555 !important;
}
/* Removing hyperlink styles: https://www.w3schools.com/css/css_link.asp */

h1, h2, h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 50px;
  text-transform: none;
  margin-bottom: 16px;
  margin-top: 16px;
}

div.darken {
  background-color: #F6F6F6;
}



.inGridHero #hero-svg, .inGridHero #hero-with-radius {
  width: 100%;
  height: auto;
  float: right;
  margin-bottom: 128px;
}

.inGridHero #hero-svg {
  padding-top: 64px;
}

.inGridHero #hero-with-radius {
  border-radius: 10px;
  box-shadow: 0px 24px 30px rgba(0, 0, 0, 0.5);
}
/* Creating Drop Shadow
https://stackoverflow.com/questions/24054146/creating-rounded-corner-div-which-has-a-box-shadow-also */

.card {
  border: none !important;
  background: none;
}

.increasePaddingTop {
  padding-top: 23px;
}

.increasePadding {
  padding-bottom: 23px;
  padding-top: 23px;
}

.increasePaddingBottom {
  padding-bottom: 23px;
}

.increaseMarginTop {
  margin-top: 64px;
}

.increase-margin-top-2x {
  margin-top: 128px;
}

.increaseMargin, blockquote {
  margin-top: 64px;
  margin-bottom: 64px;
}

.increaseMarginBottom {
  margin-bottom: 64px;
}

.increaseMarginBottom2x {
  margin-bottom: 128px;
}

.increaseMarginRight {
  margin-right: 64px;
}

#footer {
  text-align: center;
}

h2{
  font-size: 40px;
}

h3 {
  font-size: 30px;
}

a, p, li, h6, h5 {
  letter-spacing: 0.2px;
  line-height: 31px;
}

div.inGrid {
  padding-left: 96px;
  padding-right: 96px;
  padding-top: 128px;
  padding-bottom: 128px;
}

div.inGridTop {
  padding-left: 96px;
  padding-right: 96px;
  padding-bottom: 128px;
}

div.inGridHero {
  padding-left: 96px;
  padding-right: 96px;
}

body {
  margin: 0 0 0 0 !important;
}

blockquote {
  margin-left: 10%;
  margin-right: 20%;
  color: #E83E8B;
  font-weight: 200;
  text-transform: none;
  border: none;
}

blockquote p {
  font-size: 45px;
  line-height: 55px;
}

dt {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  font-size: 30px;
  padding-bottom: 8px;
}

dd, a, p, li, h6, h5 {
  font-family: -apple-system, BlinkMacSystemFont, 'Open Sans', Roboto, Arial, sans-serif;
  font-size: 23px;
}

.rm-top-margin {
  margin-top: 0 !important;
}

.rm-top-padding {
  padding-top: 0 !important;
}

.hero-svg-full-scrolled {
  filter: blur(7px)!important;
  transform: scale(1.4)!important;
  opacity: 0.7;
}

.hero-text-full-scrolled {
  opacity: 1!important;
}

/* Using Apple SF font: https://stackoverflow.com/questions/32660748/how-to-use-apples-new-san-francisco-font-on-a-webpage */
