/* ----------------------------- */
/* basic setup */
/* ----------------------------- */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:root {
  --org: #d35400;
  --org-dark: #a04000;
  --light-gray: #d4d4d4;
}

html,
body {
  background-color: #fff;
  color: #555;
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.clearfix {
  zoom: 1;
}
.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  height: 0;
  visibility: hidden;
}

/* ----------------------------- */
/* reusable components */
/* ----------------------------- */

.row {
  max-width: 1148px;
  margin: 0 auto;
}
section {
  padding: 80px 0;
}

.box {
  padding: 1%;
}

/* ---------headings------------ */

h1,
h2,
h3 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}
h1 {
  margin: 0 0 20px 0;
  color: #fff;
  font-size: 250%;
  word-spacing: 3px;
}
h2 {
  font-size: 180%;
  word-spacing: 2px;
  text-align: center;
  margin-bottom: 30px;
}

h2:after {
  display: block;
  height: 2px;
  background-color: var(--org);
  content: " ";
  width: 180px;
  margin: 0 auto;
  margin-top: 30px;
}

h3 {
  font-size: 110%;
  margin-bottom: 15px;
}

.box h3 {
  text-align: center;
}

/* --------- paragraphs -------*/
.long-copy {
  line-height: 145%;
  width: 70%;
  margin-left: 15%;
}

.box p {
  font-size: 90%;
  line-height: 145%;
  text-align: justify;
}

/* ----- icons -----*/

.icon-big {
  font-size: 350%;
  text-align: center;
  display: block;
  color: var(--org);
  margin-bottom: 10px;
}

.icon-small {
  color: var(--org);
  display: inline-block;
  width: 30px;
  text-align: center;
  font-size: 120%;
}

/* ---------buttons------------ */

a:link,
a:visited {
  text-decoration: none;
  color: var(--org);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--org);
  -webkit-transition: border-bottom 0.2s, color 0.2s;
  transition: border-bottom 0.2s, color 0.2s;
}

a:hover,
a:active {
  color: var(--org-dark);
  border-bottom: 1px solid transparent;
}

/* ---------buttons------------ */

.btn:link,
.btn:visited,
input[type="submit"] {
  display: inline-block;
  padding: 10px 30px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 200px;
  color: white;
  -webkit-transition: background-color 0.2s, border 0.2s, color 0.2s;
  transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited,
input[type="submit"] {
  background-color: var(--org);
  border: 1px solid var(--org);
  margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
  border: 1px solid var(--org);
  color: var(--org);
}

.btn:active,
.btn:hover,
input[type="submit"]:hover,
input[type="submit"]:active {
  background-color: var(--org-dark);
}

.btn-full:active,
.btn-full:hover,
input[type="submit"] {
  border: 1px solid var(--org-dark);
}

.btn-ghost:active,
.btn-ghost:hover {
  border: 1px solid var(--org-dark);
  color: white;
}

/* ----------------------------- */
/* header */
/* ----------------------------- */

header {
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.9)),
      color-stop(20%),
      to(rgba(0, 0, 0, 0.6))
    ),
    url(imgs/hero.jpg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), 20%, rgba(0, 0, 0, 0.6)),
    url(imgs/hero.jpg);
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-text-box {
  position: absolute;
  width: 1140px;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.logo,
.logo-black {
  height: 100px;
  width: auto;
  float: left;
  margin-top: 20px;
}

.logo-black {
  display: none;
  height: 50px;
  width: auto;
  float: left;
  margin: 5px 0;
}

/* main nav */
.main-nav {
  float: right;
  list-style: none;
  margin-top: 50px;
}

.main-nav li {
  display: inline-block;
  margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
  padding: 8px 0;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 90%;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-bottom 0.2s;
  transition: border-bottom 0.2s;
}

.main-nav li a:hover,
.main-nav li a:active {
  border-bottom: 2px solid var(--org);
}

/* mobile nav */
.mobile-nav-icon {
  float: right;
  margin-top: 30px;
  cursor: pointer;
  display: none;
}

.mobile-nav-icon i {
  font-size: 200%;
  color: white;
}

/* sticky nav */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(250, 250, 250, 0.9);
  -webkit-box-shadow: 0 2px 2px var(--light-gray);
  box-shadow: 0 2px 2px var(--light-gray);
  z-index: 9999;
}

.sticky .main-nav {
  margin-top: 15px;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
  padding: 8px 0;
  color: #555;
}
.sticky .logo {
  display: none;
}
.sticky .logo-black {
  display: block;
}

/* --------------------------*/
/* features */
/* --------------------------*/

.section-features .long-copy {
  margin-bottom: 30px;
}

/* --------------------------*/
/* meals */
/* --------------------------*/

.section-meals {
  padding: 0;
}

.meals-showcase {
  list-style: none;
  width: 100%;
}

.meals-showcase li {
  display: block;
  float: left;
  width: 25%;
  background-color: black;
}

.meal-photo {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

.meal-photo img {
  opacity: 0.7;
  width: 100%;
  height: auto;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: opacity 0.7s, -webkit-transform 0.7s;
  transition: opacity 0.7s, -webkit-transform 0.7s;
  transition: transform 0.7s, opacity 0.7s;
  transition: transform 0.7s, opacity 0.7s, -webkit-transform 0.7s;
}

.meal-photo img:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  opacity: 1;
}

/* --------------------------*/
/* how it works */
/* --------------------------*/

.section-steps {
  background-color: var(--light-gray);
}

.steps-box:first-child {
  text-align: right;
  padding-right: 3%;
  margin-top: 30px;
}

.steps-box:last-child {
  padding-left: 3%;
  margin-top: 70px;
}

.app-screen {
  width: 40%;
}

.works-step {
  margin-bottom: 40px;
}

.works-step div {
  color: var(--org);
  border: 2px solid var(--org);
  display: inline-block;
  border-radius: 50%;
  height: 55px;
  width: 55px;
  text-align: center;
  padding: 5px;
  float: left;
  font-size: 150%;
  margin-right: 25px;
}

.btn-app:link,
btn-app:visited {
  border: 0;
}

.btn-app img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}

/* --------------------------*/
/* cities */
/* --------------------------*/

.box img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.city-feature {
  padding: 5px;
}

/* --------------------------*/
/* testimonials */
/* --------------------------*/

.section-testimonials {
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.8)),
      to(rgba(0, 0, 0, 0.8))
    ),
    url(imgs/back-customers.jpg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(imgs/back-customers.jpg);
  background-size: cover;
  background-attachment: fixed;
  color: white;
}

blockquote {
  padding: 2%;
  font-style: italic;
  line-height: 145%;
  position: relative;
}

blockquote:before {
  content: " \201C ";
  font-size: 400%;
  display: block;
  position: absolute;
  top: 0;
  left: -3;
}

cite {
  font-size: 90%;
  margin-top: 25px;
  display: block;
}

cite img {
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}

/* --------------------------*/
/* sign up plans */
/* --------------------------*/

.section-plans {
  background-color: var(--light-gray);
}

.plan-box {
  background-color: white;
  border-radius: 15px;
  width: 90%;
  margin-left: 5%;
  -webkit-box-shadow: 0 2px 2px #555;
  box-shadow: 0 2px 2px #555;
}

.plan-box div {
  padding: 15px;
  border-bottom: 1px solid var(--light-gray);
}

.plan-box div:first-child {
  background-color: #fcfcfc;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.plan-box div:last-child {
  text-align: center;
  border-bottom: none;
}

.plan-price {
  font-size: 300%;
  margin-bottom: 10px;
  font-weight: 100;
  color: var(--org);
}

.plan-price span {
  font-size: 30%;
  font-weight: 300;
}

.plan-price-meal {
  font-size: 80%;
}

.plan-box ul {
  list-style: none;
}

.plan-box ul li {
  padding: 5px 0;
}

/* --------------------------*/
/* form */
/* --------------------------*/

.contact-form {
  width: 60%;
  margin: 0 auto;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 7px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

textarea {
  height: 100px;
}

input[type="checked"] {
  margin: 10px 5px 10px 0;
}

*:focus {
  outline: none;
}

/* --------------------------*/
/* footer */
/* --------------------------*/

footer {
  background-color: #333;
  padding: 40px;
  font-size: 90%;
}
.footer-nav {
  list-style: none;
  float: left;
}
.social-links {
  list-style: none;
  float: right;
}

.footer-nav li,
.social-links li {
  display: inline-block;
  margin-right: 20px;
}

.footer-nav li:last-child,
.social-links li:last-child {
  margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.social-links li a:visited {
  text-decoration: none;
  border: 0;
  color: var(--light-gray);
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.footer-nav li a:hover,
.footer-nav li a:active {
  color: white;
}

.social-links li a:link,
.social-links li a:visited {
  font-size: 150%;
}

footer p {
  color: var(--light-gray);
  text-align: center;
  font-size: 80%;
  margin-top: 20px;
}

.ion-logo-facebook,
.ion-logo-twitter,
.ion-logo-linkedin,
.ion-logo-instagram {
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.ion-logo-facebook:hover {
  color: #3b5998;
}

.ion-logo-twitter:hover {
  color: #00aced;
}

.ion-logo-instagram:hover {
  color: #517fa4;
}

.ion-logo-linkedin:hover {
  color: #007bb6;
}

/* --------------------------*/
/* animation */
/* --------------------------*/

.js--wp-1,
.js--wp-2,
.js--wp-3 {
  opacity: 0;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

.js--wp-4 {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
  opacity: 1;
}
