
/* header paralax images code*/
@keyframes background-scroll {
  0%   {left:0vw;}
  100% {left: calc(100vw - 100vh * (3944/1025));}
  /* view width minus view height (same as image height)
  times ratio of width to height of image */
}
@keyframes foreground-scroll-left {
  0%   {left: 0; bottom:-80vh;}
  7.5%  {left: calc(-0.15 * (100vh * (8918/2471))); bottom: -20vh;}
  25%  {left: calc(-0.50 * (100vh * (8918/2471))) bottom: -10vh;}
  45%  {left: calc(-0.90 * (100vh * (8918/2471))); bottom: 0vh;}
  50% {left: calc(-1.00 * (100vh * (8918/2471))); bottom: 0vh;} /* width is 3.6x height */
  100% {left: calc(-1.00 * (100vh * (8918/2471))); bottom: 0vh;} /* width is 3.6x height */
}
@keyframes foreground-scroll-right {
  0%   {right: 0; bottom:-80vh;}
  50%   {right: 0; bottom:-80vh;}
  57.5%  {right: calc(-0.15 * (100vh * (8918/2471))); bottom: -20vh;}
  75%  {right: calc(-0.50 * (100vh * (8918/2471))) bottom: -10vh;}
  95%  {right: calc(-0.90 * (100vh * (8918/2471))); bottom: 0vh;}
  100% {right: calc(-1.00 * (100vh * (8918/2471))); bottom: 0vh;}
}
.hero-image {
  background-size: cover;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
#bg{
  z-index: 1;
  position: absolute;
  overflow:hidden;
  animation: background-scroll 70s alternate infinite;
  height: 100vh;
  top:0;
}
#fg-left {
  bottom: 0;
  z-index: 2;
  position: absolute;
  overflow:hidden;
  animation: foreground-scroll-left 40s linear infinite;
  height: 100vh;
}
#fg-right {
  bottom: 0;
  z-index: 2;
  position: absolute;
  overflow:hidden;
  animation: foreground-scroll-right 40s linear infinite;
  height: 100vh;
}




.hero-text {
  z-index: 3;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -180%);
  color: #565656;
  font-size: 180%;
}

.scroll-down-text {
  z-index: 3;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 70%);
  color: #565656;
  animation: fade-in 7s linear;
}
#down-triangle {
  animation: little-bounce 1s linear infinite;
  animation-direction: alternate;
  animation-delay: 6s;
}
@keyframes fade-in {
    0%   {opacity: 0;}
    90%  {opacity: 0;}
    100% {opacity: 1;}
}
@keyframes little-bounce {
    0%   {transform: translate(0%, -50%);}
    100% {transform: translate(0%, -30%);}
}

/* Content code */


.examplePictures {
  width: 50vw;
  max-width: 300px;
  border-radius: 10px;
}
.examplePictures:hover {
  box-shadow: 0px 0px 15px 3px rgba(58,32,49,0.9);
}
.examplePictures-other {
  max-width: 200px;
  border-radius: 10px;
}
.examplePictures-other:hover {
  box-shadow: 0px 0px 15px 3px rgba(58,32,49,0.9);
}

.wrapper {
  display: flex;
  width: 90%;
  max-width: 800px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  flex-grow: 1;
}
.other-projects-wrapper {
  overflow-x: scroll;
  justify-content: center;
  /* border-style: ridge; */
  display: flex;
  width: 90%;
  flex-direction: row;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  .other-projects-wrapper {
    justify-content: left;
  }
}
.other-project {
  padding: 10px;
}
.project {
  flex-grow: 1;
  padding: 5px;
}
.proj-des-p {
  font-size: 100%;
  color:#565656;
  padding: 5px;
}

.examplePicturesDiv {
  position: relative;
  width: 50vw;
  max-width: 300px;
  border-radius: 10px;
  margin: 0 auto;
}
.bottom-notes {
  opacity: 0;
  position: absolute;
  bottom: 0;
  background-color: rgba(0,0,0,.5);
  color: white;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  z-index: 1;
  transform: translateY(-4px);
  width: 50vw;
  max-width: 300px;
  margin: 0 auto;
}
.examplePicturesDiv:hover .bottom-notes {
  opacity: 1;
  transition: 1s ease;
}

.hyplnk {
  color: #565656;
  text-decoration: none;
  margin-bottom: 100px;
}
.link-text {
  margin: 5px;
}
