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

:root {
  --OpenSans: "Open Sans", sans-serif;
  --Poppins: "Poppins", sans-serif;
  --Violet: hsl(257, 40%, 49%);
  --hoverBtn: hsl(300, 69%, 71%);
  --hoverIcons: hsl(303, 47%, 53%);
  --boxshadow: -2px 10px 24px -11px rgba(0, 0, 0, 0.62);
}

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

h2 {
  font-size: 1.6rem;
  font-weight: 500;
}

ul,
li {
  list-style: none;
}
img {
  width: 100%;
  height: auto;
}

html {
  background: hsl(257, 40%, 49%);
  font-family: "Poppins", sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: white;
  scroll-behavior: smooth;
}

body {
  max-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  background: url("./images/bg-mobile.svg") top no-repeat;
  background-size: 100%;
}

main {
  padding: 2rem 2rem;
}

article img {
  width: 40%;
  margin-bottom: 3.5rem;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.content h2 {
  text-align: center;
  padding: 2.5rem 1rem 1rem 1rem;
}

.content p {
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.4px;
  padding-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: hsl(257, 40%, 49%);
  background: white;
  padding: 0.8rem 5rem;
  border-radius: 50px;
  font-size: 0.8rem;
  box-shadow: 2px 2px 5px 2px rgba(27, 26, 27, 0.62);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3rem;
}
.social-links i {
  padding: 1rem 0.8rem;
  border: 1px solid white;
  border-radius: 50%;
  margin: 0.5rem;
  font-size: 1rem;
}

.social-links i:hover {
  border: 2px solid var(--hoverIcons);
  color: var(--hoverIcons);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.cta a:hover {
  background-color: var(--hoverBtn);
  color: var(--White);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  font-weight: 500;
}

@media screen and (min-width: 768px) {
  body {
    background: url("./images/bg-desktop.svg") no-repeat;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  main {
    padding: 0 2.5rem 0 2.5rem;
    height: 100vh;
    position: relative;
  }

  article img {
    width: 15%;
    display: inline-block;
    padding-top: 2rem;
    margin-top: 0;
  }
  .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    gap: 1.8rem;
  }
  .container img {
    width: 100%;
    height: 100%;
  }
  .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }
  .content h2 {
    text-align: left;
  }
  .content p {
    font-size: 0.7rem;
    text-align: left;
    letter-spacing: inherit;
  }
  .cta {
    display: inline-block;
    width: 100%;
  }
  a {
    padding: 0.6rem 3rem;
  }
  .social-links {
    position: absolute;
    right: 3rem;
    bottom: 1rem;
  }
}
