/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
/* styles.css */
:root {
  --bg-color: #808080;
  --text-color: #000;
  --link-color: #steelblue;
  --container-bg: #87CEEB;
  --nav-bg: #B0E0E6;
}

body {
  font-family: Tahoma, serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  /*transition: background-color 0.3s, color 0.3s;*/
}

h2{
  display: flex;
  justify-content: space-around;
}

#author {
  text-align:center;
}

.container {
  color: var(--text-color);
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--container-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: justify;
}

#title {
  text-align: center;
}

.button-bar{
  display: flex;
  justify-content: center;
  padding: 1rem;
}

 .nav-buttons {
    color: blue;
  width: 100%;
  max-width: 700px;     /* matches your release section */
  margin: 1em auto;     /* centers the whole bar */
  display: flex;
  justify-content: space-between;  /* pushes buttons to opposite sides */
  align-items: center;
  padding: 0 0.5em;     /* tiny padding so they don’t touch the edges */
}

.nav-button {
  display: block;
  margin-left: 85%;
 
  
}


a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

nav {
  background-color: var(--bg-color);
  padding: 1rem;
  text-align: center;
}


body.dark-mode {
  --nav-bg: #142a3b;
}

/* Dark mode styles */
body.dark-mode {
  --bg-color: #0b1c2c;
  --text-color: #f0eae2;
  --link-color: #ffd700;
  --container-bg: #142a3b;
  
}
  
  