/*
COLORS:

Light green: #7ed56f
Medium green: #55c57a
Dark green: #28b485

*/
/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Lato, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #777;
  padding: 30px;
}

.header {
  position: relative;
  height: 100vh;
  /* background-image: linear-gradient(to right bottom, #7ed56f, #28b485), url(../img/hero.jpg); */
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.8), rgba(40, 180, 131, 0.8)),
    url(../img/hero.jpg);
  background-size: cover;
  background-position: top;
  /* clip-path: polygon(x y, x y, x y, x y); */
  clip-path: polygon(0 0, 100% 0, 100% 200px, 0 100%);
  /* triangle: */
  clip-path: polygon(0 0, 100% 50%, 100% 50%, 0 100%);
  /* triangle: */
  clip-path: polygon(50% 0, 50% 0, 100% 100%, 0 100%);
  /* Right arrow */
  clip-path: polygon(0% 20%, 60% 20%, 60% 0%, 100% 50%, 60% 100%, 60% 80%, 0% 80%);

  clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
}

.logo-box {
  position: absolute;
  top: 40px;
  left: 40px;
}

.logo {
  height: 35px;
}

.text-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; /* used for button only */
}

.heading-primary {
  color: #fff;
  text-transform: uppercase;
  font-weight: 400;

  /* Stops shaking of animation */
  backface-visibility: hidden;
}

.heading-primary-main {
  display: block;
  font-size: 60px;
  letter-spacing: 35px;
  animation-name: moveInFromLeft;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  /* animation-delay: 3s; */
  /* animation will happen 3 times: */
  /* animation-iteration-count: 3;   */
  /* animation: moveInFromLeft 3s ease-in-out; */
}

.heading-primary-sub {
  display: block;
  font-size: 20px;
  letter-spacing: 17.4px;
  animation: moveInFromRight 2s ease-out;
}

@keyframes moveInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  /* 60% {
    transform: rotate(180deg);
  } */

  80% {
    transform: translateX(10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes moveInFromRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }

  50% {
    transform: translateX(-10px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn:link,
.btn:visited {
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 40px;
  display: inline-block;
  margin-top: 60px;
  border-radius: 100px;
  transition: all .2s
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);  
}

.btn-white {
  background-color: #fff;
  color: #777;
}
