@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

/* 
  CONTACT FORM EXAMPLE FOR FORMCARRY

  IMPORTANT NOTE:
  PLEASE ADD formcarry-form class to your form element
  to apply the styles.
*/

.formcarry-container * {
  box-sizing: border-box;
	font-family: "Inter", sans-serif;

  /* colors */
  --color-blue: #2552d0;
  --color-light-blue: #3266e3;
  --color-gray: #e5e7eb;
  --color-dark-gray: #9da3ae;
  --color-pink: #edadd2;
}

.formcarry-container {
  /* container */
  --c-width: 50%;
  --c-max-width: 500px;

  width: var(--c-width);
  max-width: var(--c-max-width);
  display: block;
  margin: 10vh auto 0 auto;
}

.formcarry-form label {
  display: block;
  padding: 12px 0 2px 0;
  letter-spacing: -0.2px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
}

.formcarry-form input,
.formcarry-form textarea {
  font-size: 16px; /* text size inside form fields */
  display: block; /* stack fields vertically */
  width: 100%; /* fill the available form width */
  padding: 10px; /* space inside each input field */
  background-color: var(--color-gray); /* light gray field color */
  border: none; /* remove default browser input border */
  border: 4px solid var(--color-gray); /* custom border with same gray color */
  outline: none; /* remove default focus outline */
  border-radius: 8px; /* rounded corners for fields */
  color: var(--color-dark-gray); /* input text color */
}

.formcarry-form input:focus,
.formcarry-form textarea:focus {
  background-color: #fff;
  color: var(--color-dark-gray);
}

.formcarry-form input:focus:required:invalid {
  border-color: var(--color-pink); /* highlight invalid required fields */
  background-color: #fff; /* keep invalid field white for readability */
}

.formcarry-form button {
  display: block; /* button takes full line */
  margin: 12px 0 48px; /* space above and below the button */
  width: 100%; /* make button full width */
  padding: 12px 20px; /* button padding for larger tap area */
  border-radius: 8px; /* rounded corners for button */
  border-color: transparent; /* hide default border */
  background-color: var(--color-blue); /* button background color */
  color: #fff; /* button text color */
  font-weight: 700; /* bold button text */
  font-size: 18px; /* larger button text */

  transition: 300ms all; /* smooth hover transition */
}

.formcarry-form button:hover {
  background-color: var(--color-light-blue);
}

.formcarry-alert {
  padding: 12px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-top: 12px;
  display: none;
}

.formcarry-alert.visible {
  display: block;
}

.formcarry-alert.success {
  background: #69cf9d;
}

.formcarry-alert.error {
  background: #de524c;
}