body {
  background-color: #1a1a1a;
  background-image: url('/images/background.jpg');
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  max-width: 1200px;
  margin: auto;
  min-height: 100vh;
}

header {
  padding-top: 25%;
  background-image: url('images/CRonimaskartwork(prevailworldwide).png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 60%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

header h1 {
  color: #e0e0e0;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: bold;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-shadow: 4px 4px 12px rgba(0,0,0,0.85), 0 0 20px rgba(160,208,255,0.4);
  text-align: center;
}

/* Navigation links */
nav a {
  color: #a0d0ff;
}

/* Welcome heading */
main h1 {
  color: #e0e0e0;
  text-align: center;
}

/* Horizontal rule */
hr {
  width: 60%;
  height: 5px;
  background-color: #039;
  border: none;
  margin: 20px auto;
}

/* Centering divs around images */
div[style*="text-align:center"] {
  text-align: center;
}

/* All product images */
img {
  max-width: 100%;
  height: auto;
}

/* Center image containers and images */
main div {
  text-align: center;
  margin: 20px 0;
}

main div img {
  display: block;
  margin: 0 auto;
}

/* Image containers with margin */
div[style*="margin:20px 0"] {
  margin: 20px 0;
}

/* Section headings */
h2 {
  color: #e0e0e0;
  text-align: center;
}

/* All paragraphs */
p {
  color: #e0e0e0;
  text-align: center;
  font-size: 18px;
}

ul, ol, li {
  color: #e0e0e0;
}

.resume-columns ul {
  text-align: left;           /* left-align text inside centered column */
  max-width: 90%;
  margin: 0 auto;
  padding-left: 20px;         /* indent bullets slightly */
  list-style-type: disc;
}

.resume-columns li {
  margin: 12px 0;
  font-size: 1.1em;
}

/* Bold intro paragraph */
p[style*="font-weight:bold"] {
  font-weight: bold;
}

/* Aside text */
aside {
  color: #e0e0e0;
}

/* Footer */
footer {
  background-color: transparent;
  color: #e0e0e0;
}

/* Footer links */
footer a {
  color: #b0e0ff;
}

/* "Top" link in footer */
footer a[href="#Top"] {
  color: #a0d0ff;
}

/* SVG logo in footer */
footer svg {
  vertical-align: middle;
  margin: 10px 0;
}

/* SCF link in background section */
a[href="https://www.scf.edu"] {
  color: #97c0e6;
}

/* IDs */
#main-wrapper {
  background-color: rgba(26, 26, 26, 0.7);
  border: 2px solid #039;
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
}

#footer-wrapper {
  background-color: rgba(0, 9, 51, 0.8);
  border-top: 3px solid #a0d0ff;
  padding: 20px;
  margin-top: 40px;
  text-align: center;
}

/* Classes */
.highlight-text {
  background-color: rgba(160, 208, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
  color: #a0d0ff;
}

.product-caption {
  font-size: 0.95em;
  color: #b0e0ff;
  margin-top: 8px;
  font-style: italic;
  text-align: center;
}

nav a {
  display: inline-block;             /* allows padding and width control */
  color: #a0d0ff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;                  /* slightly larger, readable */
  padding: 10px 18px;                /* consistent button padding */
  margin: 0 8px;                     /* space between buttons */
  border-radius: 6px;                /* rounded corners */
  transition: all 0.3s ease;         /* smooth hover transition */
}

/* Hover effect */
nav a:hover,
nav a.current:hover {
  color: #e0e0e0;
  background-color: rgba(160, 208, 255, 0.25); /* light blue tint on hover */
  border-radius: 6px; /* keep rounded corners */
}  
  color: #e0e0e0;
  background-color: rgba(160, 208, 255, 0.25);  /* light blue tint on hover */
}

nav a.current {
  color: #a0d0ff;
  background-color: transparent;
  font-weight: bold;
  padding: 10px 18px;
  border: 2px solid #a0d0ff; /*light border to "active" */
  border-radius: 6px;
}

.resume-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 30px 0;
}

.resume-left, .resume-right {
  flex: 1;
  min-width: 300px;
  border: 2px solid #039;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(26,26,26,0.7);
}

/* Transcript page styles */
transcript ul {
  max-width: 700px;
  margin: 20px auto;
  padding-left: 40px;
}

transcript ol {
  max-width: 700px;
  margin: 20px auto;
  padding-left: 60px;
}

transcript dl {
  max-width: 700px;
  margin: 20px auto;
  text-align: left;
}

transcript dt {
  font-weight: bold;
  color: #a0d0ff;
  margin-top: 15px;
}

transcript dd {
  margin-left: 30px;
}

/* Responsive nav */
@media only screen and (max-width: 640px) {
  nav a {
    display: block;
    margin: 10px 0;
  }
}

/* Make all links in main content match your theme color */
main a {
  color: #a0d0ff;                /* your signature blue */
  text-decoration: none;
}

main a:hover {
  color: #e0e0e0;
  text-decoration: underline;    /* optional subtle hover */
}

/* Fix text color in description lists */
dl, dt, dd {
  color: #e0e0e0;                /* light gray to match everything else */
}

dt {
  font-weight: bold;
  color: #a0d0ff;                /* blue for terms like "MOS", "Net+" */
  margin-top: 15px;
  font-size: 1.1em;
}

dd {
  margin-left: 30px;
  margin-bottom: 15px;
}

/* Portfolio page - responsive image grid */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  margin: 30px 0;
}

.portfolio-grid figure {
  flex: 1 1 320px;           /* base width 320px, grows/shrinks */
  max-width: 480px;          /* max per image */
  margin: 0;
  text-align: center;
  background-color: rgba(26, 26, 26, 0.7);
  border: 2px solid #039;
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
}

.portfolio-grid img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.portfolio-grid figcaption {
  font-size: 0.95em;
  color: #b0e0ff;
  font-style: italic;
  margin-top: 8px;
}

/* Mobile: 1 column, stack images */
@media only screen and (max-width: 640px) {
  .portfolio-grid figure {
    flex: 1 1 100%;          /* full width on small screens */
    max-width: 100%;
  }
}

/* Desktop: 2–3 columns */
@media only screen and (min-width: 1000px) {
  .portfolio-grid figure {
    flex: 1 1 320px;         /* allow 3 columns */
  }
}

/* Newsletter page styles */
.infobar {
  background-color: #039;           /* dark blue bar */
  color: #ffffff;                   /* light text on dark */
  padding: 12px;
  margin: 20px 0;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}

.byline {
  font-style: italic;
  color: #b0e0ff;
  margin: 10px 0 20px;
  font-size: 1.1em;
}

.newsletter-hr {
  width: 70%;
  height: 4px;
  background-color: #a0d0ff;
  border: none;
  border-radius: 6px;
  margin: 20px auto;
}

.box {
  border: 2px solid #a0d0ff;
  padding: 20px;
  margin: 30px 0;
  border-radius: 8px;
  background-color: rgba(26, 26, 26, 0.7);
}

.box h2 {
  color: #a0d0ff;
  margin-top: 0;
}

blockquote {
  text-align: justify;
  margin: 30px auto;
  max-width: 90%;
  font-size: 1.05em;
  padding: 0 20px;
  border-left: 4px solid #a0d0ff;
}

blockquote:first-letter {
  font-size: 2.5em;
  font-weight: bold;
  color: #a0d0ff;
  float: left;
  margin-right: 8px;
  line-height: 0.8;
}

/* Newsletter text readability fixes */
blockquote,
blockquote p,
main p {
  color: #e0e0e0 !important;      /* force light gray everywhere in main */
}

/* Ensure blockquote first-letter and text look good */
blockquote {
  color: #e0e0e0;
  text-align: justify;
  margin: 30px auto;
  max-width: 90%;
  font-size: 1.05em;
  padding: 0 20px;
  border-left: 4px solid #a0d0ff;
}

blockquote:first-letter {
  font-size: 2.5em;
  font-weight: bold;
  color: #a0d0ff;
  float: left;
  margin-right: 8px;
  line-height: 0.8;
}