@import url('https://fonts.googleapis.com/css2?family=Imperial+Script&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
	margin: 0;
	padding: 0;
	text-rendering: optimizeLegibility;
	font-size: 16px;
}

body {
	text-align: center;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	background: #FFFDFA url(wildflowers.png) top center repeat-x;
	background-size: 100vw 34.133vw;
	padding-top: 34.133vw;
}

/* @2x Images (Pixel Ratio of 1.25+) */
@media only screen and (-o-min-device-pixel-ratio: 5/4),
       only screen and (-webkit-min-device-pixel-ratio: 1.25),
       only screen and (min-device-pixel-ratio: 1.25),
       only screen and (min-resolution: 1.25dppx) {
    body {background-image: url(wildflowers@2x.png);}
}

/* @3x Images (Pixel Ratio of 2.25+) */
@media only screen and (-o-min-device-pixel-ratio: 9/4),
       only screen and (-webkit-min-device-pixel-ratio: 2.25),
       only screen and (min-device-pixel-ratio: 2.25),
       only screen and (min-resolution: 2.25dppx) {
    body {background-image: url(wildflowers@3x.png);}
}

a {
	color: #2270A8;
	text-decoration: underline;
}
.hide {
	display: none;
}

#us {
	margin: 0 0 8.267vw;
}
#us__title {
	margin: 0 0 1.067vw;
	padding: 0;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	color: #652A2A;
	font-size: 8vw;
	font-weight: 400;
	text-transform: uppercase;
}
#us__title--separator {
	font-family: 'Imperial Script', Georgia, 'Times New Roman', Times, serif;
	display: inline-block;
	margin: 0 1.6vw;
}
#us__subtitle {
	font-family: Roboto, Arial, Helvetica, sans-serif;
	font-size: 4.8vw;
	font-weight: 400;
	color: #0D3E5A;
	margin: 0;
	padding: 0;
}
#us__image {
	margin-top: 10.667vw;
	width: 100%;
	aspect-ratio: 375/348;
}

.locations__accent {
	margin-bottom: -2.667vw;
}
.locations__accent--ceremony {
	width: 24vw;
	height: 17.867vw;
	aspect-ratio: 90/67;
}
.locations__accent--reception {
	width: 32.533vw;
	height: 21.6vw;
	aspect-ratio: 122/81;
}
.locations__title {
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 6.4vw;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 4vw;
	padding: 0;
}
.locations__title--ceremony {
	color: #23554C;
}
.locations__title--reception {
	color: #192367;
}
.locations__time {
	margin: 0 0 3.733vw;
	padding: 0;
	font-family: Montserrat, Georgia, 'Times New Roman', Times, serif;
	font-size: 4.267vw;
	font-weight: 600;
}
.locations__location {
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-weight: 500;
	font-size: 4.267vw;
	text-transform: uppercase;
	margin: 0 0 1.6vw;
	padding: 0;
}
.locations__address {
	margin: 0 0 1.333vw;
	padding: 0;
	font-family: Montserrat, Georgia, 'Times New Roman', Times, serif;
	font-size: 4.267vw;
	font-weight: 400;
	line-height: 1.5;
}
.locations__link {
	margin: 0;
	padding: 0;
	font-family: Montserrat, Georgia, 'Times New Roman', Times, serif;
	font-size: 4.267vw;
	font-weight: 400;
	display: block;
}
.locations__image {
	margin: 8vw 0 0;
	width: 100%;
	height: auto;
}
.locations__image--ceremony {
	aspect-ratio: 375/287;
}
.locations__reception {
	aspect-ratio: 375/287;
}

#ceremony,
#reception {
	margin-bottom: 17.333vw;
}

#rsvp {
	margin-bottom: 17.333vw;
}
#rsvp__title {
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 6.4vw;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 8vw;
	padding: 0;
	color: #81512F;
}
.rsvp__accent {
	width: 33.6vw;
	height: 17.067vw;
	aspect-ratio: 126/64;
}

#rsvpForm {
	margin: 0 10.667vw 12vw;
}
.rsvpForm__field {
	margin-bottom: 5.333vw;
	text-align: left;
}
.rsvpForm__field label,
.rsvpForm__field legend,
.rsvpForm__adultsTitle,
.rsvpForm__childrenTitle {
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: 500;
	font-size: 3.2vw;
	display: block;
	margin: 0 0 2vw;
	padding: 0;
}
.rsvpForm__fieldAttending label {
	display: inline-block;
	text-transform: none;
	font-size: 3.733vw;
	padding: 1vw 0;
}
.rsvpForm__field input,
.rsvpForm__field select {
	width: 100%;
	box-sizing: border-box;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	border-radius: 12px;
	border: 1px solid #A86439;
	padding: 3vw 4vw;
	background-color: #FFF;
	font-size: 3.733vw;
}
.rsvpForm__field select {
	width: auto;
}
.rsvpForm__fieldAttending input {
	width: 3vw;
	height: 3vw;
}
fieldset.rsvpForm__field {
	border: 1px solid #A86439;
}
#adultNames input,
#childNames input {
	margin-bottom: 2vw;
}
#rsvpForm__submit {
	width: 100%;
	box-sizing: border-box;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	border-radius: 12px;
	background: #A86439;
	padding: 3vw 4vw;
	color: #FFF;
	border: 0;
	font-weight: 500;
	text-transform: uppercase;
	margin-top: 3vw;
	font-size: 3.733vw;
}
#rsvpForm__submit:disabled {
	opacity: 0.5;
}
.rsvp__success {
	border-radius: 20px;
	background: #A86439;
	color: #FFF;
	margin: 0 10.667vw 12vw;
	padding: 10vw 7vw;
	box-sizing: border-box;
}
.rsvp__successTitle {
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 6.4vw;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 4vw;
	padding: 0;
}
.rsvp__successText {
	margin: 0;
}

#registry {
	margin-bottom: 17.333vw;
}
.registry__accent {
	width: 49.333vw;
	height: 20.8vw;
	aspect-ratio: 185/78;
}
.registry__title {
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	font-weight: 300;
	font-size: 6.4vw;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 4vw;
	padding: 0;
}
.registry__link {
	margin: 0;
	padding: 0;
	font-family: Montserrat, Georgia, 'Times New Roman', Times, serif;
	font-size: 4.267vw;
	font-weight: 400;
	display: block;
}

@media screen and (min-width: 523px) {
	body {
		background-size: 23.375rem 8rem;
		padding-top: 9rem;
	}
	#us {
		margin: 0 0 1.9375rem;
	}
	#us__title {
		margin: 0 0 0.25rem;
		font-size: 1.87rem;
	}
	#us__title--separator {
		margin: 0 0.375rem;
	}
	#us__subtitle {
		font-size: 1.125rem;
	}
	#us__image {
		margin-top: 3rem;
		max-width: 40rem;
	}
	.locations__accent {
		margin-bottom: -0.625rem;
	}
	.locations__accent--ceremony {
		width: 5.625rem;
		height: 4.1875rem;
	}
	.locations__accent--reception {
		width: 7.6239375rem;
		height: 5.0625rem;
	}
	.locations__title {
		font-size: 1.5rem;
		margin: 0 0 0.9375rem;
	}
	.locations__time {
		margin: 0 0 0.875rem;
		font-size: 1rem;
	}
	.locations__location {
		font-size: 1rem;
		margin: 0 0 0.375rem;
	}
	.locations__address {
		margin: 0 0 0.3125rem;
		font-size: 1rem;
	}
	.locations__link {
		font-size: 1rem;
	}
	.locations__image {
		margin: 1.875rem 0 0;
		max-width: 40rem;
	}
	#ceremony,
	#reception {
		margin-bottom: 4.0625rem;
	}
	#rsvp {
		margin-bottom: 4.0625rem;
	}
	#rsvp__title {
		font-size: 1.5rem;
		margin: 0 0 1.875rem;
	}
	.rsvp__accent {
		width: 7.875rem;
		height: 4rem;
	}

	#rsvpForm {
		margin: 0 2.5rem 2.8125rem;
		max-width: 40rem;
		box-sizing: border-box;
	}
	.rsvpForm__field {
		margin-bottom: 1.25rem;
		text-align: left;
	}
	.rsvpForm__field label,
	.rsvpForm__field legend,
	.rsvpForm__adultsTitle,
	.rsvpForm__childrenTitle {
		font-size: 0.75rem;
		margin: 0 0 0.46875rem;
	}
	.rsvpForm__fieldAttending label {
		font-size: 0.875rem;
		padding: 0.25rem 0;
	}
	.rsvpForm__field input,
	.rsvpForm__field select {
		width: 100%;
		padding: 0.9375rem 0.703125rem;
		font-size: 0.875rem;
	}
	.rsvpForm__field select {
		width: auto;
	}
	.rsvpForm__fieldAttending input {
		width: 0.9375rem;
		height: 0.9375rem;
	}
	#adultNames input,
	#childNames input {
		margin-bottom: 0.46875rem;
	}
	#rsvpForm__submit {
		width: 100%;
		padding: 0.9375rem 0.703125rem;
		margin-top: 0.9375rem;
		font-size: 0.875rem;
	}
	.rsvp__success {
		margin: 0 2.5rem 2.8125rem;
		padding: 2.375rem 1.625rem;
		max-width: 40rem;
	}
	.rsvp__successTitle {
		font-size: 1.5rem;
		margin: 0 0 0.703125rem;
	}
	#registry {
		margin-bottom: 4.0625rem;
	}
	.registry__accent {
		width: 11.5625rem;
		height: 4.875rem;
	}
	.registry__title {
		font-size: 1.5rem;
		margin: 0 0 0.9375rem;
	}
	.registry__link {
		font-size: 1rem;
	}
}

@media screen and (min-width: 641px) {
	#rsvpForm {
		margin-left: auto;
		margin-right: auto;
		max-width: 34rem;
	}
	.rsvp__success {
		margin-left: auto;
		margin-right: auto;
		max-width: 34rem;
	}
}