/* global.css */

/* Global page styles */
body {
  background-color: #1a1a1a;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 20px 20px;
  line-height: 1.5;
}

.container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px;
}

.container * {
  text-align: left;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h3 {
  margin-top: 1em;
}

h1 {
  font-size: 2em;
}

h3 {
  font-size: 1.2em;
  text-align: center;
}

p {
  margin-bottom: 1.2em;
}

em {
  color: #bbbbbb;
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid #444;
  margin: 1em 0;
}

.page-title {
    color: #fdad35;
    font-size: 3em;
    line-height: 1;
    font-weight: 600;
    text-align: left;
    margin: 10px 0 10px 0;
}

.project {
  margin-bottom: 1.5em;
}

.project a {
  font-weight: bold;
}

.rounded-image {
    display: flex;
    justify-content: center;
    margin: 0 auto 0.5em auto;
}

.rounded-image img {
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    display: block;
}

.social-button {
    display: inline-block;
    width: 32px;
    height: 32px;
    transition: opacity 0.8s;
}

.social-button:hover {
    opacity: 0.8;
}

.social-button img {
    width: 100%;
    height: 100%;
    display: block;
}

.home-button {
    color: #bbbbbb;
    font-style: italic;
    text-decoration: none;
}

.home-button:hover {
    color: #ffffff;
    font-style: italic;
    text-decoration: none;
}

.site-warning {
  background-color: #fdad35;
  color: #ffffff;
  border-radius: 18px;
  padding: 18px 18px;
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
  box-sizing: border-box;
  width: 100%;
}

.site-warning::before {
  content: "⚠︎ As of October 2024, this page is no longer maintained. Information may be outdated.";
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    row-gap: 10px;
    column-gap: 20px;
    margin: 48px auto;
    width: 100%;
}

.image-grid .grid-item p {
    text-align: center !important;
}
.image-grid a:hover {
    text-decoration: none;
}

.image-grid img {
    display: block;
    margin: 0 auto 0 auto;
    width: 100%;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 0.5px solid #bbbbbb50;
}
