/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Poppins:wght@400;600&display=swap');

* {
  /* Defaults */
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 1rem;

  /* Font */
  --font-family-open-sans: 'Open Sans';
  --font-family-poppins: 'Poppins';

  /* Colors Primary */
  --violet: hsl(257, 40%, 49%);
  --soft-magenta: hsl(300, 69%, 71%);
}

.attribution {
  font-size: 11px;
  text-align: center;
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
}
.attribution a {
  color: var(--soft-magenta);
}

body {
  font-family: var(--font-family-poppins), sans-serif;
  padding: 40px;
  background-color: var(--violet);
  background-image: url('../images/bg-mobile.svg');
  background-repeat: no-repeat;
  background-size: contain;
  color: white;
}

main {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.logo {
  width: 150px;
  justify-self: flex-start;
  align-self: flex-start;
}

.hero-image {
  margin: 50px auto;
  max-width: 350px;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

h1 {
  font-size: 2rem;
  line-height: 1.3;
}

p {
  font-size: 1.2rem;
  font-weight: 400;
  font-family: var(--font-family-open-sans), sans-serif;
}

button {
  align-self: center;
  justify-self: center;
  width: 70%;
  height: 50px;
  border: none;
  border-radius: 50px;
  background-color: white;
  color: var(--violet);
  box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.25);
}

.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: 75px;
}

.socials__button {
  border: 1px solid white;
  height: 40px;
  width: 40px;
  display: flex;
  border-radius: 100%;
}

.socials__button > i {
  margin: auto;
}

@media (min-width: 768px) {
  body {
    height: 100vh;
    display: flex;
    background-image: url('../images/bg-desktop.svg');
    background-size: cover;
  }
  header {
    margin: 0 0 auto 0;
  }
  main {
    flex-direction: row;
    justify-content: space-evenly;
    gap: 50px;
    margin: auto;
    max-width: 1440px;
  }
  .hero-image {
    max-width: 100%;
  }
  footer {
    margin: auto 0 0 0;
  }
  .content {
    justify-content: center;
    text-align: start;
    margin: auto;
  }
  button {
    align-self: flex-start;
    max-width: 200px;
  }
}
