/*
File: css/style.css
Styles for: index.html (GUI Assignment)
Author: Luka Metias
Updated: September 8, 2025

this is the css file I made to style my index.html file, just a simple commands to have some background color
and font.
*/

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #222;
}

header.site-header {
  background: #fff;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

h1, h2 {
  margin: 0.5em 0;
}

.section {
  max-width: 800px;
  margin: 2rem auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.nav {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.nav a {
  text-decoration: none;
  color: #2563eb;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
  font-family: 'Courier New', Courier, monospace;
}

th, td {
  border: 1px solid #ddd;
  padding: 0.75em;
  text-align: left;
}

th {
  background: #f0f4fa;
}

tr:nth-child(even) {
  background: #f9f9f9;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  border-radius: 8px;
  border: 1px solid #ddd;
}

footer.site-footer {
  text-align: center;
  color: #888;
  font-size: 0.95em;
  padding: 2em 0 1em 0;
}


