body,
html {
	font-family: 'Cascadia Code', monospace;
	padding: 0rem;
	margin: 0rem;
	font-size: 1rem;
	background-color: black;
}

body,
html {
	background: url('/patterns/black_linen_v2.png') fixed;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
}

/* Firefox */
input[type=number] {
	appearance: textfield;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	gap: .5em;
	align-items: center;
}

div#container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	justify-content: center;
	margin: 2.5rem;
	padding: 2.5rem;
	background: white;
	gap: 0.5em;

	box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;
	border: 1px dashed lightgray;
}

input,
button,
textarea,
label {
	font-family: 'Cascadia Code', monospace;
	font-size: 1.1em;
	background-color: whitesmoke;
}

input,
button,
textarea {
	padding: 0.5rem;
}

button#generate,
button#clipboard {
	padding: 1em;
	cursor: pointer;

	border: none;
	outline: none;

	background-color: lightgray;
	border-radius: 5px;

	&:hover {
		background-color: darkgray;
	}
}

code {
	background: #eee;
	padding: 0.2rem 0.4rem;
	border-radius: 4px;
}

.output {
	user-select: all;
	padding: 5px;
	text-align: center;
}

#privates {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	border: 1px solid lightgray;
	padding: .5em;
}

.privater {
	display: flex;
	flex-direction: row;
	gap: 1rem;
	align-items: center;

	&>input {
		flex-grow: 1;
	}
}

div#settings {
	display: flex;
	gap: 1em;
	flex-direction: row;
	justify-content: space-between;
	justify-items: stretch;
	align-items: center;
	border: 1px solid lightgray;
	padding: .5em;

	&>input {
		flex-shrink: 0;
	}

	input#pattern {
		flex-grow: 1;
	}

	input#shuffle {}

	input#lengths {}
}

@media screen and (max-width: 1280px) {
	div#settings {
		flex-direction: column;
		justify-items: center;
		align-items: stretch;

		&>input {
			flex-grow: 1;
		}
	}
}

input {
	border: none;
	outline: none;
	caret-color: red;
	border: 1px solid lightgray;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;

	&:active {
		border-color: darkgray;
	}

	&:focus {
		border-color: darkgray;
	}

	&.private,
	&#public {
		text-align: left !important;
	}
}

#output {
	user-select: none;
	pointer-events: none;
}

div#process {
	display: flex;
	flex-direction: row;
	gap: 1em;
	align-items: center;
}

input.digital {
	text-align: center;
}

.private {}

div.revealer {
	display: flex;
	flex-direction: row;
	gap: 1em;
	align-items: center;

	&>input {
		flex-grow: 1;
	}
}


img.delete {
	flex-shrink: 1;
	opacity: .5;

	transition: opacity .5s ease;
	cursor: pointer;

	&:hover {
		opacity: 1;
	}
}

div.motto {
	margin-top: .25em;
	margin-bottom: .25em;
	border-top: 1px solid lightgray;
	padding-top: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid lightgray;
	font-style: italic;
	color: darkgray;
}

img.svgbtn {
	flex-shrink: 1;
	opacity: .25;

	transition: opacity .5s ease;
	cursor: pointer;

	width: 2rem;
	height: 2rem;

	&:hover {
		opacity: 1;
	}
}

div.details {
	margin-top: .25em;
	margin-bottom: .25em;
	border-top: 1px solid lightgray;
	padding-top: 1em;
	padding-bottom: 1em;
	border-bottom: 1px solid lightgray;
	color: darkgray;

	display: flex;
	flex-direction: row;
	gap: 2.5em;
	align-items: center;
	justify-content: space-between;

	a {
		text-decoration: none;
		border-bottom: 1px solid lightgray;
		opacity: 0.5;

		&:hover {
			border-bottom-color: gray;
			opacity: 1;
			transition: border-bottom-color .5s ease, opacity .5s ease;
		}
	}
}

div#lengther {
	display: grid;
	row-gap: 1em;
	column-gap: 1em;
	grid-template-columns: 1fr auto;
	grid-auto-flow: row;
	align-items: center;
}

.horz-side-split {
	display: flex;
	flex-direction: row;
	gap: 1em;
	align-items: center;
	justify-content: space-between;
}

span#counter {
	color: gray;
}

.side-by-side {
	display: flex;
	flex-direction: row;
	gap: .5em;
	align-items: center;
}

.muted {
	opacity: .5;
}

.noframe,
.no-frame {
	border: none !important;
}

#paypal {
	background-image: url('/images/paypal-svgrepo-com.svg');
	background-repeat: no-repeat;
	background-position: 0;
	background-size: 25px 25px;
	padding-left: 30px;
}


@media screen and (max-width: 500px) {

	html,
	body {
		font-size: 2.5em;
		background: red !important;
	}
}

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {

	html,
	body {
		font-size: 1.75em;
		background: white !important;
	}

	div#container {
		margin: 0;
		padding: 1rem;
		box-shadow: none;
	}

	img.svgbtn {
		width: 2.5rem;
		height: 2.5rem;
	}
}
