/*-------- NORMALIZE --------*/
html {
  font-size: 62.5%; /* (10px / 16px) * 100 =  62.5%*/
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.2;
  font-size: 1.6rem;
  color: #444;
  border: 1rem solid #fff;
  box-sizing: border-box;
  overflow-x: hidden;
}

/*-------- RESETING --------*/
* {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

strong {
  font-weight: 400;
}

ul {
  list-style: none;
}

/*-------- Reuse --------*/
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-brand {
  display: block;
  font-size: 4.6rem;
  font-weight: 600 !important;
  color: #488d59;
  text-decoration: none;
}

.heading-primary {
  font-size: 6.4rem;
  color: #488d59;
  font-weight: 400;
  margin-bottom: 1rem;
}
.heading-primary--white {
  font-size: 5rem;
  font-weight: 200;
  color: #000;
}

.heading-secondary {
  font-size: 4.8rem;
  font-weight: 200;
  color: #222;
  margin-bottom: 1.6rem !important;
}

.sub-heading {
  font-size: 2rem;
  color: #777;
  margin-bottom: 7.2rem !important;
}

.heading-secondary,
.sub-heading {
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

.u-border-bottom {
  border-bottom: 1px solid #333;
}

.flex {
  display: flex;
  justify-content: space-between;
  row-gap: 2rem;
}
.flex--v-center {
  align-items: center;
}
.flex--align-stretch {
  align-self: stretch;
}
.flex--column {
  flex-direction: column;
}
.flex--fill {
  flex: 1;
}
.u-gap-small {
  gap: 0.6rem;
}
.u-gap-medium {
  gap: 1.2rem;
}
.u-gap-large {
  gap: 3rem;
}

.icon {
  color: #ccc;
}
.icon--size-small {
  font-size: 1.4rem !important;
}
.icon--size-medium {
  font-size: 1.8rem !important;
}
.icon--size-large {
  font-size: 3rem;
  padding: 1rem;
  border: 1px solid #333;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}
.icon--size-large:hover {
  background-color: #fff;
  color: #1d242d;
}

button {
  cursor: pointer;
}
.btn {
  font-size: 2rem;
  font-weight: 200;
  padding: 1rem 1.6rem;
  border: none;
  background-color: #59ab6e;
  color: #fff;
  border-radius: 0.8rem;
  transition: background-color 0.2s;
}
.btn:hover {
  background-color: #488d59;
}
.btn--small {
  font-size: 1.6rem;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/*-------- INFO --------*/
.info {
  padding: 1.4rem 0;
  background-color: #1d242d;
  font-size: 1.2rem !important;
}

.info__link {
  color: #ccc;
  text-decoration: none;
}

/*-------- HEADER --------*/
.header {
  height: 8rem;
  box-shadow: 0 1.5rem 3.22rem rgba(0, 0, 0, 0.07);
}

.header .container {
  height: 100%;
}

.main-nav__list {
  margin: 0 auto;
  /* gap: 6.4rem; */
}

.main-nav__link:link,
.main-nav__link:visited {
  display: block;
  font-size: 1.8rem;
  padding-inline: 3rem;
  color: #000;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.main-nav__link:hover,
.main-nav__link:active {
  color: #59ab6e;
  transform: scale(1.1);
}

.main-nav__list:hover .main-nav__link:not(:hover) {
  color: #aaa;
  transform: scale(0.9);
}

.main-nav__user__icon-box {
  padding: 0 1.6rem;
  cursor: pointer;
  transition: background-color 0.2s;

  position: relative;
}

.main-nav__user__icon-box:hover {
  background-color: #efefef;
}

.main-nav__user__icon {
  font-size: 2rem;
  color: #000;
}

.main-nav__user__notification {
  width: 2rem;
  height: 2rem;
  font-size: 10px;
  font-weight: 500;
  color: #fff;
  background-color: #59ab6e;
  border-radius: 10rem;
  position: absolute;
  top: 1.4rem;
  right: 0.6rem;
  justify-content: center;
}

/*-------- HERO --------*/
.hero-section {
  padding: 9.8rem 0;
  background-color: #efefef;

  position: relative;
}

.hero__text-box,
.hero__img-box {
  flex: 1;
}

.heading-primary span {
  font-weight: 200;
}

.hero__sub-title {
  font-size: 3rem;
  color: #111;
  margin-bottom: 0.8rem;
}

.hero__description {
  font-size: 1.8rem;
  line-height: 1.4;
}

.hero__link:link,
.hero__link:visited {
  color: #59ab6e;
}

.hero__photo {
  width: 100%;
}

.pagination__arrow {
  font-size: 6rem;
  font-weight: 900;
  position: absolute;
  color: #60ba77;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.5;
  transition: opacity 0.2s;

  cursor: pointer;
}
.pagination__arrow:hover {
  opacity: 1;
}
.pagination__arrow--left {
  left: 1rem;
}
.pagination__arrow--right {
  right: 1rem;
}

.pagination__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.pagination__dots .pagination__dot {
  width: 2rem;
  height: 0.4rem;
  border: none;
  border-radius: 10rem;
  background-color: #60ba77;
  opacity: 0.5;
}
.pagination__dots .pagination__dot--active {
  opacity: 1;
}

/*-------- CATEGORIES --------*/
.categories-section {
  padding: 6.4rem 0 9.8rem;
}

.categories {
  text-align: center;
}

.category {
  flex-basis: calc(100% / 3);
}

.category__photo {
  width: 80%;
  border-radius: 50%;
  margin-bottom: 2rem;
}

.category__name {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2.6rem;
}

/*-------- PRODUCTS --------*/
.products-section {
  background-color: #efefef;
  padding: 9.8rem 0;
}

.card {
  flex-basis: calc(100% / 3);
  background-color: #fff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  border-radius: 0.4rem;
  overflow: hidden;
}

.card__photo {
  width: 100%;
}

.card__details {
  padding: 2rem 2rem 4rem;
}

.card__details div:first-child {
  margin-bottom: 1.4rem;
}

.card__star {
  font-size: 2rem;
  color: #edbf02;
}

.card__star--inactive {
  color: #aaa;
}

.text-gray {
  color: #aaa;
  font-size: 1.8rem;
}

.card__heading {
  font-size: 2.8rem;
  font-weight: 300;
  color: #000;
  margin-bottom: 0.8rem;
}

.card__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;

  margin-bottom: 1.4rem;
}

/*-------- FOOTER --------*/
.footer {
  background-color: #212934;
  color: #ccc;
  padding: 6.4rem 0 0;
}

.flex-footer {
  padding-bottom: 4.6rem;
}

.footer-col {
  flex-basis: calc(100% / 3);
}

.logo-col li {
  justify-content: flex-start;
}

.footer__heading {
  font-size: 2.6rem !important;
  font-weight: 400;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
}

.footer__link:link,
.footer__link:visited {
  font-size: 1.8rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__link:hover,
.footer__link:active {
  color: #60ba77;
}

.footer__contact {
  padding: 4rem 0;
}

.footer__form {
  border: 1px solid #333;
  border-radius: 0.8rem;
}

.footer__input {
  font-size: 1.6rem;
  border: none;
  outline: none;
  background-color: transparent;
  color: #eee;
  padding: 1rem;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.footer__input:focus {
  outline: 5px solid #1d3049;
}

/*-------- COPYRIGHT ---------*/
.copyright {
  font-size: 1.8rem;
  background-color: #1d242d;
  padding: 3.6rem 2rem;
}

.footer__link--line {
  text-decoration: underline !important;
}
