body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

header {
  background-color: #4caf50;
  color: white;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav {
  text-align: center;
  padding: 10px;
  display: flex;
  justify-content: center;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  padding: 10px 20px;
  background-color: white;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #45a049;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-grow: 1;
}

.card {
  background-color: white;
  padding: 20px;
  margin: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  width: 50%;
  max-width: 1200px;
  box-sizing: border-box;
  text-align: center;
}

section {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 10px;
  background-color: #ffffff;
}

section h2 {
  color: #4caf50;
  margin-bottom: 20px;
  text-align: center;
}

#user-management {
  margin-bottom: 40px;
}

@media (min-width: 1200px) {
  .card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  section {
    flex: 1;
    margin: 10px;
  }
}

footer {
  background-color: #4caf50;
  color: white;
  text-align: center;
  padding: 10px;
  position: fixed;
  width: 100%;
  bottom: 0;
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

ul {
  list-style: none;
  padding: 0;
}

li {
  padding: 10px;
  border-bottom: 1px solid #ccc;
}

li:hover {
  background-color: #f1f1f1;
}

form {
  margin-top: 20px;
}

label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
}

input,
textarea,
select,
button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input:focus,
textarea:focus,
select:focus,
button:focus {
  border-color: #4caf50;
  outline: none;
}

button {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #45a049;
}

#distance-result {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}
