@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Open+Sans:ital,wght@0,100..900;1,100..900");

:root {
  /* Primary */
  --violet: hsl(257, 40%, 49%);
  --soft-magenta: hsl(300, 69%, 71%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  background: url("images/bg-mobile.svg") no-repeat top/contain var(--violet);
  line-height: 1.6;
  height: 100vh;
  place-items: center;
}

.body-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

header {
  padding: 30px 45px;
  display: flex;
}

header img {
  flex: 1;
  max-width: 150px;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 75px;
  padding: 0px 40px;
  color: #fff;
  text-align: center;
}

.main section {
  margin-left: -16px;
  margin-right: -16px;
}

.main img {
  width: 100%;
  max-width: 600px;
  margin-top: 32px;
}

.main section h1 {
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
}

.main section p {
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 30px;
}

.main section .btn {
  display: block;
  background-color: #fff;
  text-decoration: none;
  color: var(--violet);
  margin: 0 40px;
  border-radius: 50px;
  padding: 10px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.2);
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  margin-bottom: 20px;
}

footer > .social {
  display: flex;
  gap: 12px;

  i {
    width: 38px;
    height: 38px;
    flex: 1;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 10px;
  }
}

/* HOVER */
.main section .btn:hover {
  background-color: var(--soft-magenta);
  color: #fff;
}

footer i:hover {
  color: var(--soft-magenta);
  border-color: var(--soft-magenta);
}

@media (min-width: 800px) {
  body {
    background-image: url("images/bg-desktop.svg");
    background-repeat: no-repeat;
    background-position: left;
    background-color: var(--violet);
  }

  .body-wrapper {
    max-width: 1440px;
  }

  header img {
    max-width: 200px;
  }

  .main {
    flex-direction: row;
    text-align: start;
    gap: 80px;
    padding: 0px 50px;
  }

  .main img {
    flex: 1;
    max-width: 1200px;
  }

  .main section {
    margin-left: 0;
    margin-right: 0;
  }

  .main section h1 {
    font-size: 34px;
  }

  .main section p {
    font-size: 1rem;
    max-width: 49ch;
  }

  .main section .btn {
    text-align: center;
    display: inline;
    padding: 15px 60px;
    margin-left: 0;
  }

  footer {
    justify-content: flex-end;
    margin-right: 45px;
  }
}
