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

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

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

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

body {
  font-family: 'Open-Sans', sans-serif;
  max-height: 100vh;
  background-image: url('images/bg-mobile.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--violet);
  color: #fff;

  position: relative;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 90%;
  margin: 20px auto;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* border: 5px solid blue; */
}

#logo img {
  width: 100%;
  cursor: pointer;
}

.section-illustration {
  width: 100%;
  max-width: 40rem;
  margin-top: 4rem;
  z-index: 3;
}

.section-content {
  font-family: Open-Sans, sans-serif;
}

#section-content__heading {
  font-family: Poppins, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  margin: 40px 0 20px 0;
}

#section-content__text {
  font-family: Open-Sans, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
}

#section-content__button {
  font-family: Open-Sans, sans-serif;
  font-size: 1rem;
  margin: 25px;
  padding: 15px;
  width: 50%;
  max-width: 300px;
  border: none;
  border-radius: 20px;
  color: var(--violet);
  background-color: #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  transition: transform 0.05s ease-in;
  cursor: pointer;
}

#section-content__button:hover {
  color: #fff;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
  background-color: var(--soft-magenta);
}

#section-content__button:active {
  transform: scale(0.98);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.85);
}

#social-icons {
  font-size: 2rem;
  text-align: center;
  margin-top: 25px;
}

#social-icons ion-icon {
  cursor: pointer;
  color: #fff;
  padding: 0 10px;
  transition: transform 0.25s ease-in;
}

#social-icons a:visited ion-icon {
  color: #fff;
}

#social-icons a:hover ion-icon {
  color: var(--soft-magenta);
  transform: scale(1.15);
}

@media (min-width: 1440px) {
  body {
    background-image: url('images/bg-desktop.svg');
  }

  .container {
    height: 100vh;
  }

  .section-illustration {
    height: 100%;
  }

  .hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .hero {
    margin-top: auto;
    margin-bottom: auto;
  }

  .section-illustration {
    margin-right: 50px;
  }

  #social-icons {
    text-align: right;
  }
}
