html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

* {
	max-height: 1000000px;
}

body {
	margin: 0;
	color: #000;
	font: 22px/1.5 'Arial', 'Helvetica Neue', 'Helvetica', sans-serif;
	min-width: 320px;
	background: #eaf3f8;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.h {
	font-family: 'Arial', 'Helvetica Neue', 'Helvetica', sans-serif;
	font-weight: 400;
	margin: 0 0 10px;
	color: #000;
	text-align: center;
}

h1,
.h1 {
	font-size: 35px;
}

.wrapper {
	position: relative;
	overflow: hidden;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.container {
	max-width: 1400px;
	padding: 0 20px;
	margin: 0 auto;
}

section {
	padding: 30px 0;
}

.password-generator-content {
	width: 500px;
	color: #000;
	padding: 20px;
	position: relative;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

#password {
	background: #fff;
	color: #000;
	width: 100%;
	min-height: 45px;
	display: block;
	padding: 6px 10px;
	word-break: break-all;
}

.custom-checkbox-container {
	display: inline-block;
	vertical-align: top;
	position: relative;
	padding-left: 40px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 22px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.custom-checkbox-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

.checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 33px;
	width: 33px;
	background: #ccc;
	transition: 0.3s background ease-in-out;
}

.custom-checkbox-container:hover input ~ .checkmark {
	background: #009000;
}

.custom-checkbox-container input:checked ~ .checkmark {
	background: #009000;
}

.checkmark:after {
	content: '';
	position: absolute;
	display: none;
}

.custom-checkbox-container input:checked ~ .checkmark:after {
	display: block;
}

.custom-checkbox-container .checkmark:after {
	left: 11px;
	top: 5px;
	width: 9px;
	height: 18px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

label {
	display: block;
}

#password-generator-form {
	padding-top: 10px;
}

.range-and-number {
	display: flex;
	margin-bottom: 10px;
}

#number-of-characters-range {
	width: calc(100% - 85px);
	cursor: pointer;
}

#number-of-characters {
	width: 60px;
	margin-left: 15px;
	font-size: 22px;
	text-align: center;
	border: none;
	padding: 8px;
}

button {
	font-size: 22px;
	display: block;
	text-align: center;
	border: none;
	background: #009000;
	color: #fff;
	width: 100%;
	padding: 8px;
	cursor: pointer;
	transition: 0.3s background ease-in-out;
	margin-top: 10px;
}

button:hover {
	background: #007000;
}

button:disabled {
	background: #ccc;
	cursor: auto;
}

.password-copied-txt {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -100px;
	background: #009000;
	padding: 10px 20px;
	color: #fff;
	transition: top 0.3s ease-in-out;
}

.password-copied .password-copied-txt {
	top: 0;
}
