:root {
  --color-slate-900: hsl(240, 21%, 20%);
  --color-slate-600: hsl(240, 10%, 57%);
  --color-slate-300: hsl(240, 18%, 85%);

  --color-cyan-600: hsl(192, 37%, 48%);
  --color-cyan-transparent-600: hsla(192, 37%, 48%, 0.85);
  --color-cyan-400: hsl(192, 53%, 64%);
  --color-cyan-300: hsl(192, 90%, 77%);
  --color-purple-600: hsl(268, 34%, 53%);
  --color-purple-400: hsl(270, 60%, 70%);
  --color-purple-300: hsl(268, 100%, 86%);

  --color-white: #fff;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;
  --color-gray-700: #495057;
  --color-gray-800: #343a40;
  --color-gray-900: #212529;
  --color-black: #000;
}
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
}
body {
  font-family: "Red Hat Display", sans-serif;
  font-size: 1.6rem;
  min-width: 100%;
  background-color: var(--color-gray-100);
  color: var(--color-gray-600);
}
.container {
  /* max-width: 120rem; */
  margin: 0 auto;
}
.header-logo {
  margin-top: 4rem;
  padding: 1.6rem;
  text-align: center;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-content: center;
  align-items: center;
  justify-items: center;
  gap: 0rem;
  margin-bottom: 12rem;
}
.hero-img {
  width: 80%;
  object-fit: contain;
}
.hero-description {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  max-width: 35rem;
  align-items: center;
  gap: 2rem;
}
.primary-heading {
  font-size: 4.8rem;
  color: var(--color-slate-900);
  text-align: center;
}
.text {
  text-align: center;
}
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.btn {
  border-radius: 5rem;
  display: inline-block;
  height: 4rem;
  width: 14rem;
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}
.btn-primary {
  background-color: var(--color-cyan-600);
}
.btn-primary:hover,
.btn-primary:active {
  background-color: var(--color-cyan-400);
  transform: translateY(-2px);
}
.btn-secondary {
  background-color: var(--color-purple-600);
}
.btn-secondary:hover,
.btn-secondary:active {
  background-color: var(--color-purple-400);
  transform: translateY(-2px);
}
.images-container {
  margin: 0rem auto;
  display: grid;
  max-width: 80%;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 8rem;
}
.user-imgs {
  width: 90%;
  display: block;
  border-radius: 1rem;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
}

.description-container {
  max-width: 40rem;
  margin: 8rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  align-items: center;
}
.secondary-heading {
  font-size: 2rem;
  text-align: center;
  color: var(--color-slate-900);
  font-weight: 800;
}
.tertiary-heading {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-cyan-600);
}
.footer {
  min-height: 20rem;
  background-image: linear-gradient(
      var(--color-cyan-transparent-600),
      var(--color-cyan-transparent-600)
    ),
    url("./assets/desktop/image-footer.jpg");
  background-size: cover;

  color: var(--color-white);
  display: grid;
  gap: 4rem;
  grid-template-columns: 5fr 2fr 3fr;
  align-items: center;
  justify-items: center;
}
.heading-footer {
  font-size: 2.4rem;
}

.marker {
  height: 4rem;
  width: 4rem;
  border: 1px solid var(--color-gray-500);
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0rem auto;
  position: relative;
  font-weight: 700;
  font-size: 1.2rem;
}
.marker::before {
  content: "";
  position: absolute;
  width: 1px;
  height: 6rem;
  background: var(--color-gray-400);
  top: -6rem;
}

.mark-1 {
  margin-bottom: 6rem;
}
.mark-2 {
  transform: translateY(50%);
}
.heading-footer {
  width: 70%;
  font-size: 2.4rem;
  text-align: center;
  font-weight: 700;
}
.footer > p {
  width: 80%;
  font-size: 1.2rem;
}
@media (max-width: 800px) {
  html {
    font-size: 70%;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    column-gap: 0;
    row-gap: 4rem;
  }
  .header-logo {
    margin-bottom: 4rem;
  }
  .hero-description {
    grid-row: 2 / 3;
    grid-column: 1 / span 2;
  }
  .left-hero {
    transform: translateX(5%);
  }
  .right-hero {
    transform: translateX(-5%);
  }
  .images-container {
    max-width: 90%;
  }
  .footer {
    grid-template-rows: 2fr 1fr 2fr;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 0px;
  }
}
@media (max-width: 500px) {
  .images-container {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }
  .user-imgs {
    width: 80%;
  }
  .footer {
    background-image: linear-gradient(
        var(--color-cyan-transparent-600),
        var(--color-cyan-transparent-600)
      ),
      url("./assets/mobile/image-footer.jpg");
    background-repeat: no-repeat;
    background-size: cover;
  }
}
