/* Orange Color  28A7B5 */
/* Blue Color  28A7B5 */


/* ------------------------------------------ */
/* BASIC SETUP */
/* ------------------------------------------ */

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

html {
    background-color: #fff;
    color: #333;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
}

.clearfix {
    zoom: 1
}

.center {
    margin: auto;
    max-width: 900px;
    padding: 10px;
}

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

/* ------------------------------------------ */
/* REUSABLE COMPONENTS */
/* ------------------------------------------ */

.row {
    max-width: 1140px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

.box {
    padding: 1%;
}

/* ----- HEADINGS ----- */
h1,
h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
    font-size: 200%;
    word-spacing: 4px;
    letter-spacing: 1px;
}

h2 {
    font-size: 160%;
    word-spacing: 2px;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

h3 {
    font-size: 100%;
    margin-bottom: 15px;
}

h2:after {
    display: block;
    height: 2px;
    background-color: #28A7B5;
    content: " ";
    width: 100px;
    margin: 0 auto;
    margin-top: 30px;
}



/* ----- PARAGRAPHS ----- */
.long-copy {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 30px;
}

.back-cover {
    font-size: 150%;
    margin-top: 20px;
    text-align: center;
}

.box p {
    font-size: 80%;
    line-height: 145%;
}

/* ----- ICONS ----- */
.icon-big {
    font-size: 300%;
    display: block;
    color: #28A7B5;
    margin-bottom: 10px;
}

.icon-small {
    font-size: 120%;
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #28A7B5;
    margin-right: 7px;

    /* secrets to align text and icons */
    line-height: 120%;
    vertical-align: middle;
    margin-top: -5px;
}

/* ----- LINKS ----- */
a:link,
a:visited {
    color: #14565e;
    text-decoration: none;
    padding-bottom: 1px;
    border-bottom: 1px solid #28A7B5;
    transition: border-bottom 0.4s, color 0.4s;
}

a:hover,
a:active {
    color: #555;
    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;
    transition: background-color 0.4s, border 0.4s, color 0.4s;
}

.btn-full:link,
.btn-full:visited,
input[type=submit] {
    background-color: #28A7B5;
    border: 1px solid #28A7B5;
    color: #fff;
    margin-right: 15px;
}

.btn-ghost:link,
.btn-ghost:visited {
    border: 1px solid #28A7B5;
    color: #28A7B5;
}

.btn:hover,
.btn:active,
input[type=submit]:hover,
input[type=submit]:active {
    background-color: #b05d14;
}

.btn-full:hover,
.bth-full:active,
input[type=submit] {
    border: 1px solid #b05d14;
}

.btn-ghost:hover,
.btn-ghost:active {
    border: 1px solid #b05d14;
    color: #fff;
}

/* ------------------------------------------ */
/* HEADER */
/* ------------------------------------------ */
header {
    background-image: linear-gradient(rgb(0, 0, 0, .7), rgb(0, 0, 0, .7)), url(img/hero.jpg);
    background-size: cover;
    background-position: center;
    height: 100vh;
    background-attachment: fixed;
}

.hero-text-box {
    position: absolute;
    width: 940px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 4%;
}

.logo {
    height: 200px;
    widows: auto;
    float: left;
    margin-top: 20px;
    margin-left: 20px;
}

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

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

.main-nav li a:link,
.main-nav li a:visited {
    padding: 4px 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 90%;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.4s;
}

.main-nav li a:hover,
.main-nav li a:active {
    border-bottom: 2px solid #28A7B5;
}

/* ------------------------------------------ */
/* FEATURES */
/* ------------------------------------------ */
.section-about-us .quotename {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 30px;
}

.section-testimonials .quote {
    line-height: 145%;
    width: 70%;
    margin-left: 15%;
    margin-bottom: 15px;
}

/* ------------------------------------------ */
/* IMAGES */
/* ------------------------------------------ */
.image-attribution {
    text-align: center;
    font-size: small;
    margin-bottom: 30px;
}



/* ------------------------------------------ */
/* MEALS */
/* ------------------------------------------ */
.section-meals {
    padding: 0;
}

.meals-showcase {
    list-style: none;
    width: 100%;
}

.meals-showcase li {
    display: block;
    float: left;
    width: 25%;
}

.meal-photo {
    width: 100%;
    margin: 20;
    overflow: hidden;
    background-color: #000;
}

.meal-photo img {
    opacity: 0.7;
    width: 100%;
    height: auto;
    transform: scale(1.17);
    transition: transform 0.5s, opacity 0.5s;
}

.meal-photo img:hover {
    opacity: 1;
    transform: scale(1.04);
}

/* ------------------------------------------ */
/* HOW IT WORKS */
/* ------------------------------------------ */
.section-steps {
    background-color: #8fa8a5;
}

.section-steps2 {
    background-color: #bdccdd;
}

.section-steps3 {
    background-color: #9ba398;
}

.section-resources {
    background-color: #584b86;
}

.section-resources h2,
h3 {
    color: #ffffff;
    margin-bottom: 50px;
}

.section-resources a {
    align-items: center;
    color: #ffffff;
}

.steps-box:first-child {
    text-align: right;
    padding-right: 3%;
    margin-top: 30px;
}

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

.app-screen {
    width: 90%;
}

.app-screen1 {
    width: 40%;
}

.works-step {
    margin-bottom: 20px;
}

.works-step-center {
    font-size: 150%;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
}

.downloadables {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 120%;
    font-weight: 400;
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

.downloadables img {
    margin-right: 20px;
    max-width: 100px;
}

.downloadables a {
    text-decoration: none;
}

.downloadables a:active {
    color: #555;
}

.works-step div {
    color: #28A7B5;
    border: 2px solid #28A7B5;
    display: inline-block;
    border-radius: 50%;
    height: 53px;
    width: 53px;
    text-align: center;
    padding: 5px;
    float: left;
    font-size: 150%;
    margin-right: 25px;
    margin-bottom: 0px;
}

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

.btn-amazon img {
    height: 80px;
    width: auto;
    margin-top: 0px;
}

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


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

.btn-bn img {
    height: 80px;
    width: auto;
    margin-top: 0px;
}

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

.btn-tqrp img {
    height: 80px;
    width: auto;
    margin-top: 0px;
}

#buybooks {
    margin-top: 20px;
}

/* ------------------------------------------ */
/* TESTIMONIALS */
/* ------------------------------------------ */
.section-testimonials {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(img/back-customers.jpg);
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
}

blockquote {
    padding: 2%;
    font-style: italic;
    line-height: 145%;
}

cite {
    font-size: 90%;
    margin-top: 25px;
    display: block;
}



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

/* ------------------------------------------ */
/* SIGN UP PLANS */
/* ------------------------------------------ */
.section-plans {
    background-color: #ededed;
}

.plan-box {
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    margin-left: 5%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    box-shadow: 5px 5px 5px #d8d8d8;
}

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

.plan-box div:first-child {
    background-color: #faf9f9;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.plan-box div:last-child {
    text-align: center;
    border: 0;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.plan-price {
    font-size: 300%;
    margin-bottom: 10px;
    font-weight: 100;
    color: #28A7B5;
}

.plan-price span {
    font-size: 30%;
    font-weight: 400;
}

.plan-price-meal {
    font-size: 80%
}

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

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

/* ------------------------------------------ */
/* CONTACT 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=checkbox] {
    margin: 10px 5px 10px 0;
}

*:focus {
    outline: none;
}

/* ------------------------------------------ */
/* FOOTER */
/* ------------------------------------------ */
footer {
    background-color: #393939;
    padding: 20px;
    font-size: 80%;
}

.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: 10px;
}

.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: #888;
}

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

.social-links li a:link,
.social-link li a:visited {
    font-size: 180%
}

.logo-facebook,
.logo-twitter,
.logo-googleplus,
.logo-instagram {
    transition: color 0.4s;
}

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

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

.logo-googleplus:hover {
    color: #dd4b39;
}

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

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