/* styles.css */

/* Reset some basic elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #e0e0e0;
  background-color: #1a1a1a; /* Very dark background for dark mode */
}

/* Basic Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: #e0e0e0; /* Slightly toned down for better readability */
}

p {
  margin-bottom: 1em;
  line-height: 1.6;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

/* Emphasize SunTime */
#sunclock {
  font-size: 3em;
  color: #ff8c00; /* Slightly toned down sunset orange */
}

#coords {
  margin: 0 auto;
}

/* Table Styling */

table, tr, th, td {
  border: 1px solid;
  border-collapse: collapse;
}

table {
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

tr {
  height: 3rem;
}

td, th {
  padding: 0.5rem 1rem;
}

button {
  background-color: #ff8c00;
  padding: .3em .8em;
  margin: 0 .2em;
  border: 0px;
  border-radius: 8px;
}

button:hover {
  cursor: pointer;
  background-color: 
}

/* Layout */
header {
  background-color: #1a1a1a; /* Darker gray to stand out from body */
  color: #e0e0e0;
  padding: 1em 0;
  text-align: center;
  border-bottom: 2px solid #333333; /* Adds a subtle separation from the body */
}

footer {
  background-color: #1a1a1a; /* Same as header for consistency */
  color: #e0e0e0;
  padding: 1em 0;
  text-align: center;
  border-top: 2px solid #333333; /* Adds a subtle separation from the body */
}

nav ul {
  list-style-type: none;
  background-color: #333333; /* Slightly lighter gray than header for navigation */
  padding: 1em 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin: 0 1em;
}

nav ul li a {
  color: #ff8c00; /* Toned down sunset orange for links */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.25em;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 2em;
  background-color: #1e1e1e; /* Slightly lighter dark gray */
  color: #e0e0e0;
  text-align: center;
  background-image: linear-gradient(#1e1e1e, #362854);
 /* border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Darker shadow for depth */
}

/* Links */
a {
  color: #ff8c00; /* Toned down sunset orange */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  font-size: 0.9em;
}
