#newsletter {
  background-color: rgb(100, 100, 100);
  min-height: 300px;
  height: 300px;
  width: 100%;
}

#newsletter > section {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  gap: 8px;
  width: 90%;
  margin: 0 auto;
}

.newsletter-title {
  margin-bottom: 0px;
  color: white;
  text-align: center;
}

.newsletter-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: lightgray;
}

.newsletter-form {
  margin: 10px;
}

.newsletter-form > form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.newsletter-form > form > * {
  font-size: 1.2rem;
}

.newsletter-form > form > input {
  border-radius: 8px;
  padding: 7px 12px;
  border: none;
}

.newsletter-form > form > button {
  border: none;
  background-color: rgb(50, 50, 50);
  color: white;
  border-radius: 7px;
  padding: 8px 14px;
  transition: all 0.1s ease-in-out;
}

.newsletter-form > form > button:active {
  color: black;
  background-color: grey;
}

@media only screen and (min-width: 1024px) {
  .newsletter-title {
    font-size: 2.5rem;
  }

  .newsletter-form > form {
    flex-direction: row;
  }

  .newsletter-form > form > button {
    margin-left: 10px;
  }
}
