/* Reset some browser defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
  padding: 0;
}

/* Header styles */
header {
  background-color: #222;
  color: #fff;
  padding: 1.5em 0;
  text-align: center;
}

header h1 {
  margin-bottom: 0.2em;
}

nav {
  margin-top: 0.5em;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0 1em;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Main content */
main {
  padding: 2em;
  max-width: 900px;
  margin: 0 auto;
}

section {
  margin-bottom: 3em;
}

/* Project headings */
h2, h3 {
  color: #333;
  margin-bottom: 0.5em;
}

/* Lists */
ul {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

ul li {
  margin-bottom: 0.5em;
}

/* Blockquotes */
blockquote {
  border-left: 4px solid #999;
  margin: 1.5em 0;
  padding: 0.5em 1em;
  background: #eee;
  font-style: italic;
}

/* Footer */
footer {
  background-color: #222;
  color: #aaa;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
}

/* Resume iframe styling */
iframe {
  border: 1px solid #ccc;
  margin-top: 1em;
  width: 100%;
}

/* Image figures and captions */
figure {
  margin: 2em 0;
  text-align: center;
}

figcaption {
  font-size: 0.9em;
  color: #555;
  margin-top: 0.5em;
}

/* Button-style link */
a.button {
  display: inline-block;
  padding: 0.5em 1em;
  background-color: #007acc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

a.button:hover {
  background-color: #005f99;
}
/* Make sure html/body take full height */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure main grows to fill space if needed */
main {
  flex: 1;
}
