/* mobile first approach, then modify for wider screens! */
:root {
	/* --color-primary: #8dcc13; */
	--color-primary: radial-gradient(circle, #fdbb2d 40%, #5cd8f4 100%);
	--color-secondary: white;
	--color-accent: whitesmoke;
	--color-text: black;
	--color-heading: black;
	--color-heading-body: black;
}

/* TYPOGRAPHY Section */
body {
	display: flex;
	justify-content: center;
	align-items: center;

	min-height: 100vh;

	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
		sans-serif;

	font-family: "Varela Round", sans-serif;
	font-weight: 400;
	font-style: normal;

	white-space: nowrap;

	background-color: whitesmoke;
}

h1,
h2,
h3 {
	margin: 0;
	text-align: center;
}
h1,
h2 {
	color: var(--color-heading-body);
}
h3 {
	color: var(--color-text);
}

.header-bar h1,
.header-bar h2 {
	color: var(--color-heading);
}
.header-bar h2 {
	margin: 0;
}

.body h2 {
	font-size: large;
}

/* MAIN set-up section */
.app-container {
	margin: 2.5vh 0;
	background-color: var(--color-secondary);
	width: 95vw;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
	/* round edges */
	border-radius: 10px;
	overflow: hidden;

	max-width: 768px;
}

.header-bar {
	background: rgb(141, 204, 19);
	background: var(--color-primary);
	padding: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.tax-icon {
	width: 40px;
	position: relative;
	top: 10px;
}
/* animation for button*/
@keyframes pulse {
	0% {
		box-shadow: none;
	}
	50% {
		box-shadow: 0 0 4px 2px;
	}
	100% {
		box-shadow: none;
	}
}
.btn-theme-toggle {
	padding: 0;
	height: 30px;
	width: 30px;
	border: none;
	border-radius: 100px;
	background-color: rgba(0, 0, 0, 0);
	color: var(--color-heading);

	position: relative;
	top: 5px;

	animation-name: pulse;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	&:hover {
		-webkit-animation: 0;
	}
}
.btn-theme-toggle::after {
	font-family: "Material Symbols Outlined";
	content: "\f172";
}
.btn-theme-toggle:hover {
	cursor: pointer;
	box-shadow: 0 0 5px 2px black;
}

.body {
	padding: 1rem;
}
.body h2 {
	margin-top: 1rem;
}

/* INPUT CONTAINER Styles */
.input-container {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	background-color: var(--color-accent);
	border-radius: 100px;
	margin: 0.5rem 0;
	overflow: hidden;
}
.input-container label {
	font-size: x-small;
	padding-top: 2px;
	padding-left: 1rem;
	color: var(--color-text);
	background-color: var(--color-accent);
}
.input-container input {
	border: none;
	padding: 3px 1rem;
	outline: none;
	color: var(--color-text);
	background-color: var(--color-accent);
}
.input-container input::-webkit-inner-spin-button {
	appearance: none; /*removes the arrows on number input*/
}

.input-container-num {
	margin-top: 1.5rem;
	background-color: white;
	box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.1);
}
.input-container-num label {
	background-color: white;
}
.input-container-num input {
	background-color: white;
}

/* HOVER STYLES */
* {
	transition: box-shadow 0.2s ease-out;
}
.input-container:hover {
	/* !!!! COME BACK TO THIS!!! Just using this to test stuff for now */
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
.input-container-num:hover {
	box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.2);
}
.big-hover:hover {
	box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.2);
}
.little-hover:hover {
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}

/* ----TOP HALF Positioning---- */
.fed-total-breakdown-container {
	display: flex;
	align-items: center;
	background-color: var(--color-accent);
	border-radius: 30px;
	padding-right: 1rem;

	flex-direction: column;
	text-align: center;
}
.fed-total-breakdown-container input {
	text-align: center;
}

.totals-container {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}
.fed-totals-container {
	width: 100%;
	height: 100%;
}
.state-totals-container {
	width: 100%;
	height: 100%;
}

@media screen and (min-width: 525px) {
	.fed-total-breakdown-container {
		flex-direction: unset;
		text-align: unset;
	}
	.fed-total-breakdown-container input {
		text-align: unset;
	}

	.totals-container {
		flex-direction: row;
	}
	.fed-totals-container {
		padding-right: 0.5rem;
	}
	.state-totals-container {
		padding-left: 0.5rem;
	}
}

/* ----BOTTOM HALF Positioning---- */
.remainders-container {
	display: flex;
	flex-direction: column;
}
.fed-remainders-container {
	width: 100%;
	height: 100%;
}
.state-remainders-container {
	width: 100%;
	height: 100%;
}

@media screen and (min-width: 525px) {
	.remainders-container {
		flex-direction: row;
	}
	.fed-remainders-container {
		padding-right: 0.5rem;
	}
	.state-remainders-container {
		padding-left: 0.5rem;
	}
}
