@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@300..900&display=swap");
body,
h1,
h2,
h3,
p,
ul,
ol,
li {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
}

.button {
  display: block;
  margin: 0 auto;
  border-radius: 1.8125rem;
  padding: 1rem 2.5rem;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.5;
  border: none;
  color: hsl(0, 0%, 98%);
  cursor: pointer;
}

.button--blue {
  background-color: hsl(192, 37%, 48%);
  transition: background-color 0.2s ease-in-out;
}
.button--blue:hover, .button--blue:focus-visible, .button--blue:active {
  background-color: #71c0d4;
}

.button--purple {
  background-color: hsl(268, 34%, 53%);
  transition: background-color 0.2s ease-in-out;
}
.button--purple:hover, .button--purple:focus-visible, .button--purple:active {
  background-color: #b18bdd;
}

@media (min-width: 48rem) {
  .button {
    display: inline-block;
  }
}
.component__number {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: 900;
  border: 0.0625rem solid hsl(240, 18%, 85%);
  border-radius: 50%;
  line-height: 1.5;
  color: hsl(240, 10%, 57%);
  background-color: hsl(0, 0%, 98%);
  position: relative;
}
.component__number::after {
  content: "";
  width: 0.0625rem;
  height: 5rem;
  position: absolute;
  top: -5rem;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(240, 18%, 85%);
}

body {
  padding-block-start: clamp(3rem, 0.714rem + 4.762vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Red Hat Display", sans-serif;
  font-weight: 500;
  background-color: hsl(0, 0%, 98%);
  text-align: center;
}

.wrapper {
  padding-inline: clamp(2rem, 1.283rem + 3.061vw, 2.75rem);
}

.header {
  font-weight: 900;
  font-size: clamp(2rem, 1.761rem + 1.018vw, 2.25rem);
  line-height: 1.1;
}

.main-text {
  font-size: clamp(1rem, 0.857rem + 0.298vw, 1.125rem);
  line-height: 1.5;
}

.hero__section {
  display: flex;
  justify-content: center;
  margin-block: 4rem;
}
.hero__container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  justify-items: center;
  overflow: hidden;
}
.hero__combined-img {
  max-width: 115%;
}
.hero__left-img {
  display: none;
}
.hero__text-content {
  max-width: 28rem;
  margin-block-start: clamp(3rem, 2.472rem + 2.254vw, 4.5rem);
  padding-inline: 2.1875rem;
}
.hero__right-img {
  display: none;
}
.hero__heading {
  font-weight: 900;
  font-size: clamp(2.5rem, 2.022rem + 2.041vw, 3rem);
  line-height: 1.1;
  color: hsl(240, 21%, 20%);
  text-wrap: balance;
}
.hero__text {
  margin-block: clamp(1.5rem, 0.929rem + 1.19vw, 2rem);
  font-family: var(--font-family);
  font-size: clamp(1rem, 0.857rem + 0.298vw, 1.125rem);
  line-height: 1.5;
  color: hsl(240, 10%, 57%);
}

.button span {
  color: hsl(192, 90%, 77%);
}
.button__info-hero {
  margin-block-start: 1rem;
}

.main-content {
  padding-block-start: clamp(5rem, 1.66rem + 14.249vw, 8.5rem);
  padding-block-end: clamp(4rem, 3.523rem + 2.036vw, 4.5rem);
}

.gallery {
  margin-block-start: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 0.523rem + 2.036vw, 1.5rem);
}
.gallery__img {
  max-width: 100%;
  border-radius: 0.5rem;
}

.text-content__container {
  margin-block-start: 4rem;
  margin-inline: auto;
}
.text-content__subheader {
  font-weight: 900;
  font-size: clamp(0.75rem, 0.631rem + 0.509vw, 0.875rem);
  line-height: 1.1;
  letter-spacing: clamp(0.33em, 0.368em - 0.163vw, 0.29em);
  text-transform: uppercase;
  color: hsl(192, 37%, 48%);
}
.text-content__header {
  max-width: clamp(19.688rem, -2.134rem + 93.103vw, 28.125rem);
  margin-block-start: 1rem;
  margin-inline: auto;
  color: hsl(240, 21%, 20%);
}
.text-content__description {
  max-width: clamp(31.5rem, 30.845rem + 1.839vw, 32.5rem);
  margin-block-start: 2rem;
  margin-inline: auto;
  color: hsl(240, 10%, 57%);
}

footer {
  margin-block-start: 6.75rem;
  padding-block: clamp(4rem, 0.571rem + 7.143vw, 7rem);
  background-image: linear-gradient(rgba(77.112, 149.5728, 167.688, 0.9)), url(../assets/mobile/image-footer.jpg);
  background-size: cover;
  position: relative;
}

.footer__wrapper {
  padding-inline: clamp(2.188rem, -3.597rem + 24.682vw, 8.25rem);
}

.footer__number {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.footer__header {
  color: hsl(0, 0%, 98%);
}

.footer__description {
  margin-block-start: 1.5rem;
  color: hsl(0, 0%, 98%);
}

.button__download-footer {
  margin-block-start: 1.5rem;
}
.button__download-footer span {
  color: hsl(268, 100%, 86%);
}

@media (min-width: 48rem) {
  .wrapper {
    padding-inline: clamp(2.75rem, -5.536rem + 17.262vw, 10rem);
  }
  .header {
    font-size: clamp(2.25rem, 1.964rem + 0.595vw, 2.5rem);
  }
  .hero__combined-img {
    max-width: 107%;
  }
  .hero__heading {
    font-size: clamp(3rem, 1.857rem + 2.381vw, 4rem);
  }
  .button__info-hero {
    margin-block-start: 0;
    margin-inline-start: 1rem;
  }
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1.5rem, 0.927rem + 1.192vw, 2rem);
    max-width: fit-content;
    margin-inline: auto;
  }
  .text-content__subheader {
    font-size: clamp(0.875rem, 0.732rem + 0.298vw, 1rem);
    letter-spacing: clamp(0.29em, 0.336em - 0.095vw, 0.25em);
  }
  footer {
    background-image: linear-gradient(rgba(77.112, 149.5728, 167.688, 0.9)), url(../assets/tablet/image-footer.jpg);
  }
  .footer__wrapper {
    padding-inline: clamp(8.25rem, 6.25rem + 4.167vw, 10rem);
  }
  .footer__description {
    margin-inline: auto;
    max-width: 31.875rem;
  }
}
@media (min-width: 90rem) {
  .hero__container {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    column-gap: 7.8125rem;
  }
  .hero__combined-img {
    display: none;
  }
  .hero__left-img {
    display: block;
    justify-self: end;
  }
  .hero__text-content {
    width: 28.125rem;
    margin-block: 1.4375rem;
    padding-inline: 0;
  }
  .hero__right-img {
    display: block;
    align-self: end;
    justify-self: start;
  }
  footer {
    background-image: linear-gradient(rgba(77.112, 149.5728, 167.688, 0.9)), url(../assets/desktop/image-footer.jpg);
  }
  .footer__content {
    display: grid;
    grid-template-columns: 28rem auto 16rem;
    column-gap: 2rem;
    align-items: start;
    text-align: left;
    max-width: fit-content;
    margin-inline: auto;
  }
  .footer__description {
    margin: 0;
    max-width: 25.5rem;
    justify-self: center;
  }
  .button__download-footer {
    max-width: fit-content;
    margin: 0;
    justify-self: end;
  }
}

/*# sourceMappingURL=main.css.map */
