﻿/* Home Page ----------------------------------------------------------------------------------- */
/* Variables */
/*Z-indexes*/
/* Colors */
/*Buttons*/
/* Mixins */
.viewport-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100vw;
  height: 100vh;
}

.viewport {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: -1000;
}

.hero {
  opacity: 0;
  animation: fadeInAndZoom 2.5s ease;
  animation-fill-mode: forwards;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

@keyframes fadeInAndZoom {
  from {
    opacity: 0;
    /*transform: scale(1.05);*/
  }
  to {
    opacity: 1;
    /*transform: scale(1);*/
  }
}
.hero-1 {
  background-image: url(/img/home/bkgd-home-1-20180607.jpg);
}
@media (max-width: 550px) {
  .hero-1 .number-1-specified-image {
    width: 80%;
  }
}

.hero-2 {
  top: 0;
  left: 100%;
  background-image: url(/img/home/bkgd-home-2-2018.jpg);
}

.hero-3 {
  top: 0;
  left: 200%;
  background-image: url(/img/home/bkgd-home-3-2018.jpg);
  /*background-image: url(/img/home/bkgd-home-3.jpg);*/
}

.header {
  position: absolute;
  top: 50%;
  text-align: center;
  width: 100%;
  color: #fff;
  transform: translate(0, -66%);
}

.header h1, .fade-in:not([id^=optanon]) {
  display: none;
  /*opacity: 0;
  animation: fadeIn .5s ease-in 1;
  animation-fill-mode: forwards;
  animation-delay: 1.7s;*/
  position: absolute;
  z-index: 1;
  bottom: -7%;
  left: 50%;
  transform: translate(-50%, 0);
  display: inline-block;
  padding: 0.5rem 2rem;
  font-family: UniSansSemiBold;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: #ffffff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.header h2 {
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: fadeInAndUp 1.5s ease;
  animation-fill-mode: forwards;
  padding: 2rem 6rem;
  font-family: UniSansBold;
  font-size: 5rem;
  text-transform: uppercase;
  letter-spacing: 1.5rem;
  color: #ffffff;
}

.header h2 span {
  color: #ffd900;
}

@keyframes fadeInAndUp {
  from {
    opacity: 0;
    top: 40px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}
/* */
.animated-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

.animated-lines div {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.4);
}

.line-top-left {
  top: 0;
  right: 50%;
  width: 0;
  height: 4px;
}

.line-top-right {
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
}

.line-vertical-left {
  top: 0;
  right: 50%;
  transform: translateX(-340px);
  width: 4px;
  height: 0;
}

.line-vertical-right {
  top: 0;
  left: 50%;
  transform: translateX(330px);
  width: 4px;
  height: 0;
}

.line-bottom-left {
  top: 170px;
  left: 50%;
  transform: translateX(-340px);
  width: 0;
  height: 4px;
}

.line-bottom-right {
  top: 170px;
  right: 50%;
  transform: translateX(330px);
  width: 0;
  height: 4px;
}

.animated-lines .box-left {
  top: 140px;
  left: 50%;
  transform: translateX(-200px);
  width: 0;
  height: 55px;
  background-color: rgba(0, 0, 0, 0.4);
}

.animated-lines .box-right {
  top: 140px;
  right: 50%;
  transform: translateX(200px);
  width: 0;
  height: 55px;
  background-color: rgba(0, 0, 0, 0.4);
}

/**/
.scroll-icon {
  position: absolute;
  bottom: 12rem;
  left: 50%;
  transform: translateX(-50%);
}

/*ARROWS*/
.arrows {
  width: 60px;
  height: 72px;
  left: 50%;
  margin-left: -30px;
  bottom: 100px;
}

.arrows path {
  stroke: #fff;
  fill: transparent;
  stroke-width: 1.5px;
  animation: arrow 5s infinite;
}

@keyframes arrow {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
.arrows path.a1 {
  animation-delay: -1s;
}

.arrows path.a2 {
  animation-delay: -0.5s;
}

.arrows path.a3 {
  animation-delay: 0s;
}

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}

.icon-scroll {
  width: 40px;
  margin-left: -20px;
  top: 50%;
  margin-top: -35px;
  box-shadow: inset 0 0 0 1px #ffffff;
  border-radius: 25px;
  height: 70px;
}

.icon-scroll:before {
  content: "";
  margin-left: -5px;
  width: 0px;
  height: 0px;
  border-top: 8px solid white;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

@keyframes scroll {
  15% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    transform: translateY(46px);
  }
  100% {
    opacity: 0;
  }
}
@media only screen and (max-device-width: 768px) {
  .icon-scroll {
    height: 80px;
    border-radius: 4px;
  }

  .icon-scroll:after {
    content: "";
    display: block;
    width: 7px;
    height: 7px;
    margin: 1px auto 0 auto;
    border: 1px solid #ffffff;
    border-radius: 50%;
  }

  .icon-scroll-screen {
    position: relative;
    width: 34px;
    height: 56px;
    margin: 10px auto 0;
    border: 1px solid #ffffff;
  }

  .icon-scroll:before {
    top: 58px;
  }

  @keyframes scroll {
    0% {
      opacity: 1;
    }
    40% {
      opacity: 0;
      transform: translateY(-46px);
    }
    100% {
      opacity: 0;
    }
  }
}
.home-main-links {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translate(0, -50%);
}

.home-main-links a {
  display: block;
  width: 11rem;
  height: 11rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  vertical-align: middle;
  transition: background-color 0.25s ease;
}

.home-main-links a:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.home-main-links div {
  display: inline-block;
}

.home-main-links h4 {
  margin: 0;
  padding: 0 15px;
  padding-top: 3rem;
  line-height: 2rem;
  color: #ffffff;
  font-family: UniSansSemiBold;
  font-size: 0.9em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5rem;
}

.home-main-links .specifire h4 img {
  margin-bottom: 0.5rem;
}

.home-slider-links {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.home-slider-links a {
  display: inline-block;
  margin: 0 0.5rem;
  width: 4em;
  height: 3em;
}

.home-slider-links a span {
  display: inline-block;
  width: 4em;
  height: 0.2em;
  vertical-align: bottom;
}

.home-slider-links a:link span, .home-slider-links a:visited span {
  background-color: #ffffff;
}

.home-slider-links a:hover span, .home-slider-links a.current span {
  background-color: #ffd900;
}

.home-slider-copyright {
  position: absolute;
  right: 30px;
  bottom: 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Below the top full-viewport */
.content.home {
  z-index: 2;
  margin-top: 100vh;
  margin-bottom: 245px;
  padding-top: 5rem;
  background-color: #ffffff;
}

.content.home h3 {
  margin-top: 0;
  padding: 5% 10%;
  font-family: UniSansThin;
  color: #4d4844;
  border-top: 1px solid #4d4844;
  border-bottom: 1px solid #4d4844;
}

.content.home h3 span {
  color: #e51937;
}

.content.home p {
  color: #000000;
  line-height: 1.75rem;
  letter-spacing: 0.04rem;
}

.content.home .boxes {
  margin: 0 auto;
  max-width: 1280px;
}

.linkbox {
  box-sizing: initial !important;
}

@media only screen and (max-width: 1280px) {
  .content.home .boxes {
    max-width: 1000px;
  }
}
.content.home .margin-bottom {
  padding-bottom: 5rem;
}

.content.home .center {
  margin: 0 auto;
  text-align: center;
}

.content.home .cta:link, .content.home .cta:visited {
  padding-left: 2rem;
  padding-right: 2rem;
  color: #e51937;
  border: 2px solid #e51937;
  font-family: Lato;
  font-size: 1rem;
}

.content.home .cta:hover {
  color: #ffffff;
  background-color: #e51937;
  border-color: #e51937;
}

.content.home .grid figure figcaption,
.content.home .grid figure figcaption > a {
  height: 65%;
}

@media only screen and (max-width: 1280px) {
  .content.home .grid figure figcaption,
.content.home .grid figure figcaption > a {
    height: 55%;
  }
}
.content.home figcaption p {
  color: #222222;
}

.content.home h5 {
  display: inline-block;
  margin-top: 5rem;
  margin-bottom: 2rem;
  padding: 1.5% 3%;
  font-family: UniSansThin;
  font-size: 2rem;
  color: #4d4844;
  text-transform: uppercase;
  border-top: 1px solid #4d4844;
  border-bottom: 1px solid #4d4844;
}

.content.home h5 span {
  color: #e51937;
}

.boxes {
  display: flex;
  flex-flow: row wrap;
}

.boxes .box {
  flex: 50%;
  height: auto;
}

.boxes.margin-bottom.top-box {
  padding-top: 64px;
}

.box h3, .box h4 {
  padding: 5% 20% 0 20%;
}

.box p {
  padding-left: 15%;
  padding-right: 15%;
  line-height: 1.5;
  font-size: 0.875rem;
  color: #ffffff;
}

.dark {
  background-color: #595552;
}

.light {
  background-color: #ffffff;
}

.yellow {
  background-color: #ffd900;
}

.box h3 {
  font-family: UniSansRegular;
  font-size: 4rem;
  letter-spacing: 0.5rem;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
}

.box h3 span {
  color: #ffd900;
}

.light, .yellow {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.light p, .yellow p {
  color: #222222;
  vertical-align: middle;
}

.boxes .box-1 {
  height: 775px;
  background-image: url(/img/home/worker.jpg);
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
}

.boxes .heavy-yellow {
  color: #ffd900;
  font-weight: 900;
}

.boxes h4, .boxes h4 a:link, .boxes h4 a:visited {
  color: #fff;
  font-size: 1.75rem;
  text-decoration: none;
  text-transform: uppercase;
}

.boxes .image {
  height: 413px;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.boxes .case-studies {
  background-image: url(/img/home/case-studies.jpg);
}

.boxes .gallery {
  background-image: url(/img/home/gallery.jpg);
}

.boxes .look-book {
  background-image: url(/img/home/look-book.jpg);
}

/*----------------------------------------------------------------------*/
@media only screen and (max-width: 1400px) {
  .home-main-links {
    right: 4%;
  }
}
@media (max-width: 1175px) {
  .home-main-links {
    display: none;
  }

  .home-main-links a {
    width: 8rem;
    height: 8rem;
    margin-bottom: 2rem;
  }

  .home-main-links h4 {
    padding-top: 2rem;
    line-height: 2rem;
    font-size: 0.9em;
  }

  .home-main-links .specifire h4 {
    padding-top: 1rem;
    line-height: 1.5rem;
  }
}
@media (max-width: 1000px) {
  /*.home-main-links {
  	position: absolute;
  	top: 4%;
  	right: 4%;
  	transform: none;
  }

  .home-main-links a {
  	display: inline-block;
  	width: 6rem;
  	height: 6rem;
  	margin: 0 0 0 1.5rem;
  }

  .home-main-links h4 {
  	padding-top: 1.5rem;
  	line-height: 1.5rem;
  	font-size: .8em;
  }

  .home-main-links .specifire h4 {
  	padding-top: 1rem;
  	line-height: 1.25rem;
  }

  .home-main-links img {
  	height: 20px;
  }

  .home-main-links .specifire h4 img {
  	margin-bottom: .1rem;
  }*/
}
@media (max-width: 820px) {
  .header h1 {
    font-size: 1.1rem;
  }
}
@media (max-width: 760px) {
  .header h1 {
    font-size: 0.9rem;
  }
}
@media (max-width: 750px) {
  .linkbox {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    height: 300px !important;
  }

  .top-box {
    display: block;
  }

  .animated-lines {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .header h1 {
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .header h2 {
    padding: 1rem 3rem;
    padding-left: 3.8rem;
    font-size: 4rem;
  }

  .animated-lines {
    display: none;
  }
}
@media (max-width: 500px) {
  .home-main-links {
    top: 120px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
  }

  .home-main-links a {
    display: inline-block;
    width: auto;
    max-width: 6rem;
    height: 3rem;
    margin: 0 0 0 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .home-main-links h4 {
    line-height: 1rem;
    padding-top: 0.1rem;
    font-size: 0.8em;
  }

  .home-main-links .specifire h4 {
    margin-top: -1rem;
    padding-top: 0;
    line-height: 1.25rem;
  }

  .home-main-links img {
    display: none;
  }

  .header h1 {
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .header h2 {
    padding: 1.5rem 1rem;
    padding-left: 1.75rem;
    font-size: 3rem;
    letter-spacing: 1rem;
  }

  .animated-lines {
    display: none;
  }

  .home-slider-links {
    width: 100%;
  }

  .box h4 {
    padding-left: 5%;
    padding-right: 5%;
  }
}
@media (max-width: 400px) {
  .home-main-links a {
    max-width: 5rem;
    height: 3rem;
    margin: 0 0 0 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .home-main-links h4 {
    font-size: 0.7em;
  }
}
