/* colors */
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@300;400;700&display=swap");
/* font-family */
/* font-weight */
/* font-size */
/* media queries */
* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-family: "Public Sans", sans-serif;
}

.navbar {
  position: relative;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100px;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  align-items: center;
}

.navbar-btn {
  display: none;
}

.navbar-toggle {
  background-color: transparent;
  border: none;
}

@media screen and (min-width: 1024px) {
  .navbar-btn {
    display: block;
  }
}

.img {
  display: none;
  /*
  * Show/ hide hamburger and close icons
  * Hide icons when >= tablet size
  */
}

.img.show {
  display: inline-block;
}

@media screen and (min-width: 1024px) {
  .img.show {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .img {
    display: none;
  }
}

.dropdown {
  padding: 1rem;
  height: 240px;
  display: none;
  border-radius: 5px;
  -webkit-box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(241, 238, 238, 0.2);
  -ms-flex-line-pack: center;
      align-content: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: white;
  margin: 0.51rem;
}

@media screen and (min-width: 1024px) {
  .dropdown {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    position: relative;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
}

.change {
  width: 90%;
  max-width: 660px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
<<<<<<< HEAD
  position: relative;
  top: 30px;
  -webkit-transition: margin-right 4s ease-in-out;
  transition: margin-right 4s ease-in-out;
=======
  /*
  * Dropdown list absolute to .navbar
  */
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 1;
>>>>>>> 9343d9faff8517f03a5d21424bbbed3693bb91db
}

@media screen and (min-width: 768px) {
  .change {
    width: 700px;
  }
}

@media screen and (min-width: 1024px) {
  .change {
    width: 400px;
    position: relative;
    top: -50px;
  }
}

.dropdown-list {
  list-style: none;
  padding: 0;
}

.dropdown-link {
  color: #2d314d;
  text-decoration: none;
}

.dropdown-link:hover {
  border-bottom: 0.21rem solid #31d35c;
  color: #2d314d;
}

@media screen and (min-width: 1024px) {
  .dropdown-link:hover {
    border-bottom: 0.3rem solid #31d35c;
    padding-bottom: 1rem;
  }
}

.dropdown-list__item {
  list-style: none;
  font-weight: 400;
  padding: 0.5rem;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .dropdown-list__item {
    display: inline-block;
  }
}

@media screen and (min-width: 768px) {
  .bars {
    display: none;
  }
}

@media screen and (min-width: 1024px) {
  .bars {
    display: none;
  }
}

.phone-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 125%;
}

.hero-body {
  margin-top: 7rem;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .hero-body {
    text-align: left;
    margin-top: 0;
  }
}

/*
* WHY
*/
/* Why section*/
.why {
  padding: 7rem 0 5rem 0;
}

.why .container {
  width: 90%;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (minmax(250px, 1fr))[auto-fit];
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 20px;
  font-family: "Public Sans", sans-serif;
}

.why-section {
  color: #2d314d;
  font-family: "Public Sans", sans-serif;
  padding-top: 2rem;
  padding-left: 2rem;
  padding-bottom: 3rem;
}

@media screen and (min-width: 768px) {
  .why-section {
    padding-left: 7rem;
  }
}

.why-p {
  color: #9698a6;
  padding: 1rem;
}

.why-section img {
  padding: 1.8rem;
}

/* Article card */
.article {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
  -webkit-box-shadow: 0 0 5px #f3f4f6;
          box-shadow: 0 0 5px #f3f4f6;
  -webkit-transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s, -webkit-transform 0.3s, -webkit-box-shadow 0.3s;
  position: relative;
}

.article:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
  -webkit-box-shadow: 0 0 10px 5px #f3f4f6;
          box-shadow: 0 0 10px 5px #f3f4f6;
}

.article-image {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
}

.article__content {
  padding: 1rem 1.5rem;
}

.article__content-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #2d314d;
}

.article__content-desc {
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article__credit {
  font-size: 0.8rem;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
}

.article__credit-author:hover {
  text-decoration: underline;
}

.article__credit, .article__content-desc,
.article a {
  color: #9698a6;
  font-weight: 300;
  text-decoration: none;
}

.article-link {
  color: transparent !important;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

/* Articles section */
.articles {
  padding: 5rem 0;
  background-color: #fafafa;
}

.articles-title {
  font-weight: 400;
  color: #2d314d;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2.5rem;
  text-transform: capitalize;
}

.articles__list {
  display: -ms-grid;
  display: grid;
  grid-gap: 2rem;
  padding: 0;
}

@media screen and (min-width: 768px) {
  .articles {
    padding: 5rem;
  }
  .articles__list {
    -ms-grid-columns: (minmax(350px, 1fr))[auto-fill];
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

@media screen and (min-width: 1024px) {
  .articles {
    padding: 5rem 10rem;
  }
  .articles-title {
    text-align: left;
    font-size: 2.5rem;
  }
  .articles__list {
    -ms-grid-columns: (minmax(250px, 1fr))[auto-fill];
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.footer {
  background-color: #2d314d;
  color: white;
}

.footer__container {
  padding: 3rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.lg {
  margin-bottom: 2.5rem;
}

.logo__image {
  width: 144px;
  height: auto;
}

.social__media {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 1rem;
  padding: 0;
}

.svg__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 1rem;
}

.svg__icon path {
  -webkit-transition: fill 0.3s;
  transition: fill 0.3s;
}

.svg__icon path:hover, .svg__icon path:active {
  fill: #31d35c;
}

.footer__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0;
}

.link__item {
  list-style: none;
  margin-bottom: 1rem;
}

.link__item .link {
  text-decoration: none;
  color: white;
  font-weight: 400;
  font-size: 1.1rem;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.link__item .link:hover, .link__item .link:active {
  color: #31d35c;
}

.request-btn {
  border: none;
  color: white;
  background: linear-gradient(45deg, #31d35c, #2bb7da);
  border-radius: 1.9rem;
  padding: 0.8rem 2.8rem;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.request-btn:hover, .request-btn:active {
  color: white;
  background: linear-gradient(45deg, #27b94e, #22a3c3);
}

.copyright {
  color: #9698a6;
  margin-top: 1rem;
}

.btn {
  padding: 0.8rem 2rem;
}

.btn-copyright {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (min-width: 768px) {
  .footer__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    gap: 1.5rem;
  }
  .lg {
    padding: 0.2rem;
    margin-bottom: 3.5rem;
  }
  .logo__image {
    width: 144px;
    height: auto;
  }
  .svg__icon {
    width: 20px;
    height: 20px;
  }
  .link__item .link {
    font-size: 0.9rem;
  }
  .copyright {
    font-size: 0.9rem;
  }
  .btn {
    padding: 0.5rem 2rem;
  }
}

@media screen and (min-width: 1024px) {
  .footer__container {
    padding: 3rem 5rem;
  }
  .footer__links {
    margin-bottom: 0;
  }
  .link__item-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 5rem;
    text-align: left;
  }
}
/*# sourceMappingURL=styles.css.map */