.passwordGeneratorContainer{
  position: absolute;
  
  width: 800px;
  height: 400px;

  top: 150px;
  left: calc(50% - 400px);

  background-color: #235490;
}

.generatedPassword{
  position: absolute;

  width: 75%;
  height: 20%;

  top: 10%;
  margin-left: 12.5%;

  background-color: #262626;


}

::-webkit-scrollbar{
  height: 10px;
}

::-webkit-scrollbar-track{
  background-color: #262626;
}

::-webkit-scrollbar-thumb{
  background-color: whitesmoke;
  border-radius: 10px;
}

#password{
  position: relative;
  width: calc(100%  - 20px);
  height: 50px;
  top: calc(50% - 10px);
  left: 10px;

  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 20px;
  color: whitesmoke;

  overflow-y: hidden;
  overflow-x: scroll;
  white-space: nowrap;
}

.customisePasswordButtons{
  position: absolute;

  width: 70%;
  height: 50%;

  bottom: 10%;
  margin-left: 15%;

  background-color: #262626;
}

#passwordRequirementForm{
  position: relative;
  width: 100%;
  height: 100%;
}

.inputContainer{
  position: relative;

  top: 0px;
  left: 0px;

  height: 50%;
  width: 100%;

  user-select: none;
}

.lengthAndSubmitContainer{
  position: relative;

  bottom: 0px;

  height: 50%;
  width: 100%;
}

/*https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */

/* The container */
.labelContainer {
  position: relative;
  top:22px;
  padding-left: 35px;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  color: whitesmoke;
  margin-left: 50px;
}

.labelContainer.numbersLabelContainer{
  position: relative;
  top: 33px;
}

.labelContainer.symbolLabelContainer{
  position: relative;
  left: 38px;
  top: 33px;
}

.labelContainer input{
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  background-color: #eee;
}

.checkbox{
  position: absolute;
  top: 0px;
  left: 0px;
  height: 33px;
  width: 33px;
  background-color: #e9edef;
  border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.labelContainer:hover input ~ .checkbox {
  background-color: gray;
}


/* When the checkbox is checked, add a blue background */
.labelContainer input:checked ~ .checkbox {
  background-color: #235490;
}

  /* Create the checkmark/indicator (hidden when not checked) */
.checkbox:after {
  content: "";
  position: absolute;
  display: none;
}

  /* Show the checkmark when checked */
.labelContainer input:checked ~ .checkbox:after {
  display: block;
}

  /* Style the checkmark/indicator */
.labelContainer .checkbox:after {
  left: 11px;
  top: 3px;
  width: 8px;
  height: 20px;
  border: solid whitesmoke;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
}


.lengthAndSubmitContainer{
  position: relative;
}

.generatePasswordButton{
  position: relative;
  top: 0px;
  width: 120px;
  padding: 10px 15px 10px 15px;
  left: calc(50% - 60px);
  font-family: Arial, Helvetica, sans-serif;
  background-color: #275fa3b9;
  border: none;
  border-radius: 3px;
  color: whitesmoke;
}

.generatePasswordButton:hover{
  transition: ease-in 0.5s;
  background-color: #235490;
  color: white;
  
}

/*https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_js_rangeslider_round */
.passwordLengthRangeSlider {
  margin-top: 11px;
  margin-left: 50px;
  -webkit-appearance: none;
  width: 300px;
  height: 15px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
}

.passwordLengthRangeSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #235490;
  cursor: pointer;
}

/* End of https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_js_rangeslider_round */

.rangeSliderContainer{
  position: relative;
  display: flex;
}

.rangeSliderValue{
  position: relative;
  margin-top: 7px;
  margin-left: 7px;

  color: whitesmoke;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

@media screen and (max-width:  850px) {
  .passwordGeneratorContainer{
    width: 600px;
    left: calc(50% - 300px);
  }

  .labelContainer{
    margin-left: 7px;
  }

  .passwordLengthRangeSlider{
    margin-left: 7px;
  }
}

@media screen and (max-width:  650px) {
  .passwordGeneratorContainer{
    width: 400px;
    left: calc(50% - 200px);
  }

  .labelContainer{
    margin-left: 15px;
    font-size: 15px;
  }

  .passwordLengthRangeSlider{
    margin-left: 7px;
  }

  .checkbox{
    height: 22px;
    width:22px;
  }

  .labelContainer .checkbox:after {
    left: 7px;
    top: 1px;
    width: 5px;
    height: 13px;
  }
  .labelContainer.symbolLabelContainer{
    left: 18px;
  }

  .passwordLengthRangeSlider{
    margin-left: 5px;
    width: 180px;
  }
  .rangeSliderValue{
    top: 2px;
    font-size: 15px;
  }
}

@media screen and (max-width:  450px) {
  .passwordGeneratorContainer{
    top:50px;
    width: 260px;
    left: calc(50% - 130px);
  }

  .labelContainer{
    display: block;
    top: 0px;
    margin-top: 10px;
    font-size: 15px;
    left: calc(50% - 83.5px);
  }

  .labelContainer.numbersLabelContainer{
    top: 0px;
  }
  
  .labelContainer.symbolLabelContainer{
    top: 0px;
    left: calc(50% - 83.5px);
  }

  .passwordLengthRangeSlider{
    margin-left: 5px;
    width: 100px;
  }
  .rangeSliderValue{
    top: 4px;
    font-size: 13px;
  }
}

@media screen and (max-height:  700px) {
  .passwordGeneratorContainer{
    top:50px;
    width: 260px;
    left: calc(50% - 130px);
  }

  .labelContainer{
    display: block;
    top: 0px;
    margin-top: 10px;
    font-size: 15px;
    left: calc(50% - 83.5px);
  }

  .labelContainer.numbersLabelContainer{
    top: 0px;
  }
  
  .labelContainer.symbolLabelContainer{
    top: 0px;
    left: calc(50% - 83.5px);
  }

  .passwordLengthRangeSlider{
    margin-left: 5px;
    width: 100px;
  }
  .rangeSliderValue{
    top: 4px;
    font-size: 13px;
  }
}