* {
  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: #535e46;
}

/* Fonts [1.25 Major Third] from type scale */
/* We define classes for semantic header and p elements */
.heading1 {
  text-align: center;
}

.heading1--left {
  text-align: left;
}

.heading1--primary {
  font-size: 2.986rem;
  color: #283618;
}

.heading1--accent {
  font-size: 2.986rem;
  color: #bc6c25;
}

.heading1--white {
  font-size: 2.986rem;
  color: #ffffff;
}

.heading2 {
  text-align: center;
}

.heading2--left {
  text-align: left;
}

.heading2--primary {
  font-size: 2.488rem;
  color: #535e46;
}

.heading2--accent {
  font-size: 2.488rem;
  color: #c98951;
}

.heading2--white {
  font-size: 2.488rem;
  color: #ffffff;
}

.heading3 {
  text-align: center;
}

.heading3--left {
  text-align: left;
}

.heading3--primary {
  font-size: 2.074rem;
  color: #7e8674;
}

.heading3--accent {
  font-size: 2.074rem;
  color: #d7a77c;
}

.heading3--white {
  font-size: 2.074rem;
  color: #ffffff;
}

.content {
  font-size: 1.728rem;
  color: #7e8674;
}

.small {
  font-size: 1.2rem;
  color: #7e8674;
}

.tiny {
  font-size: 1rem;
  color: #7e8674;
}

.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;
  background-color: #fefbe6;
}

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

.logo {
  grid-area: logo;
}

.navbar {
  grid-area: navigation;
}

.offer {
  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 auto;
  grid-template-columns: 1fr;
  grid-template-areas: "hero" "services" "contact" "about-us";
  justify-items: center;
  align-items: center;
}

.hero {
  grid-area: hero;
}

.about-us {
  grid-area: about-us;
  padding: 4rem;
}

.grid {
  display: grid;
  gap: 2rem;
  padding: 4rem 2rem;
}

.grid--no-padding {
  padding: 0;
}

.grid--default {
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
}

.grid--color-background {
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  background-color: #fefbe6;
}

.grid--wrap {
  grid-template-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.grid--wrap-color-background {
  grid-template-rows: 1fr;
  grid-template-columns: repeat(auto-fit, minmax(357px, 1fr));
  background-color: #fefbe6;
}

.flex {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
  border-radius: 1rem;
}

.flex--grid-gap-small {
  gap: 1em;
}

.flex--default {
  display: flex;
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.flex--color-background {
  background-color: #fefbe6;
}

.flex--horizontal {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
}

.flex--vertical {
  flex-direction: column;
  align-items: center;
  align-content: center;
  padding: 4rem 2rem;
}

.flex--vertical-box-shadow {
  flex-direction: column;
  align-items: center;
  align-content: center;
  box-shadow: 0 1rem 10rem rgba(130, 162, 235, 0.4);
  padding: 4rem 2rem;
}

.flex--border {
  border: 1px solid #ffe54d;
}

.flex--wrap {
  flex-wrap: wrap;
}

.section {
  padding: 0 4rem;
}

.section--default {
  padding: 4rem 2rem;
}

.section--color-white {
  background-color: #ffffff;
}

.section--color-background {
  background-color: #fefbe6;
}

.logo, .lp-header-logo {
  content: url("../images/framereach.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.44rem;
  padding: 2rem;
  text-transform: uppercase;
  color: #535e46;
  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.44rem;
  }
  .navbar .menu-icon .fa-xmark {
    display: none;
    opacity: 0;
    font-size: 1.44rem;
  }
  .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.44rem;
  }
  .navbar.hamburger .menu-icon .fa-xmark {
    display: block;
    opacity: 1;
    font-size: 1.44rem;
  }
  .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.44rem;
    padding: 2rem;
    text-transform: uppercase;
    color: #535e46;
    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: #fefbe6;
    padding: 2rem;
  }
  .navbar.hamburger .nav-item.sub-items::before {
    content: "+";
    font-size: 1.44rem;
    color: #ff4ea0;
    width: 4rem;
    height: 4rem;
  }
  .navbar.hamburger .nav-items:nth-child(2).sub-items::before {
    content: "-";
    font-size: 1.44rem;
    color: #ff4ea0;
    width: 4rem;
    height: 4rem;
  }
  .navbar.hamburger .nav-item.sub-items.show::before {
    content: "-";
    font-size: 1.44rem;
    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; */
    padding: 1rem;
  }
}
/* Dropdown */
.dropdown {
  position: absolute;
  width: 34rem;
  top: 4rem;
  background-color: #fefbe6;
  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 {
  padding: 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.dropdown-item i {
  font-size: 1.44rem;
  width: 4rem;
  color: #8698a7;
  transition: color 0.3s;
}
.dropdown-item i:hover {
  color: #222;
}
.dropdown-item span a {
  font-size: 1.44rem;
  color: #8698a7;
  transition: color 0.3s;
}
.dropdown-item span a:hover {
  color: #222;
}

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

.image {
  background-repeat: no-repeat;
  width: 100%;
  height: 50rem;
  background-size: cover;
}

.image--hero {
  background-image: url("./../images/framereach-website-hero-image.png");
}

.icons i {
  font-size: 2.074rem;
  padding: 1rem;
  cursor: pointer;
}

/* 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;
}

.icon--type {
  width: 10rem;
  height: 10rem;
  background-color: #ffffff;
  box-shadow: 0 1rem 4rem rgba(75, 119, 221, 0.15);
  border-radius: 50%;
  display: block;
  display: flex;
  align-items: center;
  justify-self: center;
  font-size: 2.488rem;
  padding: 4rem;
  color: #d7a77c;
}
.icon--type:hover {
  color: #bc6c25;
}

.input {
  font-size: 1.728rem;
  font-weight: 200;
  padding: 1rem;
  width: 100%;
  border: 1px solid #ffde21;
  border-radius: 0.5rem;
}

.input::placeholder {
  color: #7e8674;
  font-size: 1rem;
}

.anchor {
  font-size: 1.44rem;
  color: #7e8674;
}
.anchor:hover {
  color: #283618;
}

.button {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
  font-size: 1.728rem;
  letter-spacing: 0.1rem;
  transition: transform 1s;
  border: none;
  outline: none;
}
.button--primary {
  background-color: #c98951;
  color: #ffffff;
}
.button--primary:hover {
  background-color: #bc6c25;
  transform: translateY(-0.2rem);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 2rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.card--horizontal {
  justify-content: center;
}

.card__title {
  font-size: 2.074rem;
  color: #c98951;
}

.card__img {
  color: #535e46;
}

.card__description {
  font-size: 1.728rem;
  color: #7e8674;
}

.card__description--italicized {
  font-size: 1.728rem;
  color: #c98951;
  font-style: italic;
}

.card:hover {
  box-shadow: 0 1rem 2rem rgba(162, 162, 162, 0.5);
}

.card--color-background {
  background-color: #fefbe6;
}

.card--default-background {
  background-color: #ffffff;
}

.photo {
  height: 10rem;
  width: 10rem;
  background-image: url("./../images/sanjeev-100x100.png");
  background-repeat: no-repeat;
  object-fit: cover;
  border-radius: 50%;
}
