/* PARALLAX */
#home-container {
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 2px;
}

.home-section {
  position: absolute;
  height: 100vh;
  width: 100vw;
  transform-style: preserve-3d;
}

#home-background {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateZ(-8px) scale(5);
  background-size: 100%, 100vh;
  z-index: -1;

  background-size: cover;
  background-position: 50%, 60px;
}

@media only screen and (max-width: 500px) {
  #home-background {
    transform: translateZ(0px) scale(1);
  }
}

#home-foreground {
  top: 60px;
}

#home-first-block {
  /* height: calc(100vh - 110px - 60px); /* screen height - portfolio button height - header height */
  /* animation-name:pulse;
  animation-duration:2s;
  -webkit-animation-name:pulse;
  -webkit-animation-duration:2s; */
  height: calc(100vh - 80px);
  /* screen height - header height */
  width: 100vw;
}

#home-second-block {
  background-color: white;
}




/* HOME CONTENT */
.line0 {
  margin-top: 2vh;
  height: 10vh;
}

.home-logo {
  /* height: 45%; */
  height: 40vh;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.home-logo-text {
  /* height: 14%; */
  height: 12vh;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  /* margin-top: 40px; */
  margin-top: 4vh;
  box-shadow: 25px;
}

#portfolio-button {
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: 6.2vh;
  width: 23vh;
  margin-top: 12vh;
  background-color: rgb(54, 83, 138);
  position: relative;
  color: white;
  font-size: 2.2vh;
  font-family: 'lulo-clean-one-bold';
  transition: all 0.7s;
  box-sizing: border-box;
  /* height: 70px;
  width: 250px;    */
  /* height: 5vh;
  width: 15vw; */
  /* top: 20px; */
  /* bottom: 80px; */
  /* box-sizing: content-box; */
}

#portfolio-button::after {
  content: '';
  position: absolute;
  width: inherit;
  height: inherit;
  top: 0;
  left: 0;
  transition: 0.4s;
}

#portfolio-button::after {
  background-color: goldenrod;
  /* transform: translate(12px, 12px); */
  transform: translate(1vh, 1vh);
  z-index: -2;
}

#portfolio-button:hover,
#portfolio-button:active {
  color: rgb(54, 83, 138);
  background-color: white;
}

#portfolio-button:hover::after,
#portfolio-button:active::after {
  /* transform: translate(-10px,-10px); */
  transform: translate(-.9vh, -.9vh);
  background-color: rgb(197, 167, 90);
}




/*HOME SECOND BLOCK*/
.line1 {
  height: 16rem;
  margin-top: -11rem;
  margin-bottom: 3rem;
  transform: translate(0%, 13rem);
  position: relative;
}

/* PROFESSIONS */
.professions {
  display: flex;
  flex-wrap: wrap;
  /* padding: 4px; */
  position: relative;
  margin-left: auto;
  margin-right: auto;
  background: #242424;
  width: 100%;
}

.professions-column {
  flex: 33.33333333%;
  max-width: 30%;
  border: 0px solid black;
  margin-left: auto;
  margin-right: auto;
}

.professions-background-overlay {
  padding-top: 20px;
  padding-bottom: 20px;
}

.professions-title {
  text-align: center;
  color: white;
  margin-bottom: 10px;
  font-family: 'din-neuzeit-grotesk';
  font-size: 2em;
}

.professions-desc {
  text-align: center;
  color: #aaaaaa;
  font-size: 1.1em;
  margin-left: auto;
  margin-right: auto;
  width: 20em;
  margin-bottom: 25px;
  font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  line-height: 1.5em;
  letter-spacing: 1px;
}

.professions-images {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  transform: translate(0%, 0%);
  width: 100%;
}

.professions-images img:not(.no-download-overlay) {
  flex: 33.33333333%;
  max-width: 33.333333333%;
  border: 0px solid black;
  margin: 0;
  -o-object-fit: cover;
     object-fit: cover;
  height: 35rem;
}

.professions-images img.no-download-overlay {
  height: 100%;
  border: 0px solid red;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.line2 {
  height: 12em;
  transform: translate(0%, -5em);
}

/* HOME GALLERY */
.home-gallery-head {
  position: relative;
}

.home-gallery-head img:not(.no-download-overlay) {
  -o-object-fit: cover;
     object-fit: cover;
  height: 34rem;
  width: 100%;
  -o-object-position: 50% 100%;
     object-position: 50% 100%;
}

.home-gallery-head img.no-download-overlay {
  height: 100%;
  border: none;
  width: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

.home-gallery-head .gallery-title {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translate(-50%, 0);
  font-family: 'din-neuzeit-grotesk';
  color: #484848;
  font-size: 6em;
  text-align: center;
  font-family: 'din-neuzeit-grotesk';
  white-space: nowrap;
}

.home-gallery-head .gallery-button {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, 0);
  font-family: 'din-neuzeit-grotesk';
  z-index: 3;
}

.home-contact-background {
  width: 100%;
  margin-top: 40px;
}

.about-button {
  position: absolute;
  font-size: 3em;
  font-family: 'Open Sans Condensed', sans-serif;
  color: #C99A22;
  background-color: #FFF7DB;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  padding-left: 0.6em;
  padding-right: 0.6em;
  transition: 0.4s;
}

.about-button:hover {
  background-color: steelblue;
  color: white;
}

.home-contact-button {
  left: 50%;
  /* top: 50%; */
  transform: translate(-50%, -00%);
  position: relative;
  margin-top: 40px;
  margin-bottom: 40px;
}

@media only screen and (max-width: 1200px) {
  #professions-column-1 {
    background-image: url(/img/home/section-a.jpg);
    background-position: 50% 60%;
    background-size: cover;
  }

  #professions-column-2 {
    background-image: url(/img/home/section-b.jpg);
    /* background-position: 50% 40%; */
    background-position: 50% 20%;
    background-size: cover;
  }

  #professions-column-3 {
    background-image: url(/img/home/section-c.jpg);
    background-position: 50% 60%;
    background-size: cover;
  }

  .professions-column {
    flex: 100%;
    max-width: 100%;
  }

  .professions-background-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .professions-desc {
    color: #dddddd;
  }

  .professions-images {
    display: none;
  }

  .line2 {
    transform: translateY(0%);
    height: 6em;
  }

  .home-gallery-head img:not(.no-download-overlay) {
    height: 25em;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50% 100%;
       object-position: 50% 100%;
  }

  .home-gallery-head .gallery-title {
    top: 10%;
  }

  .home-gallery-head .gallery-button {
    top: 40%;
  }
}

@media only screen and (max-width: 800px) {
  .home-gallery-head img:not(.no-download-overlay) {
    height: 20rem;
  }

  .home-gallery-head .gallery-title {
    font-size: 5em;
  }

  .home-gallery-head .gallery-button {
    bottom: 20%;
  }
}

@media only screen and (max-width: 550px) {
  #portfolio-button {
    bottom: 40px;
    height: 50px;
    width: 180px;
    font-size: 18px;
    background-image: linear-gradient(to bottom right, rgb(54, 83, 138) 30%, goldenrod 100%);
  }

  #portfolio-button::after {
    display: none;
  }

}

@media only screen and (max-width: 400px) {

  /* HOME */
  #home-background {
    background-position: 50%, 80px;
  }

  /* #portfolio-button {
    border-top: 5px solid goldenrod;
    border-bottom: 5px solid goldenrod;
    border: 3px solid goldenrod;
    background-image: linear-gradient(to bottom right, rgb(54, 83, 138) 30%, goldenrod 100% );
  } */
  #portfolio-button::after {
    display: none;
  }

  .professions-title {
    font-size: 1.8em;
  }

  .professions-desc {
    font-size: 1em;
    line-height: 1.5em;
    letter-spacing: 1px;
  }
}