*:focus {
	outline: dotted 2px #ccc;
  outline-offset: 0.45rem;
}

body {
	font-family: 'Montserrat', sans-serif;
	margin: 0;
	padding: 1rem;
	box-sizing: border-box;
  	width: 100%;
  	height: 100%;
  	font-size: 16px;
  		-webkit-font-smoothing: antialiased;
  	background-color: #eee;
  	background-image: url("assets/CI_pattern1.png");
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0;
}

.container {
	display: flex;
	flex-direction: column;
	width: 750px;
	height: auto;
	margin: 0 auto;
	padding: 25px 50px;
}

.header {
	text-align: center;
	padding: 25px;
}

.header p {
	color: #fff;
}

.opt-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 15px;
	background-color: #fcfcfc;
	border: 1px solid #cc3333;
	border-radius: 6px;
	box-shadow: 0 0 10px rgba(60, 64, 60, 0.6);
	margin-bottom: 15px;
}

.opt1 {
	display: flex;
	flex-direction: column;
	padding: 20px;
}

.pnum {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid #ddd;

}

.pnum label {
	text-transform: uppercase;
	margin: 15px 10px;
}

.pnum input {
	width: 50px;
	height: 50px;
	text-align: inherit;
	font-size: 42px;
	border: solid 1px #ddd;
	border-radius: 6px;
	padding: 5px;
	box-shadow: 0 0 10px rgba(60, 64, 60, 0.1);
}

.pnum input:hover,
.pnum input:focus {
	border-color: #cc3333;	
}

.plength {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-items: center;
	justify-content: space-around;
	margin: 0px 10px;
	text-transform: uppercase;
}

.plength p {
	margin: 0;
	padding: 15px;
}

/* TOGGLE STYLING */
.plength-radio {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: stretch;
	margin: 0 0 1.5rem;
	box-sizing: border-box;
	font-size: 0;
}

.plength-radio input {
  width: 0;
  height: 0;
  position: absolute;
  left: -9999px;

}
.plength-radio input + label {
  margin: 0;
  padding: 0.75rem 2rem;
  box-sizing: border-box;
  position: relative;
  display: inline-block;
  border: solid 1px #ddd;
  background-color: #fff;
  font-size: 1rem;
  line-height: 140%;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(60, 64, 60, 0.1);
  transition: border-color 0.15s ease-out, color 0.25s ease-out, background-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.plength-radio input + label:first-of-type {
  border-radius: 6px 0 0 6px;
  border-right: none;
}
.plength-radio input + label:last-of-type {
  border-radius: 0 6px 6px 0;
  border-left: none;
}
.plength-radio input:hover + label {
  border-color: #cc3333;
}
.plength-radio input:checked + label {
  background-color: #cc3333;
  color: #fff;
  box-shadow: 0 0 10px rgba(60, 64, 60, 0.1);
  border-color: #813333;
  z-index: 1;
}
.plength-radio input:focus + label {
  outline: dotted 2px #ccc;
  outline-offset: 0.45rem;
}
@media (max-width: 800px) {
	.container {
		max-width: 300px;
	}

  .plength-radio input + label {
    padding: 0.75rem 0.25rem;
    flex: 0 0 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.opt2 {
	align-items: center;
	justify-content: center;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
}

.checkbox label {
    position: relative;
    display: inline-block;
    padding-top: 8px;
    padding-left: 30px;
    text-transform: uppercase;
    cursor: pointer;
}

.checkbox label::before,
.checkbox label::after {
    position: absolute;
    content: "";
    display: inline-block;
}

.checkbox label::before{
    height: 25px;
    width: 25px;
    border-radius: 6px;
    border: 1px solid #ddd;
    background-color: #fff;
    left: 0px;
    top: 3px;
}

.checkbox label::after {
    content: none;
    left: 5px;
    height: 8px;
    width: 16px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
}

.checkbox input[type="checkbox"]:checked + label::after {
    content: "";
   	border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.checkbox input[type="checkbox"]:checked + label::before {
	background-color: #cc3333;
  	border: 1px solid #813333;
}

.checkbox input[type="checkbox"]:hover + label::before {
	border: 1px solid #cc3333;
}

.checkbox input[type="checkbox"]:focus + label::before {
	outline: dotted 2px #ccc;
  	outline-offset: 0.45rem;
}

.opt3 {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 30px;
}

.btn {
	width: 75%;
	margin: 0;
  	padding: 0.75rem 2rem;
  	box-sizing: border-box;
  	position: relative;
  	display: inline-block;
  	border: 1px solid #ddd;
  	border-radius: 6px;
 	background-color: #fff;
  	font-size: 1rem;
  	font-family: 'Montserrat', sans-serif;
  	text-transform: uppercase;
 	line-height: 140%;
  	font-weight: 600;
  	text-align: center;
  	cursor: pointer;
  	box-shadow: 0 6px #ddd, 0 0 10px rgba(60, 64, 60, 0.1);
  	transition: border-color 0.15s ease-in-out, color 0.25s ease-in-out, background-color 0.15s ease-in-out;
}

.btn:hover {
  border-color: #cc3333;
  box-shadow: 0 4px #cc3333, 0 0 10px rgba(60, 64, 60, 0.1);
  top: 2px;
}

.btn:active {
  background-color: #cc3333;
  color: #fff;
  box-shadow: 0 0 10px rgba(60, 64, 60, 0.1);
  top: 6px;
  border-color: #813333;
  z-index: 1;
}
.btn:focus {
  outline: dotted 2px #ccc;
  outline-offset: 0.45rem;
}

.result {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.clipboard {
	margin-bottom: 15px;
  	padding: 10px;
  	box-sizing: border-box;
  	position: relative;
  	display: inline-block;
  	border: 1px solid #ddd;
  	border-radius: 6px;
 	background-color: #fff;
 	color: #cc3333;
  	text-align: center;
  	cursor: pointer;
  	box-shadow: 0 0 10px rgba(60, 64, 60, 0.1);
  	transition: border-color 0.15s ease-in-out, color 0.25s ease-in-out, background-color 0.15s ease-in-out;
}

.clipboard:hover {
	border-color: #cc3333;
  	box-shadow: 0 0 10px rgba(60, 64, 60, 0.1);
}

.hidden {
	display: none;
}

#copytext {
	padding-left: 10px;
	font-size: 12px;
	text-transform: uppercase;
	font-family: 'Montserrat', sans-serif;
	font-weight: 600;
}

.random {
	height: auto;
	width: auto;
	padding: 50px;
	border: 1px solid #ddd;
	background-color: #fcfcfc;
	box-shadow: 0 0 10px rgba(60, 64, 60, 0.1);
	border-radius: 6px;
}

.footer {
	display: flex;
	flex-direction: row;
	padding-top: 25px;
}

.share {
	padding: 0px 5px;
}

.right {
	margin-left: auto;
}

.sig {
	font-size: 0.75rem;
	color: #fff;
}

.sig a {
	color: #813333;
	text-decoration: none;
}

.sig a:hover {
	text-decoration: underline overline #fcfcfc;
	color: #fcfcfc;
}