@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background-color: #674baf;
  background-image: url(image/bg-desktop.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

main {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
}

section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Logo */
.logo-container {
  grid-column: 1 / 3;
  justify-self: start;
  margin-bottom: 20px;
}

.logo-image {
  width: 150px;
}

/* Ilustração */
.illustration-image {
  width: 100%;
  max-width: 500px;
}

/* Conteúdo */
.content-main {
  justify-self: start;
  color: white;
}

h1 {
  font-size: 2.5rem;
  max-width: 600px;
}

p {
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 20px;
}

button {
  margin-top: 30px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 700;
  color: #dd48dd;
  border: none;
  border-radius: 20px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  background-color: white;
  transition: 0.3s ease;
}

button:hover {
  background-color: #e882e8;
  color: white;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  body {
    background-image: url(image/bg-mobile.svg);
    overflow: auto;
  }

  section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-container {
    justify-content: center;
  }

  .content-main {
    align-items: center;
  }

  .illustration-image {
    width: 100%;
  }

  h1, p {
    width: 100%;
    font-size: 1.2rem;
  }

  button {
    width: 100%;
  }
}
