.btn {
  background-color: transparent;
  border: 1px solid currentColor;
  padding: 0.9rem 3.4rem;
  color: inherit;
  font-size: 1.125rem;
  text-transform: uppercase;
  display: block;
  width: fit-content;
  margin-top: 3rem;
  line-height: 1;
}

button {
  position: relative;
  z-index: 9;
  transition: border-color 0.3s ease;
}

button span {
  content: '';
  position: absolute;
  background: #f4f6f5;
  --offset: 1.1rem;
  --thickness: 0.8rem;
  z-index: -1;
  transition: all 0.3s ease;
}

button span:nth-of-type(1) {
  height: 0;
  width: var(--thickness);
  left: 0;
  top: 0;
  transition-delay: 0.5s;
}

button span:nth-of-type(2) {
  height: var(--thickness);
  width: 0;
  left: 0;
  bottom: 0;
  transition-delay: 0.2s;
  /* background-color: red; */
}

button span:nth-of-type(3) {
  height: 0;
  width: var(--thickness);
  left: var(--offset);
  top: 0;
  transition-delay: 0.3s;
}

button span:nth-of-type(4) {
  height: var(--thickness);
  width: 0;
  left: var(--offset);
  bottom: var(--offset);
  /* background-color: red; */
}

.wpcf7-response-output {
  border: none !important;
  margin-inline-start: 0 !important;
  padding-inline-start: 0 !important;
}

input[type='checkbox'] {
  width: auto;
}

.wpcf7-list-item {
  margin-inline-start: 0;
  line-height: 1;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.9rem;
}

.wpcf7-list-item a {
  text-decoration: underline !important;
}

/* button:hover {
  border-color: transparent;
  transition: border-color 0.3s ease;
  border-color: #e2a23d;
  color: #002e36;
}

button:hover span:nth-of-type(1) {
  height: 100%;
  transition: height 0.3s ease;
}

button:hover span:nth-of-type(2) {
  width: 100%;
  transition: width 0.3s ease;
  transition-delay: 0.15s;
}

button:hover span:nth-of-type(3) {
  height: 49%;
  transition: height 0.3s ease;
}

button:hover span:nth-of-type(4) {
  width: calc(100% - var(--offset));
  transition: width 0.3s ease;
  transition-delay: 0.15s;
} */

a.btn:hover,
.wpcf7-submit:hover {
  border: 1px solid transparent;
  color: #fff;
}

a.btn,
.wpcf7-submit {
  color: #e2a23d;
  transition: all 0.3s;
  position: relative;
}

.wpcf7-submit:hover,
.wpcf7-submit {
  color: #000;
}

footer .wpcf7-submit,
footer .wpcf7-submit:hover {
  color: #e2a23d;
}

/* a.btn span {
  transition: all 0.3s;
} */
a.btn::before,
.wpcf7-submit:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: currentColor;
  border-bottom-color: currentColor;
  transform: scale(0.1, 1);
}
/* a.btn:hover span {
  letter-spacing: 2px;
} */
a.btn:hover::before,
.wpcf7-submit:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}
a.btn::after,
.wpcf7-submit::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  /* background-color: rgba(255, 255, 255, 0.1); */
}
a.btn:hover::after,
.wpcf7-submit:hover::after {
  opacity: 0;
  transform: scale(0.1, 1);
}

@media (max-width: 767px) {
  .btn {
    font-size: 1rem;
  }
}
