/* 
- FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98

- Colors
#2c3e50
Tint: #415162
#2e5b8e
Gray: #f1f3f5

*/

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');

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

*::before,
*::after{
  box-sizing: border-box;
}

html{
  font-size: 62.5%;
}

body{
  font-family: "Rubik", sans-serif;
}

section{
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
  /* background-color: yellow; */
}

p{
  line-height: 1.4;
}

.header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8.5rem;
  padding: 0 4.8rem;
  overflow: hidden;
}

.logo{
  font-size: 3.0rem;
  font-weight: 600;
}

.nav-list{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem
}

.nav li, a{
  text-decoration: none;
  font-size: 1.5rem;
  color: #000;
}

.active a:link,
.active a:visited{
  display: inline-block;
  background-color: #2c3e50;
  padding: 0.8rem 2.5rem;
  color: #fff;
  border-radius: 5px;
}

.active a:hover,
.active a:active{
  background-color: #415162;
}

.hero-section{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 9.6rem;
  margin-top: 3.0rem;
  margin-bottom: 9.5rem;
}

.hero-img img{
  width: 100%;
  height: 30%;
}

.primary-heading{
  font-size: 4.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.text{
  font-size: 1.5rem;
  margin-bottom: 1.9rem;
}

.btn:link,
.btn:visited{
  background-color: #2c3e50;
  color: #fff;
  font-size: 2rem;
  font-weight: 400;
  padding: 0.8rem 1.8rem;
  border-radius: 5px;
}

.btn:hover,
.btn:active{
  background-color: #415162;
}

/********************************/
/* LEARN MORE STYLING */
/********************************/

div.learn-section{
  background-color: #f1f3f5;
  align-items: center;
  padding: 5rem 0;
}

.learn-section{
  margin: 0 auto;
  padding: 2rem 4rem;
}

.learn-section-text{
  max-width: 50rem;
  margin: 0 auto;
}

.learn-header{
  margin-left: 12rem;
  font-size: 4.5rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.btn-learn{
  display: flex;
  gap: 3rem;
  align-items: center;
}

.learn-text-btn{
  display: inline-block;
  border: 1px solid #2c3e50;
  background-color: #fff;
  padding: 0.8rem 1.8rem;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 5px;
  font-size: 1.5rem;
}

.learn-text-btn:hover,
.learn-text-btn:visited{
  background-color: #2c3e50;
  color: #fff;
  transition: all 0.3s;
}

/********************************/
/* ABOUT SECTION STYLING */
/********************************/

.about-section{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding: 7rem;
  background-color: #f8f9fa;
}

.about-section-description{
  padding: 4.5rem;
  /* background-color: blue; */
  border: 1px solid #eee;
  background-color: #fff;
  /* box-shadow: -1px 6px 13px -6px rgba(0,0,0,0.44); */
}

.about-heading{
  font-size: 2rem;
  font-weight: 500;
}

.about-icon{
  margin-bottom: 2rem;
}

.icon{
  display: inline-block;
  background-color: #2c3e50;
  box-shadow: 0px 4px 6px #0000002a;
  text-align: center;
  color: #fff;
  fill: #fff;
  font-size: 2rem;
  font-weight: 300;
  border-radius: 7px;
  width: 6rem;
  height: 6rem;
  line-height: 6rem;
}

.about-text{
  color: #888;
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1.3;
  text-align: justify;
  margin-top: 2rem;
}

/********************************/
/* USER-EXPERIENCE SECTION STYLING */
/********************************/

.user-ex-section{
  background-image: linear-gradient(to bottom, #2c3e50, #2c455f, #2c4d6e, #2d547e, #2e5b8e);;

  padding: 9rem;
}

/* .user-ex{
  max-width: 140rem; */
  /* margin: 0 27rem;
} */

.user-ex-heading{
  font-size: 4rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
}

.user-ex-description{
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
  font-weight: 400;
  margin-top: 1.4rem;
}

/* .user-ex-rate{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  margin-top: 3rem;
} */

.user-ex-rate{
  display: flex;
  flex-wrap: wrap;
  gap: 9.5rem;
  text-align: center;
  margin-left: 34rem;
  margin-top: 5rem;
}

.user-ex-rate-heading{
  display: inline-block;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}

.user-ex-rate-description{
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
}










/********************************/
/* MEDIA QUERY STYLING */
/********************************/

@media (max-width: 84em){
  .header{
    max-width: 120rem;
  }
}

@media (max-width: 75em) {
  html{
    font-size: 56.25%;
  }

  .primary-heading{
    font-size: 3.6rem;
  }

  .user-ex-heading{
    font-size: 3.5rem;
  }
}

@media(max-width: 59rem){
  html{
    font-size: 50%;
  }

  .navigation-bar{
    display: none;
  }

  .hero-img img{
    height: 35rem;
  }

  .hero-section{
    padding: 0 8rem;
  }

  .text{
    margin-bottom: 4rem;
  }

  .about-section{
    grid-template-columns: 1fr;
  }

  .about-section-description{
    margin-right: 15rem;
    margin-left: 15rem;
  }

  .learn-text-btn{
    padding: 0.4rem 1rem;
  }

  .user-ex-rate{
    display: grid;
    grid-template-columns: 1;
    margin: 0;
    gap: 3rem;
  }

  .user-ex-heading{
    font-size: 3.5rem;
    text-align: center;
    line-height: 1.4;
  }

  .user-ex-rate-heading{
    font-size: 2.8rem;
  }

  .user-ex-description{
    font-size: 2rem;
    margin-bottom: 2.5rem;
  }

  .user-ex-rate-description{
    font-size: 1.5rem;
    font-weight: 500;
  }
}

@media (max-width: 44em){
  .hero-section{
    grid-template-columns: 1fr;
    padding: 0 8rem;
  }

  .about-section-description{
    margin-right: 4rem;
    margin-left: 4rem;
  }

  .user-ex-heading{
    font-size: 2rem;
  }

  .user-ex-description{
    font-size: 1.8rem;
  }
}

@media (max-width: 34em){
  .learn-text-btn{
    padding: 0.2rem 0.4rem;
  }

  .user-ex-heading{
    font-size: 1.8rem;
  }

  .user-ex-description{
    font-size: 1.8rem;
  }
}

@media (max-width: 28em){
  .learn-header{
    font-size: 3rem;
    margin-left: 15rem;
  }

  .about-section-description{
    margin-right: 2rem;
    margin-left: 2rem;
  }

  .user-ex-heading{
    font-size: 2rem;
    font-weight: 600;
  }
}