/* Base styles for body and html */
html,
body {
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
  background-color: #f0f0f0;
  height: 100%;
}

/* Container styles */
.container {
  text-align: center;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 80px; /* Adjusted for visual balance */
  margin-bottom: 60px; /* Space for the footer */
}

/* Input and Button styles */
input,
button {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

button {
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
}

/* Result section styles */
#result {
  margin-top: 20px;
}

/* Navigation bar styles */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f0f0f0;
  padding: 10px 20px; /* Adjust padding as needed */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
}

.nav-links a,
.nav-button button {
  margin: 0 10px; /* Spacing around links and button for aesthetics */
}

#copyButton {
  padding: 8px 15px; /* Adjust padding to match your design */
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px; /* Optional: rounds the corners of the button */
  cursor: pointer;
}

#copyButton:hover {
  background-color: #0056b3; /* Darker shade on hover */
}

.nav-button {
  /* Aligns button to the right */
  display: flex;
  align-items: center;
}

/* Footer styles */
footer {
  text-align: center;
  padding: 20px;
  background-color: #f0f0f0;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
  color: #333;
}

.nav-links a {
  float: left;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  background-color: #f0f0f0; /* Initial background color */
  border-radius: 5px; /* Optional: adds rounded corners */
  margin-right: 10px; /* Optional: adds some space between the links */
  transition: background-color 0.3s ease; /* Smooth transition for background color */
}

.nav-links a:hover {
  background-color: #ddd; /* Lighter gray for hover effect */
  color: black;
}
