

main {
  margin-top: 100px;
  display: block !important;
}

h1 {
  color: var(--theme-heading-color);
  font-family: "Lato", system-ui, sans-serif;
  font-size: 2.5rem;
}

.display-none{
  display: none;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

form .form-part {
  position: relative;
}

form .form-part  ~ .form-part{
  border-top: 1px solid #dddddd; 
  margin-top: 1rem;
}

form .form-remove-child, 
form .form-remove-parent{
  height: 30px;
  width: 30px;
  position: absolute;
  right: 0;
  top: 0;
  fill: #3C3C3B;
  cursor: pointer;
}

.form-part:nth-of-type(-n+1) .form-remove-child, 
#form-parent-container .form-part:nth-of-type(-n+1) .form-remove-parent {
  display: none;
}

input, select {
  margin-top: 0.5rem;
  border: 1px solid #dddddd;
  padding: 5px;
}

input[type="checkbox"] {
  width: 25px;
  height: 25px;
}

input[type="checkbox"]:hover:not(:disabled) {
  cursor: pointer;
 }
 

label {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}

input[type="submit"] {
  background-color: #3C3C3B;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF;
  border-radius: 0.25rem;
  width: fit-content;
  margin-top: 1.5rem;
}

input[type="submit"]:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  background: var(--secondary-color);
  cursor: pointer;
}


input[type="submit"]:disabled {
  background-color: #888;

} 

input[type="submit"]:disabled:hover {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  cursor: not-allowed;
} 

#cantSubmitText {
  display: none;
  margin-bottom: 0;
  color: crimson;
}



form button {
  background-color: #3C3C3B;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: inline-block;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #FFF;
  border-radius: 0.25rem;
  width: fit-content;
}

form button:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  cursor: pointer;
}