html {
    --text: #000000;
    --background: #ffffff;
    --primary: #f47e30;
    --secondary: #ed713c;
    --accent: #efa700;
    background-image: url("images/DORFic_wallpaper_opaque.png");
    background-repeat: no-repeat;
    background-size: cover; 

}

body {
    color: var(--text);
    font-family: "Oxanium";
    font-weight: 450;
    font-optical-sizing: auto;
    font-kerning: auto;
}

p {
    border: solid #ed713c;
    border-radius: 15px;
    padding: 8.75px
}

figure {
  margin: 0 auto; /* Center the figure */
  display: table; /* Optional: Helps center the figure if needed, while maintaining width */
}

figure:hover {
  background-color: #ddd; /* Color change on hover */
  color: rgb(202, 104, 13);
}

figcaption:hover {
  background-color: #ddd; /* Color change on hover */
  color: rgb(202, 104, 13);

}

figcaption {
  list-style-type: none; /* Removes bullet points */
  margin: 0;
  padding: 0;
  font-family: "Orbitron";
  padding: 0.15em;
  border: 3mm ridge orange;
  border-radius: 15px;
  font-size: 1rem;
  background-color: rgba(204, 204, 204, 0.7); /* Dark background */
  display: flex; /* Arranges list items horizontally */
  justify-content: space-around; /* Distributes links evenly */
  color: rgb(244, 126, 48);
}

.homebutton {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25vh;
    margin-left: auto;
    margin-right: auto;
}

.notice {
    background: yellow;
}

a {
    color: rgb(184, 63, 11);
}

h2,
h3 {
    color: rgb(214, 93, 12);
    font-family: "Orbitron";
    font-optical-sizing: auto;
    margin: 1;
}

h1 {
    color: rgb(244, 126, 48);
    background: rgba(204, 204, 204, 0.7);
    font-family: "Orbitron";
    padding: 0.25em;
    border: 3mm ridge orange;
    border-radius: 15px;
    font-size: 3.25rem;
}

h2 {
    text-decoration: underline double;
    text-decoration-thickness: 3px;
    text-shadow: .5px .5px 1px;
}

h3 {
    text-decoration: underline solid;
}

p {
    background: var(--background);
}

li::marker {
    color: var(--secondary);
}

img {
    width: auto;
    height: 150px;
    border: 3.0mm ridge orange;
    border-radius: 15px;
}

audio {
    padding: 1em;
    border: dashed orange
}

nav ul {
  list-style-type: none; /* Removes bullet points */
  margin: 0;
  padding: 0;
  font-family: "Orbitron";
  padding: 0.15em;
  border: 3mm ridge orange;
  border-radius: 15px;
  font-size: 1rem;
  background-color: rgba(204, 204, 204, 0.7); /* Dark background */
  display: flex; /* Arranges list items horizontally */
  justify-content: space-around; /* Distributes links evenly */
}

nav ul li a {
  display: block; /* Makes the entire area clickable */
  color: rgb(244, 126, 48);
  text-align: center;
  padding: 12px 14px;
  text-decoration: none; /* Removes default link underlines */
}

nav ul li a:hover {
  background-color: #ddd; /* Color change on hover */
  color: rgb(202, 104, 13);
}

/* Layout for homepage image links: place them side-by-side and responsive */
.home-row {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap; /* allow wrapping on small screens */
  margin: 1.25rem 0;
}

.home-row a {
  text-decoration: none;
  color: inherit;
}

.home-row figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-row img.homebutton {
  /* Make images the same visual height while preserving aspect ratio */
  height: 360px; /* target desktop height */
  max-height: 45vh; /* limit height on short viewports */
  width: auto; /* preserve aspect ratio */
  max-width: 45vw; /* ensure they can shrink on narrow screens */
  border-radius: 15px;
  border: 3.0mm ridge orange;
  display: block;
}

