/* Brand Colors */
/* Colors [Forest Palette from coolers.com] Olive Garden Feast*/
/* Can use darken or lighten for the appropriate color */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
}

html {
  font-size: 62.5%;
  font-family: "Open Sans", sans-serif;
}

body {
  color: #283618;
}

/* Fonts [1.25 Major Third] from type scale */
/* We define classes for semantic header and p elements */
.h1,
h1 {
  font-size: 3.815rem;
}

.h2,
h2 {
  font-size: 3.052rem;
}

.h3,
h3 {
  font-size: 2.441rem;
}

.h4,
h4 {
  font-size: 1.953rem;
}

.p {
  font-size: 1.563rem;
}

.small {
  font-size: 1rem;
}

.container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas: "header" "main" "footer";
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

footer {
  grid-area: footer;
}

.header-wrapper {
  display: grid;
  margin: 0 2rem;
  grid-gap: 2rem;
  grid-template-areas: "logo navigation offering";
  align-items: center;
  justify-items: center;
}

.logo {
  grid-area: logo;
}

.navbar {
  grid-area: navigation;
}

.button {
  grid-area: offering;
}

@media (max-width: 820px) {
  .header-wrapper {
    display: grid;
    grid-gap: 2rem;
    grid-template-areas: "navigation logo offering";
    align-items: center;
    justify-items: center;
  }
  .logo {
    grid-area: logo;
  }
  .navbar {
    grid-area: navigation;
  }
  .offer {
    grid-area: offering;
  }
}
.main {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr;
  grid-template-areas: "hero" "services" "contact";
  justify-items: center;
  align-items: center;
}

.hero {
  grid-area: hero;
}

.services {
  grid-area: services;
}

.contact {
  grid-area: contact;
}

.hero-wrapper {
  display: grid;
  grid-gap: 2rem;
  padding: 4rem;
  background-image: linear-gradient(to top right, #283618, 40%, #606c38);
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.services-wrapper {
  display: grid;
  grid-column-gap: 4rem;
  grid-row-gap: 4rem;
  margin: 6rem;
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.contact-wrapper {
  display: grid;
  margin: 6rem;
  grid-gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.footer-wrapper {
  display: grid;
  grid-gap: 2rem;
  padding: 6rem;
  background-color: #fefae0;
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.logo {
  content: url("../images/leadstoconversions.png");
  max-width: 10rem;
}

.navbar {
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.navbar .nav-items {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  justify-items: center;
}
.navbar .nav-item {
  list-style: none;
  position: relative;
}
.navbar .nav-link {
  font-size: 1.563rem;
  padding: 2rem;
  text-transform: uppercase;
  color: #283618;
  letter-spacing: 0.1rem;
  text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.navbar .menu-icon {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 820px) {
  .navbar .nav-items {
    display: none;
  }
  .navbar .menu-icon {
    visibility: visible;
    opacity: 1;
  }
  .navbar .menu-icon .fa-bars {
    display: block;
    opacity: 1;
    font-size: 1.563rem;
  }
  .navbar .menu-icon .fa-xmark {
    display: none;
    opacity: 0;
    font-size: 1.563rem;
  }
  .navbar.hamburger {
    z-index: 1000;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
  }
  .navbar.hamburger .menu-icon .fa-bars {
    display: none;
    opacity: 0;
    font-size: 1.563rem;
  }
  .navbar.hamburger .menu-icon .fa-xmark {
    display: block;
    opacity: 1;
    font-size: 1.563rem;
  }
  .navbar.hamburger .nav-items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-items: flex-start;
  }
  .navbar.hamburger .nav-item {
    list-style: none;
    position: relative;
  }
  .navbar.hamburger .nav-link {
    font-size: 1.563rem;
    padding: 2rem;
    text-transform: uppercase;
    color: #283618;
    letter-spacing: 0.1rem;
    text-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  }
  .navbar.hamburger .nav-item .dropdown {
    opacity: 0;
    visibility: hidden;
  }
  .navbar.hamburger .nav-item.show .dropdown {
    opacity: 1;
    visibility: visible;
    flex-direction: row;
    z-index: 100;
    border-radius: 0;
    box-shadow: none;
  }
  .navbar.hamburger .position.menu-icon {
    top: 4rem;
    transform: translateY(-50%);
  }
  .navbar.hamburger .nav-items:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    top: 12rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 12rem);
    background-color: #f2f4f5;
    padding: 2rem;
  }
  .navbar.hamburger .nav-item.sub-items::before {
    content: "+";
    font-size: 1.563rem;
    color: #ff4ea0;
    width: 4rem;
    height: 4rem;
  }
  .navbar.hamburger .nav-items:nth-child(2).sub-items::before {
    content: "-";
    font-size: 3.815rem;
    color: #ff4ea0;
    width: 4rem;
    height: 4rem;
  }
  .navbar.hamburger .nav-item.sub-items.show::before {
    content: "-";
    font-size: 1.563rem;
    color: #ff4ea0;
    width: 4rem;
    height: 4rem;
  }
  .navbar.hamburger .nav-item a {
    color: #092627;
    text-shadow: none;
  }
  .navbar.hamburger .nav-item {
    list-style: none;
    /* position: relative; */
    margin: 1rem;
  }
}
/* Dropdown */
.dropdown {
  position: absolute;
  width: 34rem;
  top: 4rem;
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.dropdown-item {
  margin: 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.dropdown-item i {
  font-size: 1.563rem;
  width: 4rem;
  color: #8698a7;
  transition: color 0.3s;
}
.dropdown-item i:hover {
  color: #222;
}
.dropdown-item span a {
  font-size: 1.563rem;
  color: #8698a7;
  transition: color 0.3s;
}
.dropdown-item span a:hover {
  color: #222;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.button {
  padding: 1rem 2rem;
  border-radius: 4rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  font-size: 1.953rem;
  letter-spacing: 0.1rem;
  transition: transform 1s;
  justify-self: center;
  align-self: right;
}
.button-primary {
  background-color: rgb(220.7133333333, 146.58, 80.7866666667);
  color: #ffffff;
  text-transform: uppercase;
}
.button-primary:hover {
  background-color: #bc6c25;
  transform: translateY(-0.2rem);
}

.service-item-wrapper {
  margin-bottom: 4rem;
  box-shadow: 0 1rem 10rem rgba(130, 162, 235, 0.4);
  z-index: 10;
  border-radius: 1rem;
  text-align: center;
  transition: 0.1s;
}

.service-item-wrapper:hover {
  background-color: rgba(40, 54, 24, 0.7);
}
.service-item-wrapper:hover h3 {
  color: #ffffff;
}
.service-item-wrapper:hover p {
  color: #ffffff;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}
.service i {
  width: 10rem;
  height: 10rem;
  background-color: #fff;
  box-shadow: 0 1rem 4rem rgba(75, 119, 221, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.815rem;
  margin: 2rem;
  color: #bc6c25;
}
.service h3 {
  font-size: 1.953rem;
  color: #283618;
  margin: 2rem;
}
.service p {
  font-size: 1.953rem;
  text-align: left;
  color: #283618;
}

.contact-form-wrapper {
  padding: 2rem;
  background-color: #ffffff;
  box-shadow: 0 1rem 10rem rgba(130, 162, 235, 0.4);
  z-index: 10;
  border-radius: 1rem;
  text-align: center;
}

.contact-form-wrapper:hover {
  background-color: #fefae0;
}

.contact-form-wrapper h4 {
  text-transform: uppercase;
  color: #283618;
  letter-spacing: 0.1rem;
  margin: 2rem;
  font-weight: 400;
  text-align: left;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 90%;
  margin: 2rem;
  background-color: #f0f2f4;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.563rem;
  font-weight: 200;
}

.contact-form-wrapper input {
  padding: 2rem;
  height: 5rem;
}

.contact-form-wrapper textarea {
  padding: 2rem;
  height: 10rem;
  resize: none;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: #606c38;
}

.contact-form-wrapper button {
  height: 5rem;
  width: 20rem;
  background-color: rgb(188, 108, 37);
  border: none;
  border-radius: 5rem;
  font-size: 1.563rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #fff;
  cursor: pointer;
}

.menu-icon {
  width: 4rem;
  height: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s;
  z-index: 100;
}

.hero-wrapper .hero-text {
  align-self: center;
  justify-content: center;
  margin: 4rem;
}
.hero-wrapper .hero-text h1 {
  color: #ffffff;
  text-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.hero-wrapper .hero-text h3 {
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  margin: 4rem 0;
  z-index: 1000;
}
.hero-wrapper .offer-text {
  align-self: center;
  justify-content: center;
  margin: 4rem;
}
.hero-wrapper .offer-text h1 {
  color: #ffffff;
  text-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.hero-wrapper .offer-text h3 {
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  margin: 4rem 0;
  z-index: 1000;
  align-self: center;
}

.services h1 {
  margin: 6rem;
  text-align: center;
}

.contact h1 {
  margin: 6rem;
  letter-spacing: 0.2rem;
  color: #283618;
  text-align: center;
}

.contact-support-wrapper {
  box-shadow: 0 1rem 10rem rgba(130, 162, 235, 0.4);
  padding: 2rem;
  border-radius: 1rem;
  text-align: left;
  z-index: 10;
}
.contact-support-wrapper:hover {
  background-color: #fefae0;
}

.contact-support-wrapper h4 {
  text-transform: uppercase;
  color: #283618;
  letter-spacing: 0.1rem;
  margin: 2rem;
  font-weight: 400;
}

.contact-support-wrapper p {
  font-size: 1.563rem;
  color: #283618;
  margin-left: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
}

.contact-google-map {
  box-shadow: 0 1rem 10rem rgba(130, 162, 235, 0.4);
  border-radius: 1rem;
  background-color: #ffffff;
  padding: 4rem;
}
.contact-google-map .contact-map {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.contact-google-map:hover {
  background-color: #fefae0;
}

.footer-social-media,
.footer-services,
.footer-company {
  padding: 2rem;
  margin-left: 2rem;
}

.footer-items {
  display: flex;
  flex-direction: column;
}

.footer-items h4 {
  color: #606c38;
  margin-bottom: 2rem;
}

.icons i {
  font-size: 2.441rem;
  margin: 2rem 0;
  cursor: pointer;
  padding-right: 2rem;
}

/* facebook */
.icons i:nth-child(1) {
  color: #1877f2;
}

/* instagram */
.icons i:nth-child(2) {
  color: #c32aa3;
}

/* linkedin */
.icons i:nth-child(3) {
  color: #0a66c2;
}

/* twitter */
.icons i:nth-child(4) {
  color: #1da1f2;
}

/* pinterest */
.icons i:nth-child(5) {
  color: #bd081c;
}

/* dribble */
.icons i:nth-child(6) {
  color: #ea4c89;
}

/* youtube */
.icons i:nth-child(7) {
  color: #ff0000;
}

.footer-items a {
  font-size: 1.563rem;
  margin-bottom: 1rem;
  color: #606c38;
  transition: 0.3s;
}
.footer-items a:hover {
  font-size: 1.563rem;
  margin-bottom: 1rem;
  color: #283618;
}

.landing-page-container {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas: "header" "main" "footer";
}

header {
  grid-area: header;
}

main {
  grid-area: main;
}

footer {
  grid-area: footer;
}

.landing-page-logo {
  content: url("../images/leadstoconversions.png");
  max-width: 10rem;
  align-self: start;
  justify-self: start;
  margin-left: 10rem;
}

.abovethefold {
  display: grid;
  grid-gap: 2rem;
  padding: 4rem;
  background-image: linear-gradient(to top right, #283618, 40%, #606c38);
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.hook-wrapper .hook-text {
  align-self: center;
  justify-content: center;
  margin: 4rem;
}
.hook-wrapper .hook-text h1 {
  color: #ffffff;
  text-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
  z-index: 1000;
}
.hook-wrapper .hook-text h3 {
  font-weight: 300;
  color: #ffffff;
  text-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  margin: 4rem 0;
  z-index: 1000;
}

.belowthefold {
  display: grid;
  grid-gap: 2rem;
  padding: 4rem;
  background-image: linear-gradient(to top right, #283618, 40%, #606c38);
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.lead-wrapper {
  display: grid;
  margin: 4rem;
  margin-bottom: 10rem;
  grid-gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
}

.lead-form-wrapper {
  padding: 2rem;
  background-color: #606c38;
  box-shadow: 0 1rem 10rem rgba(130, 162, 235, 0.4);
  z-index: 10;
  border-radius: 1rem;
}

.lead-form-wrapper:hover {
  background-color: #283618;
}

#lead-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lead-form-wrapper h4 {
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.1rem;
  margin: 2rem;
  font-weight: 400;
  text-align: left;
}

.lead-form-wrapper input {
  width: 90%;
  margin: 2rem;
  background-color: #f0f2f4;
  border: none;
  border-radius: 0.5rem;
  font-size: 1.563rem;
  font-weight: 200;
  padding: 2rem;
  height: 5rem;
}

.lead-form-wrapper input::placeholder,
.lead-form-wrapper textarea::placeholder {
  color: #606c38;
}

.lead-form-wrapper button {
  height: 5rem;
  width: 20rem;
  background-color: rgb(188, 108, 37);
  border: none;
  border-radius: 5rem;
  font-size: 1.563rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  color: #fff;
  cursor: pointer;
}

.abovethefold .lead-wrapper {
  width: 80%;
}

.belowthefold .lead-wrapper {
  width: 60%;
}
