@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  /* Font Families */
  --ff-open-sans: 'Open Sans', sans-serif;
  --ff-poppins: 'Poppins', sans-serif;

  /* Colors */
  --clr-white: #FFFFFF;
  --clr-black: #000000;
  --clr-gray-100: #E1E8EE;
  --clr-gray-400: #A7B9C8;
  --clr-blue-950: #00252E;
  --clr-pink-400: #FF52C1;
  --clr-purple-700: #684BB1;
  --clr-magenta-400: #E880E8;
  

  /* Text Presets */
  --txt-preset-1: 600 2.5rem / 1.25 var(--ff-poppins);
  --txt-preset-2: 600 1.5rem / 1.25 var(--ff-poppins);
  --txt-preset-3: 400 1.125rem / 1.5 var(--ff-poppins);
  --txt-preset-4: 400 1.125rem / 1.5 var(--ff-open-sans);
  --txt-preset-5: 400 1rem / 1.5 var(--ff-open-sans);
  --txt-preset-6: 400 .75rem / 1.5 var(--ff-poppins);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

html,
body {
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

body {
  min-height: 100vh;
  font-size: 1rem;
  line-height: 1.5;
  font: var(--txt-preset-5);
  background: var(--clr-purple-700);
  color: var(--clr-white);
}

h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label {
  font-weight: 700;
  line-height: 1.2;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  background-color: none;
  border: none;
}

button {
  cursor: pointer;
}

textarea:not([rows]) {
  min-height: 10em;
}

:target {
  scroll-margin-block: 5ex;
}

a {
  text-decoration: none;
  color: inherit;
  background-color: none;
}

/* End Reset */

/* Globals */
.container {
  width: calc(100% - 4.5rem);
  margin-inline: auto;
}

@media (min-width: 40rem) {
  .container {
    max-width: 38rem;
  }
}

@media (min-width: 80rem) {
  .container {
    max-width: 79.5rem;
  }
}

/* End Globals */
.main__container {
  width: 100%;
  min-height: 100vh;
  background-image: url(../images/bg-mobile.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top center;
}

@media (min-width: 40rem) {
  .main__container {
    background-size: cover;
  }
}

@media (min-width: 80rem) {
  .main__container {
    background-image: url(../images/bg-desktop.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left -.5rem center;
  }
}

.nav {
  padding-top: 2.5rem;
}

@media (min-width: 80rem) {
  .nav {
    padding-top: 4rem;
  }
}

.nav__logo {
  display: block;
}

.nav__logo-img {
  width: 7.5rem;
  height: 1.1875rem;
}

@media (min-width: 80rem) {
  .nav__logo-img {
    width: 12.5rem;
    height: 2rem;
  }
}

.hero {
  margin-top: 4rem;
}

@media (min-width: 80rem) {
  .hero {
    margin-top: 6.5rem;
  }
}

.hero__container {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 40rem) {
  .hero__container {
    gap: 2.5rem;
  }
}

@media (min-width: 80rem) {
  .hero__container {
    grid-template-columns: 43.5rem 1fr;
    gap: 3.5rem;
  }
}

.hero__img {
  width: 100%;
  height: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 40rem) {
  .hero__content {
    width: 32.5rem;
    justify-self: center;
  }
}

@media (min-width: 80rem) {
  .hero__content {
    text-align: left;
    justify-self: unset;
    align-items: unset;
    align-self: center;
  }
}

.hero__title {
  font: var(--txt-preset-2)
}

@media (min-width: 40rem) {
  .hero__title {
    font: var(--txt-preset-1);
  }
}

.hero__text {
  margin-top: 1.5rem;
  font: var(--txt-preset-5);
}

@media (min-width: 40rem) {
  .hero__text {
    font: var(--txt-preset-4);
  }
}

.hero__button {
  margin-top: 2rem;
}

@media (min-width: 40rem) {
  .hero__button {
    margin-top: 2.5rem;
  }
}

.button {
  display: inline-block;
  width: 100%;
  max-width: 12.5rem;
  padding: .6875rem 1.5rem;
  font: var(--txt-preset-6);
  background-color: var(--clr-white);
  color: var(--clr-purple-700);
  border-radius: 1.25rem;
  text-align: center;
  box-shadow: .0625rem .1875rem .3125rem rgba(0, 0, 0, .269);
  transition: all .2s ease-in-out;
}

@media (min-width: 40rem) {
  .button {
    padding: .9063rem 1.5rem;
    font: var(--txt-preset-3);
    box-shadow: .125rem .25rem .5625rem .1875rem rgba(0, 0, 0, .2586);
    border-radius: 1.75rem;
  }
}

@media (hover: hover) {
  .button:hover {
    background-color: var(--clr-magenta-400);
    color: var(--clr-white);
  }
}

.socials {
  margin-top: 3.875rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 40rem) {
  .socials {
    margin-top: 2.5rem;
    margin-bottom: 3.125rem;
  }
}

@media (min-width: 80rem) {
  .socials {
    margin-top: 1.5rem;
    margin-bottom: 2.75rem;
  }
}

.socials__list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 80rem) {
  .socials__list {
    justify-content: flex-end;
  }
}

.socials__link {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 40rem) {
  .socials__link {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (hover: hover) {
  .socials__link:hover {
    border-color: var(--clr-pink-400);
  }

  .socials__link:hover .socials__icon path {
    fill: var(--clr-pink-400);
  }
}