:root {
  --violet: hsl(257, 40%, 49%);
  --soft-magenta: hsl(300, 69%, 71%);

  --ff-poppins: 'Poppins', sans-serif;
  --ff-open-sans: 'Open Sans', sans-serif;
  --fw-normal: 400;
  --fw-bold: 600;
}

body {
  background: url(./images/bg-mobile.svg) no-repeat 0% 0% / contain,
    var(--violet);
  font-family: var(--ff-poppins);
  margin: auto 2.5rem;
  color: white;

  display: flex;
  flex-direction: column;
  justify-content: start;
}

header img {
  margin-block-start: 2.5rem;
  max-width: 7.5rem;
  margin-block-end: 4.375rem;
}

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

.hero-section img {
  margin-block-end: 3.75rem;
}

.hero-section__content {
  text-align: center;
  line-height: 1.5;
}

.hero-section__content h1 {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  margin-block-end: 1rem;
}

.hero-section__content p {
  font-family: var(--ff-open-sans);
  margin-block-end: 1.5rem;
}

.hero-section__content button {
  all: unset;
  background: white;
  color: var(--violet);
  padding: 0.7rem 4.7rem;
  border-radius: 2rem;
  box-shadow: 1px 3px 5px 0px rgba(0, 0, 0, 0.27);
  transition: all 0.2s ease;
}

.hero-section__content button:hover {
  cursor: pointer;
  background: var(--soft-magenta);
  color: white;
  box-shadow: 2px 4px 9px 3px rgba(0, 0, 0, 26%);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.625rem;
  margin-block: 2.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  border-radius: 100%;
  width: 30px;
  height: 30px;
}

.social-icons a:hover {
  border-color: var(--soft-magenta);
}

.social-icons a:hover .svg-inline--fa path {
  fill: var(--soft-magenta);
}

@media screen and (min-width: 1024px) {
  body {
    margin: auto 5rem;
    background: url(./images/bg-desktop.svg) no-repeat 0% 0% / cover,
      var(--violet);
  }

  header img {
    margin-block: 4rem;
    max-width: 12.5rem;
  }

  .hero-section {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 3.75rem;
  }

  .hero-section img {
    flex-basis: 50%;
  }

  .hero-section__content {
    flex-basis: 30%;
    display: flex;
    flex-direction: column;
    align-items: start;
  }

  .hero-section__content h1 {
    font-size: 2.5rem;
    line-height: 1.5;
    margin-block: 2rem 1.5rem;
    text-align: start;
  }

  .hero-section__content p {
    font-size: 1.125rem;
    text-align: start;
    margin-block-end: 1.5rem;
  }

  .social-icons {
    margin-block: 0;
    margin-inline-start: auto;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
  }
}
