/*
COLORS:

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

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

html {
  font-size: 62.5%; }

body {
  font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.7;
  color: #777;
  padding: 3rem; }

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px); }
  80% {
    transform: translateX(20px); }
  100% {
    opacity: 1;
    transform: translate(0); } }

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(100px); }
  80% {
    transform: translateX(-20px); }
  100% {
    opacity: 1;
    transform: translate(0); } }

@keyframes moveInBottom {
  0% {
    opacity: 0;
    transform: translateY(30px); }
  100% {
    opacity: 1;
    transform: translate(0); } }

.text-center {
  text-align: center; }

.margin-bottom-8 {
  margin-bottom: 8rem; }

.mb-2 {
  margin-bottom: 2rem; }

.mb-8 {
  margin-bottom: 8rem; }

.mt-4 {
  margin-top: 4rem; }

.mt-8 {
  margin-top: 8rem; }

.fs-2 {
  font-size: 2rem; }

.heading-primary {
  color: #fff;
  text-transform: uppercase;
  backface-visibility: hidden;
  /*animation-shake fix */
  margin-bottom: 6rem;
  /* background: red; */ }

.heading-primary--main {
  display: block;
  font-size: 6rem;
  font-weight: 600;
  letter-spacing: 3.5rem;
  animation: moveInLeft 1s ease-out;
  /* animation-delay: 0.5s; 
        animation-name: moveInLeft;
        animation-duration: 1.3s;
        animation-timing-function: ease-out;
        animation-iteration-count: 3;
        */ }

.heading-primary--sub {
  display: block;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 1.75rem;
  animation: moveInRight 1s ease-out; }

.heading-secondary {
  font-size: 3.5rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
  background-image: linear-gradient(to right, #7ed56f, #28b485);
  -webkit-background-clip: text;
  color: transparent;
  transition: all 0.2s ease-in-out; }

.heading-secondary:hover {
  transform: skewX(-10deg) skewY(-2deg);
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2); }

.heading-tertiary {
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase; }

.paragraph {
  font-size: 1.6rem; }

.paragraph:not(:last-child) {
  margin-bottom: 3rem; }

.btn:link, .btn:visited {
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  padding: 1.5rem 4rem;
  border-radius: 3rem;
  transition: all 0.3s ease-in-out;
  position: relative; }

.btn:link:active, .btn:visited:active {
  transform: translateY(-1px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); }

.btn:link:hover, .btn:visited:hover {
  /* background: red; */
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }

.btn:link:hover::after, .btn:visited:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  transition: all 0.5s;
  opacity: 0; }

.btn:link::after, .btn:visited::after {
  content: '';
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 3rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1; }

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

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

.btn--animated {
  animation: moveInBottom 0.5s ease-out 0.75s;
  animation-fill-mode: backwards; }

.btn-tertiary:link, .btn-tertiary:visited {
  display: inline-block;
  text-decoration: none;
  text-transform: capitalize;
  font-size: 1.6rem;
  padding: 1rem 1rem;
  border-radius: 1rem;
  border-bottom: 2px solid #55c57a;
  transition: all 0.3s ease-out; }

.btn-tertiary:hover {
  transform: translateY(-0.5rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2); }

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

.btn-green {
  color: #55c57a; }

.btn-green:hover {
  background-color: #55c57a;
  color: #fff; }

.btn-secondary:link, .btn-secondary:visited {
  position: relative;
  text-decoration: none;
  text-transform: capitalize;
  display: inline-block;
  box-sizing: border-box;
  padding: 0.7rem 3rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.4);
  border-radius: 3rem;
  transition: all 0.4s ease-in; }

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5); }

.btn-secondary:hover:after {
  transform: scale(1.8);
  background-color: rgba(85, 197, 122, 0.8);
  opacity: 0; }

.btn-secondary:active {
  transform: translateY(2px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5); }

.btn-secondary:after {
  content: '';
  display: inline-block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 3rem;
  transition: all 0.3s ease-in; }

.btn-form {
  background-color: #55c57a;
  color: #fff; }

.btn-form:hover {
  background-color: #fff;
  color: #55c57a; }

.composition {
  position: relative;
  transition: all 0.3s ease-out; }

.composition__photo {
  width: 65%;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  position: absolute;
  transition: all 0.2s ease-in-out; }

.composition__photo--p1 {
  left: 0;
  top: -2rem; }

.composition__photo--p2 {
  right: 0;
  top: 5rem; }

.composition__photo--p3 {
  left: 10rem;
  top: 15rem; }

.composition__photo:hover {
  transform: scale(1.05);
  box-shadow: 0 2.5rem 4rem rgba(0, 0, 0, 0.5);
  z-index: 10; }

.composition:hover .composition__photo:not(:hover) {
  transform: scale(0.9); }

.feature-box {
  background-color: rgba(255, 255, 255, 0.8);
  height: 40rem;
  font-size: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  border-radius: 2px;
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.3);
  transition: all 0.6s ease-out; }

.feature-box:hover {
  transform: translateY(-2rem) scale(1.1);
  box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.6); }

.feature-box__icon {
  font-size: 6rem;
  margin-bottom: 0.5rem;
  background-image: linear-gradient(to right, #55c57a, #7ed56f);
  -webkit-background-clip: text;
  color: transparent; }

.story {
  width: 75%;
  margin: 0 auto;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  padding: 6rem;
  font-size: 1.6rem;
  transform: skewX(-12deg); }

.story__shape {
  width: 15rem;
  height: 15rem;
  float: left;
  -webkit-shape-outside: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  transform: translateX(-3rem) skewX(12deg);
  position: relative; }

.story__image {
  height: 100%; }

.story__text {
  transform: skewX(12deg); }

.story__caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% -50%);
  color: #fff;
  font-size: 1.7rem;
  text-transform: uppercase;
  z-index: 10; }

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.15; }

.bg-video__content {
  height: 100%;
  width: 100%;
  object-fit: cover; }

.form__group:not(:last-child) {
  margin-bottom: 2rem; }

.form__input {
  font-size: 1.5rem;
  font-family: inherit;
  color: inherit;
  padding: 1.5rem 2rem;
  border-radius: 2px;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  text-transform: capitalize;
  border-bottom: 3px solid transparent;
  width: 80%;
  display: block; }

.form__input:focus {
  outline: none;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
  border-bottom: 3px solid #28b485; }

* .form__input:focus:invalid {
  border-bottom: 3px solid orange; }

.form__input::-webkit-input-placeholder {
  color: #999; }

.form__label {
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 2rem;
  margin-top: 0.7rem;
  display: block;
  text-transform: capitalize;
  transition: all 0.3s; }

.form__input:placeholder-shown + .form__label {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4rem); }

.header {
  height: 95vh;
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.3), rgba(40, 180, 133, 0.3)), url(../img/hero.jpg);
  background-size: cover;
  background-position: top;
  clip-path: polygon(0 0, 100% 0, 100% 75vh, 0 100%);
  position: relative; }

.header__logo-box {
  position: absolute;
  top: 4rem;
  left: 4rem; }

.header__logo {
  height: 3.5rem; }

.header__text-box {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; }

.row {
  max-width: 114rem;
  margin: 0 auto; }

.row:not(:last-child) {
  margin-bottom: 8rem; }

.row [class^='col-'] {
  float: left; }

.row [class^='col-']:not(:last-child) {
  margin-right: 6rem; }

.row::after {
  content: '';
  display: table;
  clear: both; }

.row .col-1-of-2 {
  width: calc((100% - 6rem) / 2); }

.row .col-1-of-3 {
  width: calc((100% - 2 * 6rem) / 3); }

.row .col-1-of-4 {
  width: calc((100% - 3 * 6rem) / 4); }

.row .col-2-of-3 {
  width: calc( (2 * (100% - 2 * 6rem) / 3) + 6rem); }

.row .col-2-of-4 {
  width: calc( (2 * (100% - 3 * 6rem) / 4) + 6rem); }

.row .col-3-of-4 {
  width: calc( ((3 * (100% - 3 * 6rem) / 4) + 2 * 6rem)); }

.footer {
  position: relative;
  margin-top: -9rem;
  height: 60vh;
  padding: 25rem 0;
  background-color: #333; }

.footer__logo-box {
  position: absolute;
  top: 15rem;
  left: 50%;
  transform: translateX(-5.5rem);
  height: 5.5rem; }

.footer__logo {
  height: 100%; }

.footer__list {
  list-style: none; }

.footer__link {
  display: inline-block;
  text-decoration: none;
  text-transform: capitalize;
  font-size: 1.7rem;
  padding: 3px 7px;
  border-radius: 5px;
  color: #999;
  background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #55c57a 50%);
  background-size: 230%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.6s ease-in-out; }

.footer__link:not(:last-child) {
  margin-right: 7rem; }

.footer__link:hover, .footer__link:active {
  background-position: 100%;
  transform: scale(1.2) skew(-1deg, -3deg);
  box-shadow: 0 1px 1rem rgba(0, 0, 0, 0.8);
  color: #fff; }

.footer__copyright {
  text-transform: capitalize; }

.navigation__checkbox {
  display: none; }

.navigation__button {
  position: relative;
  color: #7ed56f;
  background-color: #fff;
  height: 5rem;
  width: 5rem;
  font-size: 2.5rem;
  position: fixed;
  top: 6rem;
  right: 6rem;
  border-radius: 50%;
  z-index: 2000;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1); }

.navigation__button .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); }

.navigation__background {
  height: 3.6rem;
  width: 3.6rem;
  border-radius: 50%;
  position: fixed;
  top: 6.5rem;
  right: 6.5rem;
  background-image: radial-gradient(#7ed56f, #28b485);
  z-index: 1000;
  transition: transform 0.8s ease-out; }

.navigation__nav {
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1500;
  opacity: 0;
  width: 0;
  transition: all 0.8s ease-in-out; }

.navigation__list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center; }

.navigation__item {
  margin: 1rem; }

.navigation__link:link, .navigation__link:visited {
  font-size: 3rem;
  font-weight: 300;
  padding: 1rem 2rem;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #fff 50%);
  background-size: 220%;
  transition: all 0.6s; }

.navigation__link:hover, .navigation__link:active {
  background-position: 100%;
  color: #55c57a;
  transform: translateX(1rem); }

.navigation__checkbox:checked ~ .navigation__background {
  transform: scale(80); }

.navigation__checkbox:checked ~ .navigation__nav {
  opacity: 1;
  width: 100%; }

.section-about {
  background-color: #f7f7f7;
  padding: 25rem 0;
  margin-top: -20vh; }

.section-features {
  padding: 20rem 0;
  background-image: linear-gradient(to right bottom, rgba(126, 213, 111, 0.5), rgba(40, 180, 133, 0.5)), url(../img/nat-4.jpg);
  transform: skewY(-7deg);
  margin-top: -10rem; }

.section-features > * {
  transform: skewY(7deg); }

.section-stories {
  margin-top: -10rem;
  padding: 15rem 0;
  position: relative; }

.section-book {
  margin-top: -10rem;
  padding: 15rem 0;
  background-image: linear-gradient(to right bottom, #7ed56f, #28b485);
  transform: skewY(-7deg); }

.section-book > * {
  transform: skewY(7deg); }

.book {
  background-image: linear-gradient(110deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 50%, transparent 50%), url(../../img/nat-10.jpg);
  background-size: 100%;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.5);
  height: 68vh; }

.book__form {
  width: 50%;
  padding: 6rem; }
