html {
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}

body {
	background: linear-gradient(180deg, rgb(255, 255, 255), rgb(225, 225, 225)) fixed;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	min-height: 100vh;
}

.header {
	box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 15px 0 rgba(0, 0, 0, 0.19);
	text-align: center;
	font-size: 1.5rem;
	margin-bottom: 50px;
	margin-top: 0px;
	padding: 5px 0px;
}

.container {
	display: flex;
	justify-content: flex-start;
	max-width: 1000px;
	margin: 0 auto;
	gap: 4rem;
}

.inputContainer {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	width: 12rem;
	align-items: center;
}

.sketchContainer {
	background: #dfdfdf00;
	display: grid;
	width: 500px;
	height: 500px;
	gap: 0;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#rangeOutput {
	text-align: center;
}

.button {
	padding: 10px 20px;
	font-size: 1.1em;
	display: block;
	margin-bottom: 1rem;
	border-radius: 5px;
	border: 1px solid grey;
	width: 100%;
	transition: all ease-in-out 0.2s;
}

.colorContainer {
	width: 100%;
	height: 40px;
	margin-bottom: 1rem;
	border-radius: 5px;
}

#colorDisplay {
	font-size: 1.35rem;
}

.button,
#slider {
	cursor: pointer;
}

#slider,
.sliderContainer,
#colorPicker {
	width: 100%;
	display: flex;
}

#colorPicker {
	height: 100%;
	border-radius: 5px;
	width: 12rem;
}

#group {
	margin: 1rem 0;
}

.grid {
	background: rgba(0, 0, 0, 1);
	display: flex;
	flex: 1 1 8rem;
	width: auto;
	height: auto;
	touch-action: none;
	transition: all 0.2s;
}

.button:hover,
.button-active {
	background: #424242;
	color: azure;
	box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 4px 12px 0 rgba(0, 0, 0, 0.19);
}

.button:active {
	background: none;
	color: #424242;
	scale: 1.05;
}

#footer {
	box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.2), 0 -4px 15px 0 rgba(0, 0, 0, 0.19);
	font-size: 1rem;
	margin-top: auto;
	padding: 0.5rem 0;
	text-align: center;
	width: 100%;
}

#footer p {
	margin: 0;
	padding: 1.5rem 0;
}

@media (max-width: 1100px) {
	.container {
		align-content: center;
		align-items: center;
		flex-direction: column-reverse;
		height: auto;
		gap: 2rem;
		margin-bottom: 4rem;
	}

	.inputContainer {
		justify-content: center;
		flex-direction: row;
		width: 85%;
		gap: 20px;
	}

	.sketchContainer {
		margin: 1rem auto 2rem auto;
	}

	#slider {
		margin-left: 2rem;
		margin-right: 2rem;
	}

	.inputContainer p {
		display: flex;
		align-items: center;
	}

	.button {
		width: 200px;
		height: 100px;
		margin-bottom: 0;
	}
}

@media (max-width: 500px) {
	.button {
		width: 7rem;
		height: 3em;
		font-size: 1em;
		font-size: small;
		margin: 0 10px;
	}

	.inputContainer {
		gap: 0.5rem;
	}

	.sketchContainer {
		width: 350px;
		height: 350px;
		margin: 0;
	}

	h1 {
		font-size: 3rem;
	}

	.header {
		padding: 0;
	}

	.colorContainer {
		margin: auto;
	}
}

@media (max-height: 750px) {
	.header {
		display: none;
	}

	.sketchContainer {
		margin-top: 25px;
	}

	.button {
		height: 2.5rem;
	}
}

@media (min-width: 900px) {
	html {
		overflow-y: auto;
	}
	.sketchContainer {
		width: 800px;
		height: 800px;
	}
}
