:root {
  --gap: 1.5rem;
  --radius: 5px;
}

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

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: lightgray;
  font-family: "Roboto Mono", monospace;
}

main {
  background-color: white;
  width: 800px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: var(--gap);
  padding: 5rem;
  border-radius: var(--radius);
}

main form {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(var(--gap) / 2);
}

fieldset {
  border: none;
  display: flex;
  gap: calc(var(--gap) / 2);
}

.email-field > input {
  flex: 3;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid #3d9fff;
}

.email-field > button {
  flex: 1;
  padding: 1rem;
  color: #fff;
  background-color: #3d9fff;
  border: none;
  border-radius: var(--radius);
}

.email-field > button:hover {
  background-color: #5ca8f4;
}

.email-field > button:active {
  background-color: #85bffa;
}

.newsletter-field label {
  font-size: 12px;
}
