form {
  background: var(--wp--preset--color--dkt-bg-contact);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--wp--preset--color--dkt-contrast-light);
  color: var(--wp--preset--color--dkt-white);
  max-width: 600px;
  width: 100%;
  margin: auto;
}

input[type="submit"],
input[type="button"] {
  background-color: var(--wp--preset--color--dkt-contrast-light);
  border-radius: 20px;
  border: none;
  color: var(--wp--preset--color--dkt-contrast-dark);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--small);
  font-style: normal;
  font-weight: 500;
  line-height: inherit;
  padding-top: 0.6rem;
  padding-right: 1rem;
  padding-bottom: 0.6rem;
  padding-left: 1rem;
  cursor: pointer;
}

input[type="submit"]:hover,
input[type="button"]:hover {
  color: var(--wp--preset--color--dkt-white);
}

input[type="submit"]:focus,
input[type="button"]:focus,
input[type="submit"]:active,
input[type="button"]:active {
  background-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
}

input[type="text"],
input[type="email"],
textarea {
  border: none;
  background-color: #00000040;
  border-bottom: 2px solid transparent;
  border-width: 50%;
  padding: 10px;
  width: -webkit-fill-available;
  color: var(--wp--preset--color--dkt-white);
  transition: 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-bottom: 2px solid var(--wp--preset--color--dkt-white);
  border-width: 100%;
  outline: none;
}

@media only screen and (max-width: 600px) {
  form {
    width: 80%;
  }
}

@media only screen and (max-width: 300px) {
  form {
    width: 250px;
  }
}
