@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap");

:root {
  --clr-lightPink: #f4ede9;
  --clr-pink: #e6ccc3;
  --clr-brown: #9d8176;
  --clr-blue: #87bad7;
  --clr-gray: #3c3c3b;

  --ff-primary: "Roboto Mono", monospace;
  --ff-body: var(--ff-primary);
  --ff-chalk: "Fredericka the Great", cursive;
  --ff-cursive: "Cedarville Cursive", cursive;

  --fw-light: 200;
  --fw-regular: 400;
  --fw-semi-bold: 500;
  --fw-bold: 900;

  --fs-200: 0.875rem; /*14px*/
  --fs-300: 0.9375rem;
  --fs-400: 1rem; /*16px*/
  --fs-500: 1.25rem; /*18px*/
  --fs-600: 1.5rem; /*23px*/
  --fs-700: 1.75rem; /*28px*/
  --fs-800: 2.5rem;
  --fs-900: 3.5rem;
  --fs-1000: 5rem;

  --fs-body: var(--fs-400);
  --fs-primary-heading: var(--fs-800);
  --fs-secondary-heading: var(--fs-600);
  --fs-paragraph: var(--fs-500);

  --fs-nav: var(--fs-300);
  --fs-btn: var(--fs-200);

  --size-100: 0.25rem;
  --size-200: 0.5rem;
  --size-300: 0.75rem;
  --size-400: 1rem;
  --size-500: 1.25rem;
  --size-600: 1.5rem;
  --size-700: 2rem;
  --size-800: 2.5rem;
  --size-900: 3rem;

  --section-padding-default: 3rem;
  --section-padding-lg: 11.7rem;
}

@media (min-width: 50em) {
  :root {
    --fs-body: var(--fs-500);
    --fs-primary-heading: var(--fs-1000);
    --fs-secondary-heading: var(--fs-700);
    --fs-paragraph: var(--fs-600);

    --fs-nav: var(--fs-400);
  }
}
/* https://piccalil.li/blog/a-modern-css-reset */

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

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
  scroll-behavior: smooth;
}

/* Remove list styles on ul, ol*/
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */

html,
body {
  height: 100%;
}

/* Set core body defaults */
body {
  text-rendering: optimizeSpeed;
  line-height: 1.2;
  font-family: var(--ff-body);
  overflow-x: hidden;
  scroll-behavior: smooth;
}
button {
  line-height: 1;
}
/* A elements that don't have a class get default styles */

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: smooth;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: smooth !important;
  }
}
body {
  -webkit-font-smoothing: antiliased;
}
a {
  text-decoration: none;
}

/* general styling */
.text-center {
  text-align: center;
}
.container {
  --max-width: 1425px;
  --padding: 2rem;

  width: min(var(--max-width), 100%);
  padding: var(--padding);
  margin-right: auto;
  margin-left: auto;
}
.even-col {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 50em) {
  .even-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
/* NAV styling */
.nav-link {
  color: var(--clr-gray);
}
.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links-list {
  display: flex;
  align-items: center;
}
.nav-links-list li {
  margin-right: var(--size-600);
}
.logo {
  font-size: 2rem;
  font-family: var(--ff-cursive);
}
.shopping-bag,
.menu-icon {
  width: var(--size-500);
  cursor: pointer;
}
.primary-navigation {
  padding: 0.5rem 2rem;
}
.mobile-nav-toggle {
  display: none;
  background-color: transparent;
  border: none;
}
@media (min-width: 50em) {
  .nav-links-list li > a {
    transition: all 300ms ease-in-out;
  }
  .nav-links-list li > a:hover {
    color: var(--clr-blue);
  }
}
@media (max-width: 40em) {
  .primary-navigation {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 30%;
    z-index: 999;
    background-color: hsl(202, 50%, 69%, 0.7);

    transform: translateX(100%);
    transition: all 500ms ease-in;
  }

  .primary-navigation[data-visible="true"] {
    transform: translateX(0);
  }

  .nav-links-list {
    padding: min(20vh, 7rem) 2rem;
    flex-direction: column-reverse;
  }
  .nav-links-list li {
    padding: 1.25rem 0.25rem;
  }
  @supports (backdrop-filter: blur(0.75rem)) {
    .primary-navigation {
      z-index: 1000;
      background-color: hsl(17, 17%, 54%, 0.5);
      backdrop-filter: blur(0.75rem);
    }
  }
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    aspect-ratio: 1;
    top: 2rem;
    right: 2rem;
    z-index: 9999;
  }
}

/* end of NAV styling */
.chalk-text {
  margin: 1rem 1rem 2rem 0rem;
  max-width: 300px;
}
@media (min-width: 50em) {
  .chalk-text {
    margin-top: 10rem;
    margin-left: 7rem;
    max-width: 550px;
  }
}
.buy-btn {
  background-color: var(--clr-blue);
  color: white;
  margin-top: var(--size-700);
  padding: var(--size-400);
  border: 0;
  border-radius: 5px;
  transition: all 350ms ease-in-out;
}
.buy-btn:hover {
  background-color: hsl(202, 50%, 69%, 0.5);
  color: var(--clr-gray);
}
/* landing section */
.main-product-img {
  max-height: 580px;
  aspect-ratio: 1;
  transform: rotate(7deg);
}
.--padding-bottom {
  padding-bottom: 5rem;
}
/* about us section */
.about-us-content {
  margin-top: var(--size-800);
  padding: 1rem;
}
.about-model-img {
  max-height: 450px;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
@media (min-width: 50em) {
  .about-us-content {
    max-width: 550px;
    padding: 1rem;
    margin-top: 0;
  }
}

/* why us section  */
.whyUs-content {
  max-width: 300px;
}
.whyUs-content h1 {
  margin: var(--size-500) 0;
}
@media (min-width: 50em) {
  .whyUs-content {
    margin-top: 10rem;
    margin-left: 7rem;
  }
}
/* THE SLIDER COMPONENET */
.carousel__btn {
  cursor: pointer;
  width: 2rem;
  background-color: transparent;
  border: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%); /*to position exactly in the center*/
}
.carousel__btn--left {
  left: 1rem;
  z-index: 999;
}
.carousel__btn--right {
  right: 1rem;
  z-index: 999;
}
.carousel {
  position: relative;
  height: 360px;
  width: 90%;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
}
.carousel__img {
  max-height: 300px;
  aspect-ratio: 1;
}
@media (min-width: 50em) {
  .carousel {
    height: 600px;
  }
  .carousel__img {
    max-height: 450px;
    aspect-ratio: 1;
  }
}
.carousel__track-container {
  position: relative;
  height: 100%;
}
.carousel__track {
  padding: 0;
  margin: 0;
}
.carousel__slide {
  position: absolute;
  top: 0;
  transition: all 350ms ease-out;
}
@media (min-width: 50em) {
  .carousel__text {
    margin-left: -1.75rem;
  }
}
.carousel__nav {
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1rem 0;
}
.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin: 0 0.75rem;
  background-color: rgb(60, 60, 59, 0.3);
}
.carousel__indicator.current-slide {
  background-color: rgb(60, 60, 59, 0.75);
}
@media (max-width: 30em) {
  .hidden-sm {
    display: none;
  }
}
/* contact section  */
.contact-list {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: fit-content;
  margin: 0 auto;
}
.contact-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 1rem;
  /* max-width: fit-content; */
}
.contact-icon,
.social-media-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 2rem;
}

@media (min-width: 50em) {
  .contact-icon,
  .social-media-icon {
    width: 2rem;
    aspect-ratio: 1;
  }
}
.contact__social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
/* FOOTER STYLILNG */
footer .logo {
  padding: 1rem 0;
}
.nav-links-footer {
  padding: 2rem 0;
}
.nav-links-footer li {
  padding: 0.5rem 0;
}
.footer__social-media {
  display: flex;
}
@media (min-width: 50em) {
  .footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-links-footer {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }
  .nav-links-footer li {
    padding: 0.75rem;
  }
}
/* UTILITY CLASSES */

.fs-body {
  font-size: var(--fs-body);
}
.fs-primary-heading {
  font-size: var(--fs-primary-heading);
}
.fs-secondary-heading {
  font-size: var(--fs-secondary-heading);
}
.fs-paragraph {
  font-size: var(--fs-paragraph);
}
.fs-nav {
  font-size: var(--fs-nav);
}
.fs-btn {
  font-size: var(--fs-btn);
}

.fw-light {
  font-weight: var(--fw-light);
}
.fw-semi-bold {
  font-weight: var(--fw-semi-bold);
}
.fw-bold {
  font-weight: var(--fw-bold);
}

/* text colors */
.text-lightPink {
  color: var(--clr-lightPink);
}
.text-pink {
  color: var(--clr-pink);
}
.text-brown {
  color: var(--clr-brown);
}
.text-blue {
  color: var(--clr-blue);
}
.text-gray {
  color: var(--clr-gray);
}
/* bg colors */
.bg-lightPink {
  background-color: var(--clr-lightPink);
}
.bg-pink {
  background-color: var(--clr-pink);
}
.bg-brown {
  background-color: var(--clr-brown);
}
.bg-blue {
  background-color: var(--clr-blue);
}
.bg-gray {
  background-color: var(--clr-gray);
}
.ff-chalk {
  font-family: var(--ff-chalk);
}
.ff-cursive {
  font-family: var(--ff-cursive);
}

/* padding */
.padding-block-800 {
  padding: var(--size-800);
}
.padding-block-900 {
  padding: var(--size-900);
}
