.narrow {
	width: clamp( 300px, 100%, 500px);
	margin: 0 auto;
}
article {
	margin-bottom: 15px;
}
main {
	padding-bottom: 150px;
}


.hidden {
	display: none;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:hover {
  filter: contrast(115%);
}

/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Join Element
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.join {
	display: flex;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	flex-direction: column;
	background-color: #dbedfd;
	padding: 7px 7px;
	margin: 40px auto;
	align-items: center;
	font-size: 18px;
	
	border: 2px solid #cce1f3;
	border-radius: 13px;
	
	color: #265167;
}
.join h3 {
	margin-bottom: 3px;
}
.join ul {
	font-size: 0.9em;
	line-height: 1.3;
	margin-bottom: 20px;
	max-width: 85%;
}
.join-pricing strong {
	font-size: 1.2em;
	font-weight: 500;
}
#join-button {
	width: clamp(90px, 50%, 300px);
	height: 42px;
	margin: 20px 12px;
	border-radius: 7px;
	font-size: 16px;
	font-weight: 500;
	color: #2960ff;
	background-color: #ffffffde;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
	cursor: pointer;
}

.funds-goal {
	margin: 30px auto;
}
.funds-goal p {
	text-align: center;
	font-family: 'Inter';
	color: #4d4d4d;
}
.funds-goal p.goal {
	font-weight: 500;
	color: #000000;
}

.funds-goal-bar {
	width: 100%;
	background-color: #ecece9;
	border-radius: 30px;
	height: 14px;
}
.funds-goal-current {
	height: 100%;
	width: 0%;
	background-color: #40d36a;
	border-radius: 30px 0 0 30px;
}

section h3 {
	width: 100%;
	border-radius: 13px;
	padding: 12px 0;
	text-align: center;
}
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Donation Element
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.donate {
	display: flex;
	box-sizing: border-box;
	flex-direction: column;
	background-color: #ecece9;
	padding: 7px 7px;
	margin: 8px auto;
	margin-top: 50px;
	
	border: 2px solid #e1dcd199;
	border-radius: 13px;
	
	color: #494135;
}
.donate h3 {
	color: #675d4e;
	text-align: center;
	padding: 3px 0 12px;
}

.donate input[type="radio"] {
	display: none;
}
#donation-form {
	display: flex;
	flex-direction: column;
}

.donation-amount {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	text-align: center;
	margin-bottom: 17px;
}

.donation-amount label {
	flex-basis: auto;
	flex-grow: 1;
	height: 25px;
	background-color: #e6e2df;
	border-radius: 8px;
	padding: 10px 8px;
	margin: 0 3px;
	cursor: pointer;
}
.donation-amount label:nth-of-type(1) {
	margin-left: 0;
}
.donation-amount label:last-of-type {
	margin-right: 0;
}
.donation-amount input[type="radio"]:checked+label {
	background-color: #ffffff;
	color: black;
	font-weight: 550;
	border: none;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
#donation-amount-custom+label {
	padding: 10px 0;
	min-width: 120px;
}
#donation-amount-custom-input {
	position: absolute;
	top: 0;
	left: 0;
	
	box-sizing: border-box;
	height: 100%;
	width: 100%;
	padding: 0 8px;
	background-color: transparent;
	font-size: 16px;
	font-weight: 400;
	border-radius: 8px;
	color: black;
	font-weight: 550;
}
#donation-amount-custom-input::placeholder {
	color: #4941349a;
	font-weight: 400;
}
@media (max-width: 600px) {
		.donation-amount {
			font-size: 19px;
		}
	}
	@media (max-width: 360px) {
		.donation-amount {
			flex-direction: column;
		}
		.donation-amount label {
			margin: 5px 0;
		}
	}




.donation-freq {
	background-color: #eae3cf;
	border-radius: 100px;
	height: 36px;
	width: fit-content;
	display: flex;
	flex-direction: row;
	flex-wrap: no-wrap;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 3px 0px;
	margin-bottom: 12px;
	align-self: center;
}
.donation-freq label {
	border-radius: 7px;
	padding: 8px 12px;
	margin: 3px;
	font-weight: 400;
	cursor: pointer;
}

.donation-freq input[type="radio"]:checked+label {
	font-weight: 500;
	background-color: white;
	color: black;
	border-radius: 100px;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}

/* Summary
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.donation-summary {
	width: 100%;
	display: none;
	flex-direction: column;
	margin-bottom: 12px;
}
.divider {
	width: clamp(90px, 80%, 600px);
	height: 2px;
	align-self: center;
	border-radius: 10px;
	background-color: #d1cec799;
	margin: 17px 0;
}
.donation-summary p {
	text-align: center;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.3;
}
#donation-summary-amount {
	font-size: 19px;
	font-weight: 600;
}

#checkout-button {
	display: none;
	align-self: center;
	width: clamp(90px, 50%, 300px);
	height: 42px;
	margin: 0 0 12px;
	border-radius: 7px;
	font-size: 16px;
	font-weight: 500;
	color: #2960ff;
	background-color: #ffffffde;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
	cursor: pointer;
}
#checkout-summary-controls {
	display: none;
	margin-top: 12px;
}
.checkout {
	width: 100%;
	/* display: none; */
	flex-direction: column;
	margin-bottom: 12px;
	padding: 0 8px;
	box-sizing: border-box;
}
.donation-summary button {
	font-size: 15px;
	background-color: transparent;
	color: #4377ff;
	cursor: pointer;
}

#payment-element {
	  margin-bottom: 24px;
	}
#submit {
	width: 100%;
	height: 42px;
	border-radius: 7px;
	font-size: 16px;
	font-weight: 500;
	color: #2960ff;
	background-color: #ffffffde;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
	cursor: pointer;
}


/*
▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲▼▲
Spinner / processing state & errors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.spinner,
.spinner:before,
.spinner:after {
  border-radius: 50%;
}
.spinner {
  color: #ffffff;
  font-size: 22px;
  text-indent: -99999px;
  margin: 0px auto;
  position: relative;
  width: 20px;
  height: 20px;
  box-shadow: inset 0 0 0 2px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.spinner:before,
.spinner:after {
  position: absolute;
  content: "";
}
.spinner:before {
  width: 10.4px;
  height: 20.4px;
  background: #5469d4;
  border-radius: 20.4px 0 0 20.4px;
  top: -0.2px;
  left: -0.2px;
  -webkit-transform-origin: 10.4px 10.2px;
  transform-origin: 10.4px 10.2px;
  -webkit-animation: loading 2s infinite ease 1.5s;
  animation: loading 2s infinite ease 1.5s;
}
.spinner:after {
  width: 10.4px;
  height: 10.2px;
  background: #5469d4;
  border-radius: 0 10.2px 10.2px 0;
  top: -0.1px;
  left: 10.2px;
  -webkit-transform-origin: 0px 10.2px;
  transform-origin: 0px 10.2px;
  -webkit-animation: loading 2s infinite ease;
  animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
  0% {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
  }
  100% {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}
@keyframes loading {
  0% {
	-webkit-transform: rotate(0deg);
	transform: rotate(0deg);
  }
  100% {
	-webkit-transform: rotate(360deg);
	transform: rotate(360deg);
  }
}

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