/*

	OMNIFOOD LANDING PAGE - v1 with CSS3 styles only.

*/

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

*:focus {
	outline: none;
}

/*  Basic styling
	============================================================= */
html,
body {
	background-color: #fff;
	color: #333A73;
	font-family: 'Lato', 'Arial', sans-serif;
	font-size: 20px;
	font-weight: 500;
	/* Renders text clean */
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	/* when media 500px or less, text overflows screen */
}

/* Clearfix hack
   ===================================================*/
.clearfix {
	zoom: 1
}

.clearfix:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
}

.row {
	max-width: 1140px;
	/* fixed width for all rows */
	margin: 0 auto;
	/* center content*/
}

section {
	padding: 80px 0px;
}

h1,
h2,
h3 {
	font-weight: 800;
	text-transform: uppercase;
}

h1 {
	margin-bottom: 20px;
	color: #333A73;
	font-size: 2.2em;
	word-spacing: 4px;
	letter-spacing: 1px;
	font-weight: 500;
}

h2 {
	font-size: 1.8em;
	word-spacing: 2px;
	text-align: center;
	margin-bottom: 30px;
	/* Note: h2 and h2:after have same 30px value for margins for symmetry*/
	letter-spacing: 1px;
}

/* Line divide (yellow)
   ==================================*/
.h2-underline:after {
	display: block;
	height: 2px;
	background-color: #1a73e8;
	content: "";
	/* Must have when using :after pseudo-class */
	width: 100px;
	margin: 0 auto;
	/* Center content */
	margin-top: 30px;

}

h3 {
	font-size: 1.125em;
	/* Eh. */
	margin-bottom: 15px;
}

/* Copy
   ===================================*/
.long-copy {
	line-height: 1.5;
	width: 70%;
	margin-left: 15%;
	/* centers content using remainder 30% evenly */
	margin-right: 15%;
	text-align: center;
	/* Adjusts it nicely in the center*/
	margin-bottom: 30px;
}

.box {
	padding: 1%;
}

.box p {
	font-size: 0.9em;
	line-height: 1.45;

}

/* Links
   ===================================*/
a:link,
a:visited {
	color: #1a73e8;
	text-decoration: none;
	border-bottom: 1px solid #1a73e8;
	padding-bottom: 1px;
	transition: border-bottom 0.2s, color 0.2s
}

a:hover,
a:active {
	color: #555;
	border-bottom: 1px solid transparent;
}



/* Icons
   ===================================*/
.icon-big {
	font-size: 3.5em;
	display: block;
	color: #1a73e8;
	margin-bottom: 10px;
	margin-right: 25px;
	text-align: center;
}

.icon-small {
	display: inline-block;
	width: 30px;
	text-align: center;
	color: #1a73e8;
	font-size: 1.2em;
	/* margin-right: 10px; */
	/* Align texts and icons trick */
	line-height: 1.2;
	vertical-align: middle;
	margin-top: -4px;
}

/* Button Normal State
   ====================================*/
.btn:link,
.btn:visited,
input[type="submit"] {
	display: inline-block;
	padding: 10px 30px 14px;
	font-size: inherit;
	font-weight: 300;
	text-decoration: none;
	border-radius: 200px;
	border: 2px solid #1a73e8;
	/* Transition the background, color, border by 0.2s*/
	transition: background-color 0.2s, border 0.2s, color 0.2s;
}

.btn-full:link,
.btn-full:visited,
input[type="submit"] {
	background-color: #333A73;
	color: #fff;
	margin-right: 15px;
	margin-top: 12px;
	letter-spacing: 1.2px;
}

.btn-ghost:link,
.btn-ghost:visited {
	color: #1a73e8;
}


/* Button Hover state, and clicked state
   ========================================*/
.btn:hover,
.btn:active,
input[type="submit"]:hover,
input[type="submit"]:active {
	background-color: #070919;
}

.btn-full:hover,
.btn-full:active,
input[type="submit"]:hover,
input[type="submit"]:active {
	border: 2px solid #070919;
}

.btn-ghost:hover,
.btn-ghost:active {
	color: #fff;
	border: 2px solid #333A73;
}


/* Header styles
   ==========================================*/
header {
	/* background-image: linear-gradient(#fffffffa, #0470e4e0), url(img/hero.jpg); */
	background-attachment: fixed;
	background-size: cover;
}

.p-0 {
	padding: 0px !important;
}

.hero-text {
	height: 80vh;
	margin: 20px;
	border-radius: 16px;
	padding: 20px;
	align-content: center;
	text-align: left;
	background-repeat: no-repeat;
	background-position: right;
}


/* Logo & Navigation section
   ================================*/
.logo {
	height: 60px;
	width: auto;
	float: left;
	margin-top: 20px;
}

.logo-black {
	height: 50px;
	width: auto;
	float: left;
	margin: 5px 0;
	display: none;
	/* Not visible in normal state*/
}

.main-nav {
	float: right;
	list-style: none;
	margin-top: 35px;
}

.main-nav li {
	display: inline-block;
	margin-left: 40px;
}

.main-nav li a:link,
.main-nav li a:visited {
	padding: 8px 0;
	color: #333A73;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.9em;
	font-weight: 500;
	border-bottom: 2px solid transparent;
	/* We want border exist before hover, but not yet visible.*/
	transition: border-bottom 0.2s;
	letter-spacing: 1.2px;
}


.main-nav li a:hover,
.main-nav li a:active {
	border-bottom: 2px solid #1a73e8;
	/* Visible on hover */
}

/* Sticky Navigation
=============================== */
.sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.98);
	box-shadow: 0 1px 2px #efefef;
	z-index: 10;
	transition: all 0.5s ease;
}

.sticky .main-nav {
	margin-top: 18px;
}

.sticky .main-nav li a:link,
.sticky .main-nav li a:visited {
	padding: 16px 0;
	color: #555;
}

.sticky .logo {
	display: none;
}

.sticky .logo-black {
	display: block;
}

/* Mobile Navigation
   =================================*/
.mobile-nav-icon {
	float: right;
	margin-top: 30px;
	cursor: pointer;
	display: none;
}

.mobile-nav-icon i {
	font-size: 2em;
	color: #fff;
}


/* Meals showcase section
    =================================*/
.meals-showcase {
	list-style: none;
	width: 100%;
	/* Will fill 100% of browser, not of the 1140px, no row class*/

}

.meals-showcase li {
	display: block;
	float: left;
	width: 25%;
	/* 4 images per row/ ul element */

}

.meal-photo {
	width: 100%;
	/* redundant line, only bottom code needed...try removing after add transitions */
	overflow: hidden;
	/* Keeps images contained */
	background-color: #000;
	/* for darker img */
	height: 330px;
}

.meal-photo img {
	opacity: 0.7;
	/* can you use linear gradient instead? try this with header too. */
	width: 100%;
	height: auto;
	-webkit-transform: scale(1.16);
	transform: scale(1.16);
	/* 116% bigger i think... */
	transition: -webkit-transform 0.5s, opacity 0.5s;
	transition: transform 0.5s, opacity 0.5s;
}

.meal-photo img:hover {
	-webkit-transform: scale(1.1);
	transform: scale(1.1);
	/* back to normal*/
	opacity: 1;
	/* back to normal*/
}

.meals {
	padding: 0;
}


/* How it works section
   ====================================*/
.steps {
	/* background-color: #f4f4f4; */
}

.steps-box:first-child {
	text-align: right;
	/* Works for inline-block elements */
	padding-right: 3%;
	/* layout will be fluid */
	margin-top: 30px;
}

.steps-box:last-child {
	padding-left: 3%;
	margin-top: 70px;
}

.app-screen {
	width: 40%;
}

.works-steps {
	margin-bottom: 50px;
}

.works-steps:last-of-type {
	/* Gives step 3 more margin bottom unlike sibling elements with 50px */
	margin-bottom: 80px;
}

.works-steps div {
	color: #1a73e8;
	border: 2px solid #1a73e8;
	display: inline-block;
	/* will not enforce line break */
	border-radius: 50%;
	height: 55px;
	width: 55px;
	text-align: center;
	padding: 5px;
	float: left;
	/* We used clearfix on meals section to fix issue of clearing floats */
	font-size: 1.5em;
	margin-right: 25px;
}

.btn-app:link,
.btn-app:visited {
	border: 0;
}

.btn-app img {
	height: 50px;
	width: auto;
	margin-right: 15px;
}

/* Cities section
   ===========================================*/
.box img {
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}

.city-features {
	margin-bottom: 5px;
}

/* Testimonials section
   ===========================================*/

blockquote {
	padding: 2%;
	font-style: italic;
	line-height: 1.5;
	position: relative;
	margin-top: 30px;
}

blockquote:before {
	content: "\201C";
	font-size: 4.5em;
	display: block;
	position: absolute;
	top: -60px;
	left: -3px;
}

cite {
	font-size: 0.9em;
	font-style: normal;
	font-weight: 500;
	margin-top: 25px;
	display: block;
}

cite img {
	height: 45px;
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

/* Sign Up section
   ===========================================*/
.plans {
	background-color: #ffffff;
}

.plan-box {
	background-color: #f4f4f4;
	border-radius: 5px;
	width: 25%;
	/* margin-left: 5%; */
	/* margin-right: 5%;  */
	box-shadow: 0 2px 2px #e3e3e3;
	/* xVal, yVal, blur, color */
	border-radius: 12px;
	padding: 32px 0px;
}

.plan-box div {
	padding: 15px;
	border-bottom: 1px solid #efefef;
}

.plan-price {
	font-size: 34px;
	margin-bottom: 10px;
	font-weight: 500;
	color: #1a73e8;
	/*box-shadow: 0 2px 2px #e3e3e3;*/
}

.plan-price span {
	font-size: 1rem;
	/* root font weight */
	font-weight: 500;
}

/* .plan-price .plan-meal {
	font-size: 0.8em;
} */

p.plan-meal {
	font-size: 18px;
}

.planbox div:first-child {
	background-color: #fcfcfc;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.plan-box div:last-child {
	text-align: center;
	border-bottom: none;
}

.plan-box ul {
	list-style: none;
}

.plan-box ul li {
	padding: 5px 0;
	display: flex;
}


/* Form section
   ===========================================*/
.section-form {
	width: 90%;
	margin: 0 auto;
}

input[placeholder],
input[type="submit"],
/* had to repeat this style for some reason, works now */
textarea[placeholder],
select {
	font-family: inherit;
	font-size: 0.9em;
	font-weight: 300;
}

input[type="text"],
input[type="email"],
select,
textarea {
	width: 100%;
	padding: 7px;
	border-radius: 3px;
	border: 1px solid #ccc;
}

textarea {
	height: 100px;
}

input[type="checkbox"] {
	margin: 10px 5px 10px 0;
}

.map-box {
	width: 100%;
	height: 700px;
	position: relative;
}


.map {
	width: 100%;
	height: 700px;
	position: relative;
	z-index: 0;
}

.form-box {
	position: absolute;
	width: 50%;
	top: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.9);
	z-index: 2;
	min-height: 700px;
	height: fit-content;
	padding: 40px 20px 0 30px;
}

.form-box h2 {
	font-size: 1.6em;
}

/* Message container styles */
.message {
  margin: 15px 0;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 15px;
  display: none; /* Hidden until triggered */
  transition: all 0.3s ease;
	z-index: 4;
}

/* Success message */
.message.success {
  background-color: #e6f7ee;
  border: 1px solid #22c55e;
  color: #15803d;
  display: block;
}

/* Error message */
.message.error {
  background-color: #fde8e8;
  border: 1px solid #ef4444;
  color: #b91c1c;
  display: block;
}

/* Footer section
   ===========================================*/

footer {
	background-color: #333;
	padding: 30px;
	font-size: 0.8em;
}

footer-nav {
	list-style: none;
	float: left;
}

.social-icons {
	list-style: none;
	float: right;
}

.footer-nav li,
.social-icons li {
	display: inline-block;
	margin-right: 20px;
}

footer-nav li:last-child,
social-icons li:last-child {
	margin-right: 0;
}

.footer-nav li a:link,
.footer-nav li a:visited,
.social-icons li a:link,
.social-icons li a:visited {
	text-decoration: none;
	border: 0;
	color: #888;
	/*transition: color 0.2s;*/
}

.footer-nav li a:hover,
.footer-nav li a:active {
	color: #ddd;
}

footer p {
	color: #888;
	text-align: center;
	margin-top: 20px;
}

.social-icons li a:link,
.social-icons li a:visited {
	font-size: 1.6em;
}

.ion-social-facebook,
.ion-social-twitter,
.ion-social-instagram,
.ion-social-googleplus {
	transition: color 0.2s;
}

.ion-social-facebook:hover {
	color: #3b5998;
}

.ion-social-twitter:hover {
	color: #00aced;
}

.ion-social-instagram:hover {
	color: #517fa4;
}

.ion-social-googleplus:hover {
	color: #dd4b39;
}

.social-icons li a:hover,
.social-icons li a:active {}


/* Animations ===================================*/
.js--wp-1,
.js--wp-2,
.js--wp-3 {
	opacity: 0;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
}

.js--wp-1.animated,
.js--wp-2.animated,
.js--wp-3.animated {
	opacity: 1;
}

.js--wp-4 {
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
}

/* My classes ===================================*/
.text-align-center {
	text-align: center;
}

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

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

.d-flex {
	display: flex;
}

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

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

.justify-content-between {
	justify-content: space-between;
}

.flex-column {
	flex-direction: column;
}

.w-50 {
	width: 50%;
}

.w-100 {
	width: 100%;
}

.gap-32 {
	gap: 32px;
}

.gap-12 {
	gap: 12px;
}

.mt-64 {
	margin-top: 64px;
}

.fw-400 {
	font-weight: 400;
}

.min-height-165 {
	min-height: 165px;
}

.h-250 {
	height: 250px;
}

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

.mt-15 {
	margin-top: 15px;
}

.mt-0 {
	margin-top: 0 !important;
}

.border-none {
	border: none !important;
}

/* New Testimonials section
   ===========================================*/


.testimonials {
	background-color: #ffffff;
	padding: 60px 0;
}

.testimonials .row h2 {
	text-align: center;
	margin-bottom: 40px;
}

.testimonial-box {
	background-color: #f7f7f7;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	padding: 20px;
	text-align: center;
	transition: transform 0.3s ease;
	width: 33%;
}

.testimonial-box:hover {
	transform: translateY(-10px);
}

.testimonial-box p {
	font-size: 18px;
	color: #333;
	margin-bottom: 20px;
	letter-spacing: 0.5px;
	line-height: 24px;
}

.testimonial-box cite {
	display: flex;
	align-items: center;
	justify-content: center;
}

.testimonial-box cite img {
	border-radius: 50%;
	margin-right: 10px;
	width: 50px;
	height: 50px;
}

.testimonial-box cite {
	font-size: 14px;
	color: #777;
}

.color-light {
	color: #f4f4f4;
}