/*===============================*/
/*========= GOOGLE FONTS ========*/
/*===============================*/
/* @import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');*/

@font-face {
  font-family: "Libre Baskerville";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/LibreBaskerville-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/LibreBaskerville-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/LibreBaskerville-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Fjalla One";
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/FjallaOne-Regular.woff2") format("woff2");
}

/*===============================*/
/*======== VARIABLES CSS ========*/
/*===============================*/
:root {
  --header-height: 3rem;

  --container-width: 1366px;

  /* change backgound image */
  --bg-image: url("../img/placeholder-5.webp");

  /*===============================*/
  /*======== FONT SIZE H1 =========*/
  /*===============================*/
  --title-h1: 18vw; /* Adjust number hero title font: high = big, low = small */

  /*===============================*/
  /*======== THEME COLORS =========*/
  /*===============================*/
  --hue-color: 350;
  /*- Red     = 0 
    - Green   = 120
    - Cyan    = 180 
    - Blue    = 230
    - Purple  = 250 
    - Magenta = 300 
    - Pink    = 340
    - Orange  = 380
  */

  /* HSL color mode */
  --first-color: hsl(var(--hue-color), 49%, 51%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 20%, 23%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 60%, 20%);
  --text-color-light: hsl(var(--hue-color), 8%, 50%);
  --input-color: hsl(var(--hue-color), 40%, 88%);
  --body-color: hsl(var(--hue-color), 60%, 93%);

  --bg-color: hsl(var(--hue-color), 60%, 92%);

  --container-color: hsl(0, 0%, 100%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);
  --button-color: hsl(0, 0%, 96%);
  --danger-color: hsl(0, 100%, 50%);
  --light-color: hsl(10, 10%, 100%);

  /*===============================*/
  /*===== FONT AND TYPOGRAPHY =====*/
  /*===============================*/
  --main-font: "Fjalla One", serif;
  --sub-font: "Libre Baskerville", sans-serif;

  /* .5rem = 8px, 1rem = 16px, 1.5rem = 24px ... */
  --h1-font-size: clamp(5.25rem, var(--title-h1), 16rem);
  --h2-font-size: clamp(2.2rem, 5vw, 2.5rem);
  --h3-font-size: clamp(1.1rem, 5vw, 1.35rem);
  --font-size-4-5: 4.5rem;
  --font-size-3-5: 3.5rem;
  --font-size-3: 3rem;
  --font-size-2-5: 2.5rem;
  --font-size-2: 2rem;
  --font-size-1-75: 1.75rem;
  --font-size-1-5: 1.5rem;
  --font-size-1-25: 1.25rem;
  --font-size-1-2: 1.2rem;
  --font-size-1-1: 1.1rem;
  --font-size-1: 0.875rem;
  --font-size-0-813: 0.813rem;
  --font-size-0-75: 0.75rem;

  /*===============================*/
  /*========= FONT WEIGHT =========*/
  /*===============================*/
  --font-light: 300;
  --font-medium: 400;
  --font-semi-bold: 600;
  --font-bold: 700;
  --font-black: 900;

  /*===============================*/
  /*========== SPACINGS ===========*/
  /*===============================*/
  /* .25rem = 4px, .5rem = 8px, .75rem = 12px ... */
  --space-0-25: 0.25rem;
  --space-0-5: 0.5rem;
  --space-0-75: 0.75rem;
  --space-1: 1rem;
  --space-1-25: 1.25rem;
  --space-1-5: 1.5rem;
  --space-2: 2rem;
  --space-2-5: 2.5rem;
  --space-3: 3rem;
  --space-3-5: 3.5rem;
  --space-4: 4rem;
  --space-4-5: 4.5rem;
  --space-5: 5rem;
  --space-6: 6rem;
  --space-8: 8rem;
  --space-10: 10rem;
  --space-12: 12rem;
  --space-14: 14rem;

  /*===============================*/
  /*=========== Z INDEX ===========*/
  /*===============================*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;

  /*===============================*/
  /*=========== SHADOW ============*/
  /*===============================*/
  --shadow-sm: 5px 5px 10px rgba(2, 2, 2, 0.12);
  --shadow-md: 5px 5px 10px rgba(2, 2, 2, 0.2);

  /*===============================*/
  /*=========== BORDER ============*/
  /*===============================*/
  --border-sm: 1px solid var(--border-color);

  /*===============================*/
  /*============ EMBLA ============*/
  /*===============================*/
  --slide-height: 24rem;
  --slide-spacing-xs: 2rem;
  --slide-spacing-sm: 3rem;
  --slide-spacing-md: 4rem;
  --slide-spacing-lg: 5rem;
  --slide-spacing-xl: 6rem;
  --slide-size: 100%;
  --slide-size-sm: 50%;
  --slide-size-lg: calc(100% / 3);
}

/* Font size for large devices */
@media screen and (min-width: 968px) {
  :root {
    --font-size-1: 0.875rem;
    --font-size-0-813: 0.813rem;
    --font-size-0-75: 0.75rem;
  }
}

/*===============================*/
/*===== VARIABLES DARK THEME ====*/
/*===============================*/
body.dark-theme {
  /* HSL color mode */
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 85%);

  --input-color: hsl(var(--hue-color), 29%, 16%);
  --body-color: hsl(var(--hue-color), 28%, 8%);

  --bg-color: hsl(var(--hue-color), 10%, 2%);

  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

#dark-mode > img {
  cursor: pointer;
}

#dark-mode.dark-theme .moon__mode,
#dark-mode .sun__mode {
  display: none;
}

#dark-mode.dark-theme .sun__mode {
  display: block;
}

.moon__mode svg,
.sun__mode svg {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

.moon__mode.visible,
.sun__mode.visible {
  visibility: visible;
}

/*===============================*/
/*======= BUTTON DARKMODE =======*/
/*===============================*/
.theme__container {
  display: flex;
  align-items: center;
  column-gap: var(--space-0-75);
}

.change-theme {
  font-size: var(--font-size-1-25);
  color: var(--title-color);
  margin-right: var(--space-1);
  cursor: pointer;
}

.change-theme:hover {
  color: var(--first-color);
}

/*===============================*/
/*============ EMBLA ============*/
/*===============================*/
.grid__embla {
  display: grid;
}

.grid__embla-stack > * {
  grid-area: 1/-1;
}

.embla {
  max-width: 111.5rem;
  margin: auto;
}

.embla__viewport {
  overflow: hidden;
  z-index: 1;
}

.embla__container {
  backface-visibility: hidden;
  display: flex;
  touch-action: pan-y pinch-zoom;
  /* margin-left: calc(var(--slide-spacing-lg) * -1); */
}

@media (max-width: 991px) {
  .embla__container.embla__work,
  .embla__container.embla__modal-work,
  .embla__container.embla__testimonial {
    margin-left: calc(var(--slide-spacing-lg) * -1);
  }
}

@media (min-width: 992px) {
  .embla__container.embla__work {
    margin-left: calc(var(--slide-spacing-md) * -1);
  }

  .embla__container.embla__modal-work {
    margin-left: calc(var(--slide-spacing-lg) * -1);
  }

  .embla__container.embla__testimonial {
    margin-left: calc(var(--slide-spacing-md) * -1);
  }

  .embla__container .work__slide:nth-child(even) {
    margin-top: var(--space-2);
  }
}

@media (min-width: 1024px) {
  .embla__container.embla__testimonial {
    margin-left: calc(var(--slide-spacing-md) * -1);
  }
}

.embla__slide {
  min-width: 0;
  /* flex: 0 0 var(--slide-size); */
  /* padding-left: var(--slide-spacing-md); */
  cursor: grab;
}

@media (max-width: 991px) {
  .embla__slide.work__slide,
  .embla__slide.work__modal-slide,
  .embla__slide.testimonial__slide {
    flex: 0 0 var(--slide-size);
    padding-left: var(--slide-spacing-lg);
  }
}

@media (min-width: 992px) {
  .embla__slide.work__modal-slide {
    flex: 0 0 var(--slide-size);
    padding-left: var(--slide-spacing-lg);
  }
}

@media (min-width: 1024px) {
  .embla__slide.work__slide,
  .embla__slide.testimonial__slide {
    flex: 0 0 var(--slide-size-sm);
    padding-left: var(--slide-spacing-md);
  }
}

@media (min-width: 1280px) {
  .embla__slide.work__slide,
  .embla__slide.testimonial__slide {
    flex: 0 0 var(--slide-size-lg);
    padding-left: var(--slide-spacing-md);
  }
}

.embla__slide__number {
  box-shadow: inset 0 0 0 0.2rem var(--first-color-lighter);
  border-radius: 1.8rem;
  font-size: 4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--slide-height);
  user-select: none;
}

.embla__buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.embla__button {
  -webkit-tap-highlight-color: var(--first-color-lighter);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  width: 3.6rem;
  height: 3.6rem;
  z-index: 1;
  border-radius: 50%;
  color: var(--first-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.embla__button:disabled {
  color: var(--detail-high-contrast);
}

.embla__button__svg {
  width: 35%;
  height: 35%;
}

.embla__bottom {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
}

.embla__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 1rem;
  /* margin-right: calc((2.8rem - 1.4rem) / 2 * -1); */
}

.embla__dot {
  -webkit-tap-highlight-color: var(--first-color-lighter);
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  touch-action: manipulation;
  display: inline-flex;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.embla__dot:after {
  box-shadow: inset 0 0 0 0.6rem var(--first-color-lighter);
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  content: "";
}

.embla__dot--selected:after {
  box-shadow: inset 0 0 0 0.6rem var(--first-color);
}

.embla__selected-snap-display {
  justify-self: center;
  align-self: center;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.837rem;
}

/*===============================*/
/*============ MODAL ============*/
/*===============================*/
.modal {
  position: fixed;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden; /* Hides and allows transition */
  transition:
    opacity 0.2s ease,
    visibility 0.4s ease;
}

.modal.modal-show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible; /* Smoothly reveal */
  z-index: 10000;
}

.modal__content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 75vh;
  transition: transform 0.6s ease;
}

.close {
  position: fixed;
  top: var(--space-0-25);
  right: var(--space-0-75);
  z-index: 1100;
  font-size: var(--font-size-2);
  font-weight: var(--font-medium);
  color: var(--danger-color);
  cursor: pointer;
}

/*===============================*/
/*=========== SOCIALS ===========*/
/*===============================*/
.socials {
  column-gap: var(--space-1);
}

.socials__icon {
  display: flex;
  transition: 1s;
}

.socials__icon:hover {
  transform: translateY(-0.25rem);
}

/*===============================*/
/*========== ANIMATION ==========*/
/*===============================*/
.animate-fade {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  /* transform: translateY(50px); */
  /* transition: opacity 0.2s ease-in-out, transform 4s ease-in-out; */
}

.animate-fade.active {
  opacity: 1;
  /* transform: translateY(0); */
}

/*===============================*/
/*========== SCROLL BAR =========*/
/*===============================*/
::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
  border-radius: var(--space-0-5);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: var(--space-0-5);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}

/*=============================*/
/*=========== PAGE ============*/
/*=============================*/
.page__container {
  padding: 2rem;
  height: 100dvh;
}

.page__content {
  max-width: 32rem;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page__title {
  margin-bottom: 1rem;
  line-height: 1;
  text-transform: uppercase;
}

.page__thanks {
  font-size: clamp(5rem, 10vw, 10rem);
}

.page__error {
  font-size: clamp(5.5rem, 10vw, 10rem);
}

.page__subtitle {
  max-width: 20rem;
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.page__link {
  padding: 12px 24px;
  font-size: clamp(0.893rem, 3vw, 1.1rem);
  background: var(--first-color);
  color: var(--container-color);
}

.page__link:hover {
  background: var(--first-color-alt);
}

/* policy */
.page__policy {
  margin-top: var(--space-6);
}

.page__policy-content {
  max-width: 60rem;
  margin: var(--space-2-5) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.page__policy-title {
  font-size: var(--h2-font-size);
  text-transform: uppercase;
}

.page__policy-subtitle {
  font-size: var(--h3-font-size);
  text-transform: uppercase;
}

.page__policy-description {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.page__policy-date {
  font-style: italic;
}

.page__policy-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1-25);
}

.page__policy-link {
  color: var(--title-color);
  font-size: var(--font-size-875);
}

.page__policy-link:hover {
  color: var(--first-color);
}

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

body {
  margin: 0;
  font-family: var(--main-font);
  font-size: var(--font-size-1);
  background: var(--body-color);
  color: var(--text-color);
  transition:
    background 0.3s,
    color 0.3s;
}

h1,
h2,
h3,
h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--space-1);
}

p {
  font-family: var(--sub-font);
}

textarea {
  resize: vertical;
}

/*===============================*/
/*===== REUSABLE CSS CLASSES ====*/
/*===============================*/
.section__title {
  font-size: var(--h2-font-size);
  color: var(--title-color);
}

.section__subtitle {
  margin-bottom: var(--space-0-5);
  display: block;
  font-size: var(--font-size-1);
  text-transform: capitalize;
}

.section__title,
.section__subtitle {
  text-align: center;
}

/*===============================*/
/*=========== LAYOUT ============*/
/*===============================*/
.container {
  max-width: var(--container-width);
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: var(--space-1-5);
}

.grid__stack > * {
  grid-area: 1/-1;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
}

/*=============================*/
/*========== BUTTONS ==========*/
/*=============================*/
.button {
  display: inline-block;
  width: fit-content;
  padding: var(--space-0-5) var(--space-1-25);
  background-color: var(--first-color);
  color: var(--button-color);
  font-weight: var(--font-medium);
  font-family: var(--main-font);
  font-size: var(--font-size-1);
  border: none;
  border-radius: var(--space-0-25);
  cursor: pointer;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button__white {
  background-color: var(--button-color);
  color: var(--first-color);
}

.button__white:hover {
  background-color: var(--button-color);
}

.button__flex {
  display: inline-flex;
  align-items: center;
}

.button__link {
  padding: 0;
  background: transparent;
  color: var(--first-color);
}

.button__link:hover {
  background-color: transparent;
  color: var(--first-color);
}

/*===============================*/
/*============ NAV SUB ==========*/
/*===============================*/
.nav__sub {
  padding: var(--space-0-5) 0;
  background: var(--body-color);
  border-bottom: 1px solid var(--first-color);
}

.nav__sub .container {
  display: flex;
  justify-content: end;
  gap: var(--space-2);
}

/* nav info */
.nav__infos {
  display: flex;
  align-items: center;
  gap: var(--space-1-5);
}

.nav__info {
  display: flex;
  align-items: center;
  gap: var(--space-0-25);
}

.nav__info svg {
  width: calc(var(--space-1-25) - 0.25rem);
  height: calc(var(--space-1-25) - 0.25rem);
  color: var(--title-color);
}

.nav__text {
  font-family: var(--main-font);
  font-size: var(--font-size-0-75);
  color: var(--title-color);
  text-transform: capitalize;
}

/*===============================*/
/*============== NAV ============*/
/*===============================*/
.nav {
  max-width: var(--container-width);
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  column-gap: var(--space-0-25);
  z-index: 9999;
}

.nav__icon {
  margin-top: 0.3rem;
  width: var(--space-2);
  height: var(--space-2);
  transform: rotate(-90deg);
  cursor: pointer;
}

.nav__title {
  margin-top: calc(var(--space-0-25) + 0.1rem); /* Remove this line when not centered*/
  font-size: var(--font-size-1-75);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  text-transform: uppercase;
  transition: 1s;
}

.nav__title:hover {
  color: var(--first-color);
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: var(--font-size-0-813);
  color: var(--title-color);
  font-weight: var(--font-medium);
  text-transform: capitalize;
  text-decoration: underline;
}

.nav__link:hover {
  color: var(--first-color);
}

.nav__toggle {
  z-index: 1;
  cursor: pointer;
}

.nav__toggle svg {
  width: var(--space-1-25);
  height: var(--space-1-25);
  color: var(--first-color);
}

.nav__toggle.visible {
  visibility: visible;
}

.nav__close {
  position: fixed;
  top: 0.85rem;
  right: 5%;
  scale: 1.1;
  cursor: pointer;
  transform: translateY(-20rem);
  transition: 0.8s ease-in-out;
}

.nav__close svg {
  width: var(--space-1-25);
  height: var(--space-1-25);
  color: var(--danger-color);
}

/* Active link */
.nav__link.active-link {
  color: var(--first-color);
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
  box-shadow: var(--shadow-sm);
}

/*===============================*/
/*============= HOME ============*/
/*===============================*/
.home__container {
  width: 100%;
  height: 100dvh;
  align-items: center;
}

.home__img {
  margin: auto;
  object-fit: cover;
  transform: translateX(-0.1rem);
  animation: scroll-down 10s alternate infinite;
}

/* KEYFRAMES */
@keyframes scroll-down {
  0% {
    transform: translateY(-6rem);
  }
  50% {
    transform: translateY(-7rem);
  }
  100% {
    transform: translateY(-6rem);
  }
}

.home__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home__title {
  font-size: var(--h1-font-size);
  max-width: 85rem;
  text-transform: uppercase;
  background-repeat: repeat;
  background-image: var(--bg-image);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home__subtitle {
  font-size: clamp(1.1rem, 3.5vw, 1.65rem);
  font-weight: var(--font-bold);
  font-family: var(--main-font);
  color: var(--title-color);
}

.home__subtitle:last-child {
  text-align: right;
}

.home__bottom {
  position: relative;
  margin-top: auto;
  margin-bottom: var(--space-1);
  display: flex;
  flex-direction: column;
  gap: var(--space-1-5);
  z-index: 2;
}

.home__description {
  max-width: 20rem;
  margin: 0 auto;
  font-size: clamp(0.875rem, 3vw, 0.913rem);
  line-height: 1.4;
  text-align: center;
}

.home__scroll {
  width: fit-content;
  margin: 0 auto;
  font-size: clamp(1.1rem, 3.5vw, 1.25rem);
  font-family: var(--main-font);
  text-transform: uppercase;
  color: var(--title-color);
  border: none;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}

/* home clients */
.home__clients {
  margin-top: var(--space-0-75);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.home__clients-icon {
  display: flex;
  transform: translateX(var(--space-0-5));
}

.home__clients-img {
  width: var(--space-2-5);
  height: var(--space-2-5);
  object-fit: cover;
  border: 2px solid var(--body-color);
  border-radius: var(--space-5);
}

.home__clients-img:nth-child(2) {
  transform: translateX(-0.75rem);
}

.home__clients-img:nth-child(3) {
  transform: translateX(-1.25rem);
}

.home__clients-value {
  font-family: var(--main-font);
  font-size: var(--font-size-0-75);
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
}

/* reviews */
.home__reviews {
  margin-left: calc(var(--space-0-5) * -1);
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.home__rate {
  font-size: var(--font-size-1-1);
  font-family: var(--main-font);
  color: var(--title-color);
}

.home__stars {
  display: flex;
  align-items: center;
  gap: var(--space-0-25);
}

.home__stars svg {
  width: var(--space-0-75);
  height: var(--space-0-75);
  color: var(--title-color);
}

/*===============================*/
/*============ ABOUT ============*/
/*===============================*/
.about .section__title,
.about .section__subtitle {
  text-align: left;
}

.about .section__title {
  max-width: 18rem; /* Adjust title size value*/
}

.about__img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  scale: 0.8;
}

.about__description {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-1-5);
  line-height: 1.5;
}

.about__description p {
  font-size: var(--font-size-1);
  line-height: 1.5;
}

.about__button {
  margin-top: var(--space-3);
}

.about__text {
  margin-top: var(--space-3);
  font-size: var(--h2-font-size);
  text-align: right;
  text-transform: capitalize;
  opacity: 0.25;
}

/*===============================*/
/*========== FLAVOURS ===========*/
/*===============================*/
.flavour .section__title {
  max-width: 24rem; /* Adjust title size value*/
  margin: 0 auto;
}

.flavour__filter-container {
  margin: var(--space-1-5) auto var(--space-2-5);
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: var(--space-0-5);
  row-gap: var(--space-0-75);
}

/* Filter Buttons */
.flavour__filter-btn {
  padding: var(--space-0-5);
  border: none;
  color: var(--title-color);
  background: none;
  font-size: var(--font-size-1-1);
  font-weight: var(--font-medium);
  font-family: var(--main-font);
  text-transform: capitalize;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.3s ease;
}

.flavour__filter-btn:hover,
.flavour__filter-btn.active {
  color: var(--first-color-second);
}

/* Menu Card */
.flavour__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-1);
  opacity: 0;
}

.flavour__img {
  width: var(--space-10);
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--space-5);
  box-shadow: var(--shadow-sm);
  transition: 0.5s ease;
}

.flavour__card:hover .flavour__img {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.flavour_title {
  font-size: var(--font-size-1);
}

.flavour__description {
  margin-top: var(--space-0-25);
  max-width: 15rem;
  line-height: 1.4;
}

.flavour__price {
  padding: var(--space-0-75);
  font-size: var(--font-size-1-25);
  font-family: var(--main-font);
  background: var(--bg-color);
  border-radius: var(--space-5);
}

.flavour__text {
  margin-top: var(--space-1-5);
  text-align: right;
  font-size: var(--font-size-0-813);
}

/*===============================*/
/*========== SERVICES ===========*/
/*===============================*/
.services .section__title {
  max-width: 18rem; /* Adjust title size value*/
  margin: 0 auto;
}

.services__container {
  align-items: center;
}

.services__img {
  margin: auto;
  width: 40%;
  aspect-ratio: 1/1;
  z-index: -1;
}

.services__main {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-5);
}

.services__card {
  width: fit-content;
  padding: var(--space-1-5);
  border-radius: var(--space-1);
  background: var(--bg-color);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.services__title {
  font-size: var(--h3-font-size);
  font-family: var(--main-font);
  line-height: 1.2;
}

.services__description {
  max-width: 18rem;
  margin-top: var(--space-0-5);
  font-size: var(--font-size-1);
  line-height: 1.4;
}

.services__card:nth-child(even) {
  margin-left: auto;
}

.services__card:first-child {
  margin-left: var(--space-2);
  margin-top: var(--space-2);
}

.services__card:nth-child(odd) {
  text-align: left;
}

.services__card:nth-child(even) {
  text-align: right;
}

/*===============================*/
/*============ WORK =============*/
/*===============================*/
.work .section__title {
  max-width: 28rem; /* Adjust title size value*/
  margin: 0 auto var(--space-2-5);
}

.work__slide-button {
  background: transparent;
  border: none;
  border-radius: var(--space-2);
  overflow: hidden;
  cursor: pointer;
}

.work__slide-img {
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: 0.5s ease;
  animation: zoom-in 30s alternate infinite;
}

@keyframes zoom-in {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.work__modal-container {
  position: relative;
  max-height: 90dvh;
}

.work__modal-container::-webkit-scrollbar {
  display: none;
}

.work__model-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

.embla__work-modal .embla__selected-snap-display {
  color: var(--light-color);
}

/*===============================*/
/*============= CTA =============*/
/*===============================*/
.cta__title {
  max-width: 24rem; /* Adjust title size value*/
  margin-bottom: var(--space-1);
  font-size: var(--font-size-1-5);
}

.cta__container {
  align-items: center;
}

.cta__img-container {
  align-items: center;
}

.cta__img {
  scale: 0.9;
  animation: bounce 10s alternate infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(-1rem);
  }
  50% {
    transform: translateY(1rem);
  }
  100% {
    transform: translateY(-1rem);
  }
}

.cta__text {
  margin-top: var(--space-1);
  font-size: calc(var(--h1-font-size) + 5rem);
  font-family: var(--main-font);
  text-align: center;
  line-height: 1.1;
}

.cta__main {
  padding: var(--space-2-5);
  background: var(--bg-color);
  border-radius: var(--space-1);
}

.cta__description {
  max-width: 32rem;
  font-size: var(--font-size-1);
  line-height: 1.5;
}

.cta__button {
  display: block;
  width: fit-content;
  margin-top: var(--space-2);
  margin-left: auto;
}

/*===============================*/
/*========== TESTIMONIAL ========*/
/*===============================*/
.testimonial__card,
.testimonial__card-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-1);
}

.testimonial__card {
  width: 100%;
  aspect-ratio: 1/1;
  padding: var(--space-2);
  text-align: center;
  background: var(--bg-color);
  border-radius: var(--space-1);
}

.testimonial__card-name {
  margin-top: var(--space-0-25);
  font-size: var(--font-size-1-1);
  font-weight: var(--font-medium);
}

.testimonial__card-customer {
  font-size: var(--font-size-0-813);
  color: var(--text-color-light);
}

.testimonial__card-description {
  margin-top: var(--space-1);
  font-size: clamp(0.875rem, 5vw, 1rem);
  text-align: center;
}

.testimonial__card-img {
  width: var(--space-6);
  height: var(--space-6);
  object-fit: cover;
  border-radius: var(--space-5);
}

/*===============================*/
/*=========== CONTACT ===========*/
/*===============================*/
.contact .container {
  background: var(--bg-color);
  border-radius: var(--space-1);
}

.contact__container {
  display: flex;
  flex-direction: column;
  row-gap: var(--space-3-5);
}

.contact__head .section__title,
.contact__head .section__subtitle {
  text-align: left;
  margin-bottom: 0;
}

.contact__head {
  display: flex;
  gap: var(--space-1-5);
}

.contact__description {
  max-width: 22rem;
  font-size: var(--font-size-1);
  line-height: 1.4;
}

.contact__img {
  width: 100%;
  object-fit: cover;
}

/* contact social */
.contact__info {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-2-5);
  row-gap: var(--space-1);
  justify-content: space-evenly;
}

.contact__card {
  display: flex;
  align-items: center;
  gap: var(--space-0-25);
}

.contact__card-icon {
  color: var(--first-color);
}

.contact__card-icon svg {
  width: var(--space-1-5);
  height: var(--space-1-5);
}

.contact__card-icon:first-child svg {
  width: calc(var(--space-1-5) + 0.15rem);
  height: calc(var(--space-1-5) + 0.15rem);
}

.contact__card-title {
  font-size: var(--font-size-1-2);
  font-weight: var(--font-semi-bold);
  text-transform: uppercase;
  text-decoration: underline;
}

/* contact form */
.contact__main {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-1-5) + 0.15rem);
}

.contact__group {
  background-color: var(--input-color);
  border-radius: var(--space-0-5);
  padding: var(--space-0-75) var(--space-1) var(--space-0-25);
}

.contact__label {
  font-size: var(--font-size-0-813);
  color: var(--title-color);
}

.contact__input {
  width: 100%;
  background-color: transparent;
  color: var(--text-color);
  font-family: var(--main-font);
  font-size: var(--font-size-1);
  border: none;
  outline: none;
  padding: var(--space-0-25) var(--space-0-5) var(--space-0-5) 0;
}

.contact__button {
  display: block;
  width: fit-content;
  margin-top: var(--space-1-5);
  margin-left: auto;
  padding: var(--space-0-25) var(--space-1-25);
  display: flex;
  align-items: center;
  text-transform: uppercase;
}

.send__icon {
  margin-left: var(--space-0-25);
  color: var(--light-color);
}

.send__icon svg {
  margin-top: 0.3rem;
  width: var(--space-1-25);
  height: var(--space-1-25);
}

/*===============================*/
/*=========== FOOTER ============*/
/*===============================*/
.footer {
  margin-top: var(--space-10);
  padding: var(--space-5) 0 var(--space-0-5);
  background: var(--bg-color);
  border-top: 1px solid var(--body-color);
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__head,
.footer__card {
  width: 100%;
  height: fit-content;
}

/* footer main */
.footer__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-0-25);
}

.footer__title {
  font-size: clamp(3rem, 14vw, 4.75rem);
  text-transform: uppercase;
}

.footer__icon {
  transform: rotate(-90deg); /*Remove rotate to 0deg*/
}

.footer__description {
  max-width: 30rem;
  margin-top: var(--space-0-5);
  line-height: 1.5;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  gap: var(--space-5);
}

.footer__subtitle {
  margin-bottom: var(--space-1-25);
  font-size: var(--font-size-1-1);
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: calc(var(--space-1-5) + 0.25rem);
}

.footer__link {
  font-size: var(--font-size-1);
  text-transform: capitalize;
  color: var(--title-color);
  text-decoration: underline;
}

.footer__link:hover {
  color: var(--first-color-second);
}

/* Active Link */
.footer__link.active-link {
  color: var(--first-color-second);
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: calc(var(--space-1-5) + 0.25rem);
}

.footer__socials .socials__link {
  color: var(--title-color);
  text-decoration: underline;
}

.footer__socials .socials__link:hover {
  color: var(--first-color-second);
}

/* footer side */
.footer__side {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__map {
  width: 100%;
}

.footer__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-1-5);
}

.footer__item {
  display: flex;
  justify-content: space-between;
}

.footer__item svg {
  width: var(--space-1-25);
  height: var(--space-1-25);
  color: var(--dark-color);
}

/* footer bottom */
.footer__bottom {
  margin-bottom: var(--space-0-25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-0-25);
  font-size: var(--font-size-0-75);
  font-family: var(--main-font);
  color: var(--text-color);
}

.footer__copy p {
  font-family: var(--main-font);
}

.footer__title,
.footer__subtitle,
.footer__link,
.footer__social {
  color: var(--title-color);
}

/*===============================*/
/*========== SCROLL UP ==========*/
/*===============================*/
.scroll__up {
  border: none;
  background: none;
}

.scroll__up-icon {
  margin: 0 auto;
  width: var(--space-2);
  height: var(--space-2);
  color: var(--first-color);
  cursor: pointer;
  transition: 1.5s;
}

.scroll__up-icon:hover {
  transform: translateY(-0.25rem);
}

/*===============================*/
/*======== MEDIA QUERIES ========*/
/*===============================*/
/*====== FOR SMALL DEVICES ======*/
/*===============================*/
@media screen and (max-width: 490px) {
  .embla__viewport {
    padding: 0 1rem;
  }

  .section__title {
    font-weight: var(--font-bold);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--space-3-5);
  }

  .section {
    padding: var(--space-10) 0 0;
  }

  .nav__menu {
    padding: var(--space-2) var(--space-0-25);
  }

  .nav__list {
    column-gap: 0;
  }

  .nav__socials {
    display: none;
  }

  .home__img {
    width: 32.5rem;
    height: 32.5rem;
  }

  .home__title {
    transform: scaleY(1.6);
    line-height: 1.3;
  }

  .home__subtitle {
    transform: translate(0.25rem, -1rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.25rem, 0.25rem);
  }

  .about__container.grid {
    gap: var(--space-2-5);
  }

  .about__head {
    margin-bottom: calc(var(--space-1) * -1);
  }

  .flavour__main {
    grid-template-columns: repeat(2, 1fr);
    transition: 1s;
  }

  .flavour__main.grid {
    gap: var(--space-2-5);
  }

  .services__img {
    width: 100%;
  }

  .work__slide-img {
    aspect-ratio: 1/1;
  }

  .work__modal-img {
    width: 100%;
    aspect-ratio: 7/9;
    object-fit: contain;
  }

  .cta__icon {
    order: -1;
  }

  .testimonial__card,
  .testimonial__card-head {
    flex-direction: column;
    align-items: center;
  }

  .testimonial__card,
  .testimonial__card-description {
    text-align: center;
  }

  .testimonial__card-description {
    width: 100%;
  }

  .contact .container {
    padding: var(--space-2-5);
  }

  .contact__img {
    aspect-ratio: 1/1;
  }

  .contact__head {
    flex-direction: column;
    align-items: start;
  }

  .footer__container.grid {
    gap: var(--space-5);
  }

  .footer__icon {
    margin-top: var(--space-0-75);
    width: var(--space-3-5);
    height: var(--space-3-5);
  }

  .footer__content {
    gap: var(--space-2-5);
  }

  .footer__links,
  .footer__socials {
    flex-direction: column;
  }

  .footer__map {
    aspect-ratio: 1/1;
  }
}

/*===============================*/
/*====== FOR SMALL DEVICES ======*/
/*===============================*/
@media screen and (max-height: 490px) {
  .home__container {
    height: 52.5rem;
  }
}

/*===============================*/
/*====== FOR SMALL DEVICES ======*/
/*===============================*/
@media screen and (width: 360px) and (height: 760px) {
  .home__title {
    transform: scaleY(1.5);
  }
}

@media screen and (width: 375px) and (height: 667px) {
  .home__title {
    transform: scaleY(1.2);
  }
}

/*===============================*/
/*====== FOR MEDIUM DEVICES =====*/
/*===============================*/
@media screen and (min-width: 491px) {
  .embla__viewport {
    padding: 0 1rem;
  }

  .section {
    padding: var(--space-10) 0 0;
  }

  .section__title {
    font-weight: var(--font-bold);
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: var(--space-2-5);
  }

  .nav__socials {
    display: none;
  }

  .home__img {
    width: 40rem;
    height: 40rem;
  }

  .home__subtitle {
    transform: translate(0.75rem, -0.5rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.5rem, -0.5rem);
  }

  .home__title {
    line-height: 1.2;
    transform: scaleY(1.3);
  }

  .about__container.grid {
    gap: var(--space-2-5);
  }

  .flavour__main {
    grid-template-columns: repeat(2, 1fr);
    transition: 1s;
  }

  .flavour__main.grid {
    gap: var(--space-2-5);
  }

  .services__img {
    width: 100%;
  }

  .services__main {
    width: 28rem;
  }

  .work__slide-img {
    aspect-ratio: 1/1;
  }

  .work__modal-img {
    width: 100%;
    aspect-ratio: 7/9;
    object-fit: contain;
  }

  .cta__icon {
    order: -1;
  }

  .testimonial__card-description {
    width: 75%;
  }

  .contact .container {
    padding: var(--space-2-5);
  }

  .contact__img {
    aspect-ratio: 16/9;
  }

  .contact__head {
    flex-direction: column;
    align-items: start;
  }

  .footer__container.grid {
    gap: var(--space-5);
  }

  .footer__icon {
    margin-top: var(--space-1);
    width: var(--space-3);
    height: var(--space-3);
  }

  .footer__links,
  .footer__socials {
    flex-direction: column;
  }

  .footer__map {
    height: 35rem;
  }
}

/*===============================*/
/*====== FOR MEDIUM DEVICES =====*/
/*===============================*/
@media screen and (width: 540px) and (height: 720px) {
  .home__container {
    margin-top: calc(var(--space-1) * -1);
  }

  .home__img {
    width: 30rem;
    height: 30rem;
  }

  .home__top {
    margin-top: calc(var(--space-3) * -1);
  }

  .home__title {
    transform: scaleY(1.2);
  }

  .home__subtitle {
    transform: translate(0.25rem, -0.25rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.25rem, -0.5rem);
  }

  .footer__icon {
    margin-top: var(--space-1);
    width: var(--space-4);
    height: var(--space-4);
  }
}

/*===============================*/
/*=== MEDIA QUERIES NAVIGATION ==*/
/*===============================*/
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-modal);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--body-color);
    padding: var(--space-2) var(--space-1-5);
    box-shadow: var(--shadow-sm);
    transform: translateY(-100%);
    opacity: 0;
    transition: 0.6s ease-in;
  }

  /* show menu */
  .show-menu {
    opacity: 1;
    transform: translateY(0%);
  }

  .show-menu .nav__close {
    transform: translateY(0);
  }

  .nav__sub {
    display: none;
  }

  .nav__link {
    font-size: var(--font-size-1-1);
  }
}

/*===============================*/
/*====== FOR MEDIUM DEVICES =====*/
/*===============================*/
@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }

  .header {
    top: 0;
    bottom: initial;
  }

  .header,
  .main {
    padding: 0 var(--space-1);
  }

  .change-theme {
    margin: 0;
  }

  .nav {
    height: calc(var(--header-height) + 0.25rem);
    column-gap: var(--space-1);
  }

  .nav__menu-icon,
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
    flex-direction: row;
    column-gap: var(--space-2);
  }

  .nav__menu {
    margin-left: 0;
  }

  .home__img {
    width: 50rem;
    height: 50rem;
  }

  .home__title {
    transform: scaleY(1.3);
  }

  .home__subtitle {
    transform: translate(0.75rem, -1.25rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.5rem, -0.25rem);
  }

  .about__info {
    justify-content: space-between;
  }

  .services__main {
    width: 38rem;
  }

  .work__modal-img {
    aspect-ratio: 14/9;
  }

  .footer__icon {
    margin-top: var(--space-1);
    width: var(--space-4-5);
    height: var(--space-4-5);
  }

  .footer__links,
  .footer__socials {
    flex-direction: row;
  }

  .footer__socials li,
  .footer__links li {
    width: 40%;
  }
}

/*===============================*/
/*====== FOR MEDIUM DEVICES =====*/
/*===============================*/
@media screen and (width: 800px) and (height: 1280px) {
  .home__img {
    width: 42.5rem;
    height: 42.5rem;
  }

  .home__title {
    transform: scaleY(1.2);
  }

  .home__subtitle {
    transform: translate(0.5rem, -0.25rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.5rem, -0.5rem);
  }
}

/*===============================*/
/*====== FOR MEDIUM DEVICES =====*/
/*===============================*/
@media screen and (width: 810px) and (height: 1080px) {
  .home__container {
    height: 57.5rem;
  }

  .home__img {
    width: 42.5rem;
    height: 42.5rem;
  }

  .home__title {
    transform: scaleY(1.2);
  }

  .home__subtitle {
    transform: translate(0.5rem, -0.25rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.5rem, -0.5rem);
  }
}

/*===============================*/
/*====== FOR LARGE DEVICES ======*/
/*===============================*/
@media screen and (min-width: 1024px) {
  .embla__viewport {
    padding: 0 0.1rem;
  }

  .socials {
    display: flex;
    margin-right: var(--space-0-75);
  }

  .home__img {
    width: 45rem;
    height: 45rem;
  }

  .home__subtitle {
    transform: translate(1rem, -1.25rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.75rem, -0.25rem);
  }

  .flavour__main {
    grid-template-columns: repeat(5, 1fr);
    transition: 1s;
  }

  .flavour__main.grid {
    column-gap: var(--space-4);
    row-gap: var(--space-3);
  }

  .work__modal-img {
    aspect-ratio: 18/9;
  }

  .cta__container {
    grid-template-columns: 1fr 0.6fr;
  }

  .cat_container.grid {
    gap: var(--space-10);
  }

  .cta__icon {
    order: 1;
  }

  .testimonial__card-description {
    width: 95%;
  }

  .contact .container {
    padding: var(--space-5);
  }

  .contact__img {
    aspect-ratio: 3/1;
  }

  .contact__head {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }

  .contact__inputs {
    height: fit-content;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__title {
    margin-top: calc(var(--space-1-5) * -1);
    margin-bottom: calc(var(--space-0-5) * -1);
  }

  .footer__icon {
    margin-top: -0.25rem;
    width: var(--space-5);
    height: var(--space-5);
  }
}

/*===============================*/
/*====== FOR LARGE DEVICES ======*/
/*===============================*/
@media screen and (width: 1024px) and (height: 600px) {
  .home__img {
    width: 32rem;
    height: 32rem;
  }

  .home__title {
    transform: scaleY(0.9);
  }

  .home__subtitle {
    transform: translate(1rem, 1.25rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.75rem, -2.25rem);
  }

  .home__top {
    margin-top: calc(var(--space-6) * -1);
  }
}

/*===============================*/
/*====== FOR LARGE DEVICES ======*/
/*===============================*/
@media screen and (width: 1024px) and (height: 1366px) {
  .home__img {
    width: 55rem;
    height: 55rem;
  }
}

/*===============================*/
/*====== FOR LARGE DEVICES ======*/
/*===============================*/
@media screen and (min-width: 1280px) {
  .home__img {
    width: 45rem;
    height: 45rem;
  }

  .home__title {
    transform: scaleY(1.05);
  }

  .home__subtitle {
    transform: translate(1rem, 0.75rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.75rem, -2rem);
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .flavour__main.grid {
    column-gap: var(--space-5);
    row-gap: var(--space-2-5);
  }

  .services__img {
    width: 45%;
  }

  .services__main {
    width: 60rem;
  }

  .testimonial__card-description {
    width: 90%;
  }
}

/*===============================*/
/*====== FOR LARGE DEVICES ======*/
/*===============================*/
@media screen and (min-width: 1366px) {
  .home__img {
    width: 50rem;
    height: 50rem;
  }

  .home__title {
    transform: scaleY(1.15);
  }

  .home__subtitle {
    transform: translate(1rem, 0rem);
  }

  .home__subtitle:last-child {
    transform: translate(-0.75rem, -1.25rem);
  }

  .services__img {
    width: 40%;
  }

  .services__main {
    width: 65rem;
  }

  .footer__container {
    height: fit-content;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__container.grid {
    gap: var(--space-5);
  }
}

/*===============================*/
/*====== FOR LARGE DEVICES ======*/
/*===============================*/
@media screen and (min-width: 1600px) {
  .home__img {
    width: 52.5rem;
    height: 52.5rem;
  }

  .home__title {
    transform: scaleY(1.3);
  }

  .home__subtitle {
    transform: translate(1rem, -1rem);
  }

  .home__subtitle:last-child {
    transform: translate(-1rem, -0.5rem);
  }

  .about .section__title {
    margin-bottom: 0;
  }

  .about__content {
    margin-left: calc(var(--space-1) * -1);
  }
}
