* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  text-align: center;
}

body {
  background:#ffd89b;
}

h1 {
  margin-top: 40px;
}

h4 {
  display: flex;
}

label {
  color: #fff;
}

button {
  background: #19547b;
  color: #eee;
}

.text {
  color: #fff
}

.container-main {
  margin: auto;
  max-width: 900px;
  padding: 30px;
  background: #19547b;
}

.checkbox-container {
  position: relative;
  padding: 20px;
  width: 40%;
  height: 60%;
  left: 50%;
  top: 30%;
  bottom: 160px;
  border: 2px solid #ffd89b;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  text-align: left;
}

.row {
  height: 100%;
}

#password {
  width: 450px;
  height: 50px;
  resize: none;
  text-align: center;
  border: none;
  color: #19547b;
  background: #ffd89b;
  border-radius: 5px;
  line-height: 45px;
}

.password-options {
  position: relative;
  max-width: 800px;
  height: 350px;
  padding: 40px;
  border: 2px solid #ffd89b;
  box-shadow: 0 2px 8px rgba(0,0,0, .15);
  border-radius: 15px;
}


.slider-container {
  position: relative;
  margin-top: 10px;
  margin-right: 20px;
  height: 140px;
  width: 40%;
  border: 2px solid #ffd89b;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  border-radius: 10px;
  padding: 0 50px 0 35px;
  
}

.legnth-container {
  position: relative;
  /* height: 300px; */
}

#label-text {
  width: 200px;
  padding-bottom: 20px;
  display: flex;
  margin-top: 20px;
}

.slider-value {
  position: relative;
  width: 100%;
  /* width: 200px; */
}

#length-value {
  position: absolute;
  height: 45px;
  width: 45px;
  color: #19547b;
  font-weight: 500;
  top: 0px;
  transform: translateX(-70%);
  transform-origin: bottom;
  line-height: 45px;
  z-index: 2;
  text-align: end;
}

#generate {
  width: 500px;
  height: 80px;
  border-radius: 5px;
}

#length-value:after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #ffd89b;
  /* left: 50%; */
  left: 80%;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0px 0px 8px rgba(0,0,0,0.1);
  border: 3px solid #eee;
  z-index: -1;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.field {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.value {
  position: absolute;
  font-size: 18px;
  font-weight: 600;
  color: #ffd89b;
}

.left {
  left: -22px;
}

.right {
  right: -35px;
}

.slider-container .slider {
  -webkit-appearance: none;
  height: 3px;
  /* width: 100%; */
  width: 220px;
  background: #eee;
  border-radius: 5px;
  outline: none;
  border: none;
}

.slider-container .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 15px;
  width: 15px;
  background: #ffd89b;
  border-radius: 50%;
  border: 1px solid #ffd89b;
  cursor: pointer;
}

.slider-container .slider::-moz-range-thumb {
  -webkit-appearance: none;
  height: 15px;
  width: 15px;
  background: #ffd89b;
  border-radius: 50%;
  border: 1px solid #ffd89b;
  cursor: pointer;
}

/*
  CSS for the checkbox-container
*/

.container {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

.container:hover input ~ .checkmark {
  background-color: #ccc;
}

.container input:checked ~ .checkmark {
  background-color: #2196f3;
}

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

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

.container .checkmark:after {
  left: 9px;
  top: 3px;
  width: 8px;
  height: 15px;
  border: solid #ffd89b;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* CSS for box that will show the users password */

.card {
  max-width: 800px;
  border: 2px solid #ffd89b;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  font-size: 18px;
  padding: 30px 40px;
  margin-bottom: 40px;
  background: #19547b;
}

.card-title::after {
  content: " ";
  display: block;
  width: 100%;
  background: #e7e9eb;
  height: 2px;
}

.card-body {
  min-height: 120px;
}

