html,
button {
  background: none;
}
img,
button,
input {
  border: none;
  outline: none;
}
input[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
div,
li,
ul,
ol,
input,
label,
form,
fieldset,
figure,
figcaption {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
  outline: none;
}
a {
  text-decoration: none;
}
table {
  border-collapse: collapse;
  border: none;
}
textarea {
  resize: none;
}
object {
  display: none;
}
* {
  box-sizing: border-box;
}
html,
body {
  text-align: center;
  margin: 0 auto;
  color: #121212;
}
h1 {
  font: 900 1.8em "Asap", sans-serif;
  line-height: 1.2em;
  color: #fff;
}
h1 span {
  color: #121212;
}
h2 {
  font: 300 2em "Asap", sans-serif;
  line-height: 1em;
}
h3 {
  font: 300 1.26em "Asap", sans-serif;
  line-height: 1.2em;
}
p {
  font: 300 1em "Asap", sans-serif;
  line-height: 1.36em;
}
a {
  color: #159B75;
  text-decoration: underline;
}
input[type="text"],
input[type="tel"] {
  padding: 12px;
  width: 100%;
  font-size: 1em;
  text-align: center;
}
input[type="text"]::placeholder,
input[type="tel"]::placeholder {
  color: #18C698;
}
input[type="checkbox"] {
  margin-right: 8px;
}
header {
  background-color: #18C698;
  background-image: linear-gradient(to bottom, rgba(87, 211, 159, 0.5), #50c993), url('imgs/home_banner_bg.jpg');
  background-size: auto 120%;
  background-repeat: no-repeat;
  background-position: top right;
  padding: 16px 16px 48px;
}
form {
  background: #fff;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 20px;
  align-items: center;
  max-width: 400px;
  width: calc(100% - 32px);
  margin: 0 auto;
  padding: 24px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
  top: -40px;
  text-align: left;
  vertical-align: middle;
}
form > img {
  width: 40%;
  height: auto;
}
form > img[src=""] {
  display: none;
}
form label {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  vertical-align: middle;
  width: 100%;
}
form label.field {
  text-align: center;
  flex-wrap: nowrap;
  align-items: stretch;
  padding: 8px 8px 8px 16px;
  border-radius: 32px;
  border: 1px solid #18C698;
}
form label p {
  font-size: 0.9em;
  width: 100%;
}
form label span {
  width: 90%;
  font: 400 1em "Asap", sans-serif;
  line-height: 1.25em;
}
button {
  width: 100%;
  padding: 16px;
  background: #18C698;
  font: 600 1.12em "Asap", sans-serif;
  line-height: 1.25em;
  color: #fff;
  border-radius: 32px;
  transition: all ease-in-out 0.2s;
}
button:hover {
  transition: all ease-in-out 0.2s;
  background: #159B75;
}
input[type="button"] {
  width: 100%;
  padding: 16px;
  background: #18C698;
  font: 600 1.12em "Asap", sans-serif;
  line-height: 1.25em;
  color: #fff;
  border-radius: 32px;
  transition: all ease-in-out 0.2s;
}
input[type="button"]:hover {
  transition: all ease-in-out 0.2s;
  background: #159B75;
}
ul {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
}
ul:first-of-type li img {
  width: 100%;
}
footer {
  border-top: 1px solid #BEBEBE;
  padding: 8px;
}
.modal {
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  transition: all ease-in-out 0.4s;
}
.modal.open {
  z-index: 2;
  visibility: visible;
  opacity: 1;
  transition: all ease-in-out 0.2s;
}
.modal .overlay {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  background: #fff;
  width: 320px;
  height: auto;
  padding: 16px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal .overlay .close {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 1.6em;
  text-decoration: none;
}
.modal .overlay p {
  margin: 0.6em auto;
}
