*{
   /* *star here is to select all elements, ie whatever styles are applied here will be applied to all the elements on the webpage */ 
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* box-sizing property is used to set size of elements : border-box value calculate it as height+padding+border=total height */
}

html,
body{
  /* all tags inside html tag will be styled here */
  background-color: #ffffff; /*#ffffff is code for pure white*/
  color: #555;
  font-family:Lato,sans-serif; /*if you want another font : we can copy the link of font from goolge-fonts website and paste it in the head section*/
  font-weight: 300px;
  font-size: 20px;
  text-rendering: optimizeLegibility ; /*this property allows us to increase speed of webpage to load on browser. optimizeLwgibility- we can increase speed and also our letters will be well spaces out.   */
  overflow-x: hidden;
}

.row{
      max-width: 1140px;
      margin:0 auto ; /*this is used to partially center the text*/

}

header{
  background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)) ,url("img/foodpalte.jpg");  
  background-attachment: fixed;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* to cover whole page  */
h1{
  margin-top: 0px;
  margin-bottom: 20px;
  color:#fff;
  font-size:240%;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-spacing: 3px;
}

.hero-text-box
{
  position:absolute;
  width :1140px;
  top:50%;
  left:50%;
  transform: translate(-50%,-50%);  /* with the help of transform property we can allign the elements more accurately on webpage */
}

.btn:link,              /* applied styles when the link is active */
.btn:visited,    /* applied styles when the link is visited */
input[type=submit]
{
display:inline-block;
  padding: 10px 30px;    /* 10ox for top and bottom, 30px for left and right */
  text-decoration: none;
  font-weight: 300; 
  border-radius: 200px;
  color:#fff;

  transition: background-color 0.1s,border 0.1s,color 0.1s ;
 }
 
.btn-full:link,
.tn-full:visited,
input[type=submit]
{
  background-color: #e67e22;
  color:#fff;
  border: 1px solid #e67e22;
  margin-right: 25px;
}

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

.btn:hover,
.btn:active
input[type=submit]

{
  background-color: #cf6d17;
}

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

.btn-full:hover,
.btn-full:active{
  border : 1px solid #cf6d17;
}

.logo{
  height: 100px;
  width: auto;
  float : left;
  margin-top: 20px;
  border-radius: 50%;
}

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

/* to style li's we used, descendent css property */
.main-nav li{
  display: inline-block;
  margin-left: 40px;;
}

.main-nav li a:link,
.main-nav li a:visited
{
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 90%;  /*we are using % here bcoz , it depends on the parent element, SO that when ever we change size of parent elmnt automatically size of child elmt  */
  border-bottom: 2px solid transparent;
  padding: 8px 0;
  transition: border-bottom 0.5s;
}

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

/* ***************** feature section ***************** */
section{
  padding : 80px 0;
}


h2{
  font-weight: 300;
  text-transform: uppercase;
  font-size: 180%;
  word-spacing: 2px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 1px;
}
h2:after{
  display: black;
  height:2px;
  background-color: #e67e22;
  content: " ";
  width: 100px;
  margin : 0 auto;
  margin-top: 30px;
}

.long-copy{
  line-height: 145%;
  width: 70%;
  margin-left: 15%;
}
h3{
  font-weight: 300;
  text-transform: uppercase;
  font-size: 110%;
  margin-bottom: 15px;
}
.box p{
  font-size: 90%;
  line-height: 145%;
}
.icon-big{
  font-size: 350%;
  display: block ;
  color: #e67e22;
  margin-bottom: 10px; 
}
/* ************* END of Feature section *************** */
 
/* ************* meals Section ***************** */
.meals-showcase{
  list-style: none;
  width: 100%;

}
.meals-showcase li{
  display: block;
  float: left;
  width: 25%;
}
.meal-photo{
  width:100%;
  margin: 0; /* by deafult css file gives extra margin and padding, so it is necessary to give margin and padding where ever needed */
  overflow: hidden;
  background-color: #000;
  transition: transform 0.9s, opacity 0.9s;
}
.meal-photo img{
  width:100%;
height : auto;
transform: scale(1.15); /*ie. size of img becomes 115% of its actual size*/
  opacity: 0.7;
}
.meal-photo img:hover{
  transform: scale(1.03);
  opacity: 1;
}
.clear-fix{zoom:1}
.clear-fix::after{
  content: '.';
  clear:both;
  display: block;  
  height: 0;
  visibility: hidden;
}
.section-meals{
  padding: 0;
}
.section-features .long-copy{
  margin-bottom: 30px;
}

/* ********************* Work Section **************** */

.section-steps{
  background-color: #f4f4f4; /*backgd color becomes dull*/
}

.work-step{
  margin-bottom: 50px;
  margin-right: 25px;
}
.steps-box:first-child{
  text-align: right;
  padding-right: 3%;
}
.steps-box:last-child{
  padding-left: 3%;
  margin-top: 70px;
}
.app-screen{
  width:40%;
}
.work-step div{
  color: #e67e22;
  border: 4px solid #e67e22;
  display: inline-block;
  border-radius: 50%;
  height: 55px;
  width: 55px;
  text-align: center;
  padding: 5px;
  margin-right: 25px;
  /* float: left; */
  font-size: 150%;
}
.work-step:last-of-type{
  margin-bottom: 80px;
}

.btn-app img{
  height: 50px;
  width: auto;
  margin-right: 10px;  
}
.btn-app:link,
.btn-app:visited{
  border: 0;

}

.section-steps{
  background-color: #f4f4f4;
}

/* ********** City Section ******************** */
.section-cities{
  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;
}

.section-cities{
  background-color: #f4f4f4; /*backgd color becomes dull*/
}

.box img{
  width:100%;
  height : auto;
  margin-bottom: 15px;
}
.city-feature{
  margin-bottom: 5px;
}
.icon-small{
  display: inline-block;
  width:30px;
  text-align: center;
  color: #e67e22;
  font-size: 120%;
  line-height: 120%;
  vertical-align: middle;
  margin-top: -5px;
  margin-right: 10px;
}

a:link,
a:visited{
  color: #e67e22;
  text-decoration: none;
  border-bottom: 1px  solid #e67e22
}
a:hover,
a:active{
  color: #555;
  border-bottom: 1px solid transparent ;
  transition: border-bottom 0.5s, color 0.5s ;
}
/* end of city section */

/* *********** testimonial section ***************/
.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%;
  margin-top: 40px;
  position: relative;
}
cite{
  font-size: 90%;
  display: block; /* img and name will occur in the top*/
  margin-top: 25px;
}
cite img{
  height: 45px;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
blockquote:before{
  content: '\201C'; /* \201C is the code to display the cotation mark */
  font-size: 500% ;
  display: block;
  position: absolute;
  top: 0;
  left: -3px;
}
/* *******************************  Sign up Section   ******************************** */
.section-plans{
  background-color: #f4f4f4; /*backgd color becomes dull*/
}
.plan-box{
  background-color: #fff;
  border-radius: 5px;
  width: 90%;
  margin-left: 5%; 
}
.plan-box div{
  padding:15px;
  border-bottom: 1px solid #e8e8e8;
}
.plan-price{
  font-size: 300%;
  margin-bottom: 10px;
  font-weight: 100;
  color: #e67e22;
}
.plan-price-meal{
  font-size: 80%;
}
.plan-price span{
  font-size: 30%;
  font-weight: 300;
}
.plan-box ul{
  list-style: none;
}
.plan-box ul li{
  padding: 5px 0px;
}
.plan-box div:last-child{
  border: 0;
  text-align: center;
}
.plan-box div:first-child{
  background-color: #fcfcfc;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* ****************  contact section  **************** */
.section-form{
  background-color: #f4f4f4; /*backgd color becomes dull*/
}

.contact-form
{
  width: 60%;
  margin: 0 auto;
}
input[type=text],
input[type=email],
select{
  width: 100%;
  padding: 7px;
  border: 1px solid #ccc;
}
textarea{
  height:  100%;
}
input[type=checkbox]{
  margin: 10px 5px 10px 0;
}

/* *************** Footer section ********************* */
footer{
 background-color: #333;
 font-size: 80% ;
 padding: 50px; 
}
.footer-nav{
  list-style: none;
  float: left;
}
.social-links{
  list-style: none; 
  float:right;
  font-size: 40px;
}
.footer-nav li,
.social-links li{
  display: inline-block;
  margin-right: 20px;
}
.footer-nav li a:link,
.footer-nav li a:visited,
.social-links li a:link,
.socail-links li a:visited
{
  text-decoration: none;
  border: 0;
  color: #888;
}
.footer-nav li a:hover,
.footer-nav li a:hover{
  color: #ddd;
}
footer p{
  color: #888;
  text-align: center;
  font-size: 90%;
  margin-top: 20px;
}
.fb:hover{
  color: #4267B2 ;   /*color used by facebook for icon*/
}
.gg:hover{
  color: #34A853;
}
.tw:hover{
  color: #00aced;
}
.insta:hover{
  color: #ee2a7b;
}
.social-links li a:link,
.socail-links li a:visited{
  font-size: 160%;
}

/* *************** end of css part ******************8 */