        body {
            margin: 0;
            padding-top: 60px; /* برای جلوگیری از همپوشانی با منو */
            min-height: 100vh;
            display: flex1;
            flex-direction: column;
            align-items: center;
            font-family: 'Vazir', sans-serif;
            text-align: center;
            transition: background-color 0.5s ease;

/* استایل‌های منو */
        nav {
            background-color: #333;
            padding: 10px;
            text-align: center;
            position: fixed;
            top: 5px;
            left: 0;
            width: 100%;
            z-index: 1000;
        }

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #ffdd57;
}

/* استایل‌های مبدل */
#converterContainer {
  max-width: 300px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #444;
}

input {
  padding: 15px;
  width: calc(80% - 10px);
  height: 20px;
  font-size: 16px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

button {
  padding: 15px 30px;
  font-size: 16px;
  margin: 10px 0;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

#output {
  font-weight: bold;
  margin-top: 20px;
  font-size: 18px;
  color: #007bff;
}

#colorBox {
  width: 100px;
  height: 100px;
  margin: 20px auto;
  border: 2px solid #000;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#colorName {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
  font-size: 16px;
  color: #555;
}

#coordinates {
  text-align: center;
  margin-top: 10px;
  font-size: 16px;
  color: #333;
}

/* استایل‌های باکس درباره ما */
#aboutContainer {
  max-width: 300px;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#aboutContainer h2 {
  color: #333;
  text-align: center;
}

#aboutContainer p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

#aboutContainer a {
  color: #007bff;
  text-decoration: none;
}

#aboutContainer a:hover {
  text-decoration: underline;
}

/* استایل‌های فوتر */
footer {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  background-color: #f1f1f1;
  border-top: 1px solid #ddd;
  font-size: 0.9em;
  color: #555;
}