/* This file has refactored code. */

body {
  font-family: "Montserrat";
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
font-family: "Montserrat-bold";
}

p{
  color: #8f8f8f;
}

/* Big heading */
.big-heading {
  font-family: "Montserrat-Black", sans-serif;
  font-weight: 900;      /* To make it more heavy or more bold or more thick */
  font-size: 3.5rem;
  line-height : 1.5;
}

.section-heading{
  font-size: 3.5rem;
  line-height : 1.5;
}

/* Containers */
.container-fluid {
  padding : 7% 15%;
}

/* Sections */

.coloured-section {
  background-color: #ff4c68;
  color: #fff;
}

.white-section {
background-color: #fff;
}



/* Navigation bar */
.navbar {
  padding: 0 0 4.5rem;
  }
.navbar-brand {
  font-family: "Ubuntu";
  font-size: 2.5rem;
  font-weight: bold;
}
.nav-item {
  padding: 0 18px;
}
.nav-link {
  font-size: 1.2rem;
  font-family: "Montserrat-Light";
}

/* Download buttons */

.download-button {
  margin : 5% 3% 5% 0;
}

/* Title section */

#title .container-fluid {     /* To override the padding of .container-fluid in the title section */
  padding: 3% 15%;
  text-align: left;
}

/* Title image */
.title-image {
  width: 60%;
  transform: rotate(25deg);
  margin-left: 5rem;
  position: absolute;    /* to make position: relative; work in #features section.  */
  right : 30%;           /* To make the image align with right side (go just below nav - download) and look better. */
}


 /* Features section */

#features {
  background-color: #fff;               /* for the z-index concept we need to use this background-color. So if it sits on top of another element, it will obscure(not expressed/discover/known about something) it. */
  position: relative;       /* to make z-index work. coz it wont work if position remains static. Also, it can't have position:absolute; coz it will go out of html flow, and sit on top of everything. */
  z-index: 1;           /* by default, z-index is 0. So to make it go on top of title image , we make it z-index:1 */
}

.feature-title {
  font-size: 1.5rem;
}

.feature-box {

  padding: 5%;
}

.icon {
  color: #ef8172;
  margin-bottom: 1rem;
}

.icon:hover {
  color: #ff4c68;
}

/* Testimonial section */

#testimonials {
  background-color: #ef8172;

}

.testimonial-text{
  font-size: 3rem;
  line-height: 1.5;
}

.testimonial-image {
  width : 10%;
  border-radius: 100%;
  margin: 20px;
}

.carousel-item{          /* in order to move the carousel buttons little far from the text, we add padding to the text.  */
  padding: 7% 15%;
}

#press {
  background-color: #ef8172;
  padding-bottom: 3%;
}

.press-logo {
  width: 15%;
  margin: 20px 20px 50px;
}

/* Pricing section */

#pricing {
  padding: 100px;
}

.price-text{
  font-size: 3rem;
  line-height: 1.5;
}

.pricing-column {
  padding: 3% 2%;
}

/* Footer section */
.footer-icon{
  margin : 20px 10px;
}


/* CSS Media Query to make the title section responsive in nature. (Mobile or Tablet view) */

@media (max-width: 1028px) {        /* When our viewport is 1028px or smaller, then following changes should be made. */
   #title .container-fluid {
     text-align: center;
   }
  .title-image {
    position: static;               /* To make it fully visible */
    transform: rotate(0);           /* To straighten it back again */
    padding-top: 10%;
    padding-bottom: 10%;
    margin-left: 0;
  }
}
