/* ghillie.wiki — shared base styles
   Common rules that used to be copy-pasted into every page's stylesheet.
   Page/section-specific styles live in their own small files instead. */

body {
  background-color: black;
  color: white;
  font-family: Verdana;
  text-align: center;
}

img,
iframe {
  max-width: 100%;
  transition: 0.2s ease;
}

/* fade-in on page load */
.fade-in {
  animation: fadeIn 5s;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* no underlines anywhere, ever */
a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

/* shared page banner ("the ghillie.wiki") */
.banner {
  margin-top: 42px;
  margin-bottom: 1px;
  padding: 1px;
  line-height: 1px;
  font-family: "Times New Roman";
  font-size: calc(20px + 0.5vw);
}

/* two-column image layout (kept for a future gallery) */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.column {
  flex: 50%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}

/* top navigation bar */
.topnav a {
  float: none;
  color: #f2f2f2;
  text-align: center;
  padding: 1px 3px;
  text-decoration: none;
  font-size: 14px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #0494aa;
  color: white;
}
