.flex {
  display: flex;
  gap: var(--gap, 1rem);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350, 1fr));
  gap: 2rem;
}

@font-face {
  font-family: "bubbler_oneregular";
  src: url("../Fonts/bubblerone_regular_macroman/bubblerone-regular-webfont.woff")
    format("woff");

  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "sf_cartoonist_handregular";
  src: url("../Fonts/sfcartoonisthand_regular_macroman/SF_Cartoonist_Hand-webfont.woff")
    format("woff");

  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

html {
  /* color-scheme: dark light; */
  color: white;
  font-size: 62.9%;
}

body {
  min-height: 100vh;
  scroll-behavior: smooth;
  background-color: #1a1a1a;

  overflow-x: hidden;

  overflow-x: hidden;
}

h1,
h2,
h3 {
  letter-spacing: 2px;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

.logo {
  margin: 2rem;
  width: 25rem;
}

.primary-header {
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-toggle {
  display: none;
}

.primary-navigation {
  list-style: none;

  background: hsl(0, 0%, 0%, 0.75);
}

.primary-navigation a:hover {
  color: #fff;
}

@supports (backdrop-filter: blur(1rem)) {
  .primary-navigation {
    background: hsl(0, 0%, 10%, 0.4);
    backdrop-filter: blur(1rem);
  }
}

.primary-navigation a {
  text-decoration: none;
  color: #ff0891;
  font-size: 2.8rem;
  letter-spacing: 1px;

  transition: color 0.25s ease;
  font-family: "sf_cartoonist_handregular";
}

@media (max-width: 50em) {
  .primary-navigation {
    --gap: 3em;

    position: fixed;
    z-index: 1000;
    inset: 0 0 0 30%;

    flex-direction: column;

    align-items: center;

    transform: translateX(100%);
    transition: transform 350ms ease-out;
  }

  .primary-navigation[data-visible="true"] {
    transform: translateX(0%);
  }

  .mobile-nav-toggle {
    display: block;
    position: absolute;
    z-index: 9999;
    background-image: url("../Img/SVG/Hamburger_icon.svg");
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;

    width: 3rem;
    aspect-ratio: 1;
    top: 4rem;
    right: 2rem;
  }

  .mobile-nav-toggle[aria-expanded="true"] {
    background-image: url("../Img/SVG/Close_Icon.svg");
  }
}

@media (min-width: 35em) {
  .primary-navigation {
    --gap: 3rem;
    padding-block: 3rem;
    padding-inline: clamp(3rem, 5vw, 10rem);
  }
}

@media (max-width: 35em) {
  .primary-navigation {
    padding-block-start: 10rem;
  }
}

.services-header {
  min-height: 30vh;
  background-image: url(../img/assets/Pot\ Pourri\ Hero\ Image.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;

  position: relative;
  isolation: isolate;

  margin-block-end: 5rem;
}
.services-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(0, 0, 0, 0.5);
}
.services-header h1 {
  font-size: 4rem;
  font-family: "bubbler_oneregular";
  padding-inline: 5rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  padding-inline: clamp(4rem, 6vw, 10rem);
}

.services__container {
  padding: 1rem;
}

.services__container img {
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
}

.Services__container--info {
  padding-block: clamp(1rem, 2vw, 2rem);
  padding-inline: clamp(1rem, 1.5vw, 2rem);

  background-color: #ff0891;

  display: flex;
  flex-direction: column;
  align-items: center;
}

.Services__container--info h2 {
  text-align: center;

  font-size: clamp(2rem, 2vw, 3.5rem);
  font-family: "sf_cartoonist_handregular";
  text-transform: capitalize;
  margin-block-end: 1rem;
}

.Services__container--info button {
  font-size: 1.5rem;
  color: white;
  background-color: transparent;
  border-style: none;
  cursor: pointer;
  border: solid 2px #fff;
  padding: 1em;
  border-radius: 50px;
  margin-block-start: 2rem;

  transition: all 0.5s ease-in-out;
}

.Services__container--info button:hover {
  background-color: #fff;
  color: #ff0891;
}

.footer {
  display: flex;
  justify-content: space-between;
  padding-block: 4rem;
  padding-inline: 8rem;
}
.footer__logo {
  display: flex;
  align-items: center;
}
.footer__logo img {
  width: 25rem;
}
.footer__links {
  align-items: center;
  display: flex;
  align-items: center;
}
.footer__links a {
  font-size: 2.5rem;
  font-family: "sf_cartoonist_handregular";
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-right: 2rem;
}
.footer__links a:hover {
  color: #ff0891;
}
.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.footer__social img {
  width: 6rem;
}

@media (max-width: 1000px) {
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 5rem;
  }
  .footer__links {
    flex-direction: column;
    gap: 3rem;
    padding: 5rem;
  }
}
.credits {
  min-height: 5rem;
  background-color: #fff;
  align-items: center;
  justify-content: center;
}
.credits p {
  color: #000;
  font-family: "sf_cartoonist_handregular";
  font-size: 2rem;
  text-align: center;
}
.credits p a {
  color: #ff0891;
}
