/* Reset default margin and padding for all elements */
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
      background-color: #f8f9fa;
    }

.container {
  text-align: center;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  width: 90%;
  margin-top:2%;
  margin-bottom:2%;
}


h1 {
  color: #343a40;
  margin-bottom: 10px;
}

h2 {
  color:#787373
}

.password-container {
  margin-bottom: 20px;
}

#password {
  width: 100%;
  padding: 10px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  background-color: #f5f5f5;
}

#generate {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

#generate:hover {
  background-color: #0056b3;
}

.slider-container {
  margin-bottom: 10px;
}

#strength {
  width: 100%;
}

#strength-label {
  color: #6c757d;
  font-size: 14px;
  margin-left: 5px;
}

.time-estimate p {
  color: #6c757d;
  margin-top: 10px;
  font-size: 14px;
}

.copy-clipboard {
  margin-top: 20px;
}

#copy {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#copy:hover {
  background-color: #218838;
}

.about-section {
  margin-top: 30px;
  text-align: left;
}

.about-section h2 {
  color: #343a40;
  font-size: 24px;
  margin-bottom: 10px;
}

.about-section p {
  color: #000000;
  font-size: 16px;
}

.about-section li {
  color: #000000;
  font-size: 16px;
  margin-left: 5%;
}

.show-hide-container {
  margin-top: 10px;
}

#password-toggle {
  margin-left: 5px;
}

.show-hide-label {
  color: #6c757d;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  margin-left: 10px;
}

/* Style the time estimate section */
.time-estimate {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
}

#estimate {
  font-size: 1.2vw;
  margin-top: 20px;
  color: #000000;
  line-height: 1.3;
}

@media screen and (max-width: 768px) {
  .container {
    border-radius: 10px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  }
  .password-container {
    margin-bottom: 10px;
  }
  #generate {
    margin-top: 20px;
  }
  .about-section {
    margin-top: 20px;
  }
  #estimate {
  font-size: 3vw;
  margin-top: 20px;
  color: #000000;
  line-height: 1.3;
}
}



.nav-links li {
  list-style-type: none;
  margin: 10px;
  padding: 0;
  display: inline;
  text-align:left;
}

.nav-links{
  text-align:left;
}

.nav-links a {
  color: #7d7d7d;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

.active a{
  color:#000000;
}

.check {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.results-title {
  color: #343a40;
  font-size: 24px;
  margin-top: 20px;
}

.results {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}

.result-item {
  flex: 1 1 calc(33.33% - 20px); /* Adjust as needed */
  margin: 10px;
  padding: 10px;
  border-radius: 5px;
  background-color: #f5f5f5;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

.result-label {
  font-size: 14px;
  color: #787373;
}

.result-value {
  font-size: 16px;
  color: #000000;
}