body {
  /*max-width: 800px;
  margin: auto;
  padding: 1em; 
  line-height: 1.5; */
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  background-color: rgba(51, 51, 51, 0.8);
  border: solid 1px black;
  color: #f1f1f1;
  padding: 5px;
  border-radius: 5px;
}
.article-meta {
	margin: auto;
	width: 85%;
}
.article-meta h1, .article-meta h2 {
	margin: 0px;
	margin-top: 5px;
}
.menu, .article-meta, footer { text-align: center; }
.title { 
	font-size: 1.1em;
}
footer a { text-decoration: none; }
hr {
  border-style: dashed;
  color: #444;
}

/* code */
pre {
  border: 1px solid #444;
  box-shadow: 5px 5px 5px rgba(17, 17, 17, 0.5);
  padding: 1em;
  overflow-x: auto;
}
code { 
	background: #2a2a2a;
	color: #e0e0e0;
}
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #2a2a2a;
  border-left: 5px solid #555;
  padding: 3px 1em 3px;
  color: #ccc;
}

table {
  margin: auto;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
}
table thead th { 
	border-bottom: 1px solid #555;
	color: #ddd;
}
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) {
	background: #2e2e2e;
	color: #e0e0e0;
}

/* custom */
#heading_title {
	display: block;
	width: 65%;
	margin: auto;
}

body {
	background-image: url("/media/theme/clouds.webp");
	background-repeat: repeat;
	background-size: 100% 100%;
	background-attachment: fixed;
	margin: 0px;
}

#content {
	background-color: rgba(30, 30, 30, 0.85);;
	color: white;
	width: 90%;
	margin: auto;
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 0px 15px 0px 15px;
	border-radius: 15px;
	padding: 2px;

	max-width: 800px;
	padding: 1em; 
	line-height: 1.5;
}

#birds {
  position: fixed;
  top: 0;
  z-index: -1;
}

#foreground_image {
	width: 100%;
	left: 0;
	bottom: 0;
	position: fixed;
  	z-index: -1;
}

a {
  color: #80bfff;            /* Soft blue – accessible and visually pleasant */
}

a:visited {
  color: #b388ff;            /* Soft purple – distinguishable but not harsh */
}

a:hover,
a:focus {
  color: #ffffff;            /* Bright white on hover for clarity */
  text-decoration: underline;
}

a:active {
  color: #ffcc00;            /* A highlight color for active state (optional) */
}

.alert {
	background-color: red;
	border-radius: 5px;
	text-align: center;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.gallery-item {
  background-color: rgba(51, 51, 51, 0.8);
  border: 1px solid black;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  width: 200px;
  box-sizing: border-box;
  transition: transform 0.2s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  display: block;
  margin-bottom: 8px;
}

.center {
	display: block;
	margin: auto;
	text-align: center;
}

.footer-icon {
    top: 50%;
	transform: translateY(10%);
	height: 15px;
}
