/*this selector '*' applies to all elements in the style section.*/

*{
  box-sizing: border-box;
} /* this makes padding and border included inside the width setting instead of added on */
      
h1 {
  color: green;
  text-align: center;
  font-size: 45px;
  margin-top: 0;
}

/* .class-name makes this reusable */ 
.container {
  margin-top: 0px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
}

.container-wide{
  max-width: 600px;
}

.container-narrow{
  max-width: 400px;
}

.card {
  background: lightgreen;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

body {
  margin: 0;
  background-color: pink;
  text-align: center;
  color: black;
  font-family: Arial;
  font-size: 18px;
}

#summary {
  color: #333;
  font-size: 17px;
  line-height: 1.6;
}

.fine-print {
  color: darkred;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 15px;
}

#submissionForm {
  text-align:center;
  background-color: lightgreen;
  padding: 0px;
  margin: 10px auto;
  max-width: 400px;
  border-radius: 8px;
}

input {
  display: block;
  margin: 8px auto;
}

input[type="text"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
      
input[type="checkbox"] {
  display: inline;
  padding: 12px;
  margin: 8px;
}

button {
  width: 50%;
  padding: 15px;
  margin: 8px;
  border: none;
  border-radius: 6px;
  background: whitesmoke;
  color: black;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
} 
  
button:hover:not(:disabled) {
  background: forestgreen;
  color: white;
}

button:disabled {
  background: darkolivegreen;
  cursor: not-allowed;
  opacity: 0.4;
}

#successMessage {
  display: none;
  background-color: lightgreen;
  padding: 10px;
  margin: 10px auto;
  max-width: 400px;
  border-radius: 8px;
}
