/* 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." */

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

/* Base layout */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #0b0e14;
    color: #d6d9e0;
    line-height: 1.6;
    padding: 2rem;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 3rem;
}

header h1 {
    font-size: 3rem;
    letter-spacing: 0.3rem;
    font-weight: 300;
}

.subtitle {
    margin-top: 1rem;
    font-size: 1rem;
    color: #9aa3b2;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

nav a {
    text-decoration: none;
    color: #8fb3ff;
    font-size: 0.95rem;
}

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

/* Main content */
main {
    max-width: 900px;
    margin: 0 auto;
}

/* Intro text */
.intro {
    margin-bottom: 3rem;
}

.intro p {
    font-size: 1.1rem;
}

/* Images section */
.images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.images img {
    width: 100%;
    border: 1px solid #1f2533;
}

figcaption {
    font-size: 0.85rem;
    color: #9aa3b2;
    margin-top: 0.5rem;
    text-align: center;
}

.center-image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%; /* Optional: adjust width as needed, must be less than 100% */
}

.centered-figure {
  display: block; /* It's already a block, but explicit is fine */
  margin-left: auto;
  margin-right: auto;
  /* Optional: Set a max-width to keep the figure from spanning the entire page width */
  max-width: 500px; 
}

/* Optional: Center the caption text within the figure */
.centered-figure figcaption {
  text-align: center;
}

/* Links section */
.links h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.links ul {
    list-style: none;
}

.links li {
    margin-bottom: 0.5rem;
}

.links a {
    color: #8fb3ff;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 4rem;
    font-size: 0.8rem;
    color: #6f7685;
}
/* Responsive */
@media (max-width: 700px) {
    .images {
        grid-template-columns: 1fr;
    }

    header h1 {
        font-size: 2.2rem;
    }
