.navbar {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: teal;
  color: #fff;
  margin-top: 0px;
}


h1 {
    text-align: center;
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 50px;
    font-size: 70px;
    color: crimson;
    margin-top: 100px;
}

body {
    background-image: url('/static/background.avif');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

#pass {
    display: block;
    height: 350px;
    max-width: 100%;
    height: auto;
    width: 450px;
    margin-left: auto;
    margin-right: auto; 
    margin-top: 20px;   
}
  
#descript {
  text-align: center;
  font-size: 27px;
  margin-top: 18px;
}



#password-div {
  background-image: linear-gradient(to right, lightgray, rgb(223, 239, 253));
  margin: 25px auto;
  border-width: 5px;
  border-style: solid;
  border-color: silver;
  border-image: initial;
  border-radius: 15px;
  padding: 2%; 
  max-width: 85%; 
  display: none;
  height: 600px;
}


#button-div, #button-div:hover {
  position: relative;
  top: 100px;
  width: 50%;
  float: left;
  padding: 20px;
}

#output-div {
  position: relative;
  top: 100px;
  width: 50%;
  float: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 20px;
  align-items: center;
}

#simple-password {
  background-color: whitesmoke;
  height: 45px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  width: 85%; 
  max-width: 500px;
  margin: 10px auto; 
  margin-top: 40px;
}

#simple-password-hidden {
  background-color: whitesmoke;
  height: 45px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  display:none;
  width: 85%; 
  max-width: 500px;
  margin: 10px auto; 
  margin-top: 40px;
}
#moderate-password {
  background-color: whitesmoke;
  height: 45px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  width: 85%; 
  max-width: 500px;
  margin: 10px auto; 
  margin-top: 20px;
}

#moderate-password-hidden {
  background-color: whitesmoke;
  height: 45px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  display:none;
  width: 85%; 
  max-width: 500px;
  margin: 10px auto; 
  margin-top: 20px;
}

#strong-password {
  margin-top: 3px;
  background-color: whitesmoke;
  height: 45px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  width: 85%; 
  max-width: 500px;
  margin: 10px auto; 
  margin-top: 30px
}

#strong-password-hidden {
  margin-top: 3px;
  background-color: whitesmoke;
  height: 45px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  display:none;
  width: 85%; 
  max-width: 500px;
  margin: 10px auto; 
  margin-top: 30px

}

#about_text {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: 500px;
}

#about_paragraph {
  font-size: 30px;
  margin-left: 1070px;
  margin-top: -480px;
  padding: 15px;
  margin-right: 150px;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


a {
  font-size: 25px;
  display: block;
  padding: 8px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}


li {
  list-style: none;
  float: left;
}

.logo {
  font-size: 32px;
}

.menu {
  display: flex;
  gap: 1em;
  font-size: 15px;
}


.menu li {
  padding: 5px 14px;
}

.menu li:hover {
  background-color: #4c9e9e;
  border-radius: 5px;
  transition: 0.3s ease;
}
/*a:hover {
  background-color: #728FCE;
  cursor: pointer;
}

a:active {
  background-color: #2F539B;
}
*/

#btn-container {
  justify-content: center;
  text-align: center;
  margin: 25px;
}


#text-style {
  font-family: 'Poppins', sans-serif;
}


.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  left: 0px;
  top: 0px;
  width: 100%; 
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0); 
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; 
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#question {
  position: absolute;
  margin-left: 1174px;
  margin-top: -595px;
  border: none;
  background: none;
  display: none;
}

#simple-description {
  color: green;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-align: center;
}

#moderate-description {
  color: blue;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-align: center;
}


#strong-description {
  color:red;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  text-align: center;
}


#copy-div {
  position: relative;
  top: 100px;
  width: 80px;
  float: right;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  left: 615px;
  top: -100px;
}

#simple-copy {
  margin-bottom: 15px;
  margin-top: -28px;
}

#moderate-copy {
  margin-bottom: -5px;
  margin-top: 12px;
}

#strong-copy {
  margin-bottom: 15px;
  margin-top: 37px;
}



.toggle input[type='checkbox'] {
  display: none;
}

.toggle label {
  background-color: #777;
  border: 2px solid #555;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  position: absolute;
  transition: all ease-in-out 0.3s;
  width: 50px;
  height: 30px;
  margin-top: -780px;
  margin-left: 1760px;

}

.toggle label::after {
  background-color: #555;
  border-radius: 50%;
  content: ' ';
  cursor: pointer;
  display: inline-block;
  position: absolute;
  left: 2px;
  top: 2px;
  transition: all ease-in-out 0.3s;
  width: 22px;
  height: 22px;
}

.toggle input[type='checkbox']:checked ~ label {
  background-color: #00a0fc;
  border-color: #006dc9;
}

.toggle input[type='checkbox']:checked ~ label::after {
  background-color: #0054b0;
  transform: translateX(20px);
}

body.dark-theme {
  background-image: url('/static/dark-background.avif');

}

body.dark-theme .toggleWords {
  color: white;
}

body.dark-theme #descript {
  color: white;
}

.toggleWords {
  margin-left: 1600px;
  margin-top: -779px;
  position: absolute;
  font-size: 110%;
}