:root {
  --font-heading: "Patrick Hand", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
}

body {
  font-family: var(--font-body);
  margin: 0 auto;
  background: #f5f5f5;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 400;
}

section {
  padding: 5%;
  text-align: center;
}

section h2 {
  margin-top: 0;
  padding-top: 10px;
  color: #ceafd6;
  text-transform: lowercase;
  font-size: 32px;
}

section h3 {
  font-size: 24px;
}

form label {
  font-size: 14px;
}

form input {
  padding: 4px 8px;
  border: 2px solid #ceafd6;
  border-radius: 8px;
  margin-top: 10px;
  width: 80%;
}

footer {
  margin: 75px 0 10px;
  text-align: center;
  font-size: 14px;
}

footer a {
  color: #ceafd6;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ceafd6;
  min-height: 100vh;
}

.hero-img {
  height: 400px;
}

.hero-tagline p {
  font-family: var(--font-heading);
  font-size: 32px;
  color: #292929;
  margin: 0;
}

.a-section,
.b-section {
  margin: 0 auto;
}

.a-section {
  background: #292929;
  color: #f5f5f5;
}

.content {
  margin: 0 auto;
  max-width: 800px;
}

.who-we-are .content,
.coming-soon .content {
  display: flex;
  justify-content: space-around;
}

.who-we-are h2,
.coming-soon h2 {
  align-self: center;
}

.who-we-are p,
.coming-soon p {
  max-width: 500px;
}

.what-we-do {
  margin-bottom: 20px;
}

.content-cards {
  display: flex;
  justify-content: space-around;
}

.card {
  max-width: 350px;
  text-align: center;
  border-left: 1px solid #ceafd6;
  border-radius: 12px;
  box-shadow: 8px 10px 0px #292929;
}

.card h3 {
  margin: 0;
  padding: 2%;
  color: #f5f5f5;
  border-radius: 12px 12px 0 0;
  background: #ceafd6;
}

.card p {
  padding: 3%;
}

.newsletter-form {
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  padding: 2%;
  max-width: 400px;
  border-top: 1px solid #ceafd6;
  border-left: 1px solid #ceafd6;
  border-radius: 12px;
  box-shadow: 8px 10px 0px #292929;
}

.newsletter-form p {
  font-size: 15px;
}

@media (max-width: 768px) {
  .hero-img {
    height: 280px;
  }

  .hero-tagline p {
    font-size: 24px;
    text-align: center;
    padding: 0 20px;
  }

  .who-we-are .content,
  .coming-soon .content {
    flex-direction: column;
    align-items: center;
  }

  .who-we-are h2,
  .coming-soon h2 {
    margin-bottom: 16px;
  }

  .who-we-are p,
  .coming-soon p {
    max-width: 100%;
  }

  .content-cards {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .card {
    max-width: 100%;
    width: 100%;
  }

  .newsletter-form {
    margin: 30px 20px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-img {
    height: 220px;
  }

  .hero-tagline p {
    font-size: 20px;
  }

  section {
    padding: 8% 6%;
  }

  section h2 {
    font-size: 26px;
  }

  section h3 {
    font-size: 20px;
  }

  footer {
    margin: 40px 0 10px;
  }
}
