/* 
---01 TYPOGRAPHY SYSTEM---


-FONT WEIGHT 
Default: 400
Medium: 500
Semi-Bold: 600
Bold: 700

-letter-spacing
-0.75px

-LINE HEIGHT
Default: 1
Small: 1.05
Paragraph default: 1.85

-FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

---02 COLORS---

-Primary:#e67e22
-Tints:
-Shades:
-Accents:
-Greys:#555

--- 03 Shadows

--- 04 Border Radius
Default: 9px
--- 05 WHITESPACE

-SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

*/

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 70.25%;
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  max-width: 100%;
}
.container-webapps {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  max-width: 100%;
}
/***********************/
/* GENERAL REUSABLE COMPONENTS */
/***********************/

.container {
  max-width: 120rem;
  margin: 0 auto; /*auto means - right and left margin will be the same*/
  padding: 0 3.2rem;
}

.container-1 {
  max-width: 120rem;
  margin: 0 auto; /*auto means - right and left margin will be the same*/
  padding: 0 3.2rem;
}

/* .section-how.main-container{
  background-color: #14101C;
} */
.grid {
  display: grid;
  column-gap: 6.4rem;
  row-gap: 9.6rem;
}

.grid-new-col {
  grid-template-columns: repeat(2, 1fr);
}
.grid--2-cols {
  grid-template-columns: repeat(2, 1fr); /*same as writing '1fr 1fr'*/
}
.grid--3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.grid--center-v {
  align-items: center;
}

.heading-primary {
  font-size: 5.2rem;
  line-height: 1.85;
  margin-bottom: 3.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -2.5px;
}

.heading-secondary {
  font-size: 4.4rem;
  font-weight: 700;
  color: #0f111b;
  letter-spacing: -2.5px;
  line-height: 1.2;
  margin-bottom: 8.6rem;
}
.heading-tertiary {
  font-weight: 700;
  color: #0f111b;
  letter-spacing: -2.5px;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 3.2rem;
}

.subheading {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: #3e4771;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  letter-spacing: 0.75px;
}

.btn:link,
.btn:visited {
  display: inline-block;
  font-size: 2rem;
  text-decoration: none;
  font-weight: 600;
  padding: 1.6rem 3.2rem;
  border-radius: 10px;

  /* transition: all 1s; */
  transition: background-color 0.3s;
}

.btn--full:link,
.btn--full:visited {
  background-color: #0f111b;
  border: solid 2px #fff;
  color: #ffffff;
}

.btn--full:hover,
.btn--full:active {
  background-color: #262b46;
}

.btn--outline:link,
.btn--outline:visited {
  background-color: #ffffff;
  color: #3e4771;
}

.btn--outline:hover,
.btn--outline:active {
  background-color: #fdf2e9;
  color: #555;
  box-shadow: inset 0 0 0 3px #fff;
}

/* .margin-right-sm {
  margin-right: 1.6rem !important;
} */

.margin-left-sm {
  margin-left: 1.6rem !important;
}

/***********************/
/* HEADER */
/***********************/

.header {
  display: flex; /*element duk sbelah-sbelah*/
  justify-content: space-between; /*to put each element to one of the sides*/
  align-items: center;
  background-color: #0f111b;
  /* Because we want header to be sticky later */
  height: 9.6rem;
  padding: 0 4.8rem;
}
.logo {
  height: 12rem;
  /* width: 26rem; */
  margin-left: 0;
  filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg)
    brightness(95%) contrast(80%);
}

/***********************/
/*NAVIGATION*/
/***********************/
.main-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3.2rem;
}

.main-nav-link:link,
.main-nav-link:visited {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 1.8rem;
  transition: all 0.3s; /* must declare in original state with is in :link */
}

.main-nav-link:hover,
.main-nav-link:active {
  cursor: pointer;
  color: #c8c8c8;
}

.main-nav-link.nav-cla:link,
.main-nav-link.nav-cla:visited {
  padding: 1.2rem 2.4rem;
  border-radius: 9px;
  color: #fff;
  background-color: #3e4771;
}

.main-nav-link.nav-cla:hover,
.main-nav- link.nav-cla:active {
  background-color: #0f111b;
}

/***********************/
/*HERO SECTION*/
/***********************/
.section-hero {
  background-color: #0f111b;
  padding: 4.8rem 0;
}
.hero {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  gap: 10rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 3.2rem;
}
.hero-webapps {
  max-width: 130rem;
  margin: 0 auto;
  display: grid;
  gap: 10rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 3.2rem;
}
.hero.helper {
  margin-bottom: 8rem;
}
.hero-webapps.helper {
  margin-bottom: 8rem;
}

.hero-description {
  font-size: 2rem;
  line-height: 1.6;
  margin-bottom: 4.8rem;
  color: #ffffff;
}

.hero-img {
  width: 100%;
  border-radius: 1.6rem;
  margin-bottom: 7.4rem;
}
.hero-img-1 {
  width: 100%;
  border-radius: 1.6rem;
  /* margin-bottom: 7.4rem; */
}
.gap-hero-button {
  display: flex;
  gap: 2rem;
  justify-content: left;
  align-items: center;
}
.delivered-meals {
  display: flex; /*make element side by side*/
  margin-top: 8rem;
  align-items: center;
  gap: 1.6rem;
}
.delivered-imgs {
  display: flex; /*make element side by side*/
}
.delivered-imgs-webapps {
  display: flex;
  margin-right: 5rem;
}
.delivered-imgs img {
  height: 6.4rem;
  width: 6.4rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}
.delivered-imgs-webapps img {
  height: 6.4rem;
  width: 6.4rem;
  border-radius: 50%;
  margin-right: -1.6rem;
  border: 3px solid #fdf2e9;
}
.delivered-imgs img:last-child {
  margin: 0;
}
.delivered-imgs-webapps img:last-child {
  margin: 0;
}

.delivered-text {
  font-size: 1.8rem;
  font-weight: 600;
  color: #fff;
}

.text-weight {
  color: #3e4771;
}

/***********************/
/*HEADER HOW IT WORKS SECTION*/
/***********************/

/***********************/
/*HOW IT WORKS SECTION*/
/***********************/

.section-how {
  padding: 9.6rem 0;
  margin: 0 auto;
  /* position: relative; */
}

/* .header-section-how{
  display: block;
  position: relative;
  position: absolute;
  top: 3vh;
  right: 50vw;
  color: #fff;
  margin: 0 auto;
  text-align: center;
}

.header-section-how::before{
  content:"";
  display: block;
  border-bottom-left-radius:20% ;
  border-bottom-right-radius:20%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width:120%; 
  padding-bottom: 80%;
  background-color:#3E4771; 
  z-index: -1;
} */

.step-number {
  font-size: 8.6rem;
  font-weight: 600;
  color: #3e4771;
  margin-bottom: 1.2rem;
}

.step-description {
  font-size: 1.8rem;
  line-height: 1.8;
}
.step-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-img {
  width: 80%;
  z-index: 10;
}

.step-img-box::before,
.step-img-box::after {
  content: ""; /*make it appear on the page*/
  display: block;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /*shift the element position*/
}

.step-img-box::before {
  width: 70%; /*use percentage to make an element be flexible*/
  /* 60% of parent width */
  padding-bottom: 70%;
  background-color: #fdf2e9;
}

.step-img-box::after {
  width: 60%;
  /* 60% of parent width */
  padding-bottom: 60%;
  background-color: #fae5d3;
  z-index: 9;
}

/***********************/
/*MEALS SECTION*/
/***********************/

.meal {
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.089); /*horizontally, vertically, blur, color  */
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s; /*make animation*/
}
/* move the card vertically when hover */
.meal:hover {
  transform: translateY(-2rem);
  box-shadow: 0 3.2rem 6.4rem rgba(0, 0, 0, 0.06);
}

.meal-content {
  padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}
.section-meals {
  padding: 9.6rem 0;
}

.meal-tags {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.4rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #262b46;
  border-radius: 100px;
  font-weight: 600;
}

.tag--vegetarian {
  background-color: #51cf66;
}
.tag--vegan {
  background-color: #94d32d;
}
.tag--paleo {
  background-color: #ffd43b;
}

.meal-title {
  font-size: 2.4rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 3.2rem;
}

.meal-attributes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.meal-attribute {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  line-height: 3.2rem;
}

.meal-icon {
  height: 2.4rem;
  width: 2.4rem;
  color: #0f111b;
}

.meal-img {
  width: 100%;
}
.meals-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}

.meal-img-2 {
  width: 117%;
}
.meal-img-3 {
  width: 108%;
}
.meal-img-4 {
  width: 115%;
}
.meal-img-5 {
  width: 102.5%;
}
.meal-img-6 {
  width: 78%;
  margin: 0 3rem;
}
.meal-img-7 {
  width: 130%;
}
.meal-img-8 {
  width: 117%;
}
.meal-img-9 {
  width: 122.5%;
}
.meal-img-10 {
  width: 115%;
}
.meal-img-11 {
  width: 100%;
}
.meal-img-12 {
  width: 116%;
}
strong {
  font-weight: 500;
}

.grid-cols-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
}
/***********************/
/*Whatsapp Icon*/
/***********************/

.float-1 {
  position: fixed;
  width: 50px;
  height: 50px;
  bottom: 40px;
  background-color: #25d366;
  border-radius: 100%;
  text-align: center;
  font-size: 30px;
  right: 25px;
  text-decoration: none;
  z-index: 100;
}
.float-1 a {
  border: 0 none;
}
/***********************/
/*FOOTER*/
/***********************/

.main-content-footer {
  box-shadow: 0 0 1.8rem #00003a;
  text-align: center;
}
.subheading-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-color: #0f111b;
  padding: 3.2rem 0 2.6rem 0;
  font-size: 1.2rem;
  line-height: 2;
  color: #ffffff;
}
.parent-image-footer {
  width: 5.4rem;
  margin: 0 auto;
}
.image-footer {
  width: 100%;
}

/***********************/
/*WEB APPS CODE*/
/***********************/

/*max-width: 50rem; = follow container width if the width specify is bigger than container. If container more bigger than width that specify, then the width just follow the value given*/
/* rem = root element of font size(16px or more(if user change the default)) */ ;
