/* ---------------------------------------
MODERN CSS RESET
--------------------------------------- */

/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Remove default padding */
ul[class],
ol[class] {
	padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0 0 20px 0;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul[class],
ol[class] {
	list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
	text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
	max-width: 100%;
	display: block;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
	margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
	font: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------------------------------------
Variables
--------------------------------------- */
:root {
	--aclu-blue: #0055aa;
	--aclu-red: #ef404d;
	--aclu-white: #ffffff;
	--aclu-black: #000000;
	--aclu-black-transparent: #00000080;
	--aclu-light-azure: #a3dbe3;
	--aclu-light-green: #a7d7b5;
	--aclu-light-orange: #fcaa17;
	--aclu-light-pink: #fabeaf;
	--aclu-light-yellow: #ffe06a;
	--aclu-dark-burgundy: #691b40;
	--aclu-dark-gray: #3c3532;
	--aclu-dark-green: #00343a;
	--aclu-dark-navy: #130f54;
	--aclu-dark-purple: #552564;
	--aclu-body-font: gtamstandard, Arial, Helvetica, sans-serif;
	--aclu-headline-font: gtamextended, Arial, Helvetica, sans-serif;
	--aclu-subheadline-font: gtamcompressed, Arial, Helvetica, sans-serif;
}

/* ---------------------------------------
Fonts
--------------------------------------- */
@font-face {
	font-family: gtamstandard;
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: local('GT America Standard Regular'),
		url(/Fonts/GT-America-Standard-Regular.otf) format('embedded-opentype');
}

@font-face {
	font-family: gtamstandard;
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: local('GT America Standard Bold'),
		url(/Fonts/GT-America-Standard-Bold.otf) format('embedded-opentype');
}

@font-face {
	font-family: gtamcompressed;
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: local('GT America Compressed Regular'),
		url(/Fonts/GT-America-Compressed-Regular.otf)
			format('embedded-opentype');
}

@font-face {
	font-family: gtamcompressed;
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: local('GT America Compressed Bold'),
		url(/Fonts/GT-America-Compressed-Bold.otf) format('embedded-opentype');
}

@font-face {
	font-family: gtamextended;
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: local('GT America Extended Bold'),
		url(/Fonts/GT-America-Extended-Bold.otf) format('embedded-opentype');
}

/* ---------------------------------------
Default
--------------------------------------- */
body {
	height: 100%;
	margin-bottom: 0;
	font-family: var(--aclu-body-font);
}

main {
	height: 100vh;
}

input,
textarea,
button,
select {
	width: 100%;
}

a,
a:active {
	color: var(--aclu-blue);
}

a:visited,
a:hover {
	color: var(--aclu-dark-navy);
}

.button {
	border-radius: 0 !important;
	padding: 5px 40px;
}

.section#header-message,
#header-message {
	padding: 5px;
}

#header-message {
	display: none;
	justify-content: space-between;
	background: var(--aclu-blue);
	color: var(--aclu-white);
}

#message {
	margin-left: 20px;
}

.wip,
.instructions {
	padding: 20px;
}

.wip {
	margin-top: 40px;
	background: var(--aclu-light-pink);
}

.wip p {
	margin-bottom: 0;
}

.instructions {
	background: var(--aclu-light-azure);
}

#close-header {
	font-weight: bold;
	display: flex;
	margin-right: 20px;
}

.section {
	padding-top: 40px;
}

.hero {
	background: var(--aclu-light-yellow);
}

.title {
	font-family: var(--aclu-headline-font);
}

.subtitle {
	font-family: var(--aclu-subheadline-font);
	font-weight: 700;
}

#zip-output {
	background: var(--aclu-white);
	padding: 11px;
	border-radius: 4px;
	border: ;
	word-break: break-all;
	color: black;
	box-shadow: inset 0 0.0625em 0.125em rgba(10, 10, 10, 0.05);
}

#submit-button {
	background: var(--aclu-black);
	color: var(--aclu-white);
}

#reset-button {
	background: var(--aclu-white);
	color: var(--aclu-black);
	border: 2px var(--aclu-black) solid;
}

.sticky-footer {
	background: var(--aclu-dark-burgundy);
	color: var(--aclu-white);
	padding: 20px;
	align-self: flex-end;
}
.sticky-footer p {
	margin-bottom: 0;
}
