/*
font-family: "Open Sans", sans-serif; for body

font-family: "Poppins", sans-serif; for headings
*/

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *::before, *::after {
  box-sizing: inherit;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

body {
  background-image: url(images/bg-desktop.svg);
  background-color: hsl(257, 40%, 49%);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.logo {
  width: 10rem;
  margin: 2rem 0 4.5rem 3rem;
}

.main-content {
  display: flex;
  justify-content: space-between;
  margin: 0 3rem;
  gap: 3rem;
}

.main-content > div:first-child {
  flex: 1 1 60%; 
}

.right-side {
  flex: 1 1 40%; 
}

h1 {
  font-family: "Poppins";
  color: white;
  font-weight: 600;
}

.description {
  font-family: "Open Sans";
  color: white;
  font-weight: 400;
}

button {
  border: 0;
  font-family: "Open Sans";
  color: hsl(257, 40%, 49%);
  padding: 0.8rem 4rem;
  border-radius: 10rem;
  box-shadow: 2px 2px 10px rgb(63, 63, 63);
  cursor: pointer;
  transition: all 0.2s ease-out;
}

button:hover {
  background-color: hsl(300, 69%, 71%);
  color: white;
}

.sm-icons {
  display: flex;
  justify-content: flex-end;
  margin-right: 3rem;
  gap: 1rem;
}

.sm-icon {
  width: 1.8rem;
  cursor: pointer;
  transition: all 0.3s;
  color: white;
}

.sm-icon:hover {
  color: hsl(300, 69%, 71%);
}

@media (max-width: 800px) {
  body {
    background-image: url(images/bg-mobile.svg);
  }

  .main-content {
    flex-direction: column;
    align-items: center;
  }

  .right-side, .left-side {
    flex: unset;
  }

  .right-side {
    text-align: center;
  }

  .logo {
    margin-bottom: 3rem;
  }

  .sm-icons {
    justify-content: center;
    margin: 3rem 0;
  }
}