@font-face {
  font-family: 'Cascadia Code';
  src: url('fonts/CascadiaCode.ttf') format('truetype');
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;

  }

  nav ul li {
    width: 100%;
    padding: 0.5rem 0;
  }

  .generator-container {
    margin: 1rem;
    padding: 1rem;
    width: auto;
  }

  #length {
    width: 100%;
  }

  .output input {
    font-size: 1rem;
  }
}

body {
  font-family: 'Cascadia Code', monospace;
  background-color: black;
  color: #00ff00;
  margin: 0;
  text-align: center;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  color: white;
}

nav img {
  height: 200px;
  margin-right: 50px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 24px;
  gap: 40px;
}

nav ul li {
  transition: color 0.2s;
}

nav ul li:hover {
  color: rgb(0, 255, 0);
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

#selected {
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00;
  border-bottom: 2px solid #00ff00;
  padding-bottom: 2px;
}


.generator-container {
  margin-top: 50px;
}

.options {
  margin: 20px 0;
}

label {
  display: block;
  margin: 5px;
}

input[type=range] {
  width: 200px;
}

button {
  background-color: #00ff00;
  color: black;
  border: none;
  padding: 10px 20px;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 0 10px #00ff00;
  transition: all 0.2s ease-in-out;
}

button:hover {
  background-color: black;
  color: #00ff00;
  border: 1px solid #00ff00;
}


.output {
  margin-top: 20px;
}

#result {
  width: 300px;
  padding: 10px;
  font-size: 1.1rem;
  text-align: center;
  background-color: #111;
  border: 1px solid #00ff00;
  color: #00ff00;
}

.about-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px 30px;
  text-align: left;
  line-height: 1.7;
  background-color: #0a0a0a;
  border: 1px solid #00ff00;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  border-radius: 10px;
}

.about-container h1 {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00;
}

.about-container h2 {
  margin-top: 30px;
  font-size: 1.5em;
  border-bottom: 1px solid #00ff00;
  padding-bottom: 5px;
}

.about-container p {
  margin: 15px 0;
}

.about-container ul {
  list-style-type: square;
  padding-left: 20px;
  margin: 10px 0 30px 0;
}

.about-container li {
  margin-bottom: 10px;
}

.passwords-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  background-color: #0a0a0a;
  border: 1px solid #00ff00;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
  color: #00ff00;
}

.passwords-container h1 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 30px;
  text-shadow: 0 0 5px #00ff00;
}

.passwords-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 1.1em;
}

.passwords-table th,
.passwords-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #00ff00;
}

.passwords-table th {
  background-color: #111;
  font-weight: bold;
}

.passwords-table tr:hover {
  background-color: rgba(0, 255, 0, 0.05);
}

.delete-btn {
  background-color: black;
  border: 1px solid #00ff00;
  color: #00ff00;
  padding: 5px 10px;
  cursor: pointer;
  font-family: 'Cascadia Code', monospace;
  transition: 0.2s;
}

.delete-btn:hover {
  background-color: #00ff00;
  color: black;
}

#search {
  background-color: #111;
  color: #00ff00;
  border: 1px solid #00ff00;
  padding: 10px;
  font-family: 'Cascadia Code', monospace;
  font-size: 1rem;
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
  border-radius: 5px;
  margin-bottom: 20px;
  outline: none;
  transition: 0.2s;
}

#search::placeholder {
  color: #00ff00;
  opacity: 0.5;
}

#search:focus {
  box-shadow: 0 0 15px #00ff00;
  background-color: #000;
}

